﻿/* ============================================================
   styles.css  CNI Servicios
   Bootstrap 5 is loaded via CDN before this file.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&family=Poppins:wght@900&display=swap');

/* ------------------------------------------------------------
   CSS Variables
   ------------------------------------------------------------ */
:root {
  --color-bg-primary:    #081422;
  --color-bg-secondary:  #07121E;
  --color-bg-card:       rgba(255, 255, 255, 0.05);
  --color-accent-gold:   #FBAF02;
  --color-accent-teal:   #1B9AA9;
  --color-accent-green:  #37BA71;
  --color-text-primary:  #ECECEC;
  --color-text-light:    #ffffff;
  --color-text-muted:    rgba(236, 236, 236, 0.6);
  --color-text-secondary: rgba(236, 236, 236, 0.75);
  --color-border:        rgba(217, 228, 231, 0.15);
  --gradient-brand:      linear-gradient(90deg, #FBAF02 0%, #1B9AA9 100%);
  --gradient-nav:        linear-gradient(91deg, #37BA71 0%, #1B9AA9 100%);
  --gradient-overlay:    linear-gradient(180deg, rgba(8,20,33,0.6) 0%, rgba(8,20,33,0.85) 60%, rgba(8,20,33,1) 100%);

  --font-headings:       'Roboto', sans-serif;
  --font-body:           'Roboto', sans-serif;

  --section-padding-y:   5rem;
  --border-radius-card:  20px;
  --transition:          0.3s ease;
}

/* ------------------------------------------------------------
   Global Base
   ------------------------------------------------------------ */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* Global max-width for all content with horizontal padding */
body > * {
  max-width: 1492px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Add horizontal padding to Bootstrap containers */
.container,
.container-fluid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* Decorative gradient separator between sections */
.section-divider {
  display: block;
  width: 100%;
  height: 3px;
  border: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(236,236,236,0.2) 20%, rgba(236,236,236,0.35) 50%, rgba(236,236,236,0.2) 80%, transparent 100%);
  position: relative;
  z-index: 10;
}

.section__title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-text-primary);
}

