:root {
  --red: #d71920;
  --orange: #f28c00;
  --navy: #071821;
  --ink: #101820;
  --muted: #5e6a70;
  --line: rgba(16, 24, 32, 0.12);
  --white: #ffffff;
  --off-white: #f5f7f8;
  --shadow: 0 24px 70px rgba(7, 24, 33, 0.16);
  --radius: 24px;
  --container: 1180px;
  --font-title: "Barlow Condensed", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  line-height: 1.72;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  cursor: pointer;
  border: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(215, 25, 32, 0.32);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 24, 33, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 38px rgba(7, 24, 33, 0.09);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 54px;
  max-width: 210px;
}

.brand img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.22s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.22s ease, background 0.22s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--red);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 72px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 24, 33, 0.96) 0%, rgba(7, 24, 33, 0.84) 43%, rgba(7, 24, 33, 0.48) 68%, rgba(7, 24, 33, 0.26) 100%),
    radial-gradient(circle at 24% 55%, rgba(242, 140, 0, 0.16), transparent 28%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), var(--orange));
  transform: skewX(-18deg);
  z-index: 2;
  opacity: 0.9;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 320px;
  gap: 58px;
  align-items: end;
}

.hero-content {
  max-width: 790px;
}

.hero-content h1 {
  margin-bottom: 22px;
}

.hero-content p {
  max-width: 680px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(7, 24, 33, 0.74);
  border: 1px solid rgba(242, 140, 0, 0.45);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.hero-card span {
  display: block;
  font-family: var(--font-title);
  font-size: 1.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin: 4px 0;
  font-family: var(--font-title);
  font-size: 5.2rem;
  line-height: 0.85;
  color: var(--orange);
}

.hero-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.trust-strip {
  position: relative;
  z-index: 4;
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 138px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 3.2rem;
  line-height: 0.9;
  color: var(--orange);
}

.trust-item span {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.services-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 140, 0, 0.08), transparent 30%),
    var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 24, 33, 0.09);
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 33, 0.06), rgba(7, 24, 33, 0.88));
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover .service-image {
  transform: scale(1.06);
}

.service-icon {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  width: 88px;
  height: 88px;
  padding: 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(7, 24, 33, 0.16);
  object-fit: contain;
}

.service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 120px 28px 30px;
  color: #fff;
}

.service-content h3 {
  margin-bottom: 14px;
}

.service-content p {
  color: rgba(255, 255, 255, 0.8);
}

.split-section {
  padding: 115px 0;
  background: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 62px;
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  box-shadow: var(--shadow);
}

.split-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 24, 33, 0.32));
  z-index: 1;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-content p {
  color: var(--muted);
  margin-top: 20px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.check-list img {
  width: 30px;
  height: 30px;
}

.video-section {
  padding: 105px 0;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgba(242, 140, 0, 0.14), transparent 28%),
    linear-gradient(135deg, var(--navy), #0a2430);
}

.video-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: center;
}

.video-content p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(242, 140, 0, 0.4);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
}

.gallery-item {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border-right: 3px solid #fff;
  isolation: isolate;
}

.gallery-item:last-child {
  border-right: 0;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 33, 0.05), rgba(7, 24, 33, 0.82));
  z-index: 1;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item h3 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: 1.75rem;
}

.company-section {
  padding: 100px 0;
  background:
    linear-gradient(135deg, rgba(7, 24, 33, 0.94), rgba(7, 24, 33, 0.88)),
    url("../images/fondo-industrial.jpg") center / cover;
  color: #fff;
}

.company-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 38px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.company-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(242, 140, 0, 0.45);
  display: grid;
  place-items: center;
}

.company-icon img {
  width: 92px;
  height: 92px;
}

.company-card p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 860px;
}

.cta-section {
  position: relative;
  padding: 110px 0;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 33, 0.94), rgba(7, 24, 33, 0.72), rgba(7, 24, 33, 0.42)),
    radial-gradient(circle at 20% 60%, rgba(242, 140, 0, 0.18), transparent 34%);
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.cta-content p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-info p {
  margin-top: 22px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(7, 24, 33, 0.06);
  transition: transform 0.22s ease, border 0.22s ease;
}

.contact-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 140, 0, 0.55);
}

.contact-list img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.contact-list span {
  font-weight: 800;
}

.contact-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 26px;
  color: var(--navy);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  background: #f9fafb;
  color: var(--ink);
  transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 140, 0, 0.11);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0;
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--orange));
  font-weight: 800;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(7, 24, 33, 0.24);
  transition: transform 0.22s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-whatsapp img {
  width: 46px;
  height: 46px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .hero-inner,
  .split-grid,
  .video-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 360px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-image {
    min-height: 440px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 70px;
  }

  .brand {
    height: 46px;
    max-width: 170px;
  }

  .brand img {
    max-height: 46px;
    max-width: 170px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .main-nav a {
    padding: 14px;
    border-radius: 12px;
  }

  .main-nav a:hover {
    background: var(--off-white);
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 62px;
  }

  .hero::after {
    right: 4%;
    opacity: 0.5;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-left: 0 !important;
  }

  .section,
  .split-section,
  .video-section,
  .company-section,
  .cta-section {
    padding: 78px 0;
  }

  .company-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 18px;
  }

  .trust-grid,
  .services-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .gallery-item {
    min-height: 230px;
    border-right: 0;
    border-bottom: 3px solid #fff;
  }

  .split-image {
    min-height: 340px;
  }

  .contact-form {
    padding: 24px;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp img {
    width: 42px;
    height: 42px;
  }
}


.contact-list img,
.check-list img,
.company-icon img,
.floating-whatsapp img {
  object-fit: contain;
}



/* === FIX LOGO HEADER === */
.site-header .brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 280px !important;
  min-width: 220px !important;
  max-width: 280px !important;
  height: 72px !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 10000 !important;
  flex: 0 0 auto !important;
}

