:root {
  --bg: #eef2f3;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --ink: #172847;
  --muted: #4d5b76;
  --line: rgba(23, 40, 71, 0.12);
  --accent: #213b73;
  --accent-strong: #162a53;
  --accent-2: #7bae55;
  --accent-3: #ced5de;
  --glow: rgba(123, 174, 85, 0.22);
  --shadow: 0 24px 60px rgba(23, 40, 71, 0.14);
  --radius: 28px;
  --container: min(1120px, calc(100% - 2rem));
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(123, 174, 85, 0.2), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(33, 59, 115, 0.16), transparent 18%),
    linear-gradient(180deg, #f8fbfc 0%, #edf1f6 50%, #f9fbfd 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

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

.skip-link:focus {
  position: fixed;
  inset: 1rem auto auto 1rem;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 252, 0.84);
  border-bottom: 1px solid rgba(23, 40, 71, 0.08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(22, 42, 83, 0.16));
}

.brand-lockup {
  display: grid;
  gap: 0.08rem;
}

.brand-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-footer {
  align-items: start;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover,
.blog-card a:hover,
.contact-list a:hover {
  color: var(--accent-2);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 10px 25px rgba(22, 42, 83, 0.18);
}

.button-secondary {
  border: 1px solid rgba(23, 40, 71, 0.14);
  background: rgba(255, 255, 255, 0.64);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  padding: 0.2rem;
  border: 0;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--accent-strong);
}

.hero {
  position: relative;
  padding: 4.75rem 0 3.5rem;
}

/* .hero::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto 50%;
  width: min(48rem, 82vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  transform: translateX(-5%);
  pointer-events: none;
} */

/* @supports (-webkit-touch-callout: none) {
  .hero::before {
    display: none;
  }
} */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

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

.hero-copy::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  right: 8%;
  top: -1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 174, 85, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(33, 59, 115, 0.1), rgba(206, 213, 222, 0.05));
  filter: blur(8px);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.06;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  max-width: 11ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.45rem;
}

.hero-text,
.section-heading p,
.team-card p,
.practice-card p,
.pillar p,
.contact-copy p,
.faq-item p,
.blog-card p,
.panel-card p,
.panel-stat p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin: 1.5rem 0 1.8rem;
  font-size: 1.08rem;
}

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

.hero-highlights {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.35rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  inset: 0.6rem auto auto 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), #8fc76a);
}

.hero-panel {
  display: block;
}

.hero-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(22, 42, 83, 0.05) 0%, rgba(22, 42, 83, 0.02) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 248, 0.96));
  box-shadow: var(--shadow);
}

.hero-portrait {
  min-height: 31rem;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #dfe6eb, #f6f9fb);
}

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

.panel-card,
.pillar,
.team-card,
.practice-card,
.blog-card,
.contact-card,
.faq-item,
.trust-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-card,
.blog-card,
.team-card,
.practice-card,
.pillar,
.contact-card {
  padding: 1.5rem;
}

.panel-card {
  min-height: 14rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(22, 42, 83, 0.08) 0%, rgba(22, 42, 83, 0.02) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 243, 248, 0.9));
}

.hero-feature-copy {
  display: grid;
  align-content: end;
  gap: 0.85rem;
  padding: 0.35rem 0.25rem 0.35rem 0;
}

.panel-kicker {
  margin-bottom: 0.6rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-feature-copy h2 {
  max-width: 10ch;
}

.hero-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
  padding-top: 0.4rem;
  color: var(--muted);
  border-top: 1px solid rgba(23, 40, 71, 0.1);
}

.hero-feature-meta strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background:
    radial-gradient(circle at left top, rgba(123, 174, 85, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 247, 250, 0.58));
}

