/* ============================================================
   FRFS ON MX - Ejido Governance Consultancy
   Frosted Glass Design System | 2026
   ============================================================ */


:root {
  --color-bg-deep: #0d1f2d;
  --color-bg-mid: #1a3a4a;
  --color-bg-surface: #12293a;
  --color-primary: #2a7f6f;
  --color-primary-light: #3da88f;
  --color-secondary: #c8a96e;
  --color-accent: #5fc4b8;
  --color-accent-warm: #e8c17a;
  --color-text-primary: #e8f0ee;
  --color-text-secondary: #a8bfbb;
  --color-text-muted: #6e8e89;
  --color-glass-bg: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.12);
  --color-glass-hover: rgba(255, 255, 255, 0.10);
  --color-overlay: rgba(13, 31, 45, 0.72);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.38), 0 4px 16px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.10);
  --shadow-glow: 0 0 32px rgba(42,127,111,0.22), 0 8px 32px rgba(0,0,0,0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --nav-height: 72px;
  --content-narrow: 680px;
  --content-wide: 1100px;

  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --font-heading: 'Familjen Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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


.canvas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(42,127,111,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(95,196,184,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 10%, rgba(200,169,110,0.08) 0%, transparent 45%),
    linear-gradient(160deg, #0d1f2d 0%, #12293a 45%, #0a1a28 100%);
}


h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

p {
  color: var(--color-text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  line-height: 1.75;
}

.text-accent { color: var(--color-accent); }
.text-secondary-color { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }


.gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-frame {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
  background: rgba(13, 31, 45, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-glass-border), rgba(95,196,184,0.4), var(--color-glass-border), transparent);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-frame.scrolled::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-frame.scrolled {
  background: rgba(13, 31, 45, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.nav-brand img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--color-text-primary);
  background: var(--color-glass-bg);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--color-text-primary);
}


.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--space-sm);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}

.lang-btn {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  padding: 2px 4px;
  border-radius: 4px;
}

.lang-btn:hover { color: var(--color-text-primary); }
.lang-btn.active {
  color: var(--color-accent);
  background: rgba(95,196,184,0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.lang-divider {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  opacity: 0.5;
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  z-index: 1010;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}


.drawer-flip-container {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 999;
  perspective: 1200px;
}

.drawer-flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drawer-flip-card.is-flipped {
  transform: rotateX(-180deg);
}

.drawer-face,
.drawer-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.drawer-back {
  transform: rotateX(180deg);
  background: rgba(13, 31, 45, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}


.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(13, 31, 45, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  padding: var(--space-xl);
}

.drawer-overlay.is-open {
  opacity: 1;
  transform: translateY(0);
}

.drawer-overlay a {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-align: center;
}

.drawer-overlay a:hover {
  color: var(--color-accent);
  background: var(--color-glass-bg);
}

.drawer-overlay .lang-switcher {
  margin-top: var(--space-md);
  margin-left: 0;
  scale: 1.2;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 1.4rem;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.drawer-close:hover {
  color: var(--color-text-primary);
  background: var(--color-glass-bg);
}

/* ============================================================
   HERO / STAGE
   ============================================================ */
.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-3xl);
}

.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.stage-curtain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(42,127,111,0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(13,31,45,0.5) 0%, rgba(13,31,45,0.25) 50%, rgba(13,31,45,0.75) 100%);
  z-index: 1;
}

.stage-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-narrow);
  text-align: center;
}

.stage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stage-headline {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.stage-headline .static-word { color: var(--color-text-primary); }


.word-rotator {
  display: inline-block;
  position: relative;
  min-width: 280px;
  height: 1.2em;
  vertical-align: bottom;
}

.rotating-word {
  position: absolute;
  left: 0; right: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.stage-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.stage-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}


.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-1 {
  width: 400px; height: 400px;
  background: var(--color-primary);
  top: -100px; left: -100px;
}

.orb-2 {
  width: 300px; height: 300px;
  background: var(--color-accent);
  bottom: -80px; right: -80px;
}

.orb-3 {
  width: 200px; height: 200px;
  background: var(--color-secondary);
  top: 40%; right: 10%;
  opacity: 0.12;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42,127,111,0.35), 0 2px 8px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(42,127,111,0.45), 0 4px 16px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
}

.btn-secondary {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--color-glass-hover);
  border-color: rgba(95,196,184,0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-accent);
}

.btn-ghost {
  color: var(--color-accent);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(95,196,184,0.1);
  color: var(--color-accent);
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(95,196,184,0.25);
  background: var(--color-glass-hover);
}

.glass-card:has(img) {
  overflow: hidden;
}

.glass-card:has(img) img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:has(img):hover img {
  transform: scale(1.04);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}

.section-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 2px;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header p {
  margin-top: var(--space-sm);
  max-width: 540px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}


.section:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.section-tinted {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(42,127,111,0.08) 0%, transparent 60%),
    rgba(255,255,255,0.015);
}

.section-warm {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200,169,110,0.06) 0%, transparent 60%),
    rgba(255,255,255,0.01);
}

