/* ==========================================================================
   Sorbo Cocktails — Design System
   ========================================================================== */

:root {
  --gold:        rgb(234, 209, 165);
  --gold-bright:  rgb(244, 224, 182);
  --gold-deep:   rgb(158, 122, 61);
  --dark:        rgb(52, 52, 52);
  --cream:       rgb(253, 248, 238);
  --black:       rgb(0, 0, 0);
  --white:       rgb(255, 255, 255);
  --gray-mid:    rgb(114, 114, 114);
  --gray-light:  rgb(176, 176, 176);

  --near-black:  #0c0a08;
  --charcoal:    #171310;

  --font-display: 'Heebo', sans-serif;
  --font-body:    'Heebo', sans-serif;

  --container: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

html[dir="rtl"] body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--near-black);
  color: var(--cream);
  overflow-x: hidden;
  text-align: right;
}

::selection { background: var(--gold); color: var(--black); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--near-black); }
::-webkit-scrollbar-thumb { background: var(--dark); border: 2px solid var(--near-black); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.4em;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--cream);
}
.section-title .accent { color: var(--gold); }

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--gold-bright);
  margin-top: 0.9rem;
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--gray-light);
  font-weight: 300;
}
.body-text p + p { margin-top: 1.4em; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}
.section--cream {
  background: var(--cream);
  color: var(--dark);
}
.section--cream .body-text { color: var(--gray-mid); }
.section--cream .section-title { color: var(--dark); }
.section--cream .eyebrow { color: var(--gold-deep); }
.section--cream .eyebrow::before,
.section--cream .eyebrow::after { background: var(--gold-deep); }
.section--cream .divider { background: var(--gold-deep); }
.section--cream .accent { color: var(--gold-deep); }
.section--cream .faq-question { color: var(--dark); }
.section--cream .faq-item.open .faq-question { color: var(--gold-deep); }
.section--cream .faq-question .icon::before,
.section--cream .faq-question .icon::after { background: var(--gold-deep); }
.section--charcoal { background: var(--charcoal); }
.section--cream + .section--cream { border-top: 1px solid rgba(158, 122, 61, 0.18); }

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before,
.section-head.center .eyebrow::after { content: ""; width: 2.4em; height: 1px; background: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.05em 2.4em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--gold);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.btn:hover, .btn:focus-visible {
  color: var(--near-black);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }

.btn--dark {
  color: var(--dark);
  border-color: var(--dark);
}
.btn--dark::before { background: var(--dark); }
.btn--dark:hover { color: var(--cream); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.6rem;
  transition: padding 0.4s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled {
  padding-block: 0.85rem;
}
.site-header.scrolled::before {
  background: rgba(12, 10, 8, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(234, 209, 165, 0.12);
}

.logo { display: inline-flex; }
.logo img {
  display: block;
  height: 56px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-list a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-block: 0.4rem;
}
.nav-list a::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--gold);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0.35) 35%, rgba(12,10,8,0.92) 100%);
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
  z-index: 1;
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: min(220px, 40vw);
  margin-bottom: 2.2rem;
  animation: heroFade 1.1s var(--ease-out) both;
}
.hero-eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  animation: heroFade 1.1s var(--ease-out) both;
  animation-delay: 0.1s;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 400;
  color: var(--cream);
  max-width: 16ch;
  animation: heroFade 1.2s var(--ease-out) both;
  animation-delay: 0.2s;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--gold-bright);
  margin-top: 1.1rem;
  animation: heroFade 1.2s var(--ease-out) both;
  animation-delay: 0.3s;
}
.hero-text {
  max-width: 640px;
  margin-top: 1.8rem;
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.9;
  animation: heroFade 1.2s var(--ease-out) both;
  animation-delay: 0.35s;
}
.hero .btn {
  margin-top: 2.6rem;
  animation: heroFade 1.2s var(--ease-out) both;
  animation-delay: 0.45s;
}
.hero-scroll {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 60px;
  background: linear-gradient(var(--gold), transparent);
  overflow: hidden;
}
.hero-scroll::after {
  content: "";
  position: absolute;
  top: -60px; left: 0;
  width: 100%; height: 60px;
  background: linear-gradient(var(--near-black), var(--gold), var(--near-black));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 60px; } }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero--small { min-height: 62vh; }

.corner-quote {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  width: 220px;
  height: auto;
  color: var(--gold-deep);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.corner-quote path { fill: currentColor; }
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 220px;
  margin: 2.2rem auto 0;
  color: var(--gold-deep);
}
.ornament-line {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.page-title {
  padding: 9rem 0 2.6rem;
  text-align: center;
}
.page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--cream);
}

