/* Reset / base */
body.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1;
}

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

body.page {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f7f7fb;
  color: #111827;
  line-height: 1.6;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 6vw;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 50px; /* adjusts size */
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: #4b5563;
}

.nav a:hover {
  color: #2b6cda;
}

.nav a.active {
  color: #2b6cda;
  font-weight: 600;
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2b6cda;
  border-radius: 999px;
}

/* Hide button by default (desktop) */
.nav-toggle {
  display: none;
}

/* Layout */
.main {
  padding: 2.5rem 6vw 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer {
  padding: 1.5rem 6vw 2rem;
  background: #111827;
  color: #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
}

.footer-sub {
  margin-top: 0.25rem;
  color: #9ca3af;
}

/* Hero */
/* HERO WAVE LAYOUT */
.hero-wave {
  position: relative;
  min-height: 520px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0)),
    url("/images/hero/planta.png");
  background-size: cover;
  background-position: center;
}

.hero-wave::before {
  content: "";
  position: absolute;
  bottom: -140px; /* was -180 */
  left: 0;
  right: 0;
  height: 280px; /* was 360 */
  background: linear-gradient(135deg, #2b6cda, #2c489f);
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

.hero-wave::after {
  content: "";
  position: absolute;
  bottom: calc(-140px + 6px);
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to right, #edd500, #ffef31);
  border-radius: 50% 50% 0 0;
  z-index: 2;
}

/* TEXT BLOCK */
.hero-wave__content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding: 4rem 6vw;
  color: #ffffff;
}

/* Make text readable even without image */
.hero-wave .hero-title {
  color: #ffffff;
}

.hero-wave .hero-subtitle,
.hero-wave .hero-meta {
  color: #f1f5f9;
}

.hero-wave .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.hero-wave .btn-primary {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero-wave {
  margin-left: calc(-6vw);
  margin-right: calc(-6vw);
  border-radius: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 10rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #fbf4a2; /* soft yellow */
  color: #92400e;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #edd500;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0.9rem 0 0.4rem;
  color: #111827;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 32rem;
}

.hero-meta {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.hero-meta strong {
  color: #111827;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.hero-media img {
  width: 420px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.btn-primary,
.btn-secondary {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

/* Primary = blue */
.btn-primary {
  background: linear-gradient(135deg, #2b6cda, #2c489f);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Secondary = outline */
.btn-secondary {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

.btn-secondary:hover {
  border-color: #2b6cda;
  color: #2b6cda;
}

/* Sections */
.section {
  margin-bottom: 5rem;
}

.section h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  margin-bottom: 0.6rem;
  color: #111827;
}

.section p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* Mission & Vision: soft blocks (not cards) */
.mission-vision {
  margin-top: 2.5rem;
}

.section-lead {
  color: #4b5563;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  max-width: 70ch;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}

.mv-block {
  padding: 1.35rem 1.45rem; /* more breathing room */
  border-radius: 22px; /* rounder */
  background: rgba(43, 108, 218, 0.06);
  border: 1px solid rgba(43, 108, 218, 0.12);
}

.mv-block:nth-child(2) {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px; /* keep consistent */
}

@media (max-width: 640px) {
  .mv-block {
    padding: 1.5rem 1.25rem; /* more padding on small screens */
    border-radius: 24px; /* a touch more rounded on mobile */
  }
}

.mv-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #fbf4a2; /* soft yellow from your palette */
  color: #92400e;
  margin-bottom: 0.9rem;
}

.mv-text {
  margin: 0;
  color: #1f2937;
  line-height: 1.65;
}

/* Make Vision a touch calmer to reduce “card fatigue” */
.mv-block:nth-child(2) {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

/* Responsive: stack */
@media (max-width: 900px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch; /* 👈 default, but good to be explicit */
  text-align: center;
}

.product-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.8rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-image {
  height: 190px; /* tweak as needed */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-image img {
  max-height: 100%;
  width: auto;
  display: block;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.4rem;
}

/* Let the text “take up” the free vertical space */
.product-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1.2rem;
  flex: 1; /* 👈 key line */
}

/* Push the button to the bottom of the card */
.product-card .btn-outline-blue {
  margin-top: auto; /* 👈 key line */
}

/* Product button - blue gradient to match site theme */
.btn-outline-blue {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2b6cda, #2c489f);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: filter 0.2s ease;
  letter-spacing: normal;
}

.btn-outline-blue:hover {
  filter: brightness(1.1);
}

/* Products tiles (equal importance, not card-y) */
.products-tiles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

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

/* Tile style: minimal, catalog-like */
.product-tile {
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  padding: 0.9rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  display: grid;
  gap: 0.85rem;
}

.product-tile:hover {
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.product-tile-media {
  border-radius: 16px;
  border: 1px solid #eef2f7;
  padding: 0.75rem;
  place-items: center;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-tile-body {
  display: grid;
  gap: 0.35rem;
}

.product-tile-title {
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  line-height: 1.2;
}

.product-tile-sub {
  color: #6b7280;
  line-height: 1.45;
  font-size: 0.95rem;
}

.product-tile-cta {
  margin-top: 0.2rem;
  color: #2b6cda; /* brand blue */
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Small badge (doesn't change size/importance) */
.product-badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #fbf4a2;
  color: #92400e;
  flex: none;
}

/* Responsive */
@media (max-width: 980px) {
  .products-tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products-tiles-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .products-tiles-grid {
    grid-template-columns: 1fr;
  }

  .product-tile {
    border-radius: 22px;
    padding: 1rem;
  }

  .product-tile-media {
    border-radius: 18px;
  }
}
/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: #111827;
}

.card p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* Cards with media (Qué ofrece...) */
.cards.cards--with-media .card-offer {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 160px; /* tweak for more/less image */
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.card-body h3 {
  margin-bottom: 0.35rem;
}

.card-body p {
  margin: 0;
}

/* Team */
.team-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.team-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.6rem;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2b6cda, #2c489f); /* blues */
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-role {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.team-bio {
  font-size: 0.9rem;
  color: #4b5563;
}

/* Responsive for team section */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Recipe Gallery */
.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.recipe-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.recipe-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-item h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

/* Section CTA */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Recipe gallery responsive */
@media (max-width: 768px) {
  .recipe-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .recipe-gallery {
    grid-template-columns: 1fr;
  }
}

/* Recipes Page */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.recipe-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
  position: relative;
}

.recipe-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.recipe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.75rem 0;
}

.recipe-card-content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  flex: 1;
}

.recipe-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, #2b6cda, #2c489f);
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: filter 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}

.recipe-card-button:hover {
  filter: brightness(1.1);
}

/* Recipes page responsive */
@media (max-width: 960px) {
  .recipes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

/* Video section */
.section-video {
  background: linear-gradient(135deg, #fef9e7 0%, #fbf4a2 100%);
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.section-video h2 {
  text-align: center;
  color: #92400e;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 6vw;
}

/* Recipe section */
.section-recipes {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.section-recipes h2 {
  text-align: center;
  color: #1e40af;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 6vw;
}

.section-recipes p {
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 6vw;
}

.section-recipes .recipe-gallery {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 6vw;
}

.section-recipes .section-cta {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 6vw;
}

/* Video */
.video-container {
  max-width: 800px;
  margin: 1.4rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 9;
}

.company-video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form label {
  font-size: 0.82rem;
  color: #4b5563;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
}

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

.form button {
  align-self: flex-start;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.contact-card p + p {
  margin-top: 0.7rem;
}

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input,
textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 8px;
}

.why-us {
  max-width: 1100px;
  margin: 0 auto;
  /* padding: 4rem 1.5rem; */
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Timeline */
.timeline {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.timeline-marker {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #2b6cda;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #e5e7eb;
  margin-left: 9px;
  margin-top: 14px;
  z-index: 2;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.timeline-year {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #fbf4a2; /* soft yellow */
  color: #92400e;
}

.timeline-title {
  font-size: 1.05rem;
  margin: 0;
  color: #111827;
}

.timeline-text {
  margin-top: 0.35rem;
  color: #4b5563;
  font-size: 0.95rem;
}

/* Gallery */
.timeline-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.timeline-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.timeline-photo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.timeline-photo img.js-lightbox-img {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.timeline-photo img.js-lightbox-img:hover {
  transform: scale(1.02);
}

/* Tone variations: documentary vs polished */
.timeline-item--documentary .timeline-photo {
  border-radius: 10px;
  border-color: #e5e7eb;
}

.timeline-item--polished .timeline-photo {
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

/* Mixed: subtle */
.timeline-item--mixed .timeline-photo {
  border-radius: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .timeline-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    grid-template-columns: 32px 1fr;
    gap: 0.9rem;
  }

  .timeline-marker {
    margin-left: 6px;
  }

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

  .timeline-photo img {
    height: 170px;
  }
}

/* Alert base */
.alert {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid transparent;
}

/* Success (Vuetify-ish green) */
.alert--success {
  background-color: #e8f5e9;
  color: #1b5e20;
  border-color: #a5d6a7;
}

/* Error (Vuetify-ish red) */
.alert--error {
  background-color: #fdecea;
  color: #b71c1c;
  border-color: #f5c6cb;
}

/* Optional info */
.alert--info {
  background-color: #e3f2fd;
  color: #0d47a1;
  border-color: #90caf9;
}

/* Lightbox */
.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox[data-open="true"] {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.78);
}

.lightbox-panel {
  position: relative;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 4.5rem 4vw 3.5rem;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: min(82vh, 720px);
  width: 100%;
  display: grid;
  gap: 0.7rem;
}

.lightbox-full {
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-caption {
  color: #e5e7eb;
  font-size: 0.9rem;
  text-align: center;
}

/* Controls */
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 24, 39, 0.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 24, 39, 0.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-prev {
  left: 16px;
}
.lightbox-next {
  right: 16px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  filter: brightness(1.08);
}

/* Mobile: bring buttons in */
@media (max-width: 640px) {
  .lightbox-panel {
    padding: 4.2rem 3vw 3rem;
  }

  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    font-size: 0.85rem;
  }
}

/* ===== Pillars section ===== */
.pillars {
  --blue-900: #0b2a45; /* dark */
  --blue-600: #6fb2ff; /* light */
  --blue-050: #ffffff; /* white */
  --text-dark: #0b2a45;

  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 5rem;
  /* padding: 4rem 1.5rem; */
}

.pillars__header {
  margin-bottom: 1.5rem;
}

.pillars__header h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  margin: 0 0 0.5rem 0;
}

.pillars__header p {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  max-width: 65ch;
}

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

/* ===== Panel base ===== */
.pillar {
  border-radius: 20px;
  padding: 2rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
}

.pillar h3 {
  font-size: clamp(1.3rem, 1.6vw, 2.2rem);
  line-height: 1.05;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 0 0 1.75rem 0;
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 52ch;
}

/* ===== Variants ===== */
.pillar--dark {
  background: var(--blue-900);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.pillar--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.pillar--light {
  background: var(--blue-600);
  color: var(--text-dark);
}

.pillar--light p {
  color: rgba(11, 42, 69, 0.8);
}

.pillar--white {
  background: var(--blue-050);
  color: var(--text-dark);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.25);

  width: fit-content;
}

.pillar--white .btn,
.pillar--light .btn {
  background: var(--blue-900);
  color: #fff;
  border-color: transparent;
}

.btn--outline {
  background: transparent !important;
  border: 1px solid rgba(11, 42, 69, 0.25) !important;
  color: var(--text-dark) !important;
}

/* Partners section — logo row style */
.partners {
  margin-bottom: 3rem;
  overflow: hidden;
}

.partners-head {
  margin-bottom: 2rem;
}

.partners-strip {
  background: transparent;
  border: 0;
  padding: 1rem 0;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
}

.partners-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  max-width: 100%;
}

/* Each logo */
.partner-logo {
  color: #9ca3af;
  opacity: 0.6;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  line-height: 1.2;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
  user-select: none;
  white-space: nowrap;
  text-align: center;
}

.partner-logo:hover {
  opacity: 0.9;
  color: #6b7280;
}

/* Tablet breakpoint */
@media (max-width: 768px) {
  .partners-track {
    gap: 2rem;
    padding: 0.75rem 0;
  }
  
  .partner-logo {
    font-size: 0.9rem;
  }
}

/* Mobile: reduce gap, keep wrapping for better balance */
@media (max-width: 640px) {
  .partners-track {
    gap: 1.5rem;
    padding: 0.5rem 0;
    row-gap: 1rem;
  }
  
  .partner-logo {
    font-size: 0.85rem;
    flex: 0 0 auto;
  }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .pillars__grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }

  .feature-media {
    display: flex;
    justify-content: center;
  }
}
/* Responsive products grid */
@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media img {
    width: 100%;
    max-width: 420px;
  }

  .video-container {
    margin-left: 2rem;
    margin-right: 2rem;
    max-width: calc(100% - 4rem);
    aspect-ratio: 4 / 3;
  }

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

  .nav a {
    margin-left: 0.9rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.9rem 5vw;
  }

  /* Show the hamburger, hide the nav row */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    margin: 0 auto;
  }

  .nav {
    position: absolute;
    top: 56px; /* just below header */
    right: 5vw;
    left: auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    min-width: 170px;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    width: 100%;
  }
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero-wave {
    min-height: 380px;
    border-radius: 0; /* flush with edges on small screens, if you like */
  }

  .hero-wave::before {
    bottom: -20%;
    height: 75%;
  }

  .hero-wave::after {
    bottom: calc(-20% + 2px);
  }

  .hero-wave__content {
    max-width: 100%;
    padding: 2.6rem 6vw 3rem;
  }
}

@media (max-width: 640px) {
  .hero-wave {
    min-height: 360px;
  }

  .hero-wave__content {
    padding-top: 2.2rem;
  }

  .hero-wave .hero-title {
    font-size: 1.85rem;
  }
}

/* RESPONSIVE HELPERS */
@media (max-width: 900px) {
  .hero-wave {
    min-height: 480px;
  }
  .hero-wave::before {
    bottom: -160px;
    height: 320px;
  }
  .hero-wave::after {
    bottom: calc(-160px + 6px);
  }
}
