* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2a22;
  background: #f8faf7;
  line-height: 1.6;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* HEADER */

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e9e4;
}

.header-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #24452d;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #35453a;
  font-size: 0.95rem;
}

.nav-contact {
  font-weight: 600;
}

/* HERO */

.hero {
  padding: 90px 0 100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #52735a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 26px;
}

.hero h1 span {
  color: #52735a;
}

.hero p {
  max-width: 600px;
  font-size: 1.15rem;
  color: #5c675f;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
}

.primary {
  background: #31563b;
  color: white;
}

.secondary {
  color: #31563b;
  border: 1px solid #b9c5bb;
  background: white;
}

/* IMAGEN PROVISIONAL */

/* SECCIONES PROVISIONALES */

/* POR QUÉ DIGITALIZAR */

.why-section {
  padding: 110px 0;
  background: #ffffff;
  border-top: 1px solid #edf0ec;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.section-heading p {
  color: #687269;
  font-size: 1.1rem;
  max-width: 650px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px;
  background: #f7f9f6;
  border: 1px solid #e2e8e1;
  border-radius: 14px;
}

.benefit-number {
  display: block;
  color: #78907d;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #294432;
}

.benefit-card p {
  color: #667068;
  font-size: 0.97rem;
}

/* EXPLOTACIÓN SOBRE EL MAPA */

.map-section {
  padding: 110px 0;
  background: #eef3ed;
}

.map-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.map-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.map-text > p {
  color: #626e65;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.map-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.map-features span {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: #385140;
}

.map-features span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #52735a;
}

/* CARRUSEL DE CAPTURAS */

.screenshots-wrapper {
  position: relative;
  padding: 28px 42px;
  background: #dce5db;
  border: 1px solid #ccd8cb;
  border-radius: 18px;
  overflow: hidden;
}

.screenshots-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
  display: none;
}

.screenshot-card {
  flex: 0 0 auto;
  scroll-snap-align: start;

  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot-card img {
  display: block;

  width: auto;
  height: 520px;
  max-width: 100%;

  object-fit: contain;

  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(30, 50, 35, 0.15);
}

/* FLECHAS */

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 38px;
  height: 38px;

  border: 1px solid #c5d0c5;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);
  color: #31563b;

  font-size: 1.8rem;
  line-height: 1;

  cursor: pointer;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-button:hover {
  background: white;
}

/* FUNCIONALIDADES */

.features-section {
  padding: 110px 0;
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 34px;
  border: 1px solid #e1e7e0;
  border-radius: 14px;
  background: #f8faf7;
}

.feature-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 24px;

  border-radius: 50%;
  background: #e3ebe2;

  color: #52735a;
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #294432;
}

.feature-card p {
  color: #667068;
}

.feature-card-highlight {
  background: #eef3ed;
  border-color: #d4dfd3;
}
/* NFC */

.nfc-section {
  padding: 110px 0;
  background: #f1f4ef;
}

.nfc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nfc-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

.nfc-text > p {
  color: #626e65;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.nfc-steps {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nfc-step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nfc-step span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #31563b;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.nfc-step p {
  color: #435047;
  font-weight: 600;
}
.nfc-image {
  display: block;
  width: 100%;
  height: 520px;

  object-fit: cover;
  object-position: center;

  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(40, 70, 48, 0.12);
}

/* PRODUCCIÓN */

.production-section {
  padding: 110px 0;
  background: #203b29;
  color: white;
}

.production-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.production-heading .eyebrow {
  color: #a9c2ae;
}

.production-heading h2 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.production-heading p {
  max-width: 680px;
  color: #c8d5cb;
  font-size: 1.1rem;
}

.production-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;

  margin-top: 45px;
}

.production-benefits div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.production-benefits strong {
  font-size: 1.05rem;
}

.production-benefits span {
  color: #b9c9bc;
  font-size: 0.95rem;
}

/* PROYECTO */

.project-section {
  padding: 110px 0;
  background: #ffffff;
}

.project-content {
  max-width: 1050px;
  text-align: center;
}

.project-content .eyebrow {
  margin-bottom: 22px;
}

.project-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -1px;

  margin-bottom: 28px;
}

.project-content p {
  max-width: 900px;
  margin: 0 auto 16px;

  color: #667068;
  font-size: 1.05rem;
}


/* CONTACTO */

.contact-section {
  padding: 100px 0;
  background: #e8eee6;
}

.contact-content {
  max-width: 1050px;
  text-align: center;
}

.contact-content .eyebrow {
  margin-bottom: 20px;
}

.contact-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;

  margin-bottom: 22px;
}

.contact-content p {
  max-width: 900px;
  margin: 0 auto 32px;

  color: #5f6b62;
  font-size: 1.08rem;
}

.contact-button {
  background: #31563b;
  color: white;
  padding: 15px 28px;
}

.contact-button:hover {
  background: #26472f;
}
/* FOOTER */

.footer {
  padding: 45px 0;
  background: #182d20;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand strong {
  font-size: 1.1rem;
}

