*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark: #1a1714;
  --light-bg: #f5f0e8;
  --white: #ffffff;
  --text-dark: #1a1714;
  --text-light: #f5f0e8;
  --accent: #c9b79f;
  --serif: "Libre Baskerville", serif;
  --sans: "Almarai", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── HEADER ─────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
}
header .logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.04em;
}
header nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 2rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
header nav a:hover {
  opacity: 1;
}
@media (max-width: 700px) {
  header {
    padding: 1rem 4vw;
  }
  header .logo {
    font-size: 1rem;
  }
  header nav a {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    margin-left: 1rem;
  }
}
@media (max-width: 360px) {
  header nav a {
    letter-spacing: 0.02em;
    margin-left: 0.7rem;
  }
}

/* ── HERO ────────────────────────────── */
#intro {
  position: relative;
  min-height: 100vh;
  /* iOS Safari: fit the area visible while its toolbars are showing. */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* At least 6rem so the content always clears the fixed header. */
  padding: max(10vw, 6rem) 4vw 0;
  overflow: hidden;
  background: var(--dark);
}
#intro .bg {
  position: absolute;
  inset: 0;
  background-image:
    url("/assets/intro.jpg"),
    linear-gradient(135deg, #c9b79f 0%, #8a8c7e 50%, #ad9983 100%);
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}
#intro .content {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 90vw);
}
#intro h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.8vw, 4rem);
  color: var(--text-light);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.5rem;
  white-space: normal;
}
#intro h1 br {
  display: block;
}
#intro .subtitle {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--text-light);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 4vw;
}
@media (max-width: 700px) {
  #intro .subtitle br {
    display: none;
  }
}

/* Marquee */
.marquee-wrap {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: -4vw;
  overflow: hidden;
  padding: 2.5% 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.marquee-track {
  display: flex;
  gap: 3em;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  color: var(--text-light);
  opacity: 0.18;
  white-space: nowrap;
  font-style: italic;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── SERVICES ────────────────────────── */
#services {
  background: var(--light-bg);
  padding: 8vw 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw 8vw;
  align-items: start;
}
@media (max-width: 700px) {
  #services {
    grid-template-columns: 1fr;
  }
  .acc-body p br {
    display: none;
  }
}
#services .section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--text-dark);
  line-height: 1.1;
}
.accordion {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.acc-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.acc-btn {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--text-dark);
}
.acc-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-left: 1rem;
  position: relative;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--text-dark);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.acc-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.acc-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.acc-item.open .acc-icon::after {
  opacity: 0;
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.25s;
}
.acc-item.open .acc-body {
  max-height: 300px;
}
.acc-body p {
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
  padding-bottom: 1.2rem;
}

/* ── PERFECT FOR ─────────────────────── */
#perfect {
  background: var(--white);
  padding: 7vw 4vw 10vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw 8vw;
  align-items: start;
  position: relative;
}
@media (max-width: 700px) {
  #perfect {
    grid-template-columns: 1fr;
  }
}
#perfect::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 8vw;
  background: var(--light-bg);
  clip-path: ellipse(52% 100% at 50% 100%);
}
#perfect .section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--text-dark);
  line-height: 1.1;
}
#perfect .list-items {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 2.2;
  color: #333;
}

/* ── ABOUT ───────────────────────────── */
#about {
  background: var(--light-bg);
  padding: 8vw 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
@media (max-width: 700px) {
  #about {
    grid-template-columns: 1fr;
  }
  #about .about-img {
    order: -1;
  }
}
.about-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e6d8c5, #c9b79f);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-text {
  padding: 2vw 0;
}
.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
.about-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 700px) {
  .about-paragraphs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.about-paragraphs p {
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* ── FOOTER ──────────────────────────── */
#footer {
  background: var(--light-bg);
  padding: 6vw 4vw 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw 4vw;
  align-items: start;
}
@media (max-width: 700px) {
  #footer {
    grid-template-columns: 1fr;
  }
  #footer .contact-right {
    text-align: left !important;
  }
}
#footer h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.5rem;
  grid-column: 1 / -1;
}
#footer .contact-left h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
#footer .contact-left p {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.7;
  color: #666;
  max-width: 420px;
}
#footer .contact-right {
  text-align: right;
}
#footer .contact-right h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
}
#footer .contact-right h4 a {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s;
}
#footer .contact-right h4 a:hover {
  border-color: var(--text-dark);
}
.whatsapp-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-left: 0.4rem;
  vertical-align: middle;
}

#footer .bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: #aaa;
  text-align: center;
}

/* ── AGE GATE ─────────────────────────── */
/* Visible by default. The inline head-script in index.html adds
   .age-verified to <html> for returning visitors before paint, so this
   overlay never flashes for them. */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(26, 23, 20, 0.92);
  backdrop-filter: blur(6px);
  animation: age-gate-fade 0.25s ease-out;
}
html.age-verified #age-gate {
  display: none;
}
html:not(.age-verified) body {
  overflow: hidden;
}
@keyframes age-gate-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.age-gate-box {
  background: var(--light-bg);
  color: var(--text-dark);
  max-width: 460px;
  width: 100%;
  padding: 2.5rem 2rem 1.75rem;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.age-gate-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.age-gate-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4540;
  margin-bottom: 1.75rem;
}
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.age-gate-btn {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--text-dark);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.age-gate-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.age-gate-btn--primary {
  background: var(--text-dark);
  color: var(--light-bg);
}
.age-gate-btn--primary:hover {
  background: #2d2723;
}
.age-gate-btn--secondary {
  background: transparent;
  color: var(--text-dark);
}
.age-gate-btn--secondary:hover {
  background: rgba(26, 23, 20, 0.08);
}
.age-gate-disclaimer {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

/* ── COOKIE CONSENT ───────────────────── */
/* A non-blocking banner pinned to the bottom of the viewport. The inline
   head-script in index.html adds .cookie-consent-decided to <html> before paint
   for returning visitors who already chose, so the banner never flashes. */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 1rem;
  background: var(--dark);
  color: var(--text-light);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  animation: cookie-consent-rise 0.3s ease-out;
}
html.cookie-consent-decided .cookie-consent {
  display: none;
}
@keyframes cookie-consent-rise {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-consent-box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-consent-text {
  flex: 1 1 320px;
}
.cookie-consent-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.cookie-consent-desc {
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--accent);
  margin: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex: 0 0 auto;
}
.cookie-consent-btn {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-consent-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cookie-consent-btn--primary {
  background: var(--light-bg);
  color: var(--text-dark);
  border-color: var(--light-bg);
}
.cookie-consent-btn--primary:hover {
  background: var(--white);
}
.cookie-consent-btn--secondary {
  background: transparent;
  color: var(--text-light);
}
.cookie-consent-btn--secondary:hover {
  background: rgba(245, 240, 232, 0.1);
}
@media (max-width: 560px) {
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-consent-btn {
    flex: 1 1 0;
  }
}
