:root {
  --azul-900: #2E4F60;
  --azul-800: #3A6175;
  --azul-700: #4A7186;
  --azul-500: #6E97AB;
  --azul-200: #C9DAE3;
  --azul-100: #E3EDF2;
  --terracota-600: #B06A4C;
  --terracota-500: #C67B5C;
  --terracota-100: #F4E4DA;
  --off-white: #FAF7F2;
  --white: #FFFFFF;
  --ink: #35424A;
  --ink-soft: #5C6B73;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(46, 79, 96, 0.08);
  --shadow-md: 0 10px 30px rgba(46, 79, 96, 0.12);
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--azul-900);
  line-height: 1.18;
  font-weight: 500;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.2rem; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 92%); }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracota-600);
  margin-bottom: 0.75rem;
}

.lead { color: var(--ink-soft); font-size: 1.08rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.85rem 1.7rem;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--sm { padding: 0.62rem 1.3rem; font-size: 0.92rem; }
.btn--terracota {
  background: linear-gradient(135deg, var(--terracota-500), var(--terracota-600));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(198, 123, 92, 0.38);
}
.btn--terracota:hover { box-shadow: 0 10px 26px rgba(198, 123, 92, 0.48); }
.btn--azul {
  background: var(--azul-700);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(74, 113, 134, 0.32);
  padding: 0.95rem 1.8rem;
}
.btn--ghost {
  border: 1.5px solid var(--azul-200);
  color: var(--azul-800);
  background: transparent;
}
.btn--ghost:hover { background: var(--azul-100); border-color: var(--azul-500); }
.btn--shadow { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--azul-900);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name small,
.footer__name small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__name small { color: var(--azul-200); }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.nav__cta) {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--transition);
}
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--terracota-500);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav a:not(.nav__cta):hover { color: var(--azul-900); }
.nav a:not(.nav__cta):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--azul-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
}
.hero::before {
  width: 480px; height: 480px;
  right: -140px; top: -160px;
  background: radial-gradient(circle at 30% 30%, var(--azul-100), transparent 70%);
}
.hero::after {
  width: 380px; height: 380px;
  left: -120px; bottom: -180px;
  background: radial-gradient(circle at 60% 40%, var(--terracota-100), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__content .lead { margin-top: 1.2rem; max-width: 34rem; }
.hero__quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.12rem;
}
.hero__quote cite {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--terracota-600);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.1rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__trust svg { color: var(--terracota-500); flex-shrink: 0; }

.hero__frame {
  position: relative;
  border-radius: 40% 40% 28px 28px / 22% 22% 28px 28px;
  overflow: hidden;
  background: var(--azul-100);
  box-shadow: var(--shadow-md);
  max-width: 420px;
  margin-inline: auto;
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: auto -8% -10% -8%;
  height: 34%;
  background: var(--terracota-100);
  border-radius: 50% 50% 0 0;
  z-index: 0;
}
.hero__photo { position: relative; z-index: 1; width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 218, 227, 0.55);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracota-500);
}
.card p { color: var(--ink-soft); font-size: 0.94rem; margin-top: 0.7rem; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--azul-100), var(--azul-200));
  color: var(--azul-800);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 27px; height: 27px; }

.specialties__cta { text-align: center; margin-top: 3rem; }

.about { background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__media { position: relative; }
.about__photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about__photo::after { content: ""; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--terracota-500);
  border-radius: var(--radius);
  z-index: -1;
}

.about__content > p { margin-top: 1rem; color: var(--ink-soft); }
.about__content h2 { margin-bottom: 0.4rem; }

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 2rem;
}
.about__badges li {
  background: var(--azul-100);
  color: var(--azul-900);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 999px;
}

.approach__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.approach__content > p { margin-top: 1rem; color: var(--ink-soft); }

.approach__list { margin: 1.6rem 0 2rem; display: grid; gap: 0.7rem; }
.approach__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--azul-900);
}
.approach__list svg { color: var(--terracota-500); flex-shrink: 0; }

.video-card {
  display: flex;
  justify-content: center;
}
.video-card video {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  aspect-ratio: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--azul-900);
}

.steps { background: var(--azul-100); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  list-style: none;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step__number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--terracota-500);
  line-height: 1;
}
.step h3 { margin: 0.8rem 0 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.94rem; }

.faq__list { display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 218, 227, 0.55);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  color: var(--azul-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terracota-500);
  transition: transform var(--transition);
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.95rem; }

.cta-final {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.07), transparent 45%),
    linear-gradient(135deg, var(--azul-900), var(--azul-700));
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
  color: var(--white);
}
.cta-final h2 { color: var(--white); }
.cta-final p {
  color: var(--azul-200);
  max-width: 36rem;
  margin: 1rem auto 2.2rem;
}
.cta-final small {
  display: block;
  margin-top: 1.1rem;
  color: var(--azul-200);
  font-size: 0.82rem;
}

.footer {
  background: #233D4A;
  color: var(--azul-200);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer__brand .footer__logo { width: 52px; height: 52px; object-fit: contain; margin-bottom: 0.8rem; }
.footer__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.footer__tagline { margin-top: 0.7rem; font-size: 0.9rem; font-style: italic; }
.footer__nav { display: grid; gap: 0.55rem; align-content: start; }
.footer__nav a { transition: color var(--transition); }
.footer__nav a:hover { color: var(--white); }
.footer__contact { display: grid; gap: 0.55rem; align-content: start; }
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(201, 218, 227, 0.15);
  padding: 1.3rem 0;
  font-size: 0.78rem;
  color: rgba(201, 218, 227, 0.75);
  text-align: center;
}
.footer__bottom a { color: var(--white); text-decoration: underline; }
.footer__bottom strong { color: var(--white); }
.footer__bottom p + p { margin-top: 0.3rem; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content .lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__media { order: -1; max-width: 320px; margin-inline: auto; }
  .cards, .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .approach__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 400px; margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--off-white);
    padding: 1.6rem 6%;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--azul-100);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 49;
  }
  .nav.is-open { transform: translateY(0); }
  .header__cta { display: none; }
  .nav-toggle { display: flex; }
  html { scroll-padding-top: 70px; }
}

@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .specialties__cta .btn { max-width: 100%; }
  .cards, .steps__grid, .footer__inner { grid-template-columns: 1fr; }
  .footer__inner { text-align: center; }
  .footer__brand { display: grid; justify-items: center; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
