/* UPP El Molino HVL · Landing page */
:root {
  --deep-green: #133d34;
  --forest: #1f5b4d;
  --river: #1e7c89;
  --aqua: #62c6c9;
  --cream: #f6f1e7;
  --sand: #e4d1ac;
  --clay: #c57445;
  --ink: #17221f;
  --muted: #65736f;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(19, 61, 52, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 18%, rgba(98, 198, 201, 0.34), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(197, 116, 69, 0.18), transparent 26%),
    linear-gradient(135deg, #f6f1e7 0%, #eef4ed 52%, #dfeeea 100%);
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 61, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 61, 52, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.navbar {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 12px 10px 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(19, 61, 52, 0.09);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(19, 61, 52, 0.08);
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--deep-green);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--river);
}

.nav-cta {
  background: var(--deep-green);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--deep-green);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 42px 0 86px;
}

.eyebrow,
.section-kicker {
  color: var(--river);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
  color: var(--deep-green);
}

h1 {
  font-size: clamp(2.2rem, 9vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  word-break: break-word;
  max-width: 980px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

p {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.hero-lead {
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  color: #30413d;
  max-width: 770px;
  font-weight: 520;
}

.hero-support {
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--deep-green);
  box-shadow: 0 16px 30px rgba(19, 61, 52, 0.24);
}

.btn-primary:hover {
  background: var(--forest);
}

.btn-secondary {
  color: var(--deep-green);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 61, 52, 0.13);
}

.hero-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(19, 61, 52, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-image-placeholder {
  min-height: 420px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(19, 61, 52, 0.18), rgba(19, 61, 52, 0.58)),
    url("images/hero-molino.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-image-placeholder span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
}

.hero-image-placeholder strong {
  max-width: 420px;
  font-size: 1.8rem;
  line-height: 1.1;
  margin-top: 8px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.quick-facts div {
  background: #f8fbf8;
  border-radius: 18px;
  padding: 16px;
}

.quick-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.quick-facts strong {
  color: var(--deep-green);
  font-size: 0.92rem;
  line-height: 1.2;
}

.section {
  padding: 108px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: start;
}

.intro-section {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 720px;
}

.products-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(98, 198, 201, 0.24), transparent 24%),
    var(--cream);
}

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

.product-card,
.client-grid article,
.contact-card,
.impact-card,
.visit-box {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(19, 61, 52, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(19, 61, 52, 0.08);
}

.product-card {
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  background: rgba(30, 124, 137, 0.11);
  color: var(--river);
  font-weight: 900;
}

.accent-card {
  background: var(--deep-green);
}

.accent-card h3,
.accent-card p,
.accent-card .product-icon {
  color: var(--white);
}

.accent-card .product-icon {
  background: rgba(255, 255, 255, 0.12);
}

.clients-section {
  background: var(--white);
}

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

.client-grid article {
  padding: 32px;
}

.client-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(197, 116, 69, 0.13);
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.standards-section {
  background: var(--deep-green);
}

.standards-section h2,
.standards-section h3 {
  color: var(--white);
}

.standards-section p {
  color: rgba(255, 255, 255, 0.72);
}

.standards-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.standards-list {
  display: grid;
  gap: 16px;
}

.standards-list div {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-section {
  background:
    linear-gradient(135deg, rgba(30, 124, 137, 0.08), rgba(197, 116, 69, 0.08)),
    var(--cream);
}

.impact-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

.impact-card {
  padding: 48px;
}

.impact-metrics {
  display: grid;
  gap: 16px;
}

.impact-metrics div {
  border-radius: 24px;
  padding: 28px;
  background: var(--deep-green);
  color: var(--white);
}

.impact-metrics strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.impact-metrics span {
  color: rgba(255, 255, 255, 0.76);
}

.innovation-section {
  background: var(--white);
}

.visit-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(98, 198, 201, 0.3), transparent 22%),
    var(--cream);
}

.visit-box {
  padding: 42px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}

.visit-box > div {
  max-width: 760px;
}

.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 34px;
}

.contact-card p {
  margin-bottom: 10px;
}

.contact-card a {
  color: var(--river);
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  background: var(--deep-green);
  padding: 42px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.footer-logo {
  width: 120px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(19, 61, 52, 0.26);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 10px 6px;
  }

  .hero,
  .two-column,
  .standards-layout,
  .impact-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 20px;
  }

  .product-grid,
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .visit-box,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .hero,
  .navbar {
    width: min(100% - 28px, 1160px);
  }

  .brand-logo {
    width: 126px;
  }

  h1 {
    font-size: clamp(2.6rem, 18vw, 4.3rem);
  }

  .section {
    padding: 72px 0;
  }

  .product-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

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

  .impact-card,
  .visit-box {
    padding: 30px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {

  h1 {
    font-size: clamp(2rem, 8.5vw, 3.2rem);
    line-height: 1.1;
  }

  .hero {
    padding: 10px 0 40px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-lead,
  .hero-support {
    font-size: 0.95rem;
  }

}
