:root {
  --ink: #163638;
  --teal: #225f62;
  --teal2: #3b7a7b;
  --mist: #e7f2f0;
  --cream: #fbfaf5;
  --amber: #f0aa3c;
  --line: #d6e4df;
  --white: #fff;
  --shadow: 0 18px 50px rgba(21, 55, 57, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.topbar {
  background: var(--ink);
  color: #edf7f4;
  font-size: 0.86rem;
  text-align: center;
  padding: 7px 16px;
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}
.mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--amber);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 1.25rem;
}
.links {
  display: flex;
  gap: 27px;
  align-items: center;
  font-weight: 650;
  font-size: 0.94rem;
}
.links a:not(.btn):hover,
.links a[aria-current="page"] {
  color: var(--teal2);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--amber);
  color: #163638;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193, 126, 24, 0.22);
}
.btn.secondary {
  background: var(--white);
  border: 1px solid var(--line);
}
.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(251, 250, 245, 0.98) 0%,
      rgba(251, 250, 245, 0.93) 38%,
      rgba(251, 250, 245, 0.1) 70%
    ),
    url("assets/huellas-felices-centro.png") center/cover;
}
.hero-copy {
  max-width: 610px;
  padding: 86px 0;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal2);
  font-size: 0.77rem;
  font-weight: 850;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}
h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  margin: 18px 0 22px;
  max-width: 760px;
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}
h3 {
  font-size: 1.28rem;
}
.lead {
  font-size: 1.18rem;
  color: #3d5554;
  max-width: 590px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-weight: 700;
  font-size: 0.9rem;
}
.trust-row span:before {
  content: "✓";
  color: var(--teal2);
  margin-right: 8px;
}
.section {
  padding: 96px 0;
}
.section.mist {
  background: var(--mist);
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}
.heading p {
  max-width: 500px;
  color: #4b6462;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 3px 0 rgba(21, 55, 57, 0.02);
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--mist);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 28px;
}
.card h3 {
  margin-bottom: 12px;
}
.card p {
  color: #506663;
  margin: 0;
}
.service-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 800;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.photo-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.quote {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: 20px;
  border-radius: 18px;
  font-weight: 750;
}
.pill-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}
.pill {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-weight: 700;
}
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta p {
  color: #cbded9;
  max-width: 610px;
  margin-bottom: 0;
}
.page-hero {
  padding: 82px 0 64px;
  background: var(--mist);
}
.page-hero p {
  max-width: 690px;
  font-size: 1.15rem;
  color: #46605e;
}
.services-list {
  display: grid;
  gap: 22px;
}
.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
}
.num {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 850;
}
.includes {
  background: var(--mist);
  border-radius: 18px;
  padding: 20px;
}
.includes strong {
  display: block;
  margin-bottom: 8px;
}
.includes ul {
  margin: 0;
  padding-left: 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}
