/* =========================================================
   Cota Center — Global Styles
   Inspired by modern editorial agency layouts
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand colors — constant across themes */
  --color-orange: #D22118;
  --color-crimson: #9A1E22;
  --color-cream: #FFFFFF;
  --color-peach: #FFFFFF;

  /* Semantic colors — DARK theme (default) */
  --color-bg: #0F0E0C;
  --color-bg-alt: #1A1815;
  --color-surface: #FFFFFF;
  --color-surface-fg: #0F0E0C;
  --color-surface-fg-muted: rgba(15, 14, 12, 0.7);
  --color-surface-fg-dim: rgba(15, 14, 12, 0.55);
  --color-surface-border: rgba(15, 14, 12, 0.1);
  --color-text: #FFFFFF;
  --color-text-muted: rgba(255, 255, 255, 0.68);
  --color-text-dim: rgba(255, 255, 255, 0.45);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.25);
  --color-nav-bg: rgba(15, 14, 12, 0.72);
  --color-hero-overlay-1: rgba(15, 14, 12, 0.55);
  --color-hero-overlay-2: rgba(15, 14, 12, 0.35);
  --color-hero-overlay-3: rgba(15, 14, 12, 0.1);
  --color-hero-overlay-4: rgba(15, 14, 12, 0.15);
  --color-hero-overlay-5: rgba(15, 14, 12, 0.3);
  --color-accent-on-surface: var(--color-orange);
  --color-italic-accent: var(--color-orange);

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --container: 1360px;
  --gutter: clamp(24px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* LIGHT theme overrides */
html[data-theme="light"] {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F5;
  --color-surface: #0F0E0C;
  --color-surface-fg: #FFFFFF;
  --color-surface-fg-muted: rgba(255, 255, 255, 0.72);
  --color-surface-fg-dim: rgba(255, 255, 255, 0.5);
  --color-surface-border: rgba(255, 255, 255, 0.15);
  --color-text: #0F0E0C;
  --color-text-muted: rgba(15, 14, 12, 0.72);
  --color-text-dim: rgba(15, 14, 12, 0.5);
  --color-border: rgba(15, 14, 12, 0.14);
  --color-border-strong: rgba(15, 14, 12, 0.28);
  --color-nav-bg: rgba(255, 255, 255, 0.82);
  --color-hero-overlay-1: rgba(15, 14, 12, 0.55);
  --color-hero-overlay-2: rgba(15, 14, 12, 0.35);
  --color-hero-overlay-3: rgba(15, 14, 12, 0.1);
  --color-hero-overlay-4: rgba(15, 14, 12, 0.15);
  --color-hero-overlay-5: rgba(15, 14, 12, 0.3);
  --color-accent-on-surface: var(--color-orange);
  --color-italic-accent: var(--color-crimson);
}

html { transition: background-color 0.3s var(--ease); }
body { transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

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

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(80px, 10vw, 160px) 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--color-orange);
}

.section-title {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-italic-accent);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
}

.section-head p {
  max-width: 420px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ===== Navbar ===== */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--gutter);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 14px 28px;
  background: var(--color-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all 0.4s var(--ease);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-brand .mark {
  width: 40px;
  height: 40px;
  background: var(--color-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nav-brand .mark img {
  width: 24px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--color-orange);
  color: #fff;
}

.nav-cta {
  padding: 14px 26px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: #E63A30;
  transform: translateY(-1px);
}

.nav-cta svg {
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover svg { transform: rotate(-45deg); }

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-right: 8px;
  position: relative;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
}

.theme-toggle svg {
  position: absolute;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

html[data-theme="dark"] .theme-toggle .icon-sun,
html:not([data-theme="light"]) .theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}
html[data-theme="dark"] .theme-toggle .icon-moon,
html:not([data-theme="light"]) .theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
}
html[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.6) rotate(90deg);
}
html[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-peach);
  color: var(--color-bg);
  align-items: center;
  justify-content: center;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 160px 0 60px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #0F0E0C;
}