.section__subtitle {
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section modifiers */
.section--no-top-padding {
  padding-top: 0;
}

.section--reduced-bottom-padding {
  padding-bottom: 2rem;
}

.section--bg-secondary {
  background: var(--color-bg-secondary);
}

/* Container modifiers */
.container--layered {
  position: relative;
  z-index: 1;
}

/* Text color utilities */
.text-accent-gold {
  color: var(--color-accent-gold);
}

.text-accent-teal {
  color: var(--color-accent-teal);
}

/* Subtitle width modifiers */
.section__subtitle--narrow {
  max-width: 480px;
}

.section__subtitle--medium {
  max-width: 600px;
}

.section__subtitle--wide {
  max-width: 640px;
}

/* Icon utilities */
.icon-inline {
  display: inline-block;
  margin-right: 4px;
}

.icon-marker {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Map embed */
.map-embed {
  border: 0;
}

/* Text utilities */
.text-description {
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* About page specific title styles - using same responsive style as tool-room-section__title */
.evolution-title,
.leaders-title,
.company-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #ECECEC;
  margin-bottom: 1.25rem;
}

.company-title {
  color: #FFFFFF;
}

.next-steps-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 55px);
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  background: linear-gradient(90deg, #FBAF02 -11.14%, #1B9AA9 105.88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.manufacturing-intro-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 2.8125rem);
  line-height: 1.5;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 3rem;
}

/* ------------------------------------------------------------
   Buttons - Unified System
   ------------------------------------------------------------ */

/* Base button styles - shared by all buttons */
.btn,
.btn-gradient,
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

/* Gradient variant */
.btn-gradient {
  background: var(--gradient-nav);
  color: #fff;
}

.btn-gradient:hover {
  opacity: 0.88;
  color: #fff;
}

/* Solid variant */
.btn-solid {
  background: rgba(236, 236, 236, 0.2);
  color: var(--color-text-primary);
}

.btn-solid:hover {
  background: rgba(236, 236, 236, 0.3);
  color: var(--color-text-primary);
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.navbar-cni {
  background-color: rgba(8, 20, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color var(--transition);
}

/* Logo */
.navbar-cni .navbar-brand {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--color-text-primary);
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0 .5rem;
}

.navbar-cni .navbar-brand img {
  display: block;
  height: 44px;
  width: auto;
}

/* Cert badges in navbar */
.navbar-cert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-cert__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  background: transparent;
  white-space: nowrap;
}

.navbar-cert__badge svg,
.navbar-cert__badge img {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Nav links */
.navbar-cni .nav-link {
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 100px;
  transition: background 0.3s ease, border-color 0.3s ease;
  background: transparent;
  border: 1.5px solid transparent;
}

/* Active page (non-Contacto): pressed state */
.navbar-cni .nav-link.nav-pill-active {
  background: rgba(85, 106, 120, 0.25);
  border-color: transparent;
}

/* Contacto: always green gradient */
.navbar-cni .nav-link.nav-pill-contact {
  background: var(--gradient-nav);
  border-color: transparent;
}

/* Hover state for regular nav links */
.navbar-cni .nav-link:hover:not(.nav-pill-contact) {
  background: rgba(98, 119, 133, 0.65);
  border-color: transparent;
}

/* Hover state for Contacto button */
.navbar-cni .nav-link.nav-pill-contact:hover {
  opacity: 0.88;
}

.navbar-cni .navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-cni .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav: hidden by default, overlays when toggled */
#mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(8, 20, 33, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

#mobile-nav.is-open {
  display: block;
  padding-top: 0.5rem;
}

/* ------------------------------------------------------------
   Language Selector
   ------------------------------------------------------------ */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-selector__button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 100px;
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.lang-selector__button:hover {
  background: rgba(98, 119, 133, 0.65);
}

.lang-selector__button.active {
  background: rgba(85, 106, 120, 0.25);
}

.lang-selector__button img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-selector__button svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.lang-selector__button.active svg {
  transform: rotate(180deg);
}

.lang-selector__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100%;
  background: rgba(98, 119, 133, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 100;
}

.lang-selector__dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-selector__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 18px;
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.lang-selector__option:hover {
  background: rgba(111, 138, 151, 0.4);
}

.lang-selector__option img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ------------------------------------------------------------
   Hero + Clients Wrapper (shared background)
   ------------------------------------------------------------ */
.hero-wrapper {
  position: relative;
  background-color: var(--color-bg-primary);
  overflow: hidden;
  max-height: 1512px;
}

.hero-wrapper__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

.hero-wrapper__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

/* ------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero__content {
  position: relative;
  padding: 4rem 2rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 8rem 2rem;
  }
}

@media (min-width: 992px) {
  .hero__content {
    padding: 16rem 2rem;
  }
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ------------------------------------------------------------
   Section: Clients Bar (compact logo name strip below hero)
   ------------------------------------------------------------ */
.clients-bar {
  background-color: transparent;
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

.clients-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
}

.clients-bar__logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(236,236,236,0.45);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

.clients-bar__logo-name:hover { color: rgba(236,236,236,0.75); }

.clients-bar__logo-img {
  height: 24px;
  width: auto;
  opacity: 0.45;
  transition: opacity var(--transition);
}

.clients-bar__logo-img:hover {
  opacity: 0.75;
}

/* ------------------------------------------------------------
   Carousel nav buttons (shared: planta row)
   ------------------------------------------------------------ */
.carousel-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .carousel-nav {
    justify-content: center;
  }
}

.carousel-btn {
  min-width: 80px;
  height: 40px;
  border-radius: 100px;
  border: none;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
  padding: 0 1.5rem;
}

/* Default state: both use the same lighter background */
.carousel-btn.carousel-btn-prev,
.carousel-btn.carousel-btn-next {
  background: rgba(85, 106, 120, 0.35);
}

/* Hover state: slightly darker */
.carousel-btn.carousel-btn-prev:hover,
.carousel-btn.carousel-btn-next:hover {
  background: rgba(98, 119, 133, 0.5);
}

