/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #1c1c1c;
  --dark-2:  #2a2726;
  --gold:    #a08060;
  --gold-lt: #c4a882;
  --cream:   #f5f0e8;
  --cream-2: #ede8df;
  --white:   #ffffff;
  --text:    #3a3330;
  --text-lt: #7a7067;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Raleway', Arial, sans-serif;

  --section-pad: 100px 0;
  --radius: 4px;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: none;
}
.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.8);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn--solid {
  background: var(--gold);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.btn--solid:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.section-header__line {
  display: block;
  height: 1px;
  width: 60px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-header__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}
.section-header--light .section-header__title { color: var(--white); }
.section-header--light .section-header__line  { background: var(--gold-lt); }

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-lt);
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.8;
}
.section-subtitle--light { color: rgba(255,255,255,0.7); }

/* ===== HEADER ===== */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: flex-start;
  background: transparent;
}
.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { display: flex; }
.header__logo img { height: 140px; width: auto; }

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}
.header__nav a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-lt);
  transition: width var(--transition);
}
.header__nav a:hover { color: var(--white); }
.header__nav a:hover::after { width: 100%; }

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header__menu-btn--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu-btn--open span:nth-child(2) { opacity: 0; }
.header__menu-btn--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroZoom 8s ease forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,15,12,0.55) 0%,
    rgba(20,15,12,0.30) 50%,
    rgba(20,15,12,0.65) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  animation: fadeUp 1s 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 40px;
}
.hero__title em { font-style: italic; color: var(--gold-lt); }

.hero__cta {
  position: absolute;
  bottom: 80px;
  left: 60px;
  z-index: 2;
}
.hero__heading {
  font-family: 'Inter', sans-serif;
  font-size: 53px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
  padding: 8px 50px 8px 0;
}
.btn--red {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: #DA0032;
  color: var(--white);
  border: 1.5px solid #DA0032;
  padding: 6px 24px;
  transition: transform var(--transition), background var(--transition);
}
.btn--red:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: scale(1.08);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  text-decoration: none;
}
.hero__scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

/* ===== POR QUÉ ESCOGERNOS ===== */
.por-que {
  padding: 0 80px 100px;
  margin-top: -10px;
  background: var(--white);
  text-align: left;
}
.por-que__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: -5px;
}
.por-que__title {
  font-family: 'Inter', sans-serif;
  font-size: 45px;
  font-weight: 800;
  color: var(--dark);
  max-width: calc(50% - 12px);
  white-space: nowrap;
}

.por-que__icons {
  display: flex;
  gap: 48px;
  margin-top: 70px;
  padding: 0 80px;
  justify-content: center;
}
.por-que__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.por-que__icon-item svg {
  width: 130px;
  height: 80px;
  flex-shrink: 0;
}
.por-que__icon-item p {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  text-align: center;
}

/* ===== BANNER ===== */
.banner {
  position: relative;
  overflow: hidden;
  padding: 0 80px;
}
.banner__img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.banner__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,15,12,0.75) 0%, transparent 100%);
  padding: 60px 60px 40px;
  color: var(--white);
}
.banner__caption h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.banner__caption p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
}

/* ===== SOBRE NOSOTROS ===== */
.sobre-nosotros {
  padding: var(--section-pad);
  background: var(--white);
}
.sobre-nosotros__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 150px;
  display: flex;
  align-items: center;
  gap: 100px;
}
.sobre-nosotros__title {
  font-family: 'Inter', sans-serif;
  font-size: 45px;
  font-weight: 800;
  color: var(--dark);
  flex-shrink: 0;
  max-width: 200px;
  line-height: 1.2;
}
.sobre-nosotros__line {
  display: block;
  width: 3px;
  min-height: 80px;
  align-self: stretch;
  background: #DA0032;
  flex-shrink: 0;
}
.sobre-nosotros__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  text-align: justify;
}

/* ===== ESPECIALIZACIÓN ===== */
.especializacion__heading {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 80px;
  margin-bottom: 10px;
}
.especializacion__heading-line {
  display: block;
  width: 4px;
  height: 36px;
  background: #DA0032;
  flex-shrink: 0;
}
.especializacion__heading-title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
}
.especializacion {
  padding: var(--section-pad);
  background: var(--white);
}
.especializacion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}
.especializacion__card {
  border-radius: 0;
  overflow: hidden;
}
.especializacion__card-img {
  width: 100%;
  height: auto;
  display: block;
}
.especializacion__card-body {
  background: #F5F0EB;
  padding: 6px 24px 16px 12px;
}
.especializacion__card-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 12px;
}
.especializacion__card-title span {
  color: #DA0032;
}
.especializacion__card-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  text-align: justify;
  line-height: 1.5;
}