.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-el.is-active {
  z-index: 2;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--color-hero-overlay-2) 0%, var(--color-hero-overlay-3) 30%, var(--color-hero-overlay-3) 50%, var(--color-hero-overlay-1) 85%, var(--color-hero-overlay-1) 100%);
}

.hero-inner {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero-label .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3acc7d;
  box-shadow: 0 0 0 4px rgba(58, 204, 125, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-intro {
  max-width: 380px;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.hero-title {
  font-size: clamp(56px, 10vw, 180px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 64px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}

/* Hero always uses light text (video background needs contrast) */
.hero {
  color: #FFFFFF;
}

.hero .hero-stat .num {
  color: #FFFFFF;
}

.hero .hero-stat .label {
  color: rgba(255, 255, 255, 0.72);
}

.hero .hero-cta {
  background: #FFFFFF;
  color: #0F0E0C;
}

.hero .hero-cta:hover {
  background: var(--color-orange);
  color: #fff;
}

.hero .hero-cta .arrow {
  background: #0F0E0C;
  color: #FFFFFF;
}

.hero .hero-cta:hover .arrow {
  background: #fff;
  color: var(--color-orange);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-italic-accent);
}

.hero-title .circle-img {
  display: inline-block;
  vertical-align: middle;
  width: clamp(80px, 12vw, 160px);
  height: clamp(80px, 12vw, 160px);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 16px -8px 0;
  background: var(--color-orange);
  position: relative;
}

.hero-title .circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.hero-stats {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1;
}

.hero-stat .label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 8px;
  max-width: 160px;
  line-height: 1.4;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 18px 32px;
  background: var(--color-surface);
  color: var(--color-surface-fg);
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s var(--ease);
}

.hero-cta:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateY(-2px);
}

.hero-cta .arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-surface-fg);
  color: var(--color-surface);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}

.hero-cta:hover .arrow {
  background: #fff;
  color: var(--color-orange);
  transform: rotate(-45deg);
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(210, 33, 24, 0.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}


/* ===== Marquee / Ticker ===== */
.marquee {
  background: var(--color-peach);
  color: var(--color-bg);
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  align-items: center;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 80px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.marquee-item em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-crimson);
}

.marquee-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Services / Diferenciais ===== */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.4s var(--ease);
  position: relative;
}

.service-row:hover {
  padding-left: 24px;
}

.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(210, 33, 24, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service-row:hover::before { opacity: 1; }

.service-num {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dim);
  font-variant-numeric: tabular-nums;
}

.service-name {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

.service-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.service-row:hover .service-arrow {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: rotate(-45deg);
}

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}

.product-item:hover {
  border-color: var(--color-orange);
  transform: translateY(-3px);
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--color-orange);
  color: #fff;
  flex-shrink: 0;
}

.product-body {
  min-width: 0;
}

.product-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.product-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== Insurance Grid ===== */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.insurance-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.insurance-card:hover {
  background: var(--color-surface);
  color: var(--color-surface-fg);
  transform: translateY(-4px);
}

.insurance-card:hover .ic-num,
.insurance-card:hover .ic-desc,
.insurance-card:hover .ic-list li {
  color: var(--color-surface-fg);
  opacity: 0.7;
}

.insurance-card:hover .ic-arrow {
  background: var(--color-orange);
  color: #fff;
  transform: rotate(-45deg);
}

