@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400..700&display=swap");

:root {
  --ink: #0d0d0d;
  --muted: #545454;
  --green: #008f68;
  --panel: #171717;
  --border: #147e60;
  --paper: #f4f3f2;
  --radius: 13px;
  font-family: "Inter Tight", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.42; }
[id] { scroll-margin-top: 16px; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.032em; line-height: 1.06; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #22be92; outline-offset: 4px; }

.site-header {
  display: flex; justify-content: space-between; align-items: center;
  width: min(802px, calc(100% - 32px)); min-height: 58px;
  margin: 20px auto 0; position: relative; z-index: 2;
  color: white; background: var(--muted); border-radius: 38px;
}
.logo { display: inline-flex; flex: 0 0 auto; align-items: center; }
.site-header .logo { margin: 0 12px; }
.logo img { width: 98px; height: auto; }
.site-header nav { display: flex; align-items: stretch; }
.site-header nav a {
  display: flex; align-items: center; padding: 0 10px; min-height: 58px;
  font-weight: 600; text-decoration: none;
}
.site-header nav a + a { border-left: 1px solid #fff8; }
.site-header nav a:hover { background: #ffffff22; }
.nav-cta .button { padding-inline: 19px; }
.menu-toggle { display: none; }

.hero { padding: 110px 16px 86px; text-align: center; }
.badge { display: inline-flex; gap: 12px; align-items: center; text-align: left; margin-bottom: 50px; }
.badge strong, .badge div span { display: block; font-weight: 600; }
.badge div span { color: var(--muted); font-size: 14px; }
.mark {
  display: inline-grid; place-items: center; background: #f6f3ef; color: #36572d;
  border-radius: 10px; width: 42px; height: 42px; font-size: 24px;
}
.hero h1 { max-width: 718px; font-size: 64px; margin: 0 auto 24px; text-wrap: balance; line-height: 1; }
.contact .hero h1 { font-size: 86px; }
.hero p { max-width: 555px; font-size: 18px; margin: 0 auto 26px; }
.actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; align-items: center; }
.button {
  display: inline-flex; gap: .4em; align-items: center; justify-content: center;
  background: var(--green); color: white; padding: 12px 21px;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-align: center; transition: background-color .22s ease;
}
.button:hover { background: #007455; }
.button.secondary { color: var(--ink); background: transparent; }
.button.secondary:hover { background: #f4f4f4; }

.full { padding-inline: 16px; }
.home .full section { margin-bottom: 30px; }
.home .full h2 { margin-bottom: 16px; }
.intro-card {
  max-width: 820px; padding: 20px; margin-bottom: 23px;
  background: var(--panel); border-radius: var(--radius); color: white;
}
.intro-card p { color: #f6f6f6; margin-top: 8px; }
.card {
  min-width: 0; background: var(--panel); color: #f6f6f6; padding: 16px 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.card strong { color: var(--green); font-size: 20px; font-weight: 700; line-height: 1.12; }
.card p { color: inherit; }
.steps { list-style: none; padding: 0; display: grid; max-width: 820px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 15px 0 22px; counter-reset: stage; }
.steps li { counter-increment: stage; }
.steps .card { height: 100%; }
.steps .card strong::before { content: counter(stage) ". "; }
.steps .card strong::after { content: ". "; }
.steps .card p { display: inline; }
.services { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.goal { grid-column: 1/-1; display: block; }
.goal img { width: 100%; height: auto; aspect-ratio: 1672 / 941; }
.service-cta { text-align: center; margin: 36px 0 80px; }
.sector-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.sector-grid > div { min-width: 0; }
.clinic-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.clinic-photos img:first-child { grid-column: 1/-1; }
.clinic-photos img, .shop-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; }
.shop-photo { margin-top: 12px; }
#contacto p { margin-bottom: 16px; }

.about-content { max-width: 960px; margin: 24px auto 80px; padding-inline: 16px; }
.about-content section { margin-bottom: 50px; }
.about-content h1, .about-content h2 { font-size: 28px; text-transform: uppercase; margin-bottom: 12px; }
.about-content h1 { font-weight: 600; }
.about-content p + .button { margin-top: 20px; }
.about-steps, .about-sectors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }

.contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; max-width: 960px; padding: 0 16px; margin: 0 auto; align-items: start; }
#email-form, .contact-card { background: var(--paper); padding: 24px; border-radius: var(--radius); }
#email-form { display: grid; gap: 21px; }
#email-form label { display: grid; gap: 10px; }
#email-form input, #email-form textarea {
  width: 100%; color: var(--ink); border: 0; border-bottom: 1px solid #d7d5d0;
  padding: 12px 8px; background: transparent; border-radius: 0;
}
#email-form textarea { resize: vertical; }
#email-form .button { width: 100%; }
#email-form .button:disabled { opacity: .7; cursor: wait; }
#form-status:empty, #challenge:empty { display: none; }
#form-status[data-error] { color: #a12319; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-card h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; }
.contact-card dl { margin: 28px 0 0; }
.contact-card dt { margin-top: 20px; }
.contact-card dd { margin: 8px 0 0; overflow-wrap: anywhere; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-bottom { padding-block: 105px 60px; }
.contact-bottom h2 { font-size: 64px; max-width: 555px; }
.contact-bottom p { margin: 18px 0; }
.contact-bottom .actions { justify-content: start; }

footer { margin-top: 60px; background: var(--panel); color: #f6f6f6; padding: 30px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.about-footer { background: white; color: var(--ink); max-width: 960px; margin-inline: auto; }
@media (max-width: 991px) {
  .site-header { width: min(730px, calc(100% - 32px)); min-height: 50px; }
  .nav-cta { display: none; }
  .menu-toggle {
    display: grid; gap: 4px; padding: 12px; margin-right: 6px;
    background: none; border: 0; color: var(--ink);
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; }
  .site-header nav {
    display: none; position: absolute; top: calc(100% + 6px); inset-inline: 0;
    background: var(--muted); border-radius: var(--radius); overflow: hidden;
  }
  .site-header nav.open { display: block; }
  .site-header nav a { min-height: 46px; padding-inline: 16px; }
  .site-header nav a + a { border-left: 0; border-top: 1px solid #fff5; }
}
@media (max-width: 767px) {
  .hero { padding-top: 56px; padding-bottom: 72px; }
  .badge { margin-bottom: 20px; }
  .hero h1, .contact .hero h1 { font-size: clamp(32px,9.2vw,54px); margin-bottom: 18px; }
  .hero p { font-size: 16px; }
  .hero .actions { flex-direction: column; }
  h2 { font-size: 26px; }
  .steps, .sector-grid, .contact-layout { grid-template-columns: minmax(0,1fr); }
  .goal img { aspect-ratio: 1199 / 1312; }
  .contact-bottom h2 { font-size: 36px; }
  .contact-bottom { padding-block: 60px 35px; }
  #email-form, .contact-card { padding: 16px; }
}
@media (max-width: 479px) {
  .services, .about-steps, .about-sectors { grid-template-columns: minmax(0,1fr); }
  .about-footer { display: grid; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .actions { animation: enter .45s ease-out both; }
  @keyframes enter { from { opacity: .3; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.about-content section { margin-bottom: 24px; }
.about-content section > p {
  background: var(--panel); color: #f6f6f6; padding: 16px 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.about-content section:nth-child(3) h2 { font-size: 36px; }
.about-content p + .button { margin-top: 12px; }
.about-steps, .about-sectors { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.about-steps .card strong, .about-sectors .card strong { font-size: 18px; }
.about-steps .card strong::after, .about-sectors .card strong::after { content: ". "; }
.about-steps .card p, .about-sectors .card p { display: inline; }
.about-footer { background: var(--panel); color: #f6f6f6; max-width: none; }