/* ===== APLICACIONES GRID ===== */
.aplicaciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--white);
}
.aplicaciones-grid__item {
  position: relative;
  overflow: hidden;
  height: 300px;
}
.aplicaciones-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aplicaciones-grid__label {
  position: absolute;
  bottom: 20px;
  left: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #FFFFFF;
}

/* ===== MARCAS ===== */
.marcas {
  padding: var(--section-pad);
  padding-left: 80px;
  padding-right: 80px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.marcas__carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marcas__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marcasScroll 25s linear infinite;
}
.marcas__track img {
  height: 100px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@keyframes marcasScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marcas__aplicaciones-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  align-self: center;
  margin-top: 80px;
}
.marcas__aplicaciones {
  font-family: 'Inter', sans-serif;
  font-size: 50px;
  font-weight: 800;
  color: #000000;
  white-space: nowrap;
}
.marcas__aplicaciones-line {
  display: block;
  width: 5px;
  align-self: stretch;
  background: #DA0032;
  flex-shrink: 0;
}
.marcas__aplicaciones-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
}

/* ===== CONTACTO ===== */
.contacto {
  display: flex;
  background: var(--white);
  padding: 0 0 0 80px;
  gap: 60px;
  font-family: 'Inter', sans-serif;
}
.contacto__left {
  width: 30%;
  padding: 60px 24px 60px 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contacto__title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 24px;
  line-height: 1.2;
}
.contacto__desc {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.contacto__desc-line {
  display: block;
  width: 3px;
  background: #DA0032;
  flex-shrink: 0;
}
.contacto__desc-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  text-align: justify;
  line-height: 1.6;
}
.contacto__right {
  width: 70%;
  background: #EDE8E3;
  padding: 48px 80px 48px 48px;
}
.contacto__form-heading {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 10px;
  position: relative;
}
.contacto__form-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 135px;
  height: 2px;
  background: #DA0032;
}

/* Wizard Progress */
.wizard__progress {
  width: 100%;
  height: 4px;
  background: #d6d0c9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.wizard__progress-bar {
  height: 100%;
  width: 25%;
  background: #DA0032;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.wizard__step-counter {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  text-align: right;
  margin-bottom: 20px;
}

/* Wizard Container */
.wizard__container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wizard__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}
.wizard__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.wizard__card {
  min-width: 100%;
  padding: 32px 28px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.wizard__card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
}
.wizard__card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #DA0032;
}
.wizard__card-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  text-align: center;
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Wizard Arrows */
.wizard__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #d6d0c9;
  background: #FFFFFF;
  color: #333;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.wizard__arrow:hover:not(:disabled) {
  border-color: #DA0032;
  color: #DA0032;
  transform: scale(1.08);
}
.wizard__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Wizard Chips */
.wizard__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.wizard__chip {
  cursor: pointer;
}
.wizard__chip input[type="radio"] {
  display: none;
}
.wizard__chip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  background: #f9f6f3;
  border: 1.5px solid #d6d0c9;
  border-radius: 12px;
  padding: 18px 16px;
  min-height: 60px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, color 0.25s ease;
  user-select: none;
}
.wizard__chip-label:hover {
  border-color: #DA0032;
  background: #fff5f7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(218, 0, 50, 0.12);
}
.wizard__chip input[type="radio"]:checked + .wizard__chip-label {
  background: #DA0032;
  color: #FFFFFF;
  border-color: #DA0032;
  box-shadow: 0 4px 16px rgba(218, 0, 50, 0.25);
}

/* Wizard Fields */
.wizard__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}
.wizard__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wizard__field-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #000000;
}
.wizard__input {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: #f9f6f3;
  border: 1.5px solid #d6d0c9;
  border-radius: 8px;
  height: 44px;
  width: 100%;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.wizard__input:focus {
  border-color: #DA0032;
  box-shadow: 0 0 0 3px rgba(218, 0, 50, 0.08);
}
.wizard__input::placeholder {
  color: #bbb;
  font-weight: 400;
}

/* Phone group */
.wizard__phone-group {
  display: flex;
  gap: 8px;
}
.wizard__phone-code {
  flex-shrink: 0;
}
.wizard__phone-select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: #f9f6f3;
  border: 1.5px solid #d6d0c9;
  border-radius: 8px;
  height: 44px;
  padding: 0 8px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  min-width: 110px;
}
.wizard__phone-select:focus {
  border-color: #DA0032;
}
.wizard__input--phone {
  flex: 1;
}