.carousel-btn svg {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------------------
   Section: +10 Años
   ------------------------------------------------------------ */
.anos-section {
  background-color: var(--color-bg-secondary);
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow: hidden;
}

.anos-section__blur {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.anos-section__blur--left  { left: -100px; top: -80px; }
.anos-section__blur--right { right: -80px; bottom: -60px; }

.anos-image {
  position: relative;
  z-index: 1;
}

.anos-image__photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.anos-text {
  position: relative;
  z-index: 1;
  padding-left: 2rem;
}

.anos-big {
  font-size: clamp(5rem, 10vw, 8.5rem);
  font-weight: 900;
  line-height: 0.88;
  margin-bottom: 1.5rem;
  font-family: var(--font-headings);
  justify-content: center;
}

@media (max-width: 575px) {
  .anos-big {
    display: grid;
    justify-content: center;
  }
}




.anos-big__number {
  color: rgba(251, 175, 2, 0.2);
}

.anos-big__word {
  color: rgba(255, 255, 255, 0.1);
}

.anos-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--color-text-primary);
  line-height: 1.75;
}

/* ------------------------------------------------------------
   Section: Plant Photos Row (carousel, 4 visible / 6 total)
   ------------------------------------------------------------ */
.planta-row {
  background-color: var(--color-bg-primary);
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow-x: clip;
}

.planta-row__blur {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  left: -60px;
  bottom: -40px;
}

.planta-row__viewport {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.planta-row__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s ease-in-out;
}

.planta-row__photo {
  flex: 0 0 auto;
  width: 360px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  transition: transform var(--transition);
}

/* .planta-row__photo:hover { transform: scale(1.025); } */

@media (max-width: 767px) {
  .planta-row__photo { width: calc(50vw - 2rem); }
}

@media (max-width: 575px) {
  .planta-row__photo { width: calc(85vw - 2rem); }
}

/* ------------------------------------------------------------
   Section: Capability Cards (Infraestructura / Nuestra compañía)
   ------------------------------------------------------------ */
.cap-cards {
  background-color: var(--color-bg-secondary);
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow: hidden;
}

.cap-cards__blur {
  position: absolute;
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
  right: -80px;
  bottom: -60px;
}

.cap-card {
  position: relative;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  transition: transform var(--transition);
}

/* .cap-card:hover { transform: translateY(-4px); } */

.cap-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* picture wrapper inside cap-card must also be positioned to not break layout */
.cap-card picture {
  position: absolute;
  inset: 0;
  display: block;
}

.cap-card__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.cap-card__body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 0;
}

.cap-card__content {
  /* Contenedor para el texto que va arriba */
}

.cap-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
}

.cap-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0;
}

.cap-card__body .btn-gradient {
  align-self: flex-start;
  margin-top: 2rem;
}

/* ------------------------------------------------------------
   Section: Company Info (Nuestra compañía) - Contact page
   ------------------------------------------------------------ */
.company-info-section {
  padding: 6rem 0;
  background-color: var(--color-bg-primary);
}

.company-info__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}