/* ==========================================================================
   Story / split content
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.split-media:hover img { transform: scale(1.06); }
.split-media::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Services cards
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.4rem 1.6rem;
  border: none;
  background: none;
}
.service-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  inset-inline-end: 0;
  width: 1px;
  background: rgba(234, 209, 165, 0.16);
}
.service-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 1.3rem;
  transition: border-color 0.45s var(--ease-out), color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.service-card:hover .service-card-icon {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: scale(1.06);
}
.service-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.service-card-num::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin: 0.7rem auto 0.9rem;
  background: var(--gold-deep);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 0.8rem;
  transition: color 0.45s var(--ease-out);
}
.service-card:hover h3 { color: var(--gold-bright); }
.service-card .card-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.service-card:hover .card-link { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Client logos
   ========================================================================== */
.section--logos {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(158, 122, 61, 0.18);
}
.marquee {
  direction: ltr;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.marquee-track img {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  margin-right: 2.1rem;
  -webkit-user-drag: none;
  user-select: none;
}
/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid rgba(234, 209, 165, 0.25);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.7rem 0.2rem;
  text-align: right;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: var(--cream);
}
.faq-question .icon {
  flex-shrink: 0;
  position: relative;
  width: 22px; height: 22px;
}
.faq-question .icon::before,
.faq-question .icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.faq-question .icon::before { width: 16px; height: 1.5px; }
.faq-question .icon::after { width: 1.5px; height: 16px; transition: transform 0.35s var(--ease-out); }
.faq-item.open .faq-question .icon::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.faq-item.open .faq-question { color: var(--gold); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq-answer-inner { overflow: hidden; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p {
  padding-bottom: 1.6rem;
  color: var(--gray-light);
  line-height: 1.85;
  max-width: 65ch;
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.field {
  position: relative;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(234, 209, 165, 0.35);
  padding: 0.9rem 0.1rem;
  color: var(--cream);
  font-size: 1.02rem;
  transition: border-color 0.35s;
  direction: rtl;
  text-align: right;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-mid); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn { align-self: flex-start; margin-top: 0.6rem; }

.contact-side .body-text { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(234, 209, 165, 0.15);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.contact-detail .tag {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  min-width: 4.5em;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  columns: 3;
  column-gap: 1rem;
}
.gallery img {
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  filter: saturate(1.05);
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}
.gallery img:hover { transform: scale(1.015); filter: saturate(1.25) brightness(1.03); }

/* ==========================================================================
   Generic content section w/ image + CTA
   ========================================================================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.feature-block.reverse { direction: ltr; }
.feature-block.reverse > * { direction: rtl; }

.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin-block: 1.6rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--near-black);
  border-top: 1px solid rgba(234, 209, 165, 0.15);
  padding-block: 4rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 2.6rem;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 1rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(234, 209, 165, 0.2);
}
.footer-links li,
.footer-contact li { margin-bottom: 0.85rem; }
.footer-links a,
.footer-contact a {
  color: var(--gray-light);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(234, 209, 165, 0.4);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--near-black);
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(234, 209, 165, 0.1);
  font-size: 0.82rem;
  color: var(--gray-mid);
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 200;
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.4s var(--ease-out);
}
.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.whatsapp-float.visible:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}

@media (max-width: 768px) {
  .corner-quote { display: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(12, 10, 8, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 105;
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list a { font-size: 1.15rem; }
  .nav-toggle { display: flex; }

  .split,
  .contact-wrap,
  .feature-block,
  .feature-block.reverse { grid-template-columns: 1fr; direction: rtl; }
  .split-media { order: -1; }
  .home-about-media { display: none; }
  .home-about-text { text-align: center; }
  .home-about-text .divider { margin-inline: auto; }
  .home-about-text .eyebrow { justify-content: center; }
  .home-about-text .eyebrow::before,
  .home-about-text .eyebrow::after { content: ""; width: 2.4em; height: 1px; background: var(--gold); }

  .service-card { padding: 1.6rem 1rem; }
  .service-card:not(:last-child)::after { display: none; }
  .service-card-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
  .service-card-icon svg { width: 22px; height: 22px; }
  .service-card-num::after { margin: 0.5rem auto 0.6rem; }
  .service-card h3 { font-size: 1.05rem; margin-bottom: 0; }
  .service-card .card-link { display: none; }

  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { text-align: center; }
  .section { padding-block: 3.5rem; }
}
