/* =========================================================
   CEYLON ON MY TERMS — Design system
   Palette: Ocean Deep, Spice Gold, Sunset Coral, Cream, Ink
   Type: Fraunces (display) + Inter (body)
   ========================================================= */

:root {
  --ocean: #0A4F5C;
  --ocean-deep: #073A44;
  --ocean-mist: #B8CDD0;
  --gold: #D4A574;
  --gold-soft: #E8CCA6;
  --coral: #E07856;
  --cream: #F5F0E8;
  --cream-warm: #EDE5D6;
  --ink: #1A2B33;
  --ink-soft: #4A5C66;
  --white: #FDFCFA;
  --line: rgba(26, 43, 51, 0.12);
  --shadow-sm: 0 1px 2px rgba(7, 58, 68, 0.06), 0 2px 8px rgba(7, 58, 68, 0.04);
  --shadow-md: 0 4px 12px rgba(7, 58, 68, 0.08), 0 12px 32px rgba(7, 58, 68, 0.06);
  --shadow-lg: 0 12px 32px rgba(7, 58, 68, 0.12), 0 24px 64px rgba(7, 58, 68, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Dark theme variable overrides — brand colors kept, surfaces flipped */
[data-theme="dark"] {
  --cream: #0E1A1F;
  --cream-warm: #172631;
  --white: #182A32;
  --ink: #E8E5DD;
  --ink-soft: #A8B4B8;
  --ocean-mist: #4A6E75;
  --line: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5), 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* Smooth theme transition */
html, body, .nav, .btn, .field input, .field select, .field textarea,
.pkg-card, .pkg-sidebar, .checkout-panel, .checkout-summary,
.dest-card, .pkg-toolbar {
  transition: background-color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out),
              color 0.25s var(--ease-out);
}

/* Theme toggle switch (top-right in nav) */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s var(--ease-out);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--ocean-mist); }
.theme-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.28s var(--ease-out), background 0.28s;
  display: grid;
  place-items: center;
}
.theme-toggle-knob svg {
  width: 12px;
  height: 12px;
  fill: var(--ocean);
  transition: fill 0.28s;
}
[data-theme="dark"] .theme-toggle {
  background: var(--ocean-deep);
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .theme-toggle-knob {
  transform: translateX(22px);
  background: var(--gold);
}
[data-theme="dark"] .theme-toggle-knob svg {
  fill: var(--ocean-deep);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; font-size: inherit; }

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 720px) { .container { padding: 0 1.25rem; } }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

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

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .nav { background: rgba(14, 26, 31, 0.85); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}
/* Links + actions share one collapsible wrapper so the mobile drawer is a
   single element to open, close and scroll — previously they were two
   independently animated boxes that could fall out of sync. */
.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex: 1 1 auto;
  min-width: 0;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ocean);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold) 0%, var(--coral) 50%, var(--ocean) 100%);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
}
/* Optional logo image — drop into images/logo.png (or edit the src).
   If present, it covers the gradient placeholder. If missing, the
   gradient stays. */
.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-mark:has(img) { background: transparent; }
.brand-mark:has(img)::after { display: none; }
.brand em {
  font-style: italic;
  color: var(--coral);
  font-weight: 300;
}

/* Social media icons — used in nav (small) and footer (medium) */
.socials {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  text-decoration: none;
}
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }
.social-icon:hover {
  color: var(--white);
  transform: translateY(-2px);
}
.social-icon[data-net="facebook"]:hover  { background: #1877F2; border-color: #1877F2; }
.social-icon[data-net="instagram"]:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); border-color: #DD2A7B; }
.social-icon[data-net="youtube"]:hover   { background: #FF0000; border-color: #FF0000; }
.social-icon[data-net="tiktok"]:hover    { background: #010101; border-color: #010101; }

/* Bigger variant for footer */
.socials.large .social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}
.socials.large .social-icon svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  position: relative;
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--ocean); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ocean);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
/* Current page — set statically on every page so it needs no JS. */
.nav-links a.is-active { color: var(--ocean); }
.nav-links a.is-active::after { transform: scaleX(1); }
[data-theme="dark"] .nav-links a.is-active { color: var(--gold); }
[data-theme="dark"] .nav-links a.is-active::after { background: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* Mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(10, 79, 92, 0.08); }
[data-theme="dark"] .nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Mobile navigation
   Seven links plus socials, theme, language and the sign-in button no
   longer fit on one row below ~1280px, so:
     • 1025–1280px  the row tightens and the socials step aside
                    (they are still in the footer on every page)
     • <=1024px     everything collapses into the hamburger panel
   The bar grows in place — it is already sticky — so there is no
   overlay, no backdrop and no scroll lock to keep in sync.
   ========================================================= */
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-inner { gap: 1rem; }
  .nav-panel { gap: 1.25rem; }
  .nav-links { gap: 1.15rem; }
  .nav-links a { font-size: 0.85rem; }
  .nav-actions { gap: 0.65rem; }
  .nav-actions .socials { display: none; }
}