/* Submit button */
.wizard__submit {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  background: #DA0032;
  border: none;
  border-radius: 8px;
  height: 48px;
  width: 100%;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wizard__submit:hover {
  background: #c0002b;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(218, 0, 50, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: #000000;
  padding: 64px 80px;
  color: rgba(255,255,255,0.6);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
}
.footer__logo {
  display: flex;
}
.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__nav li + li {
  margin-top: -4px;
}
.footer__nav a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
}
.footer__logo img { width: 250px; height: 250px; }
.footer__contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__contact li + li {
  margin-top: -4px;
}
.footer__contact li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__contact li img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer__contact-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}
.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer__social-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.footer__social-icons {
  display: flex;
  gap: 6px;
}
.footer__social-icons a {
  display: flex;
}
.footer__social-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer__credits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.footer__credits p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
}
.footer__credits img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__copy {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .header { padding: 16px 40px; }
  .header__logo img { height: 100px; }

  .hero__cta { left: 40px; bottom: 60px; }
  .hero__heading { font-size: 40px; padding-right: 20px; }

  .sobre-nosotros__inner { padding: 0 60px; gap: 60px; }
  .sobre-nosotros__title { font-size: 36px; }

  .especializacion__heading { padding: 0 40px; }
  .especializacion__heading-title { font-size: 32px; }
  .especializacion__grid { padding: 0 40px; }
  .especializacion__card-title { font-size: 24px; }

  .por-que { padding: 0 40px 80px; }
  .por-que__title { font-size: 36px; }
  .por-que__icons { padding: 0 20px; gap: 32px; }
  .por-que__icon-item p { font-size: 16px; }
  .por-que__icon-item svg { width: 100px; height: 60px; }

  .banner { padding: 0 40px; }

  .marcas { padding-left: 40px; padding-right: 40px; }
  .marcas__track { gap: 40px; }
  .marcas__track img { height: 80px; }
  .marcas__aplicaciones { font-size: 40px; }
  .marcas__aplicaciones-text { font-size: 16px; }

  .contacto { padding-left: 40px; }
  .contacto__title { font-size: 28px; }

  .footer { padding: 48px 40px; }
  .footer__logo img { width: 180px; height: 180px; }
  .footer__nav a { font-size: 16px; }
  .footer__contact li { font-size: 16px; }
  .footer__social-title { font-size: 16px; }
  .footer__credits p { font-size: 16px; }
  .footer__credits img { height: 60px; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }

  /* Header */
  .header { padding: 12px 24px; }
  .header__logo img { height: 80px; }
  .header__menu-btn { display: flex; }
  .header__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark-2);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  .header__nav--open {
    max-height: 400px;
    padding: 24px 0 32px;
  }
  .header__nav ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* Hero */
  .hero { min-height: 500px; height: 70vh; }
  .hero__bg {
    background-size: cover;
    background-position: 40% center;
  }
  .hero__cta {
    left: 24px;
    right: 24px;
    bottom: 40px;
  }
  .hero__heading {
    font-size: 28px;
    padding-right: 0;
  }
  .btn--red {
    font-size: 0.75rem;
    padding: 10px 20px;
  }

  /* Sobre nosotros */
  .sobre-nosotros__inner {
    flex-wrap: wrap;
    padding: 0 24px;
    gap: 16px;
    text-align: left;
  }
  .sobre-nosotros__title {
    font-size: 32px;
    max-width: 100%;
    width: 100%;
  }
  .sobre-nosotros__line {
    width: 3px;
    min-height: auto;
    align-self: stretch;
  }
  .sobre-nosotros__text {
    text-align: left;
    flex: 1;
  }

  /* Especialización */
  .especializacion__heading { padding: 0 24px; }
  .especializacion__heading-title { font-size: 28px; }
  .especializacion__grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .especializacion__card-title { font-size: 20px; }
  .especializacion__card-text { font-size: 14px; }
  .especializacion__card-text br { display: none; }

  /* Por qué */
  .por-que {
    padding: 40px 24px 60px;
  }
  .por-que__subtitle { font-size: 18px; }
  .por-que__title {
    font-size: 26px;
    max-width: 100%;
    white-space: normal;
  }
  .por-que__icons {
    flex-wrap: wrap;
    gap: 32px;
    padding: 0;
    margin-top: 40px;
    justify-content: center;
  }
  .por-que__icon-item {
    width: calc(50% - 20px);
  }
  .por-que__icon-item svg { width: 80px; height: 50px; }
  .por-que__icon-item p { font-size: 14px; }

  /* Banner */
  .banner { padding: 0 24px; }
  .banner__img { max-height: 400px; }
  .banner__caption { padding: 40px 24px 24px; }
  .banner__caption h2 { font-size: 1.6rem; }

  /* Marcas */
  .marcas {
    padding-left: 24px;
    padding-right: 24px;
  }
  .marcas__track { gap: 30px; }
  .marcas__track img { height: 60px; }
  .marcas__aplicaciones-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 40px;
    gap: 12px;
  }
  .marcas__aplicaciones {
    font-size: 32px;
    width: 100%;
  }
  .marcas__aplicaciones-line {
    width: 3px;
    min-height: 40px;
    align-self: stretch;
    flex-shrink: 0;
  }
  .marcas__aplicaciones-text {
    font-size: 15px;
    flex: 1;
  }
  .marcas__aplicaciones-text br { display: none; }

  /* Aplicaciones grid */
  .aplicaciones-grid__item { height: 200px; }
  .aplicaciones-grid__label {
    font-size: 24px;
    left: 20px;
    bottom: 14px;
  }

  /* Contacto */
  .contacto {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  .contacto__left {
    width: 100%;
    padding: 40px 24px;
  }
  .contacto__title { font-size: 28px; }
  .contacto__desc-text { font-size: 15px; }
  .contacto__right {
    width: 100%;
    padding: 32px 24px;
  }
  .wizard__arrow { width: 34px; height: 34px; }
  .wizard__card { padding: 24px 16px; }
  .wizard__card-title { font-size: 17px; }
  .wizard__chip-label { font-size: 13px; padding: 9px 18px; }
  .wizard__fields { max-width: 100%; }
  .wizard__container { gap: 8px; }

  /* Footer */
  .footer { padding: 40px 24px; }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    text-align: left;
  }
  .footer__logo img { width: 160px; height: 160px; }
  .footer__nav ul { align-items: flex-start; }
  .footer__nav a { font-size: 16px; }
  .footer__contact ul { align-items: flex-start; }
  .footer__contact li {
    font-size: 16px;
    justify-content: flex-start;
  }
  .footer__social { align-items: flex-start; }
  .footer__social-title { font-size: 16px; }
  .footer__credits {
    flex-direction: column;
    gap: 8px;
  }
  .footer__credits p { font-size: 14px; }
  .footer__credits img { height: 50px; }
}

