/* ── Fonts (next/font variables, served by Google Fonts) ── */
:root {
  --font-display-family: 'Cormorant Garamond';
  --font-body-family: 'Manrope';
}

/* ── Tokens (app/theme.css) ─────────────────────────────── */
:root {
  /* Surfaces — deep black, soft charcoal layers */
  --color-bg: #070707;
  --color-bg-elevated: #111111;
  --color-bg-muted: #1a1a1a;
  --color-surface: #141414;
  --color-surface-hover: #1e1e1e;

  /* Text — pearl white + muted stone */
  --color-text: #f3efe6;
  --color-text-muted: #a39e94;
  --color-text-subtle: #6e6960;
  --color-text-inverse: #0a0a0a;

  /* Brand — metallic gold from the mark */
  --color-accent: #c9a227;
  --color-accent-bright: #e4c35a;
  --color-accent-deep: #8b6f1c;
  --color-pearl: #f7f4ec;

  /* Borders */
  --color-border: #2a2a2a;
  --color-border-strong: #c9a227;
  --color-border-muted: #3d3d3d;

  /* Interactive */
  --color-cta-bg: #c9a227;
  --color-cta-bg-hover: #e4c35a;
  --color-cta-text: #0a0a0a;
  --color-focus: #e4c35a;

  /* Typography */
  --font-display: var(--font-display-family), 'Times New Roman', serif;
  --font-body: var(--font-body-family), 'Segoe UI', sans-serif;

  /* Gradients — offer cards */
  --gradient-card: linear-gradient(
    145deg,
    #1c1810 0%,
    #0e0e0e 42%,
    #16120c 100%
  );
  --gradient-card-top1: linear-gradient(
    145deg,
    #2e2410 0%,
    #15120a 38%,
    #1f1a0e 100%
  );
  --gradient-card-top2: linear-gradient(
    145deg,
    #242018 0%,
    #111111 45%,
    #1a1710 100%
  );
  --gradient-card-top3: linear-gradient(
    145deg,
    #201c14 0%,
    #101010 45%,
    #181510 100%
  );
  --gradient-hero-veil: linear-gradient(
    115deg,
    rgba(7, 7, 7, 0.82) 0%,
    rgba(7, 7, 7, 0.55) 48%,
    rgba(7, 7, 7, 0.28) 100%
  ),
    linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.2) 0%,
      rgba(7, 7, 7, 0.78) 100%
    );

  /* API hero — rich gold / charcoal, no photo */
  --gradient-hero-api:
    radial-gradient(
      ellipse 80% 70% at 85% 15%,
      rgba(228, 195, 90, 0.28) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 50% at 10% 90%,
      rgba(139, 111, 28, 0.35) 0%,
      transparent 50%
    ),
    linear-gradient(
      145deg,
      #0c0a06 0%,
      #16110a 38%,
      #0a0a0a 68%,
      #12100c 100%
    );

  /* Light panels (info sections on pearl) */
  --color-panel-light: var(--color-pearl);
  --color-panel-light-card: #ffffff;
  --color-text-on-light: #1a1610;
  --color-text-on-light-muted: #5c564c;
  --color-text-on-light-body: #3f3a32;
  --color-panel-light-border: rgba(26, 22, 16, 0.08);
  --color-panel-light-shadow: rgba(26, 22, 16, 0.06);

  /* Shared layout rhythm */
  --page-pad-x: 1rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

/* ── Reset (app/globals.css) ────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

ul,
ol {
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
}

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

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

[hidden] {
  display: none !important;
}

/* Images that were next/image `fill` */
.hero-bg,
.photo-card-img,
.gallery-img,
.closing-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Header ─────────────────────────────────────────────── */
.header {
  position: relative;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px var(--page-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  z-index: 42;
}

.header-logo {
  width: auto;
  height: 40px;
  max-width: min(180px, 48vw);
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--color-accent-bright);
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--color-border-muted);
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
  color: var(--color-pearl);
  cursor: pointer;
  z-index: 42;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.burger:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-bright);
}

.burger-icon {
  display: inline-flex;
}

