/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: #0F0F0F;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.serif { font-family: "Baskervville", serif; }

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 1152px;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 48px; }
  .container--narrow { padding: 0 48px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 96px; }
  .container--narrow { padding: 0 64px; }
}

.icon-arrow { transition: transform .2s ease, color .2s ease; flex-shrink: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, outline-color .2s ease;
}
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn--solid { background: #fff; color: #0D1220; }
.btn--solid:hover { background: transparent; color: #fff; outline: 1px solid #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: #0D1220; }

.btn--outline-dark { background: transparent; color: #020C26; border-color: #020C26; }
.btn--outline-dark:hover { background: #020C26; color: #fff; }

.btn--outline-dark2 { background: transparent; color: #0F0F0F; border-color: #0F0F0F; }
.btn--outline-dark2:hover { background: #0F0F0F; color: #fff; }

.btn--solid-dark { background: #020C26; color: #fff; border-color: #020C26; }
.btn--solid-dark:hover { background: #0C4136; border-color: #0C4136; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(2, 12, 38, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
@media (min-width: 768px) { .header-inner { padding: 32px 48px; } }
@media (min-width: 1024px) { .header-inner { padding: 32px 96px; } }

.logo-img { height: 40px; width: auto; }
@media (min-width: 768px) { .logo-img { height: 56px; } }

.main-nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .main-nav { display: flex; } }

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  transition: color .2s ease;
}
.nav-link:hover { color: #818181; }
.nav-link--active { font-weight: 600; color: #818181; }

.consultas-btn {
  display: none;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  transition: color .2s ease;
}
.consultas-btn:hover { color: #818181; }
@media (min-width: 1024px) { .consultas-btn { display: flex; } }

.menu-toggle { background: none; border: none; color: #fff; padding: 4px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* mobile nav (slide-down panel) */
@media (max-width: 1023px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #020C26;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.is-open { display: flex; max-height: 320px; }
  .main-nav .nav-link { width: 100%; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin-top: -80px;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { margin-top: -120px; } }

.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video--a { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(0,0,0,.3);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 128px 24px 80px;
}
@media (min-width: 768px) { .hero-content { padding: 160px 48px 80px; } }
@media (min-width: 1024px) { .hero-content { padding: 192px 96px 128px; } }

.hero-text { max-width: 42rem; color: #fff; }
.hero-eyebrow { font-size: 14px; font-weight: 300; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
@media (min-width: 768px) { .hero-eyebrow { font-size: 16px; } }

.hero-title {
  margin-top: 12px;
  font-family: "Baskervville", serif;
  font-size: 2.25rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 86px; line-height: 1.1; } }

.hero-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* =========================================================
   PRODUCTOS
   ========================================================= */
.products { background: #E9E9E9; padding: 64px 0; }
@media (min-width: 768px) { .products { padding: 96px 0; } }

.products-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  padding: 24px;
  transition: border-color .2s ease;
  cursor: pointer;
}
@media (min-width: 768px) { .product-card { padding: 32px; } }
.product-card:hover { border-color: #020C26; }

.product-card__pretitle,
.product-card__title,
.product-card__desc {
  color: #4E5057;
  transition: color .2s ease;
}
.product-card:hover .product-card__pretitle,
.product-card:hover .product-card__title,
.product-card:hover .product-card__desc,
.product-card:hover .product-card__tag {
  color: #020C26;
}

.product-card__pretitle { font-family: "Baskervville", serif; font-size: 1.5rem; }
@media (min-width: 768px) { .product-card__pretitle { font-size: 1.875rem; } }

.product-card__title { font-family: "Baskervville", serif; font-size: 3rem; line-height: 1.1; }
@media (min-width: 768px) { .product-card__title { font-size: 3rem; } }
@media (min-width: 1024px) { .product-card__title { font-size: 3.2rem; } }
@media (min-width: 1445px) { .product-card__title { font-size: 4.5rem; } }

.product-card__tag {
  margin-top: 32px;
  align-self: flex-start;
  border: 1px solid #4E5057;
  padding: 8px 12px;
  font-size: 11px;
  color: #4E5057;
  transition: color .2s ease, border-color .2s ease;
}
.product-card:hover .product-card__tag { border-color: #020C26; }

.product-card__desc { margin-top: 24px; font-size: 16px; line-height: 1.6; }

.center-btn-wrap { margin-top: 48px; display: flex; justify-content: center; }

/* =========================================================
   MEDIO AMBIENTE
   ========================================================= */
.environment { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .environment { padding: 96px 0; } }

.environment-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .environment-grid { grid-template-columns: auto 1fr; align-items: start; gap: 64px; }
}

.environment-heading { }
@media (min-width: 1024px) { .environment-heading { max-width: 380px; } }

.environment-eyebrow {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #0C4136;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.environment-title {
  margin-top: 16px;
  font-family: "Baskervville", serif;
  font-size: 3rem;
  line-height: 1.05;
  color: #0C4136;
}
@media (min-width: 768px) { .environment-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .environment-title { font-size: 4.5rem; } }

.environment-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #0C4136;
}
@media (min-width: 768px) { .environment-body { font-size: 18px; } }
@media (min-width: 1024px) { .environment-body { padding-top: 40px; } }
.environment-body .btn { margin-top: 16px; align-self: flex-start; }

/* =========================================================
   MISION / VISION / VALORES
   ========================================================= */
.mvv { background: #fff; padding-bottom: 64px; }
@media (min-width: 768px) { .mvv { padding-bottom: 96px; } }

.mvv-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .mvv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.mvv-card {
  position: relative;
  background: #0C4136;
  color: #fff;
  padding: 32px;
}
@media (min-width: 768px) { .mvv-card { padding: 40px; } }

.mvv-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.8);
  transform: rotate(-45deg);
}

.mvv-card__title { font-family: "Baskervville", serif; font-size: 2.25rem; }
@media (min-width: 768px) { .mvv-card__title { font-size: 3rem; } }

.mvv-card__desc { margin-top: 24px; font-size: 16px; line-height: 1.6; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .contact { padding: 96px 0; } }

.contact-heading { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-title {
  font-family: "Baskervville", serif;
  font-size: 3rem;
  color: #020C26;
}
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .contact-title { font-size: 86px; line-height: 1.1; } }

.contact-subtitle { margin-top: 16px; font-size: 1.5rem; font-weight: 300; color: #020C26; }
@media (min-width: 768px) { .contact-subtitle { font-size: 1.875rem; } }

.contact-form {
  margin: 40px auto 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; color: #020C26; font-weight: 500; }
.form-field input,
.form-field textarea {
  border: 1px solid #C9C9C9;
  padding: 10px 12px;
  font: inherit;
  color: #0F0F0F;
  background: #fff;
  transition: border-color .2s ease;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: #020C26; }

.contact-form .btn { align-self: center; margin-top: 8px; }
.form-status { text-align: center; font-size: 14px; color: #0C4136; min-height: 1.2em; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #E9E9E9; }
.site-footer .container { padding-top: 40px; padding-bottom: 40px; }

.footer-cols {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid #020C26;
  padding-top: 32px;
  color: #020C26;
}
@media (min-width: 768px) {
  .footer-cols { flex-direction: row; justify-content: center; gap: 80px; }
}
.footer-col p { font-size: 16px; line-height: 1.6; margin: 0; }
.footer-strong { font-weight: 700; }
.footer-link:hover { text-decoration: underline; }

.footer-copy { margin-top: 32px; text-align: center; font-size: 14px; color: #020C26; }
@media (min-width: 768px) { .footer-copy { font-size: 16px; } }

/* =========================================================
   HEADER — variante degradé (páginas internas)
   ========================================================= */
.site-header--gradient {
  background: linear-gradient(to bottom left, #020C26, #0C4136);
}

/* =========================================================
   QUIENES SOMOS — HERO "Desde 1992"
   ========================================================= */
.about-hero { background: #E9E9E9; padding: 64px 0; }

@media (min-width: 768px) { .about-hero { padding: 96px 0; } }
@media (min-width: 1024px) { .about-hero { padding: 128px 0; } }

.about-hero__eyebrow { font-size: 1.25rem; font-weight: 300; color: #818181; }
@media (min-width: 768px) { .about-hero__eyebrow { font-size: 1.5rem; } }
@media (min-width: 1024px) { .about-hero__eyebrow { font-size: 1.875rem; } }
.about-hero__year { font-weight: 700; }

.about-hero__title {
  margin-top: 24px;
  max-width: 72rem;
  font-family: "Baskervville", serif;
  font-size: 1.875rem;
  line-height: 1.3;
  color: #020C26;
}
@media (min-width: 768px) { .about-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .about-hero__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .about-hero__title { font-size: 86px; line-height: 1.15; font-weight: 500; } }

/* =========================================================
   TIMELINE (2006 / +20 años)
   ========================================================= */
.timeline { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .timeline { padding: 96px 0; } }

.timeline-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .timeline-grid { grid-template-columns: 1fr auto; gap: 80px; } }

.timeline-left { display: flex; gap: 24px; }
@media (min-width: 1024px) { .timeline-left { gap: 32px; } }

.timeline-year { font-family: "Baskervville", serif; font-size: 1.875rem; font-weight: 700; color: #020C26; }
@media (min-width: 768px) { .timeline-year { font-size: 2.25rem; } }
.timeline-year__bar { margin-top: 8px; height: 4px; width: 64px; background: #020C26; }

.timeline-desc {
  font-family: "Baskervville", serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #4E5057;
}
.timeline-desc em { font-style: italic; color: #020C26; }
@media (min-width: 768px) { .timeline-desc { font-size: 1.5rem; } }
@media (min-width: 1024px) { .timeline-desc { font-size: 26px; line-height: 1.3; } }

.timeline-right {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-left: 1px solid #020C26;
  padding-left: 24px;
}
@media (min-width: 1024px) { .timeline-right { padding-left: 40px; } }
.timeline-right__num { font-family: "Baskervville", serif; font-size: 3rem; font-weight: 700; color: #020C26; }
@media (min-width: 768px) { .timeline-right__num { font-size: 3.75rem; } }
@media (min-width: 1024px) { .timeline-right__num { font-size: 4.5rem; } }
.timeline-right__label { font-family: "Baskervville", serif; font-size: 1.5rem; color: #020C26; }
@media (min-width: 768px) { .timeline-right__label { font-size: 1.875rem; } }

/* =========================================================
   CON RESPONSABILIDAD Y HONESTIDAD
   ========================================================= */
.responsibility { background: #F5F5F5; padding: 64px 0; }
@media (min-width: 768px) { .responsibility { padding: 96px 0; } }

.responsibility-heading { text-align: center; }
.responsibility-heading h2 {
  font-family: "Baskervville", serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #0F0F0F;
}
@media (min-width: 768px) { .responsibility-heading h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .responsibility-heading h2 { font-size: 3.75rem; } }
.responsibility-heading p {
  margin-top: 8px;
  font-family: "Baskervville", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #4E5057;
}
@media (min-width: 768px) { .responsibility-heading p { font-size: 1.875rem; } }
@media (min-width: 1024px) { .responsibility-heading p { font-size: 2.25rem; } }

.responsibility-grid { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .responsibility-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.responsibility-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid #020C26;
  background: #fff;
  color: #020C26;
  padding: 32px;
}
@media (min-width: 768px) { .responsibility-card { padding: 40px; } }
.responsibility-card h3 { font-size: 1.25rem; font-weight: 700; }
@media (min-width: 768px) { .responsibility-card h3 { font-size: 1.5rem; } }

.responsibility-card--teal { border-color: #065355; background: #065355; color: #fff; }
.responsibility-card--teal p { font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) { .responsibility-card--teal p { font-size: 18px; } }

.responsibility-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: #020C26; }
@media (min-width: 768px) { .responsibility-list { font-size: 18px; } }
.responsibility-list li { display: flex; gap: 12px; align-items: flex-start; }
.responsibility-list .dot {
  margin-top: 8px;
  height: 6px; width: 6px; flex-shrink: 0;
  border-radius: 50%;
  background: #020C26;
}

/* =========================================================
   MEDIO AMBIENTE (banda verde, página Quienes somos)
   ========================================================= */
.about-environment { background: #0C4136; padding: 80px 0; }
@media (min-width: 768px) { .about-environment { padding: 112px 0; } }
@media (min-width: 1024px) { .about-environment { padding: 128px 0; } }

.about-environment-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about-environment-grid { grid-template-columns: auto 1fr; align-items: center; gap: 64px; } }

.about-environment-eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.7); }
@media (min-width: 768px) { .about-environment-eyebrow { font-size: 16px; } }

.about-environment-title {
  margin-top: 16px;
  font-family: "Baskervville", serif;
  font-size: 3rem;
  line-height: 1.05;
  color: #fff;
}
@media (min-width: 768px) { .about-environment-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .about-environment-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .about-environment-title { font-size: 86px; } }

.about-environment-text { max-width: 42rem; font-size: 1.125rem; line-height: 1.6; color: rgba(255,255,255,.9); }
@media (min-width: 768px) { .about-environment-text { font-size: 1.25rem; } }
@media (min-width: 1024px) { .about-environment-text { font-size: 1.5rem; line-height: 1.5; } }

/* =========================================================
   ACTUALIDAD
   ========================================================= */
.updates { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .updates { padding: 96px 0; } }

.updates-badge-wrap { margin-bottom: 40px; display: flex; justify-content: center; }
.updates-badge {
  display: inline-block;
  border: 1px solid #0F0F0F;
  padding: 12px 32px;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #4E5057;
}
@media (min-width: 768px) { .updates-badge { font-size: 1.5rem; } }

.updates-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .updates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .updates-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.update-card { display: flex; flex-direction: column; border: 1px solid #0D1220; padding: 32px; background: #fff; }
@media (min-width: 768px) { .update-card { padding: 40px; } }
.update-card--alt { background: #E9E9E9; }
.update-card h3 { font-family: "Baskervville", serif; font-size: 1.875rem; color: #020C26; }
@media (min-width: 768px) { .update-card h3 { font-size: 2.25rem; } }
.update-card p { margin-top: 24px; font-size: 16px; line-height: 1.6; color: #0F0F0F; }

/* =========================================================
   NUESTRO EQUIPO
   ========================================================= */
.team { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .team { padding: 96px 0; } }
.team h2 {
  font-family: "Baskervville", serif;
  font-size: 2.25rem;
  color: #020C26;
}
@media (min-width: 768px) { .team h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .team h2 { font-size: 3.75rem; } }
@media (min-width: 1280px) { .team h2 { font-size: 86px; } }

.team-image {
  margin-top: 48px;
  height: 50vh;
  width: 100%;
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) { .team-image { height: 60vh; } }
@media (min-width: 1024px) { .team-image { height: 70vh; } }

/* =========================================================
   FILOSOFÍA (encabezado sobre las cards misión/visión/valores)
   ========================================================= */
.philosophy-heading {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) { .philosophy-heading { flex-direction: row; align-items: center; } }
.philosophy-heading p { font-size: 1.25rem; font-weight: 600; color: #4E5057; }
@media (min-width: 768px) { .philosophy-heading p { font-size: 1.5rem; } }

/* ==========================================================================
   SECCIÓN PESTAÑAS Y CARACTERÍSTICAS
   ========================================================================== */
.tabs-section {
    background-color: #FFFFFF;
    padding: 4rem 0;
}
@media (min-width: 768px) { .tabs-section { padding: 6rem 0; } }

.tabs-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .tabs-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

.tab-btn {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: 1px solid #0F0F0F;
    color: #4E5057;
    background-color: transparent;
}
@media (min-width: 768px) { .tab-btn { font-size: 1.25rem; } }

.tab-btn:hover {
    background-color: #E9E9E9;
    color: #020C26;
}

.tab-btn.active {
    background-color: #E9E9E9;
    color: #020C26;
    border-color: transparent;
}

.tabs-content-container {
    margin-top: 2.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { gap: 2.5rem; } }

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-icon {
    height: 4rem;
    width: 4rem;
    flex-shrink: 0;
    object-fit: contain;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.625;
    color: #0D1220;
}

.p1 {
	font-size: 1.25rem;
	line-height: 1.75rem;
}

@media (max-width:768px) {
  .p1 {
    font-size: 1rem;
    line-height: 1.625;
  }
}

@media (min-width: 768px) { .feature-text { font-size: 1.125rem; } }

/* =========================================================
   PRODUCTOS — hero de portada
   ========================================================= */
.portfolio-hero { background: #0C4136; padding: 64px 0; }
@media (min-width: 768px) { .portfolio-hero { padding: 96px 0; } }
@media (min-width: 1024px) { .portfolio-hero { padding: 112px 0; } }

.portfolio-hero__eyebrow { font-size: 1.25rem; font-weight: 300; color: #fff; }
@media (min-width: 768px) { .portfolio-hero__eyebrow { font-size: 1.5rem; } }
@media (min-width: 1024px) { .portfolio-hero__eyebrow { font-size: 28px; } }

.portfolio-hero__title {
  margin-top: 24px;
  max-width: 64rem;
  font-family: "Baskervville", serif;
  font-size: 2.25rem;
  line-height: 1.3;
  color: #fff;
}
@media (min-width: 768px) { .portfolio-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .portfolio-hero__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .portfolio-hero__title { font-size: 86px; line-height: 1.15; font-weight: 500; } }

.portfolio-hero__desc {
  margin-top: 24px;
  max-width: 48rem;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.85);
}
@media (min-width: 768px) { .portfolio-hero__desc { font-size: 18px; } }

/* =========================================================
   PRODUCTOS — grilla de categorías
   ========================================================= */
.portfolio-list { background: #fff; padding: 64px 0; }
@media (min-width: 768px) { .portfolio-list { padding: 96px 0; } }

.portfolio-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1280px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-card {
  display: flex;
  min-height: 220px;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px;
  text-align: left;
  border: 1px solid #E9E9E9;
  background: #fff;
  color: #020C26;
  transition: border-color .2s ease;
}
@media (min-width: 768px) { .portfolio-card { min-height: 260px; padding: 40px; } }
.portfolio-card:hover { border-color: #0C4136; }
.portfolio-card:hover .icon-arrow { transform: translateX(4px); }

.portfolio-card h2 { font-family: "Baskervville", serif; font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 768px) { .portfolio-card h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .portfolio-card h2 { font-size: 32px; font-weight: 500; } }

.portfolio-card p { margin-top: 12px; font-size: 14px; font-weight: 300; color: #4E5057; }

.portfolio-card__link, button#open-section1, button#open-section2, button#open-section3, button#open-section4, button#open-section5, button#open-section6 {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #0C4136;
  background: none;
  border:0 none
}
button#open-section1, button#open-section2, button#open-section3, button#open-section4, button#open-section5, button#open-section6 {
  margin-top: 0;
}
/*=========================================================
ACCORDION
=========================================================*/
/* =========================================
   OIL & GAS CHEMICAL SOLUTIONS
   ========================================= */

.linea-detail {
    border-top: 1px solid #E9E9E9;
    background: #F7F7F7;
    padding-top: 64px;
    padding-bottom: 64px;
}

.linea-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Título */

.linea-container h2 {
    margin: 0;
    color: #020C26;
    font-family: "Baskervville", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}

/* Subtítulo */

.linea-subtitle {
    max-width: 768px;
    margin: 12px 0 0;
    color: #4E5057;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

/* Contenedor de acordeones */
.linea-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Cada bloque */
.accordion-item {
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
}

/* Botón */
.accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border: 0;
    background: transparent;
    color: #020C26;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}

/* Texto del acordeón */
.accordion-button > span:first-child {
    font-family: "Baskervville", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}

/* Botón + */
.accordion-icon::before {
	content: '+';
}
.accordion-button[aria-expanded="true"] .accordion-icon::before {
  content: '−';
}
.accordion-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0C4136;
    color: #0C4136;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
/* Hover */
.accordion-button:hover .accordion-icon {
    background: #0C4136;
    color: #FFFFFF;
    content:'-'
}
/* Contenido */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: #4E5057;
    opacity: 0;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        padding 0.35s ease;
}
/* Acordeón abierto */
.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 24px 24px;
    opacity: 1;
}
#accordion-section1, #accordion-section2, #accordion-section3, #accordion-section4, #accordion-section5, #accordion-section6 {
  display: none;
}
#accordion-section1.active, #accordion-section2.active, #accordion-section3.active, #accordion-section4.active, #accordion-section5.active, #accordion-section6.active {
    display: block;
}
/*--MOBILE--*/
@media (max-width:767px) {
.accordion-item.active .accordion-content {
    max-height: 900px;}
}
/* =========TABLET / DESKTOP======= */

@media (min-width: 768px) {

    #linea-detail {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .linea-container {
        padding-left: 48px;
        padding-right: 48px;
    }

    .linea-container h2 {
        font-size: 36px;
    }

    .linea-subtitle {
        font-size: 18px;
    }

    .accordion-button {
        padding: 32px;
    }

    .accordion-button > span:first-child {
        font-size: 24px;
    }

    .accordion-item.active .accordion-content {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* =======DESKTOP GRANDE=========== */

@media (min-width: 1024px) {

    .linea-container {
        padding-left: 96px;
        padding-right: 96px;
    }

    .linea-container h2 {
        font-size: 48px;
    }

    .accordion-button > span:first-child {
        font-size: 26px;
    }

}

/*--------------ACCORDION INTERNO-------------*
/* Contenedor principal */
.product-filters {
  border-top: 1px solid #E9E9E9;
  padding: 24px 24px 32px;
}

/* Contenedor de botones */
.product-filters__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Botones de categorías */
.product-filter {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid #E9E9E9;
  background: #FFFFFF;
  color: #020C26;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.product-filter:hover {
  border-color: #0C4136;
}

/* Botón activo */
.product-filter.active {
  background: #0C4136;
  border-color: #0C4136;
  color: #FFFFFF;
}


/* Información de la categoría seleccionada */
.product-detail {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #E9E9E9;
}

/* Título */
.product-detail h4 {
  margin: 0;
  font-family: "Baskervville", serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: #020C26;
}

/* Mensaje */
.product-detail__message {
  margin-top: 16px;
  padding: 24px;
  border: 1px dashed #C0C0C0;
  border-radius: 4px;
  background: #FFFFFF;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #4E5057;
}

/* Botón de consulta */
.product-detail__button {
  display: inline-block;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 10px 24px;

  border: 1px solid #020C26;
  background: transparent;

  color: #020C26;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.025em;

  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.product-detail__button:hover {
  background: #020C26;
  color: #FFFFFF;
}


/* Flecha */
.product-detail__button svg {
  transition: transform 0.2s ease;
}

.product-detail__button:hover svg {
  transform: translateX(4px);
}


/* ---------------------------------
   TABLET / DESKTOP
---------------------------------- */

@media (min-width: 768px) {
  .product-filters {
    padding-left: 32px;
    padding-right: 32px;
  }

  .product-detail h4 {
    font-size: 24px;
  }
}

/* =========================================================
   CTA — banda "¿Necesitás más información?"
   ========================================================= */
.cta-band { background: #E9E9E9; padding: 64px 0; }
@media (min-width: 768px) { .cta-band { padding: 80px 0; } }

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

.cta-band h2 { font-family: "Baskervville", serif; font-size: 1.875rem; color: #020C26; }
@media (min-width: 768px) { .cta-band h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-band h2 { font-size: 3rem; } }

.cta-band p { margin-top: 12px; max-width: 42rem; font-size: 16px; font-weight: 300; color: #4E5057; }
@media (min-width: 768px) { .cta-band p { font-size: 18px; } }

.btn--cta {
  flex-shrink: 0;
  background: #0C4136;
  color: #fff;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.btn--cta:hover { background: #020C26; }

/* =========================================================
   CONTACTO — hero de portada
   ========================================================= */
.contact-hero { background: #E9E9E9; padding: 64px 0; }
@media (min-width: 768px) { .contact-hero { padding: 96px 0; } }
@media (min-width: 1024px) { .contact-hero { padding: 128px 0; } }

.contact-hero__eyebrow { font-size: 1.25rem; font-weight: 300; color: #818181; }
@media (min-width: 768px) { .contact-hero__eyebrow { font-size: 1.5rem; } }
@media (min-width: 1024px) { .contact-hero__eyebrow { font-size: 1.875rem; } }

.contact-hero__title {
  margin-top: 16px;
  font-family: "Baskervville", serif;
  font-size: 1.875rem;
  line-height: 1.3;
  font-weight: 500;
  color: #0C4136;
}
@media (min-width: 768px) { .contact-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-hero__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .contact-hero__title { font-size: 4.5rem; line-height: 1.15; } }