/* ===== RESPONSIVE — SMALL MOBILE ===== */
@media (max-width: 480px) {
  .header__logo img { height: 60px; }

  .hero { min-height: 400px; height: 60vh; }
  .hero__heading { font-size: 22px; }
  .hero__cta { bottom: 30px; }

  .sobre-nosotros__title { font-size: 26px; }
  .sobre-nosotros__text { font-size: 14px; }

  .especializacion__heading-title { font-size: 24px; }
  .especializacion__card-title { font-size: 18px; }

  .por-que__subtitle { font-size: 16px; }
  .por-que__title { font-size: 22px; }
  .por-que__icons { gap: 24px; }
  .por-que__icon-item { width: calc(50% - 16px); }
  .por-que__icon-item svg { width: 60px; height: 40px; }
  .por-que__icon-item p { font-size: 13px; }

  .banner { padding: 0 16px; }
  .banner__img { max-height: 280px; }

  .marcas__track { gap: 24px; }
  .marcas__track img { height: 45px; }
  .marcas__aplicaciones { font-size: 26px; }
  .marcas__aplicaciones-text { font-size: 14px; }

  .aplicaciones-grid { grid-template-columns: 1fr; }
  .aplicaciones-grid__item { height: 180px; }
  .aplicaciones-grid__label { font-size: 20px; }

  .contacto__title { font-size: 24px; }
  .contacto__desc-text { font-size: 14px; }
  .wizard__arrow { width: 30px; height: 30px; }
  .wizard__card { padding: 20px 12px; }
  .wizard__card-title { font-size: 16px; margin-bottom: 20px; }
  .wizard__chip-label { font-size: 12px; padding: 8px 16px; }
  .wizard__chips { gap: 8px; grid-template-columns: 1fr 1fr; }
  .wizard__container { gap: 6px; }

  .footer__logo img { width: 120px; height: 120px; }
  .footer__nav a { font-size: 14px; }
  .footer__contact li { font-size: 14px; }
  .footer__credits p { font-size: 13px; }
  .footer__credits img { height: 40px; }
}