/* ============================================================
   BENTO GALLERY
   ============================================================ */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--space-sm);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.gallery-bento .spotlight {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.gallery-bento .card-tall {
  grid-row: 1 / 3;
}

.bento-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 200px;
}

.bento-card.bento-img {
  padding: 0;
  min-height: 280px;
  overflow: hidden;
}

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

.bento-card .card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42,127,111,0.25), rgba(95,196,184,0.15));
  border: 1px solid rgba(95,196,184,0.2);
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.bento-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-text-primary);
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
}


.glass-card.spotlight {
  background: linear-gradient(135deg, rgba(42,127,111,0.15) 0%, rgba(95,196,184,0.08) 100%);
  border-color: rgba(95,196,184,0.2);
}

.glass-card.spotlight:has(.card-icon) .card-icon {
  background: linear-gradient(135deg, rgba(42,127,111,0.4), rgba(95,196,184,0.2));
  border-color: rgba(95,196,184,0.35);
}

/* ============================================================
   BENEFITS SHELF
   ============================================================ */
.shelf-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.benefit-card {
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42,127,111,0.2), rgba(95,196,184,0.1));
  border: 1px solid rgba(95,196,184,0.2);
  border-radius: var(--radius-full);
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(42,127,111,0.35), rgba(95,196,184,0.2));
  box-shadow: 0 8px 24px rgba(42,127,111,0.25);
}

.benefit-card h4 {
  font-size: 1.1rem;
  color: var(--color-text-primary);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ============================================================
   CONTENT SECTIONS — Inner pages
   ============================================================ */
.content-block {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.content-block h2 {
  margin-bottom: var(--space-md);
}

.content-block p {
  margin-bottom: var(--space-md);
}

.content-block h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  font-size: 1.3rem;
}


.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
}

.service-item .si-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42,127,111,0.25), rgba(95,196,184,0.12));
  border: 1px solid rgba(95,196,184,0.18);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-top: 2px;
}

.service-item .si-body h4 {
  font-size: 1.05rem;
  color: var(--color-text-primary);
  margin-bottom: 0.3rem;
}

.service-item .si-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
}


.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: var(--space-lg) auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent), transparent);
  border-radius: 2px;
}

.step-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md) var(--space-md) 0;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(42,127,111,0.35);
}

.step-body h4 {
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 0.3rem;
  padding-top: 0.55rem;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================================
   IMAGE FEATURE BLOCK
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--content-wide);
  margin: 0 auto;
}

.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-glass-border);
  position: relative;
}

.feature-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,127,111,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h2 {
  margin-bottom: var(--space-md);
}

.feature-text p {
  margin-bottom: var(--space-md);
}

/* ============================================================
   ACCENT DIVIDER
   ============================================================ */
.gradient-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  border-radius: 2px;
  margin: var(--space-md) 0;
}

.gradient-divider.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   QUOTE CARD
   ============================================================ */
.quote-card {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-xl);
  text-align: center;
  border-radius: var(--radius-xl);
  position: relative;
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: var(--space-lg);
  font-size: 6rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
}

.quote-card blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.45;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.quote-card cite {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT FORM — Chat Style
   ============================================================ */
.chat-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.chat-bubble-q {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  margin-top: 4px;
}

.bubble-q {
  background: linear-gradient(135deg, rgba(42,127,111,0.2), rgba(95,196,184,0.1));
  border: 1px solid rgba(95,196,184,0.2);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 70%;
}

.chat-reply {
  display: flex;
  justify-content: flex-end;
}

.chat-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 85%;
}

.chat-input-wrap input,
.chat-input-wrap textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
  padding: 0.8rem 1.1rem;
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  resize: vertical;
}

.chat-input-wrap input::placeholder,
.chat-input-wrap textarea::placeholder {
  color: var(--color-text-muted);
}

.chat-input-wrap input:focus,
.chat-input-wrap textarea:focus {
  border-color: rgba(95,196,184,0.45);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(95,196,184,0.08);
}


.chat-form:has(input:focus),
.chat-form:has(textarea:focus) {
  --border-glow: rgba(95,196,184,0.15);
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
}

