:root {
  --bg: #f8f2eb;
  --bg-soft: #efe2d5;
  --ink: #1f1a18;
  --muted: #6c5d53;
  --panel: rgba(255, 248, 241, 0.72);
  --panel-dark: rgba(41, 27, 23, 0.7);
  --line: rgba(109, 82, 63, 0.18);
  --accent: #d88e75;
  --accent-deep: #a8583e;
  --gold: #d2b27a;
  --shadow: 0 20px 60px rgba(64, 36, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 142, 117, 0.22), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(210, 178, 122, 0.25), transparent 25%),
    linear-gradient(180deg, #fbf7f2 0%, #f3e8de 100%);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.45));
}

.section--dark {
  background:
    radial-gradient(circle at top, rgba(216, 142, 117, 0.15), transparent 28%),
    linear-gradient(180deg, #241814 0%, #1a110f 100%);
  color: #fdf8f1;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 20%), rgba(255, 255, 255, 0.32), transparent 22%);
  z-index: 0;
}

.glass {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section--dark .glass {
  background: var(--panel-dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section--dark .eyebrow {
  color: #f0b69f;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.section--dark p,
.section--dark li {
  color: rgba(253, 248, 241, 0.78);
}

.lead {
  max-width: 62ch;
  margin-top: 26px;
  font-size: 1.08rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 242, 0.62);
  border-bottom: 1px solid rgba(109, 82, 63, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  box-shadow: 0 12px 24px rgba(168, 88, 62, 0.28);
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(168, 88, 62, 0.24);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(168, 88, 62, 0.3);
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  border: 1px solid rgba(109, 82, 63, 0.16);
  box-shadow: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.intro-panel,
.service-tabs,
.testimonial-shell,
.cta-banner,
.map-card,
.contact-copy {
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metric {
  padding: 24px 18px;
  border-radius: var(--radius-lg);
}

.metric-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-deep);
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card--main {
  min-height: 530px;
}

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  color: #fff;
  background: rgba(27, 16, 12, 0.52);
}

.hero-badge span,
.mini-label,
.source,
.price-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
}

.hero-card--small {
  min-height: 180px;
}

.hero-card--small p,
.hero-card--accent strong,
.hero-card--accent small {
  padding: 18px 20px 22px;
}

.hero-card--small img {
  height: 180px;
  object-fit: cover;
}

.hero-card--accent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(216, 142, 117, 0.35), transparent 40%),
    rgba(34, 20, 15, 0.78);
  color: #fff;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.intro-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-points article {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.intro-points strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.service-tabs {
  display: grid;
  gap: 24px;
}

.tab-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.tab-button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.tab-panel.is-active {
  display: grid;
}

.panel-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.panel-copy p {
  margin-top: 16px;
}

.panel-copy ul {
  margin: 22px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.panel-media,
.panel-media img,
.panel-media--gradient {
  border-radius: var(--radius-xl);
  min-height: 420px;
}

.panel-media img {
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.panel-media--gradient {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(210, 178, 122, 0.45), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(216, 142, 117, 0.42), transparent 22%),
    linear-gradient(160deg, #f7ecdf 0%, #eed6ca 54%, #e5baa8 100%);
}

.floating-card {
  position: absolute;
  padding: 22px;
  border-radius: 22px;
  max-width: 280px;
}

.floating-card:first-child {
  left: 24px;
  bottom: 24px;
}

.floating-card:last-child {
  right: 24px;
  top: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card h3 {
  margin-top: 14px;
}

.price-card p {
  margin-top: 10px;
}

.price-card strong {
  display: block;
  margin-top: 24px;
  font-size: 2rem;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.gallery-card:nth-child(1) { grid-column: span 5; }
.gallery-card:nth-child(2) { grid-column: span 3; }
.gallery-card:nth-child(3) { grid-column: span 4; }
.gallery-card:nth-child(4) { grid-column: span 4; }
.gallery-card:nth-child(5) { grid-column: span 8; }

.gallery-card img {
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
}

.testimonial-shell {
  display: grid;
  gap: 18px;
}

.testimonial-track {
  position: relative;
  min-height: 280px;
}

.testimonial {
  position: absolute;
  inset: 0;
  padding: 34px;
  border-radius: var(--radius-xl);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.testimonial p {
  margin: 22px 0;
  font-size: 1.12rem;
}

.testimonial-controls {
  display: flex;
  gap: 12px;
}

.testimonial-button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at left top, rgba(216, 142, 117, 0.35), transparent 36%),
    linear-gradient(135deg, #2e1d18 0%, #7b4938 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-banner h2,
.cta-banner .eyebrow {
  max-width: 12ch;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-card {
  padding: 22px;
  border-radius: 22px;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(253, 248, 241, 0.62);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.map-card {
  overflow: hidden;
  border-radius: 32px;
  min-height: 480px;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-panel,
  .tab-panel,
  .contact-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .intro-points,
  .pricing-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card,
  .gallery-card:nth-child(n) {
    grid-column: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 248, 241, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-card--main {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero-stack,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .panel-copy,
  .testimonial,
  .price-card,
  .intro-points article,
  .cta-banner {
    padding: 24px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── NAV SOCIAL ICONS ─────────────────────────────── */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(109, 82, 63, 0.14);
  color: var(--ink);
  transition: background 200ms ease, transform 200ms ease, color 200ms ease;
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  transform: translateY(-2px);
  border-color: transparent;
}

@media (max-width: 980px) {
  .nav-socials {
    justify-content: center;
    padding: 8px 0 4px;
  }

  .social-icon-btn {
    width: 44px;
    height: 44px;
  }

  .social-icon-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ─── CONTACT SOCIAL PILLS ─────────────────────────── */
.contact-socials-label {
  margin-top: 32px;
  margin-bottom: 4px;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #fdf8f1;
  transition: background 240ms ease, transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.social-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 240ms ease;
}

.social-pill-icon svg {
  width: 22px;
  height: 22px;
}

.social-pill-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-pill-text span {
  font-weight: 700;
  font-size: 0.97rem;
}

.social-pill-text small {
  font-size: 0.78rem;
  opacity: 0.6;
}

.social-pill:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.social-pill--ig:hover {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.6), rgba(253, 29, 29, 0.5), rgba(252, 176, 69, 0.5));
  border-color: rgba(252, 176, 69, 0.4);
}

.social-pill--ig:hover .social-pill-icon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-pill--tt:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.social-pill--tt:hover .social-pill-icon {
  background: #010101;
}

.social-pill--fb:hover {
  background: rgba(24, 119, 242, 0.35);
  border-color: rgba(24, 119, 242, 0.5);
}

.social-pill--fb:hover .social-pill-icon {
  background: #1877f2;
}

/* ─── FOOTER ───────────────────────────────────────── */
.site-footer {
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.8fr;
  gap: 32px 40px;
  align-items: start;
  padding-bottom: 36px;
  color: var(--muted);
}

.footer-brand strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-legal p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}

.footer-legal a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-nav a,
.footer-link-btn {
  font-size: 0.88rem;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 200ms ease;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-link-btn:hover {
  color: var(--accent-deep);
}

.treatwell-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem !important;
  opacity: 0.65;
  margin-top: 4px;
}

.treatwell-link:hover {
  opacity: 1;
  color: var(--accent-deep) !important;
}

.footer-credits {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.footer-credits .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-credits small {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-credits strong {
  color: var(--accent-deep);
}

@media (max-width: 860px) {
  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-credits .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── CTA SLIM ─────────────────────────────────────── */
.section--cta-slim {
  padding: 40px 0;
}

.cta-banner--slim {
  padding: 22px 28px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    radial-gradient(circle at left top, rgba(216, 142, 117, 0.35), transparent 36%),
    linear-gradient(135deg, #2e1d18 0%, #7b4938 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-left .eyebrow {
  color: rgba(255, 220, 200, 0.8);
  margin-bottom: 6px;
}

.cta-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 248, 241, 0.92) !important;
  max-width: 52ch;
  line-height: 1.5;
}

.button--wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.button--wa:hover {
  background: #1ebe5d;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
}

@media (max-width: 640px) {
  .cta-banner--slim {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .button--wa {
    width: 100%;
    justify-content: center;
  }
}

/* ─── REVIEW CARDS ─────────────────────────────────── */
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.review-stars {
  color: #f0a500;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(109, 82, 63, 0.12);
}

.review-footer strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.review-footer small {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 3px 10px;
  background: var(--bg-soft);
  border-radius: 999px;
}

/* ─── COOKIE BANNER ────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 20px 24px;
  background: rgba(31, 26, 24, 0.97);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fdf8f1;
  animation: slideUp 320ms ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
}

.cookie-text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.cookie-text p {
  font-size: 0.84rem;
  color: rgba(253, 248, 241, 0.75);
  line-height: 1.6;
}

.cookie-policy-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
  font-family: inherit;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions .button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fdf8f1;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

/* ─── MODALI ───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 12, 10, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 220ms ease;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  position: relative;
  background: #fbf7f2;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(40, 20, 10, 0.35);
  animation: scaleIn 240ms ease;
}

@keyframes scaleIn {
  from { transform: scale(0.95) translateY(12px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);     opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 200ms ease;
}

.modal-close:hover {
  background: var(--bg-soft);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-content {
  overflow-y: auto;
  padding: 44px 40px 40px;
  overscroll-behavior: contain;
}

.modal-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 6px;
  line-height: 1.1;
}

.modal-date {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px !important;
}

.modal-content h3 {
  font-size: 1.1rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  margin: 24px 0 8px;
  color: var(--ink);
}

.modal-content p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.modal-content ul {
  padding-left: 20px;
  margin: 8px 0 12px;
  display: grid;
  gap: 6px;
}

.modal-content li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.modal-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 0.84rem;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.cookie-table th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.cookie-table td {
  color: var(--muted);
}

@media (max-width: 640px) {
  .modal-content {
    padding: 36px 22px 28px;
  }

  .cookie-table {
    font-size: 0.75rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 8px 8px;
  }
}