@media (max-width: 1024px) {
  .nav-inner { flex-wrap: wrap; row-gap: 0; gap: 0.75rem; }
  .brand { order: 1; }
  .nav-toggle { display: flex; order: 2; }

  .nav-panel {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.32s var(--ease-out), opacity 0.25s var(--ease-out);
  }
  .nav.nav-open .nav-panel {
    /* Tall enough for every item, capped to the viewport and scrollable
       so the last links can never be clipped off the bottom. */
    max-height: min(72dvh, 660px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    padding-bottom: 1.25rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.5rem;
  }
  .nav-links a {
    padding: 0.9rem 0.1rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    white-space: normal;
  }
  .nav-links a::after { display: none; }
  .nav-links a.is-active { font-weight: 600; }

  .nav-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
  }
  .nav-actions .btn {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }
  .nav-actions .socials,
  .nav-actions .theme-toggle,
  .nav-actions .lang-switch { flex: 0 0 auto; }
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
}
.lang-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease-out);
}
.lang-btn.active {
  background: var(--ocean);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ocean);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--ocean-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ocean); }

.btn-large { padding: 1rem 2rem; font-size: 1rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: 6rem 5rem;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding: 3rem 0; }
}

.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--coral);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual — empty image placeholder with decorative compass */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.image-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 21px),
    linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  padding: 2rem;
}
.image-slot::before {
  content: "";
  position: absolute;
  top: 1rem; left: 1rem;
  width: 30px; height: 30px;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-left: 1px solid rgba(255,255,255,0.3);
}
.image-slot::after {
  content: "";
  position: absolute;
  bottom: 1rem; right: 1rem;
  width: 30px; height: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
}
.image-slot span {
  display: block;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
}

/* Place real image if user adds <img class="image-slot-img"> inside */
.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* When a real <img> is added anywhere in the image container,
   auto-hide the placeholder slot. The user just needs to drop the img tag
   into .dest-image, .hero-visual, or .pkg-image — the slot disappears. */
.dest-image:has(> img),
.hero-visual:has(> img),
.pkg-image:has(> img) {
  /* container ready */
}
.dest-image:has(> img) > .image-slot,
.hero-visual:has(> img) > .image-slot,
.pkg-image:has(> img) > .image-slot {
  display: none !important;
}
/* Make any img dropped directly into these containers fill them properly */
.dest-image > img:not(.dest-number),
.hero-visual > img,
.pkg-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-meta {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.hero-meta .coord {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-style: italic;
}

/* =========================================================
   Sections
   ========================================================= */
section { padding: 6rem 0; }
@media (max-width: 720px) { section { padding: 4rem 0; } }

.section-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 580px;
}

/* Destinations grid */
.destinations {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dest-grid { grid-template-columns: 1fr; } }

.dest-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream-warm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.dest-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dest-image .image-slot { position: absolute; inset: 0; }

.dest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.dest-card:hover .dest-image img { transform: scale(1.05); }

.dest-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  background: rgba(7, 58, 68, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 2;
}

.dest-body { padding: 1.5rem 1.5rem 1.75rem; }
.dest-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.dest-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Experiences */
.experiences {
  background: var(--cream);
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .exp-grid { grid-template-columns: 1fr; } }

.exp-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease-out);
}
.exp-card:hover {
  border-color: var(--ocean);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.exp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--ocean);
}
.exp-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.exp-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
}
.cta-banner .btn-primary {
  background: var(--gold);
  color: var(--ocean-deep);
}
.cta-banner .btn-primary:hover { background: var(--gold-soft); }

