@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800.woff2') format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/dancing-script-700.woff') format('woff'); }

* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: #12A79B; text-decoration: none; }
a:hover { color: #0E8378; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(18, 167, 155, 0.45);
  outline-offset: 3px;
}
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-plus { transform: rotate(45deg); }
body.modal-open { overflow: hidden; }
.brand-wordmark {
  color: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #D9E2E2;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1E3A5F;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-actions button {
  width: 100%;
}
#btn-send {
  margin-bottom: 18px;
}
.quote-section {
  display: none;
  padding: 72px 20px;
  background: #F4FBFA;
}
.quote-section.is-ready {
  display: block;
}
#quote-form-slot {
  max-width: 680px;
  margin: 0 auto;
}
#quote-card {
  box-shadow: 0 14px 36px rgba(30, 58, 95, 0.1);
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
#form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
#form-status.is-success {
  color: #0A665D;
  background: #E4F6F4;
}
#form-status.is-error {
  color: #9E2F2F;
  background: #FDECEC;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex !important;
    order: 3;
    width: 100%;
    margin-left: 0 !important;
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .nav-links.is-open a {
    padding: 12px 4px;
    border-top: 1px solid #E7EFEF;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding-top: 48px !important;
    padding-bottom: 44px !important;
    text-align: center;
  }
  .hero-grid h1 { font-size: 40px !important; }
  .hero-grid .hero-badges { justify-content: center; }
  .hero-grid > div:first-child > p:last-child { justify-content: center; }
  .about-grid { grid-template-columns: 1fr !important; }
  .trust-grid { grid-template-columns: 1fr 1fr !important; }
  h2 { font-size: 30px !important; }
  .header-cta { display: none !important; }

  #servicios,
  #sobre-mi,
  #opiniones {
    padding-top: 64px !important;
    padding-bottom: 48px !important;
  }
  #faq > div,
  #contacto > div {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 20px !important;
  }
  #contacto > .contact-grid {
    gap: 40px !important;
  }
}
@media (max-width: 560px) {
  .header-inner {
    gap: 10px !important;
    padding: 9px 14px !important;
  }
  .header-inner > a:first-child {
    min-width: 0;
    gap: 9px !important;
  }
  .header-inner > a:first-child > img {
    width: 44px !important;
    height: 44px !important;
  }
  .header-inner > a:first-child > span {
    min-width: 0;
  }
  .header-inner > a:first-child > span > span:first-child {
    font-size: 20px !important;
    white-space: nowrap;
  }
  .header-inner > a:first-child > span > span:last-child {
    font-size: 8px !important;
    letter-spacing: 1px !important;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: none;
  }
  .nav-links.is-open {
    padding-top: 2px;
  }

  .hero-grid {
    gap: 30px !important;
    padding: 36px 16px 40px !important;
  }
  .hero-grid > div:first-child > span {
    max-width: 100%;
    padding: 7px 11px !important;
    border-radius: 14px !important;
    line-height: 1.4;
    text-align: left;
  }
  .hero-grid > div:first-child > span svg {
    flex: none;
  }
  .hero-grid h1 {
    font-size: clamp(32px, 10vw, 38px) !important;
    letter-spacing: -0.5px !important;
  }
  .hero-grid h1 br {
    display: none;
  }
  .hero-grid h1 + p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .hero-badges {
    align-items: stretch !important;
    flex-direction: column;
    gap: 6px !important;
  }
  .hero-badges a {
    justify-content: center;
    width: 100%;
  }
  .hero-grid > div:last-child > div {
    width: min(280px, 82vw) !important;
  }

  .trust-grid { grid-template-columns: 1fr !important; }
  .trust-grid {
    gap: 18px !important;
    padding: 24px 20px !important;
  }
  .trust-grid > div svg {
    flex: none;
  }

  #servicios,
  #sobre-mi,
  #opiniones {
    padding: 52px 16px 36px !important;
  }
  #servicios > div:first-child,
  #opiniones > div:first-child {
    margin-bottom: 32px !important;
  }
  #servicios .grid-2 > div,
  #opiniones .grid-3 > div {
    padding: 22px !important;
  }
  #servicios .grid-2 > div:first-child > span {
    top: 18px !important;
    right: 18px !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
  }
  .grid-4 {
    gap: 32px !important;
  }

  #sobre-mi .about-grid {
    gap: 36px !important;
  }
  #sobre-mi .about-grid > div:first-child {
    width: min(280px, 82vw) !important;
  }
  #sobre-mi h2 {
    font-size: 39px !important;
  }
  #sobre-mi .about-grid > div:last-child > div {
    align-items: flex-start !important;
    width: 100% !important;
  }

  #faq > div,
  #contacto > div {
    padding: 52px 16px !important;
  }
  .quote-section {
    padding: 52px 16px;
  }
  #faq details {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }
  #faq summary {
    gap: 10px !important;
    font-size: 15px !important;
    line-height: 1.45;
  }
  #contacto h2 {
    font-size: 32px !important;
  }
  #contacto > .contact-grid {
    gap: 34px !important;
  }
  #quote-card {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }
  #contacto > .contact-grid > div:first-child > a {
    justify-content: center;
    width: 100%;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }
  #contacto > .contact-grid > div:first-child > div span,
  #contacto > .contact-grid > div:first-child > div a {
    align-items: flex-start !important;
    line-height: 1.45;
  }
  #contacto > .contact-grid > div:first-child > div svg {
    flex: none;
    margin-top: 1px;
  }
  footer > div {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
  footer > div > div:first-child {
    align-items: flex-start !important;
    flex-direction: column;
  }
  footer > div > div:first-child > div:last-child {
    flex-wrap: wrap;
  }
  footer + a[data-wa] {
    right: 14px !important;
    bottom: 14px !important;
    width: 54px !important;
    height: 54px !important;
  }

  #priv-modal {
    align-items: flex-end !important;
    padding: 10px !important;
  }
  #priv-modal [data-priv-dialog] {
    max-height: 90vh !important;
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 360px) {
  .header-inner > a:first-child > span > span:first-child {
    font-size: 18px !important;
  }
  .header-inner > a:first-child > span > span:last-child {
    letter-spacing: 0.6px !important;
  }
  .hero-grid {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
  #servicios .grid-2 > div:first-child > span {
    position: static !important;
    display: inline-block;
    margin-bottom: 14px;
  }
}