.backdrop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100dvh;
  z-index: 40;
  background: rgba(7, 7, 7, 0.55);
}

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 41;
  width: 100%;
  max-height: min(70dvh, 28rem);
  overflow-y: auto;
  padding: 0.35rem var(--page-pad-x) 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid rgba(228, 195, 90, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-0.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.nav-mobile-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-link {
  display: block;
  padding: 0.85rem 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-pearl);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-link:hover {
  color: var(--color-accent-bright);
  background: rgba(228, 195, 90, 0.08);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .burger,
  .backdrop,
  .nav-mobile {
    display: none;
  }
}

/* ── Page shell (app/page.module.css) ───────────────────── */
.main {
  flex: 1;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(160px, 24dvh, 220px);
  padding: 1.15rem var(--page-pad-x) 1.1rem;
  overflow: hidden;
}

.hero-bg {
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--gradient-hero-veil);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.hero-eyebrow {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
}

.hero-title {
  margin: 0;
  max-width: 20ch;
  color: var(--color-pearl);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0.45rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-bright),
    transparent
  );
}

.hero-text {
  margin: 0;
  max-width: 42rem;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-muted);
}

@media (min-width: 700px) {
  .hero {
    min-height: clamp(200px, 28dvh, 300px);
    padding: 1.75rem var(--page-pad-x) 1.5rem;
  }

  .hero-inner {
    gap: 0.55rem;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
  }

  .hero-title {
    max-width: 18ch;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.12;
  }

  .hero-title::after {
    width: 3.25rem;
    margin-top: 0.65rem;
  }

  .hero-text {
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    line-height: 1.5;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 2.5rem 1.5rem 2rem;
    min-height: clamp(220px, 32dvh, 340px);
  }
}

/* ── Offers ─────────────────────────────────────────────── */
.offers-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}

.promo-section {
  padding: 28px 0 40px;
  overflow: visible;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 6px;
  overflow: visible;
}

.promo-section-end {
  width: 100%;
  height: 1px;
}