/* =========================================================
   Footer  (always dark — brand-friendly in both themes)
   ========================================================= */
footer {
  background: #0A1A20;
  color: rgba(255,255,255,0.7);
  padding-block: 4rem 2rem;
}
[data-theme="dark"] footer { background: #04090C; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer-brand .brand { color: #FDFCFA; margin-bottom: 1rem; }
.footer-brand .brand em { color: var(--coral); }
.footer-brand p { max-width: 280px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }

footer h4 {
  color: #FDFCFA;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.6rem; }
footer a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; text-decoration: none; }
footer a:hover { color: var(--gold); }

/* Payment method badges */
.footer-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-payments-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-right: 0.15rem;
}
.payment-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 0.7rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #FDFCFA;
  line-height: 1;
}
.payment-badge.visa { color: #1A1F71; font-style: italic; letter-spacing: 0.02em; }
.payment-badge.klarna { background: #FFB3C7; color: #17120F; }
.payment-badge.swish { background: #005AC4; color: #FDFCFA; }
.payment-badge.mastercard { width: 46px; padding: 0; }
.mc-circles { position: relative; width: 28px; height: 17px; }
.mc-circles span { position: absolute; top: 0; width: 17px; height: 17px; border-radius: 50%; }
.mc-circles .mc-c1 { left: 0; background: #EB001B; }
.mc-circles .mc-c2 { left: 11px; background: #F79E1B; mix-blend-mode: multiply; }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-socials-block {
  margin-top: 1.5rem;
}
.footer-socials-block h4 { margin-bottom: 0.85rem; }

/* =========================================================
   Auth page
   ========================================================= */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 880px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

.auth-visual {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}
.auth-visual::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.25) 0%, transparent 60%);
  transform: translate(-50%, -50%);
}
.auth-visual-content {
  position: relative;
  z-index: 2;
}
.auth-visual .brand { color: var(--white); }
.auth-visual-quote {
  position: relative;
  z-index: 2;
  max-width: 380px;
}
.auth-visual-quote h2 {
  color: var(--white);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.auth-visual-quote h2 em { color: var(--gold-soft); font-weight: 300; }
.auth-visual-quote p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.auth-form-wrap {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-form {
  width: 100%;
  max-width: 400px;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.auth-back:hover { color: var(--ocean); }

.auth-form h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.auth-form > p { color: var(--ink-soft); margin-bottom: 2rem; }

.field {
  margin-bottom: 1.25rem;
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(10, 79, 92, 0.1);
}

.auth-form .btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
}
.auth-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}
.auth-msg.error {
  display: block;
  background: rgba(224, 120, 86, 0.1);
  color: #B14E2C;
  border: 1px solid rgba(224, 120, 86, 0.3);
}
.auth-msg.success {
  display: block;
  background: rgba(10, 79, 92, 0.08);
  color: var(--ocean);
  border: 1px solid rgba(10, 79, 92, 0.2);
}

.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.auth-switch a {
  color: var(--ocean);
  font-weight: 500;
  margin-left: 0.3rem;
}
.auth-switch a:hover { text-decoration: underline; }

.auth-demo {
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  background: var(--cream-warm);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-family: "SF Mono", Menlo, monospace;
  text-align: center;
}

/* =========================================================
   Dashboard
   ========================================================= */
.dash-hero {
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--line);
}
.dash-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}
.dash-hero h1 em { font-style: italic; color: var(--coral); font-weight: 300; }
.dash-hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
.dash-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.dash-summary { padding: 4rem 0; }
.dash-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dash-summary-head h2 {
  font-size: 1.8rem;
  font-weight: 500;
}
.dash-total-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--ocean);
  color: var(--white);
  border-radius: 999px;
}
.dash-total-pill .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.dash-total-pill .amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}
.dash-total-pill .sub {
  font-size: 0.85rem;
  opacity: 0.7;
}

.summary-empty {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.summary-item {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.summary-item .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.summary-item .value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
}
.summary-item .price {
  font-size: 0.85rem;
  color: var(--coral);
  margin-top: 0.5rem;
  font-weight: 500;
}
