:root {
  --bg: #ffffff;
  --text: #161616;
  --muted: #5f5f5f;
  --line: #e9e7df;
  --soft: #faf8f2;
  --soft-2: #f3efe4;
  --dark: #111111;
  --dark-soft: #191919;
  --accent: #2f6a36;
  --accent-2: #8fb86b;
  --gold: #b99a58;
  --shadow: 0 18px 45px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img,
.footer-logo {
  height: 56px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  position: relative;
  opacity: .88;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.nav a:hover::after { width: 100%; }
.nav a:hover { opacity: 1; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.98rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.button-dark {
  background: var(--dark);
  color: white;
}

.button-light {
  background: white;
  color: var(--dark);
}

.button-outline {
  border-color: rgba(255,255,255,.25);
  color: white;
}

.full { width: 100%; }

.menu-toggle,
.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(255,255,255,.32), rgba(255,255,255,.88)),
    linear-gradient(to right, rgba(17,17,17,.18), rgba(17,17,17,.02));
}

.hero-content {
  position: relative;
  max-width: 860px;
  text-align: center;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  color: rgba(255,255,255,.78);
}

.eyebrow-dark { color: #717171; }

h1, h2, h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: .98;
}

h1 { font-size: clamp(4rem, 9vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.9rem; }

.hero-subtitle {
  margin: 0.9rem 0 0;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: #4d4d4d;
  font-size: .95rem;
}

.hero-text,
.section-heading p,
.section p,
.metric-card p,
.contact-section p,
.contact-list,
.highlight-card p,
figcaption {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: #414141;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-actions { justify-content: center; }

.hero-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.hero-tags span,
.info-chips span {
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.82);
  padding: .72rem 1rem;
  border-radius: 999px;
  color: #333;
  font-size: .94rem;
  backdrop-filter: blur(6px);
}

.section { padding: 6rem 0; }
.section-light { background: var(--soft); }
.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark p,
.section-dark .contact-list,
.section-dark a,
.section-dark .eyebrow { color: rgba(255,255,255,.82); }

.grid-two,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.media-card,
.product-card,
.highlight-card,
.metric-card,
.gallery-grid figure,
.contact-form {
  border-radius: 28px;
  overflow: hidden;
}

.media-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-card.tall img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.highlights-section {
  padding-top: 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.highlight-card {
  background: linear-gradient(180deg, #ffffff, #f8f5ec);
  border: 1px solid var(--line);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.highlight-card strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: .55rem;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.products-grid {
  display: grid;
  gap: 1.4rem;
}

.products-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 255px;
  object-fit: cover;
}

.product-copy { padding: 1.35rem 1.3rem 1.5rem; }
.product-copy p {
  margin: .7rem 0 0;
  font-size: .98rem;
  line-height: 1.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.metric-card {
  background: linear-gradient(180deg, #1a1a1a, #141414);
  border: 1px solid rgba(255,255,255,.08);
  padding: 2rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

figcaption {
  padding: .95rem 1rem 1.05rem;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1.4;
}

.contact-section { color: white; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.contact-list li { margin-bottom: .75rem; }

.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  padding: 2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form span {
  display: block;
  font-size: .92rem;
  margin-bottom: .55rem;
  color: rgba(255,255,255,.82);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: white;
  border-radius: 16px;
  padding: 1rem 1rem;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,.45);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
  padding: 2rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap p {
  margin: 0;
  color: #666;
}

@media (max-width: 1100px) {
  .products-grid-4,
  .gallery-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .menu-button {
    margin-left: auto;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: white;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    background: #111;
    display: block;
  }

  .menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .nav-cta { display: none; }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 82px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    display: none;
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

  .grid-two,
  .contact-grid,
  .highlights-grid,
  .metrics-grid,
  .products-grid-4,
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }

  .media-card.tall img { min-height: 360px; }
}

@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  .hero { min-height: 86vh; }
  .hero-content { padding: 2.5rem 0; }
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  .button { width: 100%; }
  .hero-actions,
  .contact-actions { flex-direction: column; }
  .gallery-grid img,
  .product-card img { height: 220px; }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}


/* Enterprise refinements */
.site-header{box-shadow:0 10px 30px rgba(0,0,0,.04);}
.brand img,.footer-logo{filter:drop-shadow(0 4px 10px rgba(0,0,0,.08));}
.hero-content{max-width:920px;}
.hero-seal{display:inline-flex;align-items:center;justify-content:center;margin-top:1.25rem;padding:.7rem 1.05rem;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid rgba(0,0,0,.08);backdrop-filter:blur(8px);font-size:.92rem;font-weight:600;color:#2f2f2f;}
.button-light{background:linear-gradient(135deg,#ffffff,#f1ede4);color:var(--dark)!important;border-color:rgba(0,0,0,.06);}
.button-dark{background:linear-gradient(135deg,var(--accent),#214d2a);color:#fff!important;}
.button-outline{border-color:rgba(255,255,255,.35);color:#fff!important;background:transparent;}
.contact-section .button-light{background:linear-gradient(135deg,#25D366,#1fa855);color:#fff!important;border:none;box-shadow:0 10px 24px rgba(37,211,102,.22);}
.contact-section .button-outline{background:transparent;color:#fff!important;border:1px solid rgba(255,255,255,.3);}
.contact-section .button{min-width:180px;}
.section-dark a.button{color:inherit!important;}
.metric-card-accent{background:linear-gradient(135deg,#1b3d21,#264f2b);border-color:rgba(143,184,107,.24);}
.highlight-card,.product-card,.gallery-grid figure,.metric-card,.contact-form,.media-card{transition:transform .25s ease, box-shadow .25s ease,border-color .25s ease;}
.highlight-card:hover,.product-card:hover,.gallery-grid figure:hover,.metric-card:hover,.media-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(0,0,0,.12);}
.section-heading h2{position:relative;display:inline-block;}
.section-heading h2::after{content:"";display:block;width:64px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--gold));margin:.85rem auto 0;}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:rgba(255,255,255,.28);box-shadow:0 0 0 4px rgba(255,255,255,.06);}
.footer-wrap p{font-weight:600;}
@media (max-width:640px){.hero-seal{font-size:.84rem;text-align:center;}.contact-section .button{min-width:0;}}


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

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-copy {
  padding: 16px;
}


.about-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 16px;
}


#nosotros .media-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
}

#nosotros .about-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 16px;
}


/* Chips animación suave */
.products-tags span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #333;
  font-size: 14px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.products-tags span:hover {
  background: #ffffff;
  transform: translateY(-2px) scale(1.05);
  border: 1px solid #2e6b3b;
  box-shadow: 0 6px 16px rgba(46, 107, 59, 0.15);
  color: #2e6b3b;
}

.products-tags span:active {
  transform: scale(0.97);
}
