/* Shared behaviour and small corrections; the recovered visual design is retained. */
:root {
  --brand-dark: #1a3a1c;
  --brand-green: #2c5f2d;
}
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
main { min-width: 0; }
section[id], main[id] { scroll-margin-top: 110px; }
a:focus-visible {
  outline: 3px solid #7cb342;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: white;
  color: var(--brand-dark);
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.site-header { background: var(--brand-dark); }
.js .site-header:not(.is-scrolled) { background: transparent; }
.document .site-header { background: var(--brand-dark) !important; }
.nav-links a { white-space: nowrap; }
.nav-links [aria-current="page"] { color: #a5d66d; font-weight: 700; }
.brand { flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.page-hero { min-height: 680px; }
.document-page { padding-top: 180px; }
.contact-option { transition: border-color 160ms, background 160ms; }
.contact-option:hover { border-color: #7cb342; background: #f4f7f5; }
.contact-value { overflow-wrap: anywhere; }
.company-details { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px 24px; }
.company-details dt { font-weight: 600; color: #2c5f2d; }
.company-details dd { min-width: 0; overflow-wrap: anywhere; }
.legal-card a { color: #2c5f2d; text-decoration: underline; text-underline-offset: 3px; }
.legal-card { line-height: 1.65; }
@media (min-width: 768px) and (max-width: 1100px) {
  .site-header > div { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 767px) {
  .js .site-header:not(.is-scrolled) { background: var(--brand-dark); }
  .site-header > div { flex-wrap: wrap; justify-content: center; gap: 0.65rem; padding: 0.65rem 1rem; }
  .site-header .nav-links { flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.65rem; }
  .site-header .nav-links a { font-size: 0.8rem; padding: 0.4rem 0.45rem; }
  .page-hero { min-height: 560px; padding-top: 36px; padding-bottom: 36px; }
  .document-page { padding-top: 48px; }
  .contact-options { grid-template-columns: minmax(0, 1fr); }
  .inquiry-band .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry-band .text-2xl { font-size: 1.25rem; }
  .company-details { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .company-details dd { margin-bottom: 14px; }
  .footer-bottom { align-items: flex-start; }
  section[id], main[id] { scroll-margin-top: 170px; }
  #servicios .border-t > .flex { flex-direction: column; align-items: flex-start; gap: 20px; }
  #servicios .text-right { text-align: left; }
  .page-hero + section .grid > div { min-width: 0; }
  .home-volume { height: auto; min-height: 500px; padding: 48px 0; }
  .home-volume .flex.justify-between { flex-direction: column; align-items: flex-start; gap: 24px; }
  .home-volume .flex.justify-between > p { max-width: 100%; font-size: 1.125rem; }
  .home-volume a { gap: 12px; padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
