:root {
  /* Colors — pulled from the live site's own CSS theme variables. Kept as-is by design. */
  --teal: #02b8bf;
  --teal-dark: #017b7f;
  --teal-darkest: #013d40;
  --teal-tint: #9de7ea;
  --teal-tint-2: #6bd0d4;
  --navy: #083045;
  --pink: #c2255c;
  --pink-soft: #f4d9e2;
  --ink: #333333;
  --ink-soft: #63707a;
  --line: #e6edef;
  --cream: #f6fbfb;
  --surface: #ffffff;
  --wash-teal: #eef8f9;
  --wash-pink: #fdf1f5;

  /* Spacing scale (8px rhythm) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(8, 48, 69, 0.06);
  --shadow: 0 12px 32px rgba(8, 48, 69, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 48, 69, 0.16);

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body {
  margin: 0;
  font-family: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand img { height: 112px; width: auto; }

nav.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
}

nav.primary-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

nav.primary-nav a:hover { color: var(--teal-darkest); background: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1.5px solid #f5b6c1;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 820px;
  overflow: hidden;
  background: var(--cream);
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero-carousel .slide.active { opacity: 1; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
  z-index: 1;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(20px, 6vw, 48px);
}

.carousel-content h1 {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  max-width: 780px;
  margin: 0 0 30px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.carousel-content p {
  color: #f2f2f2;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 760px;
  margin: 0 0 72px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

.carousel-content .cta-row {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.85);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.hero-carousel .carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.hero-carousel .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-carousel .dot.active { background: #fff; transform: scale(1.3); }

.hero-carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--teal-darkest);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-carousel .arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-carousel .arrow.prev { left: 20px; }
.hero-carousel .arrow.next { right: 20px; }

@media (max-width: 640px) {
  .hero-carousel { aspect-ratio: 2 / 3; max-height: 680px; }
}

/* Hero text */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 88px) 0 clamp(48px, 7vw, 76px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--wash-teal) 100%);
}

.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero .blob-1 { width: 420px; height: 420px; background: var(--teal-tint); top: -180px; left: -140px; }
.hero .blob-2 { width: 360px; height: 360px; background: var(--pink-soft); top: -120px; right: -160px; }

.hero .container { position: relative; z-index: 1; }

.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.8rem, 6.4vw, 4.6rem);
  letter-spacing: 0.005em;
  margin-bottom: var(--sp-4);
}

.hero .lede {
  max-width: 880px;
  margin: 0 auto var(--sp-5);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 184, 191, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(2, 184, 191, 0.42); }

.btn-outline {
  background: #fff;
  color: var(--teal-darkest);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* Section shell */
section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
section.alt { background: var(--cream); }
#servicos { background: var(--wash-pink); }
#historias { background: var(--wash-teal); }

.section-head { max-width: 940px; margin: 0 auto var(--sp-6); text-align: center; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.eyebrow-lg { font-size: 1.6rem !important; letter-spacing: 0.04em !important; }
.eyebrow-md { font-size: 0.94rem !important; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 6px 0 var(--sp-3);
  letter-spacing: -0.01em;
}

.section-head p { color: var(--ink-soft); margin: 0; }

.evidence-note {
  max-width: 900px;
  margin: -16px auto var(--sp-6);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.evidence-note strong { color: var(--teal-darkest); }
.evidence-note a { color: var(--pink); font-weight: 600; text-decoration: none; }
.evidence-note a:hover { text-decoration: underline; }

/* Highlight cards */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-4);
}

.highlight-card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.highlight-card .tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pink);
  background: var(--pink-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}

.highlight-card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.highlight-card a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.highlight-card a:hover { text-decoration: underline; }

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #333 !important;
  font-weight: 600 !important;
  vertical-align: -3px;
}
.insta-link:hover { color: var(--pink) !important; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--sp-4);
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-tint) 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--teal-darkest);
  font-weight: 700;
}
.service-card p { margin: 0; font-size: 0.87rem; color: var(--ink-soft); }

/* Academica: courses */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.course-image { aspect-ratio: 4 / 3; overflow: hidden; }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.course-card:hover .course-image img { transform: scale(1.05); }

.course-body { padding: var(--sp-4); }
.course-body h3 { font-size: 1.2rem; color: var(--teal-darkest); margin-bottom: 4px; }
.course-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 var(--sp-3); }
.course-body .btn { padding: 11px 22px; font-size: 0.85rem; }

/* Academica: papers list */
.papers-list { max-width: 1040px; margin: 0 auto; }

