/* ==========================================================================
   Tempore Governança Condominial — Design System
   ========================================================================== */

:root {
  --navy: #223755;
  --navy-light: #2d4a70;
  --navy-dark: #162540;
  --gold: #b88f2e;
  --gold-light: #caa84a;
  --gold-dark: #9a7620;
  --cream: #ede7e3;
  --cream-light: #f5f1ee;
  --cream-dark: #d8cfc9;
  --ink: #2b2b2b;
  --gray-600: #6b7280;
  --gray-500: #7d8592;
  --gray-400: #9aa1ab;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --container-w: 1400px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  margin: 0;
  color: var(--navy);
}

p {
  margin: 0;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon.filled { fill: currentColor; stroke: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Layout helpers */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .container { padding-inline: 2.5rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}
.eyebrow.centered {
  justify-content: center;
}
.eyebrow.centered::after {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.text-gold { color: var(--gold); }
.text-gradient-gold {
  background: linear-gradient(135deg, #b88f2e, #caa84a, #9a7620);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease-out), background-color 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(184, 143, 46, 0.45);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-dark); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: #20ba59; }

.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal='up'] { transform: translateY(28px); }
[data-reveal='right'] { transform: translateX(-28px); }
[data-reveal='scale'] { transform: scale(0.96); }
[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.25rem;
  transition: all 0.3s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(34, 55, 85, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  padding-block: 0.7rem;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand svg { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-serif);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.brand-sub {
  color: var(--gold);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding-block: 0.3rem;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta { display: none; }

.nav-toggle {
  color: #fff;
  padding: 0.3rem;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: var(--navy-dark);
  transition: max-height 0.35s var(--ease-out), opacity 0.3s;
}
.mobile-menu.open { max-height: 30rem; opacity: 1; }
.mobile-menu ul {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-menu .btn { margin-top: 0.4rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #162540 0%, #223755 50%, #2d4a70 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, #fff 59px, #fff 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, #fff 59px, #fff 60px);
}

.hero-gold-wash {
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  opacity: 0.07;
  background: linear-gradient(225deg, var(--gold), transparent 70%);
}

.hero-scene {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  display: none;
  pointer-events: none;
}
.hero-scene svg { position: absolute; bottom: 0; right: 0; width: 100%; height: 90%; }
.hero-vignette-left {
  position: absolute;
  inset-block: 0; left: 0;
  width: 33%;
  background: linear-gradient(90deg, #162540, transparent);
}
.hero-vignette-top {
  position: absolute;
  inset-inline: 0; top: 0;
  height: 10rem;
  background: linear-gradient(#162540, transparent);
}
@media (min-width: 1024px) { .hero-scene { display: block; } }

.hero-content {
  position: relative;
  padding-block: 7rem 5rem;
  width: 100%;
}
.hero-copy { max-width: 100%; }
@media (min-width: 1024px) { .hero-copy { max-width: 52%; } }

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-copy p.lede {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats .value {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stats .label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  animation: bounce 2s infinite;
}
.scroll-indicator:hover { color: var(--gold); }
.scroll-indicator svg { width: 28px; height: 28px; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-banner {
  background: var(--navy);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.about-banner::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, var(--gold) 30px, var(--gold) 31px);
}
.about-banner h2 {
  position: relative;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  max-width: 42rem;
}

.about-main { padding-block: 5rem; }
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 2fr 3fr; gap: 3.5rem; }
}

.founder-card {
  background: var(--navy);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(34, 55, 85, 0.35);
}
.founder-head {
  position: relative;
  background: linear-gradient(135deg, #1a3258, #2a4878);
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
}
.founder-head::before {
  content: '';
  position: absolute;
  top: -2.5rem; right: -2.5rem;
  width: 8rem; height: 8rem;
  border-radius: 50%;
  background: rgba(184, 143, 46, 0.1);
}
.founder-monogram {
  position: relative;
  width: 5rem; height: 5rem;
  border-radius: 50%;
  border: 2px solid rgba(184, 143, 46, 0.4);
  background: rgba(184, 143, 46, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.founder-monogram span {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 700; color: var(--gold);
}
.founder-head h3 { color: #fff; font-size: 1.25rem; margin-bottom: 2px; }
.founder-head .role { color: var(--gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em; }
.founder-head .loc { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; margin-top: 4px; }

.credentials { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.credentials-label {
  color: var(--gold);
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}
.credential-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.credential-icon {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  background: rgba(184, 143, 46, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: var(--gold);
}
.credential-icon svg { width: 16px; height: 16px; }
.credential-item .year {
  color: rgba(184, 143, 46, 0.75);
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  display: block;
}
.credential-item p { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; line-height: 1.3; }

.founder-badge {
  margin: 0 2rem 2rem;
  background: rgba(184, 143, 46, 0.1);
  border: 1px solid rgba(184, 143, 46, 0.3);
  border-radius: 0.6rem;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.founder-badge svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.founder-badge strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 0.9rem; font-weight: 600; }
.founder-badge span { color: rgba(255, 255, 255, 0.45); font-size: 0.7rem; }

.about-story .kicker {
  color: var(--gray-400);
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em;
  margin-bottom: 1.25rem;
}
.about-story p { color: #4b5563; font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1.25rem; }
.about-story strong { color: var(--navy); }
.about-story em { color: #374151; }

.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
}
.pull-quote p { font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); font-style: italic; line-height: 1.6; }
.pull-quote cite {
  display: block; margin-top: 0.75rem; font-style: normal;
  color: var(--gold); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
}

.pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  background: rgba(237, 231, 227, 0.5);
  border: 1px solid var(--cream);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.3s;
}
.pillar:hover { border-color: rgba(184, 143, 46, 0.3); }
.pillar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-bottom: 0.75rem; }
.pillar h4 { font-size: 0.9rem; margin-bottom: 0.4rem; }
.pillar p { color: var(--gray-500); font-size: 0.78rem; line-height: 1.5; }

.stats-band {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, rgba(184, 143, 46, 0.5) 1px, transparent 0);
  background-size: 28px 28px;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-block: 3.5rem;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid .stat { text-align: center; }
@media (min-width: 1024px) { .stats-grid .stat { text-align: left; } }
.stats-grid .value { font-family: var(--font-serif); font-size: 2.75rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.stats-grid .label { color: #fff; font-weight: 600; font-size: 0.9rem; }
.stats-grid .sub { color: rgba(255, 255, 255, 0.35); font-size: 0.75rem; margin-top: 2px; }

.mvp-grid {
  padding-block: 5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .mvp-grid { grid-template-columns: repeat(3, 1fr); } }
.mvp-card {
  position: relative;
  border: 2px solid var(--cream);
  border-radius: 1rem;
  background: #fff;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mvp-card:hover { border-color: rgba(184, 143, 46, 0.4); box-shadow: 0 20px 40px -20px rgba(184, 143, 46, 0.15); }
.mvp-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.mvp-badge {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
}
.mvp-head span.label { color: var(--gold); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; }
.mvp-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.65; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding-block: 6rem; }
.section-header { text-align: center; max-width: 42rem; margin-inline: auto; margin-bottom: 4rem; }
.section-header .eyebrow.centered { justify-content: center; }
.section-header p.desc { color: var(--gray-500); line-height: 1.7; margin-top: 1rem; }

.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--cream);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { border-color: rgba(184, 143, 46, 0.4); box-shadow: 0 18px 40px -22px rgba(34, 55, 85, 0.25); transform: translateY(-3px); }
.service-card.highlight { background: var(--navy); border-color: var(--gold); color: #fff; }
.service-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: #fff;
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.15rem 0.6rem; border-radius: 999px;
}
.service-icon {
  width: 3rem; height: 3rem; border-radius: 0.6rem;
  background: rgba(34, 55, 85, 0.08);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s, color 0.3s;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card:not(.highlight):hover .service-icon { background: rgba(184, 143, 46, 0.1); color: var(--gold); }
.service-card.highlight .service-icon { background: rgba(184, 143, 46, 0.2); color: var(--gold); }
.service-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.service-card.highlight h3 { color: #fff; }
.service-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }
.service-card.highlight p { color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   Differentials
   ========================================================================== */
.differentials { padding-block: 6rem; background: rgba(237, 231, 227, 0.4); }
.diff-grid { display: grid; gap: 3.5rem; align-items: start; }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
.diff-intro p { color: var(--gray-600); line-height: 1.7; margin-bottom: 2.25rem; }
.diff-intro p strong { color: var(--navy); }

.diff-list { display: flex; flex-direction: column; gap: 1.25rem; }
.diff-item { display: flex; gap: 1rem; }
.diff-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.diff-item h4 { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.diff-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.diff-side { display: flex; flex-direction: column; gap: 1.5rem; }
.audience-card { background: var(--navy); border-radius: 0.75rem; padding: 2rem; }
.audience-card .head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.audience-card .head svg { width: 28px; height: 28px; color: var(--gold); }
.audience-card h3 { color: #fff; font-size: 1.15rem; }
.audience-list { display: flex; flex-direction: column; gap: 0.75rem; }
.audience-list li { display: flex; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; }
.audience-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hours-card { background: #fff; border-radius: 0.75rem; padding: 2rem; border: 1px solid var(--cream); }
.hours-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding-block: 0.75rem; border-bottom: 1px solid var(--cream); font-size: 0.875rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--gray-600); }
.hours-row span:last-child { font-weight: 600; color: var(--navy); }
.hours-row span.urgency { color: var(--gold); }

.pillars-card { background: var(--cream); border-radius: 0.75rem; padding: 1.75rem; }
.pillars-card p.title { font-family: var(--font-serif); font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 1rem; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pillar-tags span { background: #fff; border: 1px solid rgba(184, 143, 46, 0.2); color: var(--navy); font-size: 0.72rem; font-weight: 500; padding: 0.35rem 0.75rem; border-radius: 999px; }

/* ==========================================================================
   Values carousel
   ========================================================================== */
.values { padding-block: 6rem; background: var(--navy); position: relative; overflow: hidden; }
.values-orb { position: absolute; width: 30rem; height: 30rem; border-radius: 50%; background: rgba(184, 143, 46, 0.05); pointer-events: none; }
.values-orb.tl { top: 0; left: 0; transform: translate(-14rem, -14rem); }
.values-orb.br { bottom: 0; right: 0; transform: translate(14rem, 14rem); }
.values .section-header h2 { color: #fff; }
.values .section-header p.desc { color: rgba(255, 255, 255, 0.6); }

.carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
}
.carousel-track { position: relative; min-height: 300px; overflow: hidden; }
.carousel-slide {
  display: grid;
  grid-template-columns: 1fr;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}
@media (min-width: 1024px) { .carousel-slide { grid-template-columns: 280px 1fr; } }
.carousel-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; position: relative; }
.carousel-slide.leaving-left { transform: translateX(-30px); }
.carousel-slide.leaving-right { transform: translateX(30px); }

.slide-visual {
  position: relative;
  background: #1a3360;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.25rem;
  padding: 3rem 2rem;
  overflow: hidden;
}
.slide-visual .glow {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.slide-visual .glow span {
  width: 12rem; height: 12rem; border-radius: 50%;
  background: rgba(184, 143, 46, 0.08);
  filter: blur(30px);
}
.slide-number {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 9vw, 8.5rem);
  font-weight: 700;
  color: rgba(184, 143, 46, 0.2);
  line-height: 1;
  margin-bottom: -0.5rem;
}
.slide-icon-badge {
  position: relative;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(184, 143, 46, 0.2);
  box-shadow: inset 0 0 0 1px rgba(184, 143, 46, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.slide-icon-badge svg { width: 28px; height: 28px; }

.slide-body { background: rgba(255, 255, 255, 0.03); display: flex; flex-direction: column; justify-content: center; padding: 3rem 2.5rem; }
@media (min-width: 1024px) { .slide-body { padding: 3.5rem 4rem; } }
.slide-body .tag { color: rgba(184, 143, 46, 0.6); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4em; margin-bottom: 1rem; }
.slide-body h3 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1.25rem; }
.slide-body p { color: rgba(255, 255, 255, 0.65); font-size: clamp(0.95rem, 1.2vw, 1.125rem); line-height: 1.7; max-width: 36rem; }

.carousel-controls {
  background: rgba(22, 37, 64, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }
.carousel-dots button { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); transition: all 0.3s; }
.carousel-dots button:hover { background: rgba(255, 255, 255, 0.45); }
.carousel-dots button.active { width: 28px; background: var(--gold); }

.carousel-nav { display: flex; align-items: center; gap: 0.75rem; }
.carousel-counter { color: rgba(255, 255, 255, 0.25); font-size: 0.75rem; font-variant-numeric: tabular-nums; display: none; }
@media (min-width: 640px) { .carousel-counter { display: block; } }
.carousel-arrow {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow:hover { border-color: var(--gold); background: rgba(184, 143, 46, 0.1); color: var(--gold); }

.carousel-progress { height: 3px; background: rgba(255, 255, 255, 0.05); }
.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(184, 143, 46, 0.6), var(--gold));
}
.carousel-progress-bar.animate { transition: width 5.5s linear; width: 100%; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding-block: 6rem; }
.testimonials-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  position: relative;
  background: rgba(237, 231, 227, 0.5);
  border: 1px solid var(--cream);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover { box-shadow: 0 20px 40px -24px rgba(34, 55, 85, 0.25); }
.testimonial-card .quote-icon { position: absolute; top: 1.5rem; right: 1.5rem; width: 36px; height: 36px; color: rgba(184, 143, 46, 0.3); }
.testimonial-card p.text { color: var(--gray-600); line-height: 1.7; font-size: 0.9rem; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-foot { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--cream); }
.testimonial-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-foot .name { font-weight: 600; color: var(--navy); font-size: 0.875rem; }
.testimonial-foot .role { color: var(--gray-400); font-size: 0.72rem; }
.testimonial-stars { display: flex; gap: 2px; margin-top: 0.75rem; }
.testimonial-stars svg { width: 14px; height: 14px; color: var(--gold); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding-block: 6rem; background: rgba(237, 231, 227, 0.4); }
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.contact-info > p { color: var(--gray-600); line-height: 1.7; margin-bottom: 2.5rem; }

.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item .ic { width: 3rem; height: 3rem; border-radius: 0.6rem; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.contact-item a, .contact-item p { display: block; color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; transition: color 0.2s; }
.contact-item a:hover { color: var(--gold); }

.contact-form-wrap { background: #fff; border-radius: 0.6rem; padding: 2rem; border: 1px solid var(--cream); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.contact-form-wrap > p { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row .field { margin-bottom: 0; }
.field label { display: block; font-size: 0.72rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--cream); border-radius: 3px;
  padding: 0.8rem 1rem; font-size: 0.9rem; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { resize: vertical; min-height: 6rem; }
.field .error-msg { display: none; color: #b3261e; font-size: 0.72rem; margin-top: 0.3rem; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .error-msg { display: block; }

.form-success { text-align: center; padding-block: 2.5rem; }
.form-success .ic { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(184, 143, 46, 0.1); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: 1rem; }
.form-success .ic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-500); font-size: 0.875rem; }
.form-success button { margin-top: 1.25rem; color: var(--gold); font-size: 0.875rem; text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-dark); color: #fff; }
.footer-main { padding-block: 4.5rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p.name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 2px; }
.footer-brand p.sub { color: var(--gold); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem; }
.footer-brand > p.desc { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; line-height: 1.65; max-width: 26rem; margin-bottom: 1.5rem; }
.footer-contact-line { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-line p { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col p.head { color: var(--gold); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p.copy { color: rgba(255, 255, 255, 0.3); font-size: 0.72rem; }
.footer-bottom .tag { display: flex; align-items: center; gap: 0.25rem; color: rgba(255, 255, 255, 0.2); font-size: 0.72rem; }
.footer-bottom .tag .line { width: 1rem; height: 1px; background: rgba(184, 143, 46, 0.5); }

/* ==========================================================================
   Floating buttons
   ========================================================================== */
.floating-wa {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px -6px rgba(37, 211, 102, 0.55);
  z-index: 90;
  transition: transform 0.2s;
}
.floating-wa:hover { transform: scale(1.08); }
.floating-wa svg { width: 28px; height: 28px; }

.back-to-top {
  position: fixed;
  right: 1.5rem; bottom: 5.75rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(22, 37, 64, 0.5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top svg { width: 20px; height: 20px; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