/* ── Offer card ─────────────────────────────────────────── */
/* ── Base card ─────────────────────────────────────────── */
.promo-card {
  position: relative;
  overflow: visible;
  margin-top: 12px;
  border: 1px solid var(--color-border-muted);
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  box-shadow:
    inset 0 1px 0 rgba(228, 195, 90, 0.1),
    0 14px 36px rgba(0, 0, 0, 0.38);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.promo-card:hover {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(228, 195, 90, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* ── Rank variants ─────────────────────────────────────── */
.promo-card-top1 {
  border: 1px solid var(--color-accent);
  background: var(--gradient-card-top1);
  box-shadow:
    inset 0 1px 0 rgba(228, 195, 90, 0.22),
    0 14px 36px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(201, 162, 39, 0.18);
}

.promo-card-top2 {
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: var(--gradient-card-top2);
}

.promo-card-top3 {
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: var(--gradient-card-top3);
}

/* ── Badge ─────────────────────────────────────────────── */
.offer-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  max-width: calc(100% - 32px);
  background: linear-gradient(
    135deg,
    var(--color-accent-bright),
    var(--color-accent)
  );
  color: var(--color-text-inverse);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ── Card overlay link ─────────────────────────────────── */
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── Card inner grid container ─────────────────────────── */
.card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "logo    bonus"
    "features bonus"
    "payments cta"
    "terms   terms";
  gap: 14px;
  padding: 18px 16px 14px;
  position: relative;
  pointer-events: none;
}

/* ── Grid areas ────────────────────────────────────────── */
.logo-area {
  grid-area: logo;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.offer-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-pearl);
}

.bonus-area {
  grid-area: bonus;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.features-area {
  grid-area: features;
  display: flex;
  align-items: flex-start;
  align-self: start;
  min-width: 0;
}

.cta-area {
  grid-area: cta;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  background: linear-gradient(
    135deg,
    var(--color-accent-bright),
    var(--color-accent)
  );
  color: var(--color-cta-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.28);
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.promo-card:hover .cta-area {
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.38);
}

/* ── Logo ──────────────────────────────────────────────── */
.offer-logo {
  width: auto;
  max-width: 120px;
  max-height: 70px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(228, 195, 90, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ── Features ──────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.feature-item {
  margin: 0;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--color-pearl);
  background: rgba(228, 195, 90, 0.07);
  border: 1px solid rgba(228, 195, 90, 0.28);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.feature-toggle-item {
  display: flex;
  align-items: center;
  list-style: none;
}

.feature-toggle {
  background: transparent;
  border: 1px solid rgba(228, 195, 90, 0.4);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--color-accent-bright);
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  position: relative;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.feature-toggle:hover {
  background: rgba(228, 195, 90, 0.12);
  border-color: var(--color-accent-bright);
}

/* ── Terms areas ────────────────────────────────────────── */

.terms-area {
  grid-area: terms;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.terms {
  font-size: 11px;
  color: var(--color-text-subtle);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.terms-link {
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  position: relative;
  color: var(--color-text-muted);
}

.terms-link:hover {
  text-decoration: underline;
  color: var(--color-accent-bright);
}

/* ── Hotel fallback cards — mobile stack (API untouched) ─ */
.promo-card-hotel {
  overflow: hidden;
}

.promo-card-hotel .offer-badge {
  top: 12px;
  left: 12px;
}

.promo-card-hotel .card-inner {
  grid-template-columns: 1fr;
  grid-template-areas:
    "logo"
    "bonus"
    "features"
    "cta"
    "terms";
  gap: 12px;
  padding: 0 0 12px;
}

.promo-card-hotel .logo-area {
  gap: 0;
  align-self: stretch;
}

.promo-card-hotel .offer-logo {
  width: 100%;
  max-width: none;
  height: 190px;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(228, 195, 90, 0.22);
  box-shadow: none;
}

.promo-card-hotel .offer-name {
  display: none;
}

.promo-card-hotel .bonus-area {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2px 14px 0;
  text-align: left;
}

.promo-card-hotel .features-area {
  align-self: stretch;
  padding: 0 14px;
}

.promo-card-hotel .cta-area {
  margin: 0 14px;
  padding: 13px 16px;
  font-size: 14px;
}

.promo-card-hotel .terms-area {
  padding: 0 14px;
}

/* ── Desktop: single horizontal row ───────────────────── */
@media (min-width: 769px) {
  .card-inner {
    grid-template-columns: 160px 1fr 1.1fr auto auto;
    grid-template-rows: 1fr;
    grid-template-areas:
      "logo bonus features payments cta"
      "terms terms terms terms terms";
    align-items: center;
    gap: 18px;
    padding: 18px 22px 14px;
  }

  .logo-area {
    align-items: flex-start;
  }

  .bonus-area {
    justify-content: flex-start;
  }

  .feature-item {
    font-size: 12px;
    padding: 6px 10px;
  }

  .promo-card-hotel {
    overflow: visible;
  }

  .promo-card-hotel .offer-badge {
    top: -12px;
    left: 16px;
  }

  .promo-card-hotel .card-inner {
    grid-template-columns: 220px 1.15fr 1.35fr auto;
    grid-template-areas:
      "logo bonus features cta"
      "terms terms terms terms";
    gap: 20px;
    padding: 20px 24px 14px;
  }

  .promo-card-hotel .logo-area {
    gap: 8px;
  }

  .promo-card-hotel .offer-logo {
    width: 220px;
    max-width: 220px;
    height: 148px;
    max-height: 148px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(228, 195, 90, 0.32);
    border-bottom: 1px solid rgba(228, 195, 90, 0.32);
    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(228, 195, 90, 0.12);
  }

  .promo-card-hotel .offer-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.25;
    max-width: 220px;
    color: var(--color-pearl);
  }

  .promo-card-hotel .bonus-area,
  .promo-card-hotel .features-area,
  .promo-card-hotel .terms-area {
    padding: 0;
  }

  .promo-card-hotel .bonus-area {
    justify-content: flex-start;
    align-items: center;
  }

  .promo-card-hotel .cta-area {
    margin: 0;
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ── Bonus display ──────────────────────────────────────── */
.bonus-display {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bonus-amount {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-accent-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.bonus-secondary {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ── Info sections ──────────────────────────────────────── */
.info-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-section {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}

.info-section-services {
  background:
    radial-gradient(
      ellipse 70% 55% at 12% 0%,
      rgba(228, 195, 90, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 55% 45% at 92% 100%,
      rgba(139, 111, 28, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #0c0b09 0%, #090909 100%);
  border-top-color: rgba(228, 195, 90, 0.12);
}

.info-container,
.info-container-narrow {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}

.info-container {
  max-width: 1080px;
}

.info-container-narrow {
  max-width: 760px;
}

.section-head,
.section-head-centered {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section-head-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
}

.eyebrow-dark {
  color: var(--color-accent-deep);
}

.info-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-pearl);
}

.title-dark {
  color: var(--color-text-on-light);
}

.lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ── Photo cards ───────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.photo-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-muted);
}

.photo-card-img {
  object-fit: cover;
}

.photo-card-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 7, 0.15) 0%,
    rgba(7, 7, 7, 0.78) 72%,
    rgba(7, 7, 7, 0.92) 100%
  );
}

.photo-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.15rem 1.1rem 1.2rem;
}

.photo-card-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-pearl);
}

.photo-card-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ── Text cards ────────────────────────────────────────── */
.text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.text-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-muted);
  background: var(--gradient-card);
}

.text-card-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent-bright);
}