.company-info__subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.company-info__address {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.company-info__label {
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ------------------------------------------------------------
   Section: Company Location (Nuestra compañía)
   ------------------------------------------------------------ */
.company-location {
  padding: 0;
  background-color: var(--color-bg-primary);
}

.company-location--no-bottom-padding {
  padding: 0;
}

.company-location__info {
  color: var(--color-text-primary);
}

.company-location__address {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.company-location__map {
  width: 100%;
}

.company-location__map iframe {
  display: block;
  width: 100%;
}

/* ------------------------------------------------------------
   Section: Next Steps (Siguientes pasos) - About page
   ------------------------------------------------------------ */
.next-steps-section {
  padding: 16rem 0;
  background-color: var(--color-bg-primary);
  position: relative;
  overflow: visible;
}

.next-steps-section__blur {
  position: absolute;
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
  bottom: -90px;
}

.next-steps-section__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
}

.next-steps-section .section__subtitle {
  color: var(--color-text-light);
}

/* ------------------------------------------------------------
   Section: CTA ¡Hablemos!
   ------------------------------------------------------------ */
.cta-hablemos {
  padding: 8rem 0 16rem 0;
  background-color: var(--color-bg-primary);
  position: relative;
  overflow: visible;
}

.cta-hablemos__blur {
  position: absolute;
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
  bottom: -90px;
}

.cta-hablemos__inner {
  position: relative;
  z-index: 1;
}

.cta-hablemos .section__subtitle {
  color: var(--color-text-light);
}

.cta-hablemos__title {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ------------------------------------------------------------
   Certifications
   ------------------------------------------------------------ */
.certifications-images {
  padding-top: 30px;
  padding-bottom: 30px;
}

.certification-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin: 0 50px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: #1D4979;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer__brand {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer__subheading {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
  margin-top: 0.75rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: #ECECEC;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--color-text-primary); }

.footer__address {
  font-size: 0.85rem;
  color: #ECECEC;
  line-height: 1.7;
  font-style: normal;
  margin: 0;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ECECEC;
  transition: background var(--transition), color var(--transition);
}

.footer__social-link:hover {
  background: var(--gradient-nav);
  color: #fff;
}

.footer__bottom {
  display: none;
}

.footer__heading--hidden {
  visibility: hidden;
}

.footer__address a {
  color: #ECECEC;
}

/* Remove top margin from 3rd footer column in mobile when stacked */
@media (max-width: 991px) {
  .footer .row > .col-lg-3:nth-child(3) {
    margin-top: 0 !important;
  }
}

/* ------------------------------------------------------------
   Page Header (inner pages)
   ------------------------------------------------------------ */
.page-header {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-bg-primary);
}

.page-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,33,0.5) 0%, rgba(8,20,33,0.85) 100%);
  z-index: 1;
}

.page-header__content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4rem;
}

.page-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.page-header__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   Contact Hero
   ------------------------------------------------------------ */
.contact-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg-primary);
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .contact-hero__content {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 992px) {
  .contact-hero__content {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}

.contact-hero__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4375rem);
  line-height: 1;
  text-transform: uppercase;
  color: #ECECEC;
  margin-bottom: 1rem;
}

.contact-hero__subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 3.4375rem);
  line-height: 1.2;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.contact-hero__text span {
  font-weight: 700;
  color: #FBAF02;
}

.contact-hero__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.2;
  color: #ECECEC;
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------
   Location Cards
   ------------------------------------------------------------ */
.location-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-card);
  padding: 1.75rem 2rem;
  height: 100%;
  transition: var(--transition);
}

.location-card:hover {
  border-color: rgba(27,154,169,0.4);
}

.location-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  margin-bottom: 0.4rem;
}

.location-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.location-card__address {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-style: normal;
}

/* ------------------------------------------------------------
   Service Cards (services.html)
   ------------------------------------------------------------ */
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(251,175,2,0.3);
  transform: translateY(-4px);
}

.service-card__img-wrap {
  height: 200px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-card:hover .service-card__img { transform: scale(1.05); }

.service-card__body { padding: 1.5rem; }

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Certification badges */
.cert-badge {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.cert-badge__img { height: 70px; width: auto; margin: 0 auto 0.75rem; }
.cert-badge__label { font-size: 0.85rem; font-weight: 700; color: var(--color-text-muted); margin: 0; }

/* ------------------------------------------------------------
   About / Mission / Timeline
   ------------------------------------------------------------ */

/* About Hero Section with background */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,33,0.2) 0%, rgba(8,20,33,0.3) 100%);
  z-index: 1;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .about-hero__content {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 992px) {
  .about-hero__content {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}

/* About Intro */
.about-intro__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 6.25rem);
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
  color: var(--color-text-primary);
}

.about-intro__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: -1.1%;
  text-align: center;
  color: var(--color-text-primary);
  margin: 0;
}

.text-highlight {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -1.1%;
  color: var(--color-accent-gold);
}

/* Mission and Vision Section (stacked) */
.mission-section__heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 45px);
  line-height: 100%;
  letter-spacing: 0%;
  color: #ECECEC;
  margin-bottom: 1rem;
}

.mission-section__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFFFFF;
  margin: 0;
}

/* Mission Cards (legacy - keep for other uses) */
.mission-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-card);
  padding: 2rem;
  height: 100%;
}

.mission-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.mission-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.mission-card__text { font-size: 0.875rem; color: var(--color-text-primary); line-height: 1.7; }

.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gradient-brand);
}