.form {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 750;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #bfd1cc;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.field textarea {
  min-height: 125px;
  resize: vertical;
}
.map {
  min-height: 310px;
  background: linear-gradient(135deg, #dae9e5, #f4e5c9);
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 35px;
}
.info {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.info div {
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.notice {
  font-size: 0.88rem;
  color: #607370;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-card div {
  padding: 22px;
}
.team-card h3 {
  margin-bottom: 7px;
}
.team-card p {
  margin: 0;
  color: #506663;
}
footer {
  background: #102f31;
  color: #e9f4f1;
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-grid p,
.footer-grid a {
  color: #bfd4cf;
}
.footer-grid a {
  display: block;
  margin: 8px 0;
}
.footnote {
  border-top: 1px solid #2d4b4d;
  margin-top: 40px;
  padding-top: 20px;
  color: #9fbbb5;
  font-size: 0.84rem;
}
.mobile {
  display: none;
}
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  color: #093c20;
  border-radius: 999px;
  padding: 14px 19px;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 5;
}
@media (max-width: 820px) {
  .links {
    display: none;
  }
  .mobile {
    display: inline-flex;
  }
  .hero {
    min-height: 720px;
    align-items: end;
    background:
      linear-gradient(
        0deg,
        rgba(251, 250, 245, 1) 0%,
        rgba(251, 250, 245, 0.96) 46%,
        rgba(251, 250, 245, 0.05) 75%
      ),
      url("assets/huellas-felices-centro.png") 63% top/auto 52% no-repeat;
  }
  .hero-copy {
    padding: 330px 0 60px;
  }
  .grid,
  .split,
  .contact-grid,
  .footer-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .heading {
    display: block;
  }
  .service-detail {
    grid-template-columns: 65px 1fr;
  }
  .service-detail .includes {
    grid-column: 1/-1;
  }
  .section {
    padding: 68px 0;
  }
  .cta {
    display: block;
    padding: 34px;
  }
  .wrap {
    width: min(100% - 28px, 1160px);
  }
  h1 {
    font-size: 2.8rem;
  }
  .whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
  }
}

/* Marca y navegación */
:root { --amber: #efa46c; --teal: #16566a; --teal2: #246777; --mist: #eaf3f3; }
.logo { flex: 0 0 auto; }
.logo img { width: 216px; height: auto; }
.nav { position: relative; height: 100px; gap: 20px; z-index: 20; }
.links { gap: 22px; }
.links a:not(.btn) { padding: 12px 0; }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.btn { font: inherit; font-weight: 750; min-height: 48px; text-align: center; }
:focus-visible { outline: 3px solid #167a96; outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 16px; background: white; padding: 14px; z-index: 100; }
.skip-link:focus { top: 10px; }
.eyebrow { font-size: 14px; }
.cta .eyebrow { color: #b8e6eb; }
.cta .btn { flex-shrink: 0; }
footer .logo { width: fit-content; background: #fff; border-radius: 12px; padding: 12px; }
footer .logo img { width: 225px; }
.service-detail { scroll-margin-top: 24px; }
.service-cta { grid-column: 2 / -1; justify-self: start; }
.service-link { min-height: 44px; padding: 8px 0; }
.info a { overflow-wrap: anywhere; text-decoration: underline; }
.form { margin-top: 20px; }
.form .notice { margin: 0; }
.field, .contact-grid > *, .split > * { min-width: 0; }
.whatsapp { background: #185e50; color: white; min-height: 48px; }
@media (min-width: 821px) and (max-width: 980px) {
 .grid { grid-template-columns: repeat(2, 1fr); }
 .hero-copy { max-width: 560px; }
 .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
 .links { display: none; }
 .mobile { display: inline-flex; }
 .links.is-open { display: flex; position: absolute; top: calc(100% - 4px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
 .links a { min-height: 48px; padding: 12px !important; }
 .nav { height: 88px; }
 .logo img { width: 195px; }
}
@media (max-width: 820px) {
 body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
 .topbar { font-size: 14px; padding: 8px 18px; }
 .hero { min-height: 0; display: block; background: var(--cream); }
 .hero .wrap { display: flex; flex-direction: column; }
 .hero-copy { padding: 32px 0 26px; max-width: 100%; }
 .hero .wrap::after { content: ''; display: block; height: 235px; background: url('assets/huellas-felices-centro.png') center 55% / cover; border-radius: 24px; margin-bottom: 32px; }
 h1 { font-size: clamp(2.1rem, 8.5vw, 3.3rem); line-height: 1.08; margin: 14px 0 18px; }
 h2 { font-size: clamp(1.8rem, 6.8vw, 2.6rem); }
 .lead { font-size: 17px; }
 .actions { margin-top: 22px; gap: 10px; }
 .actions .btn { flex: 1 1 100%; }
 .trust-row { margin-top: 22px; gap: 8px 18px; font-size: 14px; }
 .section { padding: 48px 0; }
 .page-hero { padding: 34px 0 30px; }
 .page-hero p { font-size: 17px; }
 .heading { margin-bottom: 26px; }
 .split { gap: 28px; }
 .card { padding: 24px; }
 .card .icon { margin-bottom: 20px; }
 .cta { padding: 28px 24px; border-radius: 24px; }
 .cta .btn { display: flex; margin-top: 24px; }
 .service-detail { grid-template-columns: 48px minmax(0,1fr); padding: 22px; gap: 16px; }
 .num { width: 44px; height: 44px; border-radius: 14px; }
 .service-cta { grid-column: 1 / -1; justify-self: stretch; }
 .quote { position: static; border-radius: 0; padding: 20px; }
 .whatsapp { left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px var(--cream), 0 6px 24px #16363833; }
 footer { padding-top: 40px; }
 .footer-grid { gap: 24px; }
 .footer-grid a:not(.logo) { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 360px) { .logo img { width: 170px; } .nav { gap: 8px; } .mobile { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
@media (min-width: 821px) { .hero h1 { font-size: clamp(3.2rem, 4.5vw, 4rem); } .hero-copy { padding: 60px 0; } }