.text-card-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ── Services ──────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.service-card {
  padding: 1.05rem 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid rgba(228, 195, 90, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(228, 195, 90, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(228, 195, 90, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(228, 195, 90, 0.14),
    0 16px 32px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.7rem;
  color: var(--color-accent-bright);
  background: rgba(228, 195, 90, 0.08);
  border: 1px solid rgba(228, 195, 90, 0.28);
  border-radius: var(--radius-sm);
}

.service-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-pearl);
}

.service-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ── Guide ─────────────────────────────────────────────── */
.guide-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ── Gallery ───────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-muted);
}

.gallery-img {
  object-fit: cover;
}

/* ── About + closing ───────────────────────────────────── */
.about-card {
  padding: 1.6rem 1.4rem 1.6rem 1.55rem;
  border-radius: var(--radius-lg);
  background: var(--color-panel-light);
  border-left: 6px solid var(--color-accent);
  margin-bottom: 1.5rem;
}

.about-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-on-light-body);
}

.closing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-muted);
  background: var(--color-bg-elevated);
}

.closing-copy {
  padding: 1.5rem 1.25rem;
}

.closing-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--color-text-subtle);
}

.closing-media {
  position: relative;
  min-height: 220px;
}

.closing-img {
  object-fit: cover;
}

@media (min-width: 700px) {
  .photo-grid,
  .text-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .closing:not(.closing-text-only) {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .closing-media {
    min-height: 100%;
  }
}

@media (min-width: 960px) {
  .info-section {
    padding: 3.75rem 0;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-card {
    min-height: 320px;
  }

  .about-card {
    padding: 2rem 2rem 2rem 2.1rem;
  }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.25rem var(--page-pad-x) 1.75rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  max-width: 34rem;
}

.footer-logo-link {
  display: inline-flex;
  line-height: 0;
  margin-bottom: 0.9rem;
}

.footer-logo {
  width: auto;
  height: 40px;
  max-width: min(200px, 70vw);
  object-fit: contain;
}

.footer-description {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.footer-email {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-bright);
  text-decoration: underline;
}

.footer-email:hover {
  color: var(--color-pearl);
}

.footer-nav-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-pearl);
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.25rem;
}

.footer-link {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.footer-link:hover {
  color: var(--color-accent-bright);
  text-decoration: underline;
}

.footer-notice {
  padding: 1.25rem 0 1.1rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
}

.notice-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.notice-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-pearl);
}

.notice-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.regulators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.regulator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: var(--color-pearl);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-muted);
}

.regulator-logo {
  width: auto;
  height: 26px;
}

.regulator-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-bright);
  text-decoration: underline;
}

.regulator-text:hover {
  color: var(--color-pearl);
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-subtle);
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .footer-link-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .notice-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Legal pages ────────────────────────────────────────── */
.legal-page {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px var(--page-pad-x) 48px;
  color: var(--color-text);
}

.legal-page h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-pearl);
}

.legal-page h2 {
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-accent-bright);
}

.legal-page h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-pearl);
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-page ul,
.legal-page ol {
  padding-left: 20px;
}

.legal-page a {
  color: var(--color-accent-bright);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--color-pearl);
}

.legal-page strong {
  color: var(--color-pearl);
  font-weight: 700;
}

/* ── 404 ────────────────────────────────────────────────── */
.not-found-page {
  flex: 1;
}
