:root {
  --color-titulos: #0a0d2a;
  --color-texto: #0a0d2a;
  --color-fondo: #ffffff;
  --color-borde-suave: #e2e4f0;
  --color-cta: #ff8200;
  --color-cta-texto: #000000;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "europa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--color-texto);
  line-height: 1.6;
  background: var(--color-fondo);
}

a {
  color: var(--color-titulos);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: #000000;
  padding: 0.5rem 1rem;
  border: 2px solid #000000;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* CABECERA */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 17px;
  font-family: "sofia-pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--color-titulos);
}

.main-nav a[aria-current="page"] {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-titulos);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-titulos);
}

.header-phone a {
  color: var(--color-titulos);
  text-decoration: none;
}

.header-phone a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  font-family: "sofia-pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-cta);
  color: var(--color-cta-texto);
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  filter: brightness(1.05);
}

/* HAMBURGUESA (MÓVIL) */

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-borde-suave);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

.menu-toggle:focus {
  outline: 2px solid var(--color-titulos);
  outline-offset: 2px;
}

.menu-toggle-box {
  width: 20px;
  height: 16px;
  position: relative;
  display: inline-block;
}

.menu-toggle-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-titulos);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.menu-toggle-line:nth-child(1) { top: 0; }
.menu-toggle-line:nth-child(2) { top: 7px; }
.menu-toggle-line:nth-child(3) { bottom: 0; }

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  bottom: 7px;
  transform: rotate(-45deg);
}

/* HERO INICIAL */

h1 {
  font-family: "sofia-pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-titulos);
  margin: 0 0 1rem;
}

.intro-text {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 19px;
}

.hero-full {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* SECCIÓN 2 – FOTO IZQUIERDA + TEXTO DERECHA */

.section-sticky {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3rem;
}

.section-sticky-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.sticky-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.sticky-content h2 {
  font-family: "sofia-pro";
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-titulos);
  margin: 0 0 1rem;
}

.sticky-content p {
  font-size: 19px;
  margin: 0 0 1.25rem;
}

.sticky-content p strong {
  font-weight: 700;
}

/* SECCIÓN 3 – TEXTO IZQUIERDA (SCROLL) + FOTO DERECHA STICKY */

.section-sticky-2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-sticky-2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.sticky-text-left h2 {
  font-family: "sofia-pro";
  font-size: 50px;
  line-height: 1.15;
  color: var(--color-titulos);
  margin: 0 0 1.25rem;
}

.sticky-text-left h3 {
  font-family: "sofia-pro";
  font-size: 34px;
  line-height: 1.2;
  color: var(--color-titulos);
  margin: 1.75rem 0 0.5rem;
}

.sticky-text-left p {
  font-size: 18px;
  margin: 0 0 0.8rem;
}

.sticky-text-left img {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

.sticky-image-right-inner {
  position: sticky;
  top: 1.5rem;
}

.sticky-image-right img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* SECCIÓN 4 – BANDA NEGRA DOS COLUMNAS */

.section-cta-band {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.section-cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
}

.cta-band-text {
  background-color: #000000;
  color: #ffffff;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-band-text p {
  font-size: 18px;
  margin: 0 0 1.25rem;
}

.cta-band-text p:last-child {
  margin-bottom: 0;
}

.cta-band-image {
  min-height: 260px;
  background-image: url("https://verticons.es/wp-content/uploads/2025/11/trabajos-verticales-en-alicante-11-1.webp");
  background-size: cover;
  background-position: center;
}

/* RESPONSIVE */

@media (max-width: 980px) {

  .page {
    padding-inline: 1.25rem;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .site-header-inner {
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: block;
    margin-top: 0.75rem;
  }

  .main-nav.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-borde-suave);
  }

  h1 {
    font-size: 34px;
  }

  .section-sticky,
  .section-sticky-2,
  .section-cta-band {
    padding-inline: 1.25rem;
    padding-top: 2.5rem;
  }

  .section-sticky-inner,
  .section-sticky-2-inner,
  .section-cta-band-inner {
    grid-template-columns: 1fr;
  }

  .sticky-image-right-inner {
    position: static;
  }

  .cta-band-image {
    min-height: 220px;
    order: -1; /* imagen arriba en móvil */
  }

  .cta-band-text {
    padding: 2rem 1.75rem;
  }
}
/* FOOTER */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-borde-suave);
  padding: 3rem 1.5rem 2rem;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-kit-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  font-family: "sofia-pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  margin: 0 0 0.75rem;
  color: var(--color-titulos);
}

.footer-col p {
  margin: 0;
  font-size: 16px;
}

.footer-col a {
  color: var(--color-titulos);
  text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 980px) {
  .site-footer {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}
/* FOOTER */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-borde-suave);
  padding: 3rem 1.5rem 2rem;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-kit-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  font-family: "sofia-pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  margin: 0 0 0.75rem;
  color: var(--color-titulos);
}

.footer-col p {
  margin: 0;
  font-size: 16px;
}

.footer-col a {
  color: var(--color-titulos);
  text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 980px) {
  .site-footer {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}
