/* Alimentos del Sureste */

:root {
  --teal: #1a5c5a;
  --teal-dark: #134442;
  --coral: #e07a4a;
  --coral-dark: #c9683d;
  --sand: #f5f0ea;
  --cream: #faf7f3;
  --text: #2a2f2e;
  --text-muted: #6b726f;
  --white: #ffffff;
  --border: #e8e2da;
  --font: 'DM Sans', sans-serif;
  --header-h: 72px;
  --max-w: 1140px;
  --gutter: 1.5rem;
  --ease: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.section-head { margin-bottom: 2.5rem; }
.section-head--center { text-align: center; }

.section-head h2,
.about__copy h2,
.services h2,
.products h2,
.process h2,
.testimonials h2,
.contact__info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn--primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,122,74,0.35);
}

.btn--full { width: 100%; }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.icon--contact {
  width: 40px;
  height: 40px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--teal);
}

.icon--contact svg { width: 18px; height: 18px; }

/* ── Header · barra de acento ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--coral);
}

.header.scrolled { box-shadow: 0 4px 24px rgba(26,92,90,0.08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  flex-shrink: 0;
}

.header__brand--footer { color: var(--white); }

.header__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
}

.header__brand--footer .header__mark {
  background: rgba(255,255,255,0.12);
  color: var(--coral);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--ease);
}

.nav__link:hover,
.nav__link.active { color: var(--coral); }

.header__cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  transition: var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero · minimal ── */
.hero {
  padding-top: var(--header-h);
}

.hero__inner {
  text-align: center;
  padding: 5rem 0 3rem;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.hero__inner h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.hero__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--coral);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 3px;
  transition: color var(--ease), border-color var(--ease);
}

.hero__link:hover {
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.hero__image {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

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

/* ── Nosotros · con cita ── */
.about {
  padding: 5rem 0;
  background: var(--sand);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about__copy strong { color: var(--teal); }

.about__quote {
  background: var(--teal);
  color: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
}

.about__quote p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  opacity: 0.92;
}

.about__quote cite {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--coral);
}

/* ── Servicios ── */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 2rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform var(--ease), border-color var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
}

.service-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--teal);
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Productos · filas ── */
.products {
  padding: 5rem 0;
  background: var(--cream);
}

.products__rows {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.product-row--reverse { direction: rtl; }
.product-row--reverse > * { direction: ltr; }

.product-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(26,92,90,0.1);
}

.product-row__text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.product-row__text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Proceso · horizontal ── */
.process {
  padding: 5rem 0;
  background: var(--white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process__steps article {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}

.process__steps h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.process__steps p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Testimonios ── */
.testimonials {
  padding: 5rem 0;
  background: var(--sand);
}

.testimonials h2 { margin-bottom: 2rem; }

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

.testimonials__grid blockquote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.testimonials__grid blockquote > p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.testimonials__grid footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonials__grid footer strong {
  display: block;
  font-size: 0.85rem;
  color: var(--teal);
}

.testimonials__grid footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── CTA · teléfono ── */
.cta {
  padding: 3rem 0;
  background: var(--teal);
  color: var(--white);
}

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

.cta__inner h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cta__inner p {
  font-size: 0.9rem;
  opacity: 0.75;
}

.cta__phone {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  transition: background var(--ease), border-color var(--ease);
}

.cta__phone:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ── Contacto ── */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact__list strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 4px;
}

.contact__list span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact__form {
  background: var(--sand);
  border-radius: 10px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-notice {
  margin-top: 1rem;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  text-align: center;
}

.form-notice.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ── Footer ── */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer__brand p {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  opacity: 0.65;
  line-height: 1.5;
}

.footer__col strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.footer__col p,
.footer__col a {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.65;
}

.footer__col a {
  display: block;
  padding: 0.25rem 0;
  transition: opacity var(--ease), color var(--ease);
}

.footer__col a:hover {
  opacity: 1;
  color: var(--coral);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}

.footer__bottom p {
  font-size: 0.78rem;
  opacity: 0.45;
  text-align: center;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .product-row,
  .product-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__image img { height: 280px; }
}

@media (max-width: 768px) {
  .header__cta { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 1rem var(--gutter);
    box-shadow: 0 8px 24px rgba(26,92,90,0.1);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--ease);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .header__brand span:not(.header__mark) { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .hero__inner { padding: 3rem 0 2rem; }
}

@media (min-width: 769px) {
  .header__cta { display: inline-flex; }
}
