:root {
  color-scheme: light;
  --ink: #1e3232;
  --ink-soft: #314b48;
  --mint: #31f59a;
  --mint-dark: #17b978;
  --text: #7a7a7a;
  --paper: #ffffff;
  --wash: #f4f8f6;
  --line: #dce8e3;
  --heading: 'Trebuchet MS', Arial, sans-serif;
  --body: 'Trebuchet MS', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font: 16px/1.72 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--mint-dark); outline-offset: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; color: #fff; background: var(--ink); }
.skip-link:focus { left: 8px; }
.site-header { background: #fff; }
.header-inner { width: min(1160px, calc(100% - 48px)); min-height: 142px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: min(390px, 50vw); }
.phone-link { display: inline-flex; align-items: center; gap: 12px; color: #737779; font: 500 20px/1.2 var(--heading); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.phone-link:hover { color: var(--mint-dark); }
.whatsapp-icon { width: 29px; height: 29px; fill: currentColor; color: var(--ink-soft); }

.hero { padding: 0; text-align: center; }
.hero-inner { padding: 21px 12px 18px; background: var(--ink); }
.hero h1 { max-width: none; margin: 0 auto; color: #fff; font: 700 clamp(20px, 2.7vw, 40px)/1.12 var(--heading); letter-spacing: .01em; white-space: nowrap; }
.hero-accent { height: 13px; background: var(--mint); }

.section-pad { padding: 78px 24px; }
.profile-contact { background: var(--wash); }
.profile-contact-inner, .about-inner { width: min(1120px, 100%); margin: 0 auto; }
.profile-contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 64px); }
.profile-left { min-width: 0; }
.profile-photo { margin: 0 auto 28px; width: min(100%, 390px); }
.profile-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 34%; }
.profile-copy h2, .about-block h2, .section-heading h2, .certified h2 { color: var(--ink); font-family: var(--heading); line-height: 1.2; }
.profile-copy h2 { margin: 0 0 5px; font-size: clamp(24px, 2.2vw, 32px); }
.eyebrow { margin: 0 0 10px; color: var(--mint-dark); font: 700 17px/1.35 var(--heading); letter-spacing: .06em; text-transform: uppercase; }
.profile-copy p:not(.eyebrow) { margin: 19px 0 0; }
.profile-right { min-width: 0; }
.section-heading { max-width: 740px; margin: 0 auto 24px; text-align: center; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--mint-dark); font: 700 18px/1.4 var(--heading); letter-spacing: .15em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 3vw, 38px); }
.section-heading p { margin: 12px 0 0; }
.form-frame { width: 100%; min-height: 680px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 16px 48px rgba(32,55,53,.07); }
.form-frame iframe { display: block; width: 100%; height: 760px; border: 0; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.photo-pair img { width: 100%; height: clamp(220px, 31vw, 430px); object-fit: cover; }

.certified { position: relative; overflow: hidden; background: var(--ink); }
.certified-shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,44,42,.95), rgba(20,44,42,.78)), url('../img/mapamendoza.gif') center/cover no-repeat; opacity: .94; }
.certified-inner { position: relative; width: min(1100px, 100%); margin: 0 auto; text-align: center; }
.certified h2 { max-width: 780px; margin: 0 auto 44px; color: #fff; font-size: clamp(27px, 3vw, 40px); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.product-card { padding: 27px 18px 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.product-card img { width: min(142px, 70%); aspect-ratio: 1; margin: 0 auto 18px; }
.product-card h3 { margin: 0; color: var(--ink); font: 700 17px/1.4 var(--heading); }

.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(38px, 6vw, 78px); }
.about-block h2 { margin: 0 0 17px; font-size: clamp(25px, 2.45vw, 34px); }
.about-block p { margin: 0 0 18px; }
.food-image { width: 100%; max-height: 390px; margin-top: 26px; object-fit: cover; border-radius: 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.stats-grid img { width: 100%; border-radius: 5px; }
.stats-grid-bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.site-footer { color: rgba(255,255,255,.78); background: #1c302f; }
.footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 55px 0 42px; display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: center; gap: 52px; }
.footer-brand img { width: min(230px, 100%); margin: 0 auto; }
.footer-column h2 { margin: 0 0 13px; color: #fff; font: 700 17px/1.35 var(--heading); letter-spacing: .05em; }
.footer-column p { margin: 5px 0; }
.footer-column a { display: inline-block; margin-top: 7px; color: #fff; text-decoration-color: var(--mint); text-underline-offset: 4px; }
.footer-name { color: var(--mint); font-weight: 700; }
.footer-bottom { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 17px 0 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 760px) {
  body { font-size: 15px; line-height: 1.62; }
  .header-inner { width: calc(100% - 32px); min-height: 0; padding: 24px 0 15px; flex-direction: column; gap: 15px; }
  .brand img { width: min(100%, 360px); }
  .phone-link { gap: 8px; font-size: 18px; }
  .whatsapp-icon { width: 25px; height: 25px; }
  .hero { padding: 0; }
  .hero-inner { padding: 12px 14px 10px; }
  .hero h1 { font-size: clamp(22px, 4.8vw, 30px); line-height: 1.12; white-space: normal; }
  .hero-accent { height: 10px; }
  .section-pad { padding: 55px 22px; }
  .profile-contact-inner { grid-template-columns: 1fr; gap: 42px; }
  .profile-photo { width: min(100%, 330px); margin-bottom: 23px; }
  .profile-copy { text-align: center; }
  .profile-copy h2 { font-size: 23px; }
  .profile-copy p:not(.eyebrow) { margin-top: 15px; text-align: left; }
  .section-heading { margin-bottom: 22px; }
  .form-frame { min-height: 780px; border-radius: 7px; }
  .form-frame iframe { height: 850px; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { height: 260px; }
  .certified h2 { margin-bottom: 30px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .product-card { padding: 18px 10px; }
  .product-card img { width: min(110px, 72%); margin-bottom: 12px; }
  .product-card h3 { font-size: 14px; }
  .about-inner { grid-template-columns: 1fr; gap: 46px; }
  .stats-grid { gap: 8px; }
  .footer-inner { width: calc(100% - 40px); padding: 42px 0 32px; grid-template-columns: 1fr; gap: 27px; text-align: center; }
  .footer-brand img { width: 180px; }
  .footer-column h2 { margin-bottom: 8px; }
  .footer-bottom { width: calc(100% - 40px); font-size: 12px; }
}

@media (max-width: 420px) {
  .section-pad { padding: 44px 16px; }
  .hero h1 { font-size: 22px; }
  .product-grid { gap: 10px; }
  .product-card img { width: min(90px, 72%); }
  .stats-grid-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