.ic-num {
  font-size: 14px;
  color: var(--color-text-dim);
  font-weight: 500;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ic-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.ic-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.ic-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.insurance-card:hover .ic-list {
  border-color: var(--color-surface-fg-dim);
}

.ic-list li {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ic-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

/* ===== Process steps ===== */
.process {
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 100px);
  margin: 0 var(--gutter);
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.process-step {
  padding: 32px 28px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all 0.3s var(--ease);
}

.process-step:hover {
  border-color: var(--color-orange);
  transform: translateY(-4px);
}

.process-step .step-num {
  font-size: 13px;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.process-step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Testimonial ===== */
.testimonial {
  padding: clamp(60px, 9vw, 140px) 0;
}

.testimonial-card {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 100px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.testimonial-mark {
  font-size: 64px;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 24px;
  font-family: Georgia, serif;
}

.testimonial-quote em {
  font-style: normal;
  font-weight: 600;
  color: var(--color-orange);
}

.testimonial-quote {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.testimonial-author {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author strong {
  color: var(--color-text);
  font-weight: 600;
}

.testimonial-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  animation: spin 20s linear infinite;
  flex-shrink: 0;
}

.testimonial-badge .num {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.testimonial-badge .label {
  font-size: 11px;
  margin-top: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: clamp(80px, 10vw, 160px) 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 48px;
}

.cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-italic-accent);
}

.cta-title .highlight {
  display: inline-block;
  padding: 0 24px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 100px;
  font-style: italic;
  font-weight: 400;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 600;
}

.footer-brand .logo .mark {
  width: 42px;
  height: 42px;
  background: var(--color-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer-brand .logo .mark img {
  width: 26px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

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

.footer-col a {
  color: var(--color-text-muted);
  font-size: 15px;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover { color: var(--color-orange); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--color-text-dim);
}

.footer-brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
}

.footer-brand-mini .mark {
  width: 32px;
  height: 32px;
  background: var(--color-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer-brand-mini .mark img {
  width: 20px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease);
}

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

/* ===== Seguros Page — Hero small ===== */
.page-hero {
  padding: 200px 0 120px;
  text-align: center;
  position: relative;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.page-hero h1 {
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-italic-accent);
}

.page-hero .lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Sobre Page ===== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-block h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.about-block h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-italic-accent);
}

.about-block p {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all 0.3s var(--ease);
}

.value-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-4px);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-orange);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
}

.team-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-crimson), var(--color-orange));
  display: grid;
  place-items: center;
  color: var(--color-peach);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.team-info {
  flex: 1;
  min-width: 0;
}

.team-info h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.2;
}

.team-info .role {
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 500;
}

.team-body {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.team-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.team-contact svg {
  flex-shrink: 0;
  opacity: 0.55;
  color: var(--color-peach);
}

.team-contact a {
  color: var(--color-text-muted);
  transition: color 0.2s;
  word-break: break-word;
}

.team-contact a:hover {
  color: var(--color-orange);
}

/* ===== Contact ===== */
.contact-block {
  background: var(--color-surface);
  color: var(--color-surface-fg);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
}

.contact-block > * { min-width: 0; }

.contact-info h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 24px;
}

.contact-info h2 {
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-crimson);
}

.contact-info p {
  color: var(--color-surface-fg-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 420px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-list li > div:last-child {
  min-width: 0;
  flex: 1;
}

.contact-list .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-surface-fg);
  color: var(--color-orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-list .label {
  font-size: 12px;
  color: var(--color-surface-fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-list strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-surface-fg);
  overflow-wrap: break-word;
  word-break: break-word;
  display: block;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  align-self: center;
  width: 100%;
}

.contact-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--color-surface-fg);
  color: var(--color-surface);
  transition: all 0.3s var(--ease);
  min-width: 0;
}

.contact-btn:hover {
  transform: translateY(-2px);
  background: var(--color-orange);
  color: #fff;
}

.contact-btn-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-surface);
  color: var(--color-surface-fg);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.contact-btn:hover .contact-btn-icon {
  background: #fff;
  color: var(--color-orange);
}

.contact-btn--whatsapp .contact-btn-icon {
  background: #25D366;
  color: #fff;
}

.contact-btn--whatsapp:hover .contact-btn-icon {
  background: #fff;
  color: #25D366;
}

.contact-btn-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-btn-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.contact-btn-body strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-btn-arrow {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.contact-btn:hover .contact-btn-arrow {
  transform: rotate(-45deg);
}

.contact-form {
  /* Form is always DARK surface regardless of theme — re-scope fg/muted */
  --color-form-bg: #0F0E0C;
  --color-form-fg: #FFFFFF;
  --color-form-muted: rgba(255, 255, 255, 0.68);
  --color-form-dim: rgba(255, 255, 255, 0.45);
  --color-form-border: rgba(255, 255, 255, 0.14);
  background: var(--color-form-bg);
  color: var(--color-form-fg);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  min-width: 0;
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  color: var(--color-form-fg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--color-form-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-form-border);
  border-radius: 14px;
  color: var(--color-form-fg);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-form-dim);
}