.section-accent {
  background:
    radial-gradient(circle at right top, rgba(123, 174, 85, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(33, 59, 115, 0.05), rgba(33, 59, 115, 0.01));
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading-art {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(23, 40, 71, 0.08);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(240, 245, 249, 0.8));
  isolation: isolate;
}

.section-heading-art > *:not(.heading-art) {
  position: relative;
  z-index: 1;
}

.heading-art {
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 18rem;
  height: 88%;
  object-fit: cover;
  transform: translateY(-50%);
  opacity: 0.13;
  filter: blur(1px) saturate(0.8);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.section-heading p:last-child {
  max-width: 60ch;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-feature {
  background: linear-gradient(135deg, rgba(33, 59, 115, 0.98), rgba(22, 42, 83, 0.94));
}

.pillar-feature h3,
.pillar-feature p {
  color: #fff;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.team-card {
  display: grid;
  gap: 0.8rem;
  overflow: hidden;
  min-width: 0;
  align-content: start;
  min-height: 100%;
  flex: 0 0 340px;
  width: 340px;
}

.team-media {
  margin: -1.5rem -1.5rem 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, #dbe2ea, #f8fbfc);
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card h3 {
  font-size: 1.32rem;
  min-height: 2.7em;
}

.team-card p:last-child {
  margin-top: 0;
}

.team-bio {
  font-size: 0.96rem;
  line-height: 1.55;
}

.team-socials,
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.team-socials {
  margin-top: 0.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(23, 40, 71, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  flex: 0 0 auto;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.practice-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.practice-intro {
  max-width: 58ch;
}

.practice-spotlight {
  min-height: 18rem;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.practice-spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-card {
  display: grid;
  gap: 0.75rem;
  min-height: 15.5rem;
  align-content: start;
  padding-top: 1.3rem;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 251, 0.92)),
    linear-gradient(135deg, rgba(123, 174, 85, 0.05), rgba(33, 59, 115, 0.06));
}

.practice-card h3,
.practice-card p {
  overflow-wrap: anywhere;
}

.practice-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(33, 59, 115, 0.08);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1rem;
}

.role,
.blog-tag {
  display: inline-block;
  margin: 0.7rem 0 0.8rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.testimonial-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.testimonial-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
  gap: 1rem;
  touch-action: pan-y;
}

.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 2rem) / 3);
  min-height: 18rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(123, 174, 85, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 250, 0.94));
  /* box-shadow: var(--shadow); */
}

.testimonial-mark {
  position: absolute;
  top: 0.8rem;
  left: 1.1rem;
  color: rgba(33, 59, 115, 0.14);
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
}

.testimonial-quote {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 1.3rem 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: var(--accent-strong);
}

.testimonial-author {
  display: inline-grid;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 40, 71, 0.1);
}

.testimonial-author strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-author span {
  color: var(--muted);
}

.carousel-button {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(23, 40, 71, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
}

.carousel-button span {
  font-size: 1.1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 59, 115, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.carousel-dot.is-active {
  background: var(--accent-2);
  transform: scale(1.1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card {
  display: grid;
  gap: 1.05rem;
  align-content: space-between;
  min-height: 14rem;
}

.blog-card a {
  font-weight: 700;
  text-decoration: none;
}

.blog-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.8rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(33, 59, 115, 0.08);
  color: var(--accent);
}

.faq-shell {
  display: grid;
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 1.15rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.8rem 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.contact-card {
  display: grid;
  gap: 1rem;
  background: var(--surface-strong);
}

.contact-card label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(23, 40, 71, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.95rem 1rem;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 2px solid rgba(123, 174, 85, 0.32);
  outline-offset: 1px;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(23, 40, 71, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-credit {
  color: var(--muted);
  opacity: 0.74;
  font-size: 0.85rem;
  text-align: center;
}

.footer-credit a {
  text-decoration: none;
}

.footer-subtitle {
  display: inline-block;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 40, 71, 0.06);
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #24d366, #1faa52);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(20, 33, 29, 0.2);
}

.whatsapp-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.35rem;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.whatsapp-text {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .testimonial-card {
    min-height: 19rem;
  }
}

@media (max-width: 860px) {
  .hero::before {
    display: none;
  }

  * {
    max-width: 100%;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .contact-grid,
  .pillar-grid,
  .practice-grid,
  .practice-shell,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
    min-width: 0;
  }

  .testimonial-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-button {
    display: none;
  }

  .testimonial-card {
    flex-basis: 100%;
    min-height: auto;
    padding: 1.6rem;
  }

  .testimonial-quote {
    font-size: 1.2rem;
    max-width: none;
  }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .team-card {
    width: 100%;
    flex-basis: auto;
    min-width: 0;
  }

  .hero-feature {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .hero-portrait {
    min-height: 26rem;
  }

  .hero-feature-copy h2 {
    max-width: 14ch;
  }

  .heading-art {
    right: 0;
    width: min(12rem, 38vw);
    opacity: 0.11;
  }

  .hero-copy::after {
    right: 0;
  }

  .blog-card img {
    width: 100%;
    margin: -1.5rem 0 0;
    border-radius: 20px 20px 0 0;
  }

  .testimonial-track {
    gap: 0;
  }

  .testimonial-card {
    min-width: 0;
  }

  .footer-grid {
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .brand-subtitle {
    display: none;
  }

  .footer-subtitle {
    display: inline-block;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 3.25rem;
    height: 3.25rem;
    min-height: 3.25rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.practice-card h3{
  font-size: 1.22rem !important;
}