.paper-item {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.paper-item:first-child { padding-top: 0; }
.paper-item:last-child { border-bottom: none; }

.paper-item h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.paper-item h3 a { color: var(--navy); text-decoration: none; }
.paper-item h3 a:hover { color: var(--teal-dark); }

.paper-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 4px;
}
.paper-authors { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-6);
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-darkest); }
.page-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: default; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: var(--sp-4);
  transition: color 0.2s ease, transform 0.2s ease;
}
.back-link:hover { color: var(--teal-darkest); transform: translateX(-3px); }

/* Course page: hero */
.course-hero-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  text-align: left;
}

.course-hero-block img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.course-hero-block h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  margin-bottom: 6px;
}

.course-hero-block .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 1.05rem;
  margin-bottom: var(--sp-4);
}

.course-hero-block p.desc { color: var(--ink-soft); margin-bottom: var(--sp-4); }

@media (max-width: 860px) {
  .course-hero-block { grid-template-columns: 1fr; text-align: center; }
  .course-hero-block .cta-row { justify-content: center; }
}

/* Course page: modules */
.modules-list { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-3); }

.module-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.module-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

.module-badge {
  flex: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.module-item h4 { margin: 0 0 4px; font-size: 1rem; color: var(--navy); font-family: 'Montserrat', sans-serif; font-weight: 700; }
.module-item p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

.module-group-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--teal-darkest);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: var(--sp-5) 0 var(--sp-2);
}
.module-group-title:first-child { margin-top: 0; }

/* Course page: instructor */
.instructor-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: center;
}

.instructor-block img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.instructor-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: var(--sp-3); }
.instructor-block p { color: var(--ink-soft); margin: 0 0 var(--sp-3); font-size: 0.95rem; }

@media (max-width: 760px) {
  .instructor-block { grid-template-columns: 1fr; }
  .instructor-block img { max-width: 320px; margin: 0 auto; }
}

.final-cta { text-align: center; }

/* Team */
.team-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.team-photos {
  position: relative;
  padding: 0 clamp(20px, 4vw, 34px) clamp(28px, 5vw, 44px) 0;
}

.team-photos .photo-main {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.team-photos .photo-accent {
  position: absolute;
  width: 48%;
  bottom: 0;
  right: 0;
  border: 6px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
  z-index: 2;
  transition: transform 0.3s var(--ease);
}
.team-photos:hover .photo-accent { transform: rotate(0deg) scale(1.03); }

.team-block h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 6px; }
.team-block p { color: var(--ink-soft); }
.team-block .signature { font-style: italic; color: var(--teal-dark); font-weight: 600; font-family: 'Open Sans', sans-serif; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.testimonial-card .mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--teal-tint-2);
  display: block;
  margin-bottom: -6px;
}

.testimonial-card p.quote {
  font-style: italic;
  font-size: 0.97rem;
  color: var(--navy);
  margin: 0 0 var(--sp-3);
}

.reviews-subsection {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  text-align: center;
}

.reviews-intro {
  max-width: 640px;
  margin: 0 auto var(--sp-4);
  color: var(--ink-soft);
  font-size: 1rem;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  margin-bottom: var(--sp-5);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.google-rating-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.google-rating-badge .stars { color: #fbbc05; letter-spacing: 1px; font-size: 0.95rem; }

.google-rating-badge .google-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 860px) {
  .google-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .google-reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: left;
}

.review-card.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  border: 2px dashed var(--teal-tint-2);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-style: italic;
}

.review-card .stars { color: #fbbc05; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.review-card .quote { font-size: 0.92rem; color: var(--ink); margin: 0 0 10px; }
.review-card .who { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--navy); }
.review-card .source { color: var(--ink-soft); font-weight: 500; }

.testimonial-card .who {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  color: var(--pink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #d7e6ea;
  padding: var(--sp-7) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.footer-grid h4 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 var(--sp-3);
}

.footer-grid p, .footer-grid a { color: #b8ced4; font-size: 0.92rem; text-decoration: none; }
.footer-grid a:hover { color: var(--teal-tint); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--sp-4);
  font-size: 0.76rem;
  color: #8ba3aa;
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 860px) {
  .team-block { grid-template-columns: 1fr; }
  .team-photos { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 110px; }
  .brand img { height: 76px; margin-left: 6px; }
  .nav-toggle { margin-right: 6px; }
  .hero h2 { margin-bottom: var(--sp-5); }
  #evidencia { padding-top: var(--sp-5); }

  nav.primary-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: max-height 0.35s var(--ease);
  }
  nav.primary-nav.open { max-height: 320px; }
  nav.primary-nav ul { flex-direction: column; gap: 2px; padding: var(--sp-3) clamp(20px, 4vw, 32px) var(--sp-4); }
  nav.primary-nav a { display: block; padding: 12px 14px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .hero .cta-row,
  .carousel-content .cta-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .btn { justify-content: center; }
}