.site-header .brand-logo,
.site-header .brand img,
#brandLogo {
  display: block !important;
  width: 260px !important;
  height: 64px !important;
  max-width: 260px !important;
  max-height: 64px !important;
  min-width: 120px !important;
  object-fit: contain !important;
  object-position: left center !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 10001 !important;
}

/* Si el logo no cargara, JS muestra este texto provisional. */
.brand-fallback {
  display: none;
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand.has-logo-error .brand-fallback {
  display: block;
}

.brand.has-logo-error .brand-logo {
  display: none !important;
}

@media (max-width: 860px) {
  .site-header .brand {
    width: 190px !important;
    min-width: 160px !important;
    max-width: 190px !important;
    height: 62px !important;
  }

  .site-header .brand-logo,
  .site-header .brand img,
  #brandLogo {
    width: 180px !important;
    height: 54px !important;
    max-width: 180px !important;
    max-height: 54px !important;
  }

  .brand-fallback {
    font-size: 1.65rem;
  }
}

/* === FIX ICONOS SVG === */
.service-icon {
  position: absolute !important;
  top: 22px !important;
  left: 22px !important;
  z-index: 3 !important;
  width: 88px !important;
  height: 88px !important;
  padding: 9px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 12px 28px rgba(7, 24, 33, 0.16) !important;
  object-fit: contain !important;
  object-position: center !important;
}

.contact-list img,
.check-list img,
.company-icon img,
.floating-whatsapp img {
  object-fit: contain !important;
}

/* === POPUP OFERTA SALA DE CALDERAS === */

.sale-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.sale-popup.is-active {
  display: flex;
}

.sale-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 33, 0.78);
  backdrop-filter: blur(8px);
}

.sale-popup__dialog {
  position: relative;
  width: min(100%, 1180px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(242, 140, 0, 0.34);
  animation: salePopupIn 0.32s ease forwards;
}

.sale-popup__dialog::before {
  content: "";
  position: sticky;
  top: -34px;
  display: block;
  height: 6px;
  margin: -34px -34px 28px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  z-index: 2;
}

.sale-popup__close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin: -16px -14px 0 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.sale-popup__header {
  max-width: 820px;
  margin-bottom: 24px;
}

.sale-popup__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(242, 140, 0, 0.12);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sale-popup h2 {
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 3rem);
}

.sale-popup__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.sale-carousel {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 18px 50px rgba(7, 24, 33, 0.16);
}

.sale-carousel__viewport {
  position: absolute;
  inset: 0;
}

.sale-carousel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.sale-carousel__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.sale-carousel__button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

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

.sale-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.sale-carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.sale-carousel__dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--orange);
}

.sale-popup__content {
  display: grid;
  gap: 18px;
}

.sale-popup__price {
  display: inline-grid;
  justify-self: start;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #0f2b38);
  border: 1px solid rgba(242, 140, 0, 0.35);
}

.sale-popup__price span {
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.72);
}

.sale-popup__price strong {
  font-family: var(--font-title);
  font-size: 2.5rem;
  line-height: 0.9;
  color: var(--orange);
}

.sale-popup__text-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: start;
}

.sale-popup__text-media p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.66;
}

.sale-popup__text-media strong {
  color: var(--navy);
}

.sale-popup__text-media img {
  width: 150px;
  height: 230px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(7, 24, 33, 0.14);
}

.sale-popup__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.sale-popup__bullets li {
  position: relative;
  padding-left: 27px;
  font-weight: 800;
  color: var(--navy);
}

.sale-popup__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.sale-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--red);
}

@keyframes salePopupIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1040px) {
  .sale-popup__layout {
    grid-template-columns: 1fr;
  }

  .sale-carousel {
    min-height: 430px;
  }

  .sale-popup__text-media {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .sale-popup__text-media img {
    width: 180px;
    height: 220px;
  }
}

@media (max-width: 640px) {
  .sale-popup {
    padding: 12px;
  }

  .sale-popup__dialog {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .sale-popup__dialog::before {
    margin: -24px -18px 22px;
    top: -24px;
  }

  .sale-carousel {
    min-height: 310px;
  }

  .sale-popup__text-media {
    grid-template-columns: 1fr;
  }

  .sale-popup__text-media img {
    width: 100%;
    height: 240px;
  }

  .sale-popup__actions .btn {
    width: 100%;
  }
}


/* === ENCABEZADOS CENTRADOS DE SECCIÓN === */

.section-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading .eyebrow::before {
  width: 38px;
}


/* === VIDEO LOCAL BALTUR - MISMO ESTILO QUE SECCIÓN VIDEO === */

.local-video-section {
  padding: 105px 0;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgba(242, 140, 0, 0.14), transparent 28%),
    linear-gradient(135deg, var(--navy), #0a2430);
}

.local-video-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 54px;
  align-items: center;
}


/*Video Baltur*/
/* Fuerza vídeo izquierda aunque en el HTML esté después */
.local-video-frame {
  order: 1;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(242, 140, 0, 0.4);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  background: #000;
}

.local-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}

/* Fuerza texto derecha aunque en el HTML esté antes */
.local-video-content {
  order: 2;
}

.local-video-content p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
  line-height: 1.7;
}

.local-video-content .btn {
  margin-top: 32px;
}

@media (max-width: 1080px) {
  .local-video-grid {
    grid-template-columns: 1fr;
  }

  .local-video-frame {
    order: 1;
  }

  .local-video-content {
    order: 2;
  }
}

@media (max-width: 640px) {
  .local-video-section {
    padding: 78px 0;
  }

  .local-video-frame {
    aspect-ratio: 16 / 9;
  }
}