.timeline__item {
  position: relative;
  padding-bottom: 2.25rem;
  padding-left: 1.5rem;
  display: flex;
  gap: 1.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  border: 2px solid var(--color-bg-secondary);
}

.timeline__year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  white-space: nowrap;
  min-width: 80px;
  padding-top: 0.1rem;
}

.timeline__event {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Evolution Carousel (replaces timeline on About page) */
.evolution-section {
  background-color: var(--color-bg-secondary);
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow-x: clip;
}

.evolution-carousel__viewport {
  overflow: visible;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.evolution-carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease-in-out;
}

.evolution-card {
  flex: 0 0 auto;
  width: 340px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-card);
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.evolution-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.evolution-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* .evolution-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-gold);
} */

.evolution-card__year {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
  .evolution-card__year {
    font-size: 2.5rem;
  }
}

.evolution-card__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--color-accent-gold);
  margin-bottom: 0.75rem;
}

.evolution-card__desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
}

@media (max-width: 767px) {
  .evolution-card {
    width: calc(70vw - 2rem);
  }
}

@media (max-width: 575px) {
  .evolution-card {
    width: calc(85vw - 2rem);
  }
}

.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
}

.team-card__photo { width: 100%; height: 260px; object-fit: cover; }
.team-card__info { padding: 1.25rem 1.5rem; }
.team-card__name { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-card__role { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* Leader cards (Nuestros Líderes) */
.leader-card {
  position: relative;
  border-radius: var(--border-radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}

.leader-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.leader-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,33,0.05) 0%, rgba(8,20,33,0.15) 100%);
  z-index: 1;
}

.leader-card__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.leader-card__name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.leader-card__role {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-accent-gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.leader-card__role svg {
  color: var(--color-accent-gold);
}

.leader-card__bio {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.leader-card__bio:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .leader-card {
    aspect-ratio: auto;
    min-height: auto;
  }
  
  .leader-card__name {
    font-size: 24px;
  }
  
  .leader-card__bio {
    font-size: 14px;
  }
}

/* about-cta (legacy, reused in about.html) */
.about-cta { padding: var(--section-padding-y) 0; background-color: var(--color-bg-primary); }
.about-cta__image { border-radius: var(--border-radius-card); width: 100%; height: 400px; object-fit: cover; }

.capability-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, rgba(251,175,2,0.12), rgba(27,154,169,0.12));
  border: 1px solid rgba(251,175,2,0.25);
  color: var(--color-text-primary);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.capability-btn:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
}

/* clientes (carousel - reused in about/services) */
.clientes { padding: var(--section-padding-y) 0; overflow: hidden; }

/* ------------------------------------------------------------
   Manufacturing Specifications (Services Page)
   ------------------------------------------------------------ */

/* Accordion */
.spec-accordion {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.spec-accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: #202B37;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  border-radius: 12px;
}

.spec-accordion__header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.spec-accordion__header--active {
  background: #202B37;
  border-bottom: 1px solid var(--color-border);
  border-radius: 12px 12px 0 0;
}

.spec-accordion__icon {
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-accent-gold);
  transition: transform 0.3s ease;
}

.spec-accordion__content {
  display: none;
  padding: 3rem 2rem;
  background: #202B37;
}

.spec-accordion__content--active {
  display: block;
}

