:root {
  --azul-artero: #132F48;
  --crema-artero: #FCF6E6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #132F48;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background-color: #132F48;
  color: #FCF6E6;
  font-family: "Avenir Next", Avenir, "Avenir LT Std", "Century Gothic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: max(28px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  background: #132F48;
}

.hero {
  width: min(100%, 880px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(70px, 14vh, 150px) 0 clamp(70px, 10vh, 130px);
}

.logo {
  display: block;
  width: clamp(320px, 42vw, 590px);
  height: auto;
  margin: 0 0 46px;
}

.headline {
  max-width: 760px;
  margin: 0 0 16px;
  color: #FCF6E6;
  font-size: clamp(26px, 2.35vw, 30px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: 0.008em;
}

.subheadline {
  max-width: 680px;
  margin: 0 0 46px;
  color: #FCF6E6;
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: 0.008em;
}

.services-button {
  min-width: 208px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 38px;
  border: 1px solid #FCF6E6;
  border-radius: 999px;
  background: transparent;
  color: #FCF6E6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.services-button:hover,
.services-button:focus-visible {
  background: #FCF6E6;
  color: #132F48;
  transform: translateY(-1px);
  outline: none;
}

.services-button:active {
  transform: translateY(0);
}

.footer {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid #FCF6E6;
  text-align: center;
  color: #FCF6E6;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .landing {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    width: min(100%, 420px);
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .logo {
    width: min(84vw, 360px);
    margin-bottom: 38px;
  }

  .headline {
    max-width: 340px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.35;
  }

  .subheadline {
    max-width: 320px;
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.42;
  }

  .services-button {
    width: min(100%, 252px);
    min-height: 56px;
    font-size: 14px;
  }

  .footer {
    width: min(100%, 360px);
    font-size: 11px;
    padding-top: 18px;
  }
}

@media (max-height: 680px) and (orientation: landscape) {
  .hero {
    padding-top: 42px;
    padding-bottom: 36px;
  }
  .logo { margin-bottom: 28px; }
  .headline { margin-bottom: 10px; }
  .subheadline { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-button { transition: none; }
}


/* Evita que iOS/Safari convierta el teléfono en un enlace azul automático. */
.phone-number,
.phone-number a,
a[x-apple-data-detectors],
a[href^="tel:"] {
  color: #FCF6E6 !important;
  text-decoration: none !important;
  font: inherit !important;
}
