/* Mesa Verde — estilos compartidos (sitio estático, sin Wix) */
:root {
  --green: #114d16;
  --green-soft: #406b44;
  --green-ink: #1a2d19;
  --green-overlay: rgba(17, 77, 22, 0.7);
  --orange: #e67e22;
  --orange-dark: #c96a15;
  --cream: #f9f7f2;
  --cream-dark: #f2efe8;
  --sand: #eae4db;
  --line: rgba(17, 77, 22, 0.15);

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Crimson Pro", "Minion Pro", Georgia, serif;
  --font-nav: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --max: 1100px;
  --gutter: 64px;
  --section-y: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

h6,
.label {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--green);
  color: var(--cream);
  padding: 8px 14px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Tipografía utilitaria ---------- */
.display-1 { font-size: clamp(44px, 6.8vw, 70px); line-height: 1; }
.display-2 { font-size: clamp(34px, 4.9vw, 50px); line-height: 1.02; }
.display-3 { font-size: clamp(30px, 4.3vw, 44px); }
.display-4 { font-size: clamp(26px, 3.7vw, 38px); }
.title-5 { font-size: 25px; line-height: 1.1; }
.eyebrow { color: var(--orange); }
.muted { color: var(--green-soft); }
.small { font-size: 15px; line-height: 1.3; }
.center { text-align: center; }
.stack > * + * { margin-top: 20px; }
.stack-sm > * + * { margin-top: 10px; }

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--cream-dark); }
.section--green { background: var(--green); color: var(--cream); }
.section--green .muted { color: var(--sand); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head > * + * { margin-top: 18px; }

.section--photo {
  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay, rgba(249, 247, 242, 0.9));
}
.section--photo > * { position: relative; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--green-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 16px;
  min-height: 117px;
}

.brand { margin-right: auto; }

.brand img,
.site-footer .logo {
  width: 110px;
  height: auto;
  /* el PNG trae fondo gris claro: lo aclaramos a blanco y lo fundimos con el crema */
  filter: brightness(1.08) contrast(1.08);
  mix-blend-mode: multiply;
}

.main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 8px 24px;
  background: var(--green);
  border-radius: 999px;
}

.main-nav a {
  display: block;
  padding: 6px 9px;
  color: #fff;
  font-family: var(--font-nav);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-nav);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--green);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.lang-switch a,
.lang-switch span {
  padding: 8px 12px;
  text-decoration: none;
}

.lang-switch span { background: var(--green); color: #fff; }
.lang-switch a:hover { background: var(--sand); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 40px;
  padding: 8px 22px;
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--orange-dark); }

.btn--cream { background: var(--cream); color: var(--green); }
.btn--cream:hover { background: var(--orange); color: #fff; }

.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-soft); }

.btn--caps { text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }

.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.actions.center { justify-content: center; }

/* ---------- Rejillas ---------- */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.align-center { align-items: center; }

.feature { text-align: center; }
.feature img { margin: 0 auto 18px; object-fit: cover; }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: 15px; }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 25px;
}
.card h3 { margin-bottom: 14px; }
.card p { font-size: 15px; }

/* ---------- Home ---------- */
.home-hero { padding: 48px 0 72px; }
.home-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.slider { position: relative; }
.slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track img {
  flex: 0 0 78%;
  height: 520px;
  object-fit: cover;
  scroll-snap-align: start;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(249, 247, 242, 0.9);
  color: var(--green);
  font-size: 20px;
  cursor: pointer;
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
}

.catalog-item img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
}
.catalog-item { text-decoration: none; }
.catalog-item h3 { font-size: 22px; }
.catalog-item:hover h3 { color: var(--orange); }

.workflow { position: relative; list-style: none; margin: 0; padding: 0; }
.workflow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  border-top: 1px dashed var(--green-soft);
}
.workflow .feature img {
  position: relative;
  width: 40px;
  height: 40px;
  outline: 8px solid var(--cream);
}

.split-img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }

/* ---------- Contacto / formularios ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-list { margin-top: 32px; }
.contact-list .label { color: var(--orange); }
.contact-list p { font-size: 15px; margin: 4px 0 16px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form-card {
  background: var(--cream-dark);
  border-radius: 8px;
  padding: 36px;
}
.form-card h3 { font-size: 30px; font-weight: 500; margin-bottom: 24px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; margin-bottom: 6px; }
.form input,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--green-soft);
  border-radius: 4px;
  background: var(--cream);
  color: var(--green);
  font: inherit;
  font-size: 16px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--green-soft); }

/* ---------- Redes ---------- */
.social {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  transition: background 0.2s;
}
.social a:hover { background: var(--orange); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Our Origin ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 190px));
  gap: 13px;
  justify-content: end;
}
.photo-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 182 / 193;
  overflow: hidden;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--green-overlay);
  color: var(--cream);
  font-size: 12.5px;
  padding: 1px 4px;
}

.tagline-orange {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
  font-style: italic;
  max-width: 400px;
}