.form-group select option {
  background: var(--color-form-bg);
  color: var(--color-form-fg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s var(--ease);
  margin-top: 8px;
}

.form-submit:hover {
  background: #E63A30;
  transform: translateY(-1px);
}

/* ===== Partners band ===== */
.partners {
  padding: clamp(60px, 8vw, 120px) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partners-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.partners-head h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 12px;
}

.partners-head h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-italic-accent);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 12px;
  min-height: 112px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  text-align: center;
}

.partner-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s var(--ease);
}

.partner-logo:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.partner-logo:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.partners-brokers {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partners-brokers .label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
}

.partners-brokers-list {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-peach);
  letter-spacing: -0.01em;
}

.partners-brokers-list .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-block { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-block { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .testimonial-card { grid-template-columns: 1fr; text-align: left; gap: 40px; }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Nav: inline links always, wrap to second row when needed */
  .nav-inner {
    flex-wrap: wrap;
    padding: 12px 14px 12px 20px;
    row-gap: 6px;
    border-radius: 28px;
  }
  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    gap: 2px;
    padding-top: 4px;
    border-top: 1px solid var(--color-border);
  }
  .nav-links a {
    padding: 8px 14px;
    font-size: 14px;
  }
  .nav-toggle { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }

  .service-row {
    grid-template-columns: 40px 1fr auto;
    gap: 20px;
    padding: 32px 0;
  }
  .service-desc { display: none; }
  .service-arrow { width: 46px; height: 46px; }

  .hero { padding: 140px 0 60px; }
  .hero-title { font-size: clamp(44px, 12vw, 72px); margin-bottom: 40px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 32px; }
  .hero-stat .num { font-size: 36px; }
  .hero-intro { font-size: 15px; }

  .section-title { font-size: clamp(30px, 8vw, 48px); }
  .section-head { margin-bottom: 48px; gap: 24px; }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logo { min-height: 76px; padding: 20px 12px; font-size: 13px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .process { padding: 40px 24px; margin-left: 20px; margin-right: 20px; }

  .contact-block {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    gap: 32px;
  }
  .contact-info h2 { font-size: clamp(28px, 8vw, 42px); }
  .contact-info p { font-size: 15px; margin-bottom: 28px; }
  .contact-list { gap: 16px; }
  .contact-list li { gap: 14px; }
  .contact-list .icon { width: 42px; height: 42px; }
  .contact-list strong { font-size: 15px; }
  .contact-form { padding: 28px 24px; border-radius: var(--radius-md); }
  .contact-form h3 { font-size: 20px; margin-bottom: 20px; }
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 14px 16px; font-size: 14px; }
  .form-submit { padding: 16px; font-size: 15px; }

  .testimonial-card { padding: 40px 28px; border-radius: var(--radius-lg); }
  .testimonial-badge { width: 120px; height: 120px; }
  .testimonial-badge .num { font-size: 30px; }

  .cta-title { font-size: clamp(40px, 10vw, 64px); }
  .cta-title .highlight { padding: 0 16px; }

  .marquee { padding: 24px 0; }

  .nav { top: 12px; padding: 0 12px; }
  .nav-inner { padding: 10px 10px 10px 16px; }
  .nav-brand { font-size: 16px; gap: 10px; }
  .nav-brand .mark { width: 36px; height: 36px; }
  .nav-brand .mark img { width: 20px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .nav-cta span { display: none; }
  .nav-links a { padding: 7px 12px; font-size: 13px; }
}

/* Tiny phones */
@media (max-width: 380px) {
  .hero-title { font-size: 42px; }
  .section-title { font-size: 28px; }
  .contact-info h2 { font-size: 30px; }
  .cta-title { font-size: 40px; }
  .partners-brokers-list { font-size: 15px; gap: 14px; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}

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