.privacy-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.privacy-row label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.privacy-row label a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(95,196,184,0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.privacy-row label a:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.chat-send-row {
  display: flex;
  justify-content: flex-end;
}

/* ============================================================
   MAPS
   ============================================================ */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  box-shadow: var(--shadow-md);
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-card {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-card .cc-icon {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-card .cc-body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-card .cc-body a,
.contact-card .cc-body span {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.contact-card .cc-body a:hover {
  color: var(--color-accent);
}

/* ============================================================
   LEGAL PAGES — Sidebar TOC
   ============================================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  max-width: var(--content-wide);
  margin: 0 auto;
  align-items: start;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-3xl);
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-md);
}

.legal-toc h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-glass-border);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list a {
  font-size: 0.83rem;
  color: var(--color-text-secondary);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  border-left: 2px solid transparent;
  display: block;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--color-accent);
  background: rgba(95,196,184,0.07);
}

.toc-list a.active {
  color: var(--color-accent);
  background: rgba(95,196,184,0.1);
  border-left-color: var(--color-accent);
}

.legal-content {
  min-width: 0;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: var(--space-sm);
}

.legal-content .legal-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-glass-border);
}

.legal-section {
  margin-bottom: var(--space-xl);
  padding-top: var(--space-sm);
}

.legal-section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-glass-border);
  color: var(--color-text-primary);
}

.legal-section h3 {
  font-size: 1.05rem;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  margin-top: var(--space-md);
}

.legal-section p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-section ul {
  margin: var(--space-sm) 0 var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  font-size: 0.93rem;
  color: var(--color-text-secondary);
  padding-left: var(--space-sm);
  border-left: 2px solid rgba(95,196,184,0.2);
  line-height: 1.65;
}


.toc-mobile-toggle {
  display: none;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: var(--space-sm);
}

.toc-mobile-list {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.toc-mobile-list.open { display: flex; }

.toc-mobile-list a {
  font-size: 0.87rem;
  color: var(--color-text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.toc-mobile-list a:hover {
  color: var(--color-accent);
  background: rgba(95,196,184,0.07);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--color-glass-border);
  padding: var(--space-xl) var(--space-lg) var(--space-md);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand img { height: 36px; margin-bottom: var(--space-sm); }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover { color: var(--color-accent); }

.footer-bottom {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover { color: var(--color-accent); }

/* ============================================================
   COOKIE CONSENT — Minimalist text link
   ============================================================ */
.cookie-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.cookie-link:hover {
  color: var(--color-text-primary);
  border-color: rgba(95,196,184,0.3);
  background: var(--color-glass-hover);
}

.cookie-link.pulse {
  animation: cookiePulse 2.4s ease 1.5s 3;
}

@keyframes cookiePulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 4px rgba(95,196,184,0.2), 0 0 16px rgba(95,196,184,0.12); }
}


.cookie-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(13,31,45,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.cookie-modal-backdrop.open { display: flex; }

.cookie-modal {
  background: linear-gradient(135deg, rgba(26,58,74,0.95) 0%, rgba(13,31,45,0.98) 100%);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  padding: var(--space-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cookie-modal h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.cookie-modal p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
}

.cookie-cat-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.cookie-cat-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-base);
}

.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-base);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-modal-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 120px;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42,127,111,0.3), rgba(95,196,184,0.15));
  border: 1px solid rgba(95,196,184,0.3);
  border-radius: var(--radius-full);
  font-size: 2rem;
  color: var(--color-accent);
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 32px rgba(42,127,111,0.2);
}

/* ============================================================
   DECORATIVE SHAPES
   ============================================================ */
.deco-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.07;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
}

.deco-shape-1 {
  width: 320px; height: 320px;
  top: 10%; right: 5%;
}

.deco-shape-2 {
  width: 180px; height: 180px;
  bottom: 15%; left: 8%;
}


.accent-border-card {
  position: relative;
}

.accent-border-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(95,196,184,0.3), rgba(200,169,110,0.2), transparent 60%);
  z-index: -1;
}

/* ============================================================
   TAG CHIPS
   ============================================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-sm);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(95,196,184,0.1);
  border: 1px solid rgba(95,196,184,0.2);
  color: var(--color-accent);
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent);
  background: linear-gradient(135deg, rgba(95,196,184,0.06), rgba(42,127,111,0.04));
  margin: var(--space-lg) 0;
}

.highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.highlight-box:has(.accent-title) {
  border-left-color: var(--color-secondary);
  background: linear-gradient(135deg, rgba(200,169,110,0.06), rgba(232,193,122,0.03));
}

.accent-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
  display: block;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.page-hero-curtain {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,31,45,0.3) 0%, rgba(13,31,45,0.9) 100%);
  z-index: 1;
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

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

  .gallery-bento .spotlight {
    grid-column: 1 / 3;
  }

  .gallery-bento .card-tall {
    grid-row: auto;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-split.reverse { direction: ltr; }

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

  .footer-brand {
    grid-column: 1 / 3;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

  .legal-toc { display: none; }
  .toc-mobile-toggle { display: flex; }
}

@media (max-width: 640px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
    --space-xl: 2.5rem;
    --space-lg: 2rem;
  }

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

  .gallery-bento .spotlight {
    grid-column: 1 / 2;
  }

  .shelf-benefits {
    grid-template-columns: 1fr;
  }

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

  .footer-brand { grid-column: 1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links { justify-content: center; }

  .stage-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .process-steps::before {
    left: 21px;
  }

  .word-rotator {
    min-width: 200px;
  }
}


.drawer-overlay {
  display: flex;
}

.drawer-overlay:not(.is-open) {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
}


.section:has(.spotlight) {
  position: relative;
}

.section:has(.spotlight)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(42,127,111,0.04) 0%, transparent 70%);
  pointer-events: none;
}