/* Section Titles within Accordions */
.spec-section__title {
  color: var(--color-accent-gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.spec-section__title--spaced {
  margin-bottom: 1rem;
}

.spec-section__title--compact {
  margin-bottom: 0.75rem;
}

/* Material Cards */
.material-card {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: fit-content;
}

.material-card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.material-card__overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  padding: 0.5rem;
  padding-bottom: 0;
  background: transparent;
}

.material-card__label {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  font-size: 0.9rem;
}

/* Spec Text (no bullets) */
.spec-text {
  padding: 0;
  margin: 0;
}

.spec-text p {
  color: var(--color-text-primary);
  padding: 0.5rem 0;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Process Text (plain text, no special styling) */
.process-text {
  padding: 0;
  margin: 0;
}

.process-text p {
  color: var(--color-text-primary);
  padding: 0.5rem 0;
  line-height: 1.4;
  margin-bottom: 0;
  font-weight: 400;
}

/* Machinery Grid */
.machinery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.machinery-card {
  position: relative;
}

.machinery-card img {
  width: 100%;
  aspect-ratio: 244 / 325;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.machinery-card__overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.75rem;
  padding-bottom: 0;
  background: transparent;
}

.machinery-card__label {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  font-size: 0.9rem;
}

/* Sample Parts Grid */
.sample-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sample-part {
  position: relative;
}

.sample-part:hover {
  /* No hover effect */
}

.sample-part img {
  width: 100%;
  aspect-ratio: 333 / 230;
  object-fit: cover;
  border-radius: 20px;
  background-color: #ffffff;
}

.sample-part__expand {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(251, 175, 2, 0.9);
  color: var(--color-bg-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.sample-part__expand:hover {
  background: var(--color-accent-gold);
  transform: scale(1.1);
}

.sample-part__expand img {
  width: 18px;
  height: 18px;
  aspect-ratio: auto;
}

.sample-part__caption {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: left;
  line-height: 1.5;
  color: var(--color-text-primary);
  font-size: 0.9rem;
}

/* Infrastructure Box */
.infrastructure-box {
  background: linear-gradient(135deg, rgba(251,175,2,0.08), rgba(27,154,169,0.08));
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
}

/* Tool Room Section */
.tool-room-section {
  padding: var(--section-padding-y) 0;
  scroll-margin-top: 45px; /* Offset for anchor links */
}

.tool-room-section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tool-room__description {
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.integrated-solutions__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.tool-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-list__item {
  background: linear-gradient(90deg, #0A192A 0%, #11263A 100%);
  padding: 1.25rem;
  color: var(--color-text-primary);
  font-weight: 500;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.tool-list__item:hover {
  /* No hover effect */
}

.tool-room__images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.tool-room__img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.tool-room__img--large {
  /* No special grid styling needed */
}

.tool-room__img--small {
  /* No special aspect ratio needed */
}

/* Integrated Solutions */
.integrated-solutions {
  padding: var(--section-padding-y) 0;
  background: var(--color-bg-primary);
}

.solution-card {
  position: relative;
  border-radius: var(--border-radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}

.solution-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.solution-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,33,0.05) 0%, rgba(8,20,33,0.15) 100%);
  z-index: 1;
}

.solution-card__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.solution-card__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  color: #ECECEC;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.solution-card__subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  line-height: 1.4;
  color: #FBAF02;
  margin-bottom: 1rem;
}

.solution-card__list {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.solution-card__list li {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.6;
  color: #FFFFFF;
  padding: .2rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.solution-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-text-primary);
  font-weight: 700;
}

/* Certifications Section */
.certifications-section {
  padding: var(--section-padding-y) 0;
}

/* ------------------------------------------------------------
   Fade-in animation (JS-driven)
   ------------------------------------------------------------ */
.section.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.section.fade-in.visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   Responsive
   -------------------------------45----------------------------- */
@media (max-width: 991px) {
  :root { --section-padding-y: 3.5rem; }

  .anos-text { padding-left: 0; margin-top: 2rem; }
  

  /* Manufacturing Specs Tablet */
  .machinery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .sample-parts-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .tool-room__images { grid-template-columns: 1fr; gap: 1rem; }
  .tool-room__img--large { grid-row: span 1; }
}

@media (max-width: 575px) {
  :root { --section-padding-y: 2.5rem; }

  .hero { min-height: 50vh; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }

  .cap-card { min-height: 300px; }

  .footer { padding: 3rem 0 3rem; }

  /* Manufacturing Specs Responsive */
  .machinery-grid { grid-template-columns: repeat(2, 1fr); }
  .sample-parts-grid { grid-template-columns: 1fr; }
  .tool-room__images { grid-template-columns: 1fr; }
  .tool-room__img--large { grid-row: span 1; }
  .spec-accordion__content { padding: 2rem 1.5rem; }
  .spec-accordion__header { padding: 1.25rem 1.5rem; font-size: 1.25rem; }

  /* CTA sections mobile padding */
  .next-steps-section,
  .cta-hablemos {
    padding: 4rem 0;
  }
}