.plots-grid {
  display: grid;
  grid-template-columns: 333px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.plots-grid .photo { width: 333px; height: 445px; object-fit: cover; }

.photo-strip { display: grid; grid-template-columns: 1fr 1fr; }
.photo-strip img { width: 100%; height: 255px; object-fit: cover; }

/* ---------- Productos ---------- */
.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.product-body.reverse .main-img { order: 2; }
.product-body .main-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.product-body .label { margin-top: 22px; margin-bottom: 8px; }
.product-body p { font-size: 16px; }

.formats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.formats figure { margin: 0; width: 140px; text-align: center; }
.formats img { width: 140px; height: 140px; object-fit: cover; border-radius: 4px; }
.formats figcaption {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.closing { max-width: 620px; margin: 0 auto 28px; text-align: center; font-size: 15px; color: var(--green-soft); }

.product-card { background: var(--cream); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card .body { padding: 18px; }
.product-card h3 { font-size: 22px; margin-bottom: 10px; }
.product-card p { font-size: 14px; }

.custom-box {
  margin-top: 64px;
  background: var(--cream);
  border-left: 6px solid var(--orange);
  border-radius: 6px;
  padding: 40px;
  max-width: 720px;
}

/* ---------- Planta ---------- */
.infra-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; border-radius: 4px; }
.infra-card h2 { margin-bottom: 10px; }
.infra-card p { font-size: 15px; color: var(--green-soft); }

.benefit img { width: 44px; height: 44px; margin: 0 auto 16px; object-fit: cover; }
.benefit .label { color: var(--orange); font-size: 17px; margin-bottom: 10px; }
.benefit p { font-size: 15px; }

.videos {
  max-width: 880px;
  margin: 0 auto;
}
.videos video { width: 100%; background: #000; border-radius: 4px; }
.videos figure { margin: 0; }
.videos figcaption { margin-top: 10px; font-size: 14px; }

/* ---------- Nosotros ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 80px;
}
.about-intro p,
.pillars p { color: var(--green-ink); font-weight: 600; font-size: 18px; }
.pillars h2 { margin-bottom: 16px; }
.values { max-width: 860px; margin: 0 auto; gap: 40px 64px; }
.values p { color: var(--green-ink); font-size: 16px; margin-top: 10px; }
.team figure { margin: 0; text-align: center; }
.team img { width: 100%; aspect-ratio: 273 / 341; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }
.team .label { font-weight: 700; }
.team p { font-size: 14px; color: var(--green-ink); margin-top: 6px; }

/* ---------- Servicios ---------- */
.services-hero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.lead-lg { font-size: 22px; color: var(--green-soft); }
.export-icon { width: 52px; height: 52px; margin: 0 auto 24px; border-radius: 50%; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.site-footer .logo { width: 80px; margin-bottom: 30px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}
.footer-cols .label { margin-bottom: 12px; }
.footer-cols p { font-size: 15px; line-height: 1.3; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom small { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul { padding: 8px 14px; }
  .main-nav a { font-size: 13px; padding: 6px 6px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; --section-y: 72px; }

  .site-header .inner { min-height: 88px; }
  .brand img { width: 80px; }

  .nav-toggle { display: block; }
  .main-nav { position: relative; }
  .main-nav ul {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    min-width: 260px;
  }
  .main-nav.open ul { display: flex; }

  .home-hero .container,
  .contact-grid,
  .product-body,
  .plots-grid,
  .about-intro,
  .grid-2 { grid-template-columns: 1fr; }
  .product-body.reverse .main-img { order: 0; }

  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow::before { display: none; }

  .slider-track img { height: 380px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .plots-grid .photo { width: 100%; height: 360px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --section-y: 56px; }
  .grid-3, .grid-4, .grid-5, .form { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; gap: 8px; }
  .slider-track img { flex-basis: 88%; height: 300px; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 220px; }
  .form-card, .custom-box { padding: 24px; }
  .lang-switch a, .lang-switch span { padding: 7px 9px; }
  .actions .btn { width: 100%; }
}

/* ---------- SEO / accesibilidad ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
h1.label.eyebrow { font-size: 17px; line-height: 1.3; }
.headline { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }

.page-intro { padding-top: 64px; text-align: center; }
.page-intro p { max-width: 640px; margin: 18px auto 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chips a {
  padding: 8px 18px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-family: var(--font-nav);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.chips a:hover { background: var(--green); color: var(--cream); }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0 0 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* ---------- Imágenes responsive ---------- */
picture { display: contents; }
picture > source { display: none; }

@media (max-width: 560px) {
  .section--photo { background-image: var(--bg-sm, var(--bg)); }
}

/* ---------- Botones del inicio: en móvil, justo debajo del título ---------- */
.hero-actions { padding-top: 12px; }

@media (max-width: 960px) {
  .home-hero { padding-top: 24px; }
  .home-hero .stack { display: flex; flex-direction: column; gap: 18px; }
  .home-hero .stack > * { margin-top: 0; }
  .home-hero .hero-actions { order: 1; padding-top: 4px; }
  .home-hero .hero-intro { order: 2; }
  .home-hero .hero-points { order: 3; }
}

@media (max-width: 560px) {
  .home-hero .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .home-hero .hero-actions .btn { flex: 1 1 0; width: auto; min-width: 0; padding: 10px 8px; font-size: 15px; }
}