.footer-brand span,
.footer-copy {
  color: #aebdb1;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #d6dfd8;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

/* PÁGINAS LEGALES */

.legal-logo {
  text-decoration: none;
}

.legal-page {
  padding: 80px 0 110px;
  background: #ffffff;
}

.legal-content {
  max-width: 850px;
}

.legal-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.legal-update {
  color: #899189;
  font-size: 0.9rem;
  margin-bottom: 55px;
}

.legal-content h2 {
  color: #294432;
  font-size: 1.35rem;
  margin-top: 38px;
  margin-bottom: 12px;
}

.legal-content p {
  color: #5f6961;
  margin-bottom: 14px;
}

.legal-content a {
  color: #31563b;
}

.legal-back {
  margin-top: 55px;
}
.hero-image {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(40, 70, 48, 0.14);
}
/* MÓVIL */

@media (max-width: 800px) {

 .hero-image {
    height: 320px;
    }
  nav a:first-child {
    display: none;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .image-placeholder {
    min-height: 300px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    }

    .why-section {
    padding: 75px 0;
    }

    .section-heading {
    margin-bottom: 40px;
    }
    .map-section {
    padding: 75px 0;
    }

    .map-content {
    grid-template-columns: 1fr;
    gap: 40px;
    }

    .map-image-placeholder {
    min-height: 320px;
    }

    .screenshots-wrapper {
    padding: 22px 18px;
    }
.screenshot-card img {
    height: 480px;
    max-width: 100%;
    }

    .carousel-button {
    display: none;
    }
    .features-section {
    padding: 75px 0;
    }

    .features-grid {
    grid-template-columns: 1fr;
    }
    .nfc-section {
    padding: 75px 0;
    }

    .nfc-content {
    grid-template-columns: 1fr;
    gap: 45px;
    }

    .nfc-image-placeholder {
    min-height: 400px;
    }
    .nfc-image {
    height: 400px;
    }
    .production-section {
    padding: 75px 0;
    }

    .production-heading {
    margin-bottom: 40px;
    }

    .production-image-placeholder {
    min-height: 350px;
    }

    .production-benefits {
    grid-template-columns: 1fr;
    gap: 25px;
    }

    .production-images {
    justify-content: flex-start;
    overflow-x: auto;

    padding: 25px 20px;
    gap: 18px;

    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    }

    .production-images::-webkit-scrollbar {
    display: none;
    }

    .production-screenshot {
    flex: 0 0 auto;
    scroll-snap-align: center;
    }

    .production-screenshot img {
    height: 460px;
    }
    .project-section,
    .contact-section {
    padding: 75px 0;
    }
    .footer-content {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
    }

    .footer-brand {
    align-items: center;
    }

    .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    }
}
/* AJUSTES DE PRESENTACIÓN Y GALERÍAS */
.why-section .section-heading,
.features-section .section-heading {
  max-width: 100%;
}
.why-section .section-heading p,
.features-section .section-heading p {
  max-width: 100%;
}
.project-content { max-width: 1120px; }
.project-content p { max-width: 1000px; }
.map-content { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.map-visual, .production-visual { min-width: 0; }
.screenshots-wrapper { padding: 24px 50px; }
.screenshots-carousel { gap: 16px; overscroll-behavior-x: contain; }
.screenshot-card { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; }
.screenshot-card img {
  width: 100%; height: 480px; max-width: 100%; object-fit: contain;
  box-shadow: none;
}
.zoomable-image { cursor: zoom-in; }
.zoomable-image:focus-visible { outline: 3px solid #7fa98a; outline-offset: 4px; }
.gallery-hint { margin-top: 12px; text-align: center; color: #65756a; font-size: .88rem; }
.production-wrapper { background: #294a33; border-color: #3b5b44; }
.production-wrapper .carousel-button { background: #f5f8f5; }
.production-visual .gallery-hint { color: #c8d5cb; }
.production-heading { max-width: 100%; }
.production-heading p { max-width: 900px; }
.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 20, 14, .94); padding: 64px 64px 75px;
}
.lightbox-image { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; z-index: 2; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.15); color: white; cursor: pointer;
}
.lightbox-close { top: 14px; right: 18px; width: 44px; height: 44px; font-size: 32px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 42px; height: 42px; font-size: 32px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-caption { position: absolute; bottom: 22px; left: 20px; right: 20px; text-align: center; color: #fff; font-size: .9rem; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 800px) {
  .map-content { grid-template-columns: 1fr; gap: 40px; }
  .screenshots-wrapper { padding: 18px 16px; }
  .screenshot-card { flex-basis: 100%; }
  .screenshot-card img { height: min(460px, 110vw); }
  .image-lightbox { padding: 60px 12px 75px; }
  .lightbox-nav { width: 36px; height: 36px; top: auto; bottom: 14px; transform: none; }
  .lightbox-caption { bottom: 24px; left: 58px; right: 58px; }
}
