/* ==========================================
   FONTS
   ========================================== */
@font-face {
  font-family: 'Cinematografica';
  src: url('../fonts/Cinematografica-Regular-trial.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Cinematografica';
  src: url('../fonts/Cinematografica-Bold-trial.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Cinematografica';
  src: url('../fonts/Cinematografica-Extrabold-trial.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Cinematografica';
  src: url('../fonts/Cinematografica-Heavy-trial.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* ==========================================
   VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
  --black: #0a0a0a;
  --near-black: #0d0d0d;
  --gold: #e9c23c;
  --gold-deep: #c99a1e;
  --navy: #0c2d58;
  --navy-deep: #081f3d;
  --steel-blue: #3f7cad;
  --white: #f5f5f2;
  --grey: #b9b9b6;
  --green: #4caf50;
  --purple: #9758ee;
}

body.page-nosotros {
  --grey: #c7c7c4;
  --green: #4caf50;
}

body.page-productos {
  --grey: #b7b7b4;
  --green: #7ed957;
  --purple: #9758ee;
}

/* ==========================================
   COMMON BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: 'Cinematografica', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h3,
.display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.script {
  font-family: 'Oswald', sans-serif;
  text-transform: none;
  font-weight: 400;
}

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

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

hr {
  height: 14px;
  background: var(--gold);
  border: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--gold);
  font-size: 14.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 5px;
  text-decoration-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* ==========================================
   SHARED FOOTER CTA STRIP (INDEX ONLY)
   ========================================== */
.footer-strip {
  background-color: var(--navy);
  text-align: center;
  padding: 60px 24px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 50vh;
}

.footer-strip .green-line {
  width: 50px;
  height: 10px;
  background-color: var(--green);
  margin: 0 auto;
}

.footer-strip h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: .3px;
  text-transform: none;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}

.footer-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.btn-green-flat {
  display: inline-block;
  background-color: #4caf50;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-green-flat:hover {
  background-color: #43a047;
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-block;
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: #151005;
  transform: translateY(-2px);
}

/* ==========================================
   DEFINITIVE FOOTER
   ========================================== */
.main-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 50px 0 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30vh;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr 0.9fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.footer-links h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: #a4b3c6;
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  font-size: 14px;
  line-height: 1.8;
  color: #a4b3c6;
}

.footer-contact h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-contact p {
  font-size: 16px;
  margin: 0;
}

.footer-contact a {
  color: #a4b3c6;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-socials h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #a4b3c6;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.footer-copyright {
  background-color: #000000;
  text-align: center;
  padding: 16px 24px;
  font-size: 15px;
  color: #8f8f8c;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: auto;
}

/* ==========================================
   HOMEPAGE (index.html) SPECIFIC STYLES
   ========================================== */
/* Smoky texture background */
.smoke-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(233, 194, 60, 0.05), transparent 70%),
    #000;
  animation: drift 30s ease-in-out infinite alternate;
}

@keyframes drift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }

  100% {
    background-position: 5% 4%, -4% -3%, 3% -2%;
  }
}

/* Hero section */
.hero {
  position: relative;
  min-height: 99.5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.hero video,
.cta-dark video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .55;
}

.hero::before,
.cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .75) 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 60px;
  max-width: 900px;
}

.crown-icon,
.hero-logo-icon {
  width: 140px;
  height: auto;
  margin: 0 auto 22px;
  display: block;
}

.hero h1 {
  font-size: 120px;
  color: var(--white);
  -webkit-text-stroke: 1px rgba(0, 0, 0, .4);
  text-shadow: 0 4px 18px rgba(0, 0, 0, .6);
  line-height: 1.05;
}

.hero .tagline {
  margin-top: 16px;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--white);
}

.gold-divider {
  height: 14px;
  background: var(--gold);
  position: relative;
  z-index: 5;
}

/* Section: Productos (Home) */
.section-productos {
  position: relative;
  background: url(../img/index-1.jpg) center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 90px 6% 90px 6%;
  overflow: hidden;
}

.productos-grid {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.productos-text {
  max-width: 600px;
  text-align: right;
}

.productos-text h2 {
  color: var(--gold);
  font-size: 100px;
  margin-bottom: 22px;
  line-height: 1.2;
}

.productos-text p {
  color: var(--white);
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: .3px;
  margin-bottom: 36px;
}

.productos-text .icon-item {
  text-align: right;
}

.productos-text .icon-badge {
  margin: 0 0 12px auto;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.icon-item {
  text-align: center;
}

.icon-badge {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
}

.icon-item h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: none;
  color: var(--white);
  margin-bottom: 6px;
}

.icon-item p {
  font-size: 16px;
  color: var(--white);
  font-weight: normal;
  line-height: 1.5;
}

/* Section: Valor Diferencial (Home) */
.section-valor {
  position: relative;
  background: url(../img/index-2.jpg) center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 90px 6% 90px 6%;
  overflow: hidden;
}

.valor-grid {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.valor-text {
  max-width: 600px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.valor-text h2 {
  color: var(--gold);
  font-size: 100px;
  margin-bottom: 22px;
}

.valor-text>p {
  color: var(--white);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 44px;
}

.valor-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 34px;
  column-gap: 20px;
  width: 100%;
}

.valor-icons .icon-item {
  text-align: left;
}

.valor-icons .icon-badge {
  margin: 0 0 12px;
}

.valor-img {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
}

.valor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.valor-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--near-black) 0%, transparent 12%);
  z-index: 1;
}

/* CTA Dark with Video (Home) */
.cta-dark {
  position: relative;
  text-align: center;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
  overflow: hidden;
  background: #000;
}

.cta-dark .content {
  position: relative;
  z-index: 2;
}

.cta-dark h2 {
  color: var(--gold);
  font-size: 100px;
  margin-bottom: 14px;
}

.cta-dark .script {
  color: var(--white);
  font-size: 38px;
  display: block;
  margin-bottom: 46px;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #151005;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1.5px;
  font-size: 16px;
  padding: 16px 44px;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(233, 194, 60, .25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(233, 194, 60, .35);
}



/* ==========================================
   NOSOTROS (nosotros.html) SPECIFIC STYLES
   ========================================== */
.nos-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nos-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  z-index: 0;
}

.nos-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nos-content {
  position: relative;
  z-index: 2;
}

.nos-content h1,
.nos-content h2 {
  color: var(--gold);
  font-size: 100px;
  margin-bottom: 22px;
  line-height: 1.2;
}

.nos-lead {
  color: var(--white);
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: .3px;
  max-width: 640px;
  margin-bottom: 40px;
}

.divider-gold-partial {
  height: 14px;
  background: linear-gradient(90deg, #000 50%, var(--gold) 50%);
  position: relative;
  z-index: 5;
}

.divider-gold-75 {
  height: 14px;
  background: linear-gradient(90deg, #000 75%, var(--gold) 75%);
  position: relative;
  z-index: 5;
}

.divider-gold-full {
  height: 14px;
  background: var(--gold);
}

#mas-nosotros {
  min-height: 140vh;
}

#mas-nosotros .nos-bg {
  background-image: url('../img/about.jpg');
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

#mas-nosotros .nos-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, .3) 75%, rgba(0, 0, 0, .1) 100%);
}

#mas-nosotros .nos-content {
  padding: 180px 0 140px;
  max-width: 640px;
  margin-left: 250px;
}

.feature-block {
  display: flex;
  gap: 18px;
  margin-bottom: 34px;
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon.gold {
  border-color: var(--gold);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
  fill: none;
  stroke: var(--green);
}

.feature-icon.gold svg {
  stroke: var(--gold);
}

.feature-text h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: none;
  font-size: 19px;
  color: var(--green);
  margin-bottom: 8px;
}

.feature-text.gold h3 {
  color: var(--gold);
}

.feature-text p {
  font-size: 16px;
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
}

.feature-text p.desc {
  margin-bottom: 12px;
}

.feature-text .sub-label {
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.feature-text ul {
  list-style: none;
}

.feature-text ul li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

#mejora .nos-bg {
  background-image: url('../img/nos.png');
  background-position: center;
}

#mejora .nos-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .78) 40%, rgba(0, 0, 0, .3) 68%, rgba(0, 0, 0, .05) 100%);
}

#mejora .nos-content {
  padding: 80px 0 70px;
  max-width: 660px;
  margin-left: 150px;
}

.mv-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.mv-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 1.6;
  fill: none;
}

.mv-text h4 {
  color: var(--gold);
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
  letter-spacing: .5px;
}

.mv-text p {
  font-size: 16px;
  color: var(--white);
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
}

.mv-text p::before {
  content: "•";
  position: absolute;
  left: 0;
}

#atencion {
  background: #050505;
}

#atencion .nos-bg {
  background-image: url('../nos_atencion.jpg');
  background-position: center;
}

#atencion .nos-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .75) 40%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0) 100%);
}

.nos-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#atencion .nos-content {
  padding: 100px 0 80px;
  max-width: 680px;
  margin-left: 150px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 6px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  color: var(--white);
  line-height: 1.5;
  font-weight: 400;
}

.check-ico {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  background: #66c25a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-ico svg {
  width: 12px;
  height: 12px;
  stroke: #0a2b0a;
  stroke-width: 3;
  fill: none;
}

/* ==========================================
   PRODUCTOS (productos.html) SPECIFIC STYLES
   ========================================== */
.prod-section {
  position: relative;
  min-height: 99.5vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.prod-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.prod-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.prod-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 0 60px;
  margin-inline-start: 200px;
  margin-inline-end: 200px;
}

.prod-content .inner {
  max-width: 560px;
  margin-left: 0;
}

.eyebrow {
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.prod-content h1,
.prod-content h2 {
  font-size: 100px;
  margin-bottom: 22px;
  line-height: 1.2;
}

.prod-content p.lead {
  font-size: 18px;
  color: var(--white);
  line-height: 1.85;
  letter-spacing: .3px;
  max-width: 520px;
  margin-bottom: 36px;
}

.prod-icons {
  display: flex;
  gap: 34px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.prod-icons .icon-item {
  text-align: center;
  max-width: 120px;
}

.prod-icons .icon-badge {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.prod-icons .icon-badge svg {
  width: 23px;
  height: 23px;
  stroke: var(--gold);
  fill: none;
}

.prod-icons h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: none;
  color: var(--white);
  letter-spacing: .2px;
  margin-bottom: 6px;
}

.btn-galeria {
  display: inline-block;
  background: var(--green);
  color: #0d2b0a;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-galeria:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(126, 217, 87, .3);
}

.divider-full {
  height: 14px;
  background: var(--navy);
  position: relative;
  z-index: 5;
}

.divider-partial {
  height: 12px;
  background: linear-gradient(90deg, #000 25%, var(--navy) 25%);
}

#recubrimientos .prod-bg {
  background-image: url('../img/products-1.jpg');
}

#recubrimientos .prod-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .75) 40%, rgba(0, 0, 0, .15) 75%, rgba(0, 0, 0, 0) 100%);
}

#recubrimientos h2 {
  color: var(--steel-blue);
}

.eyebrow.blue {
  color: var(--steel-blue);
}

#dispersiones .prod-bg {
  background-image: url('../disp.jpg');
  background-position: center 30%;
}

.prod-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#dispersiones .prod-overlay {
  background: linear-gradient(90deg, rgba(3, 15, 26, .94) 0%, rgba(3, 15, 26, .8) 42%, rgba(3, 15, 26, .25) 78%, rgba(3, 15, 26, 0) 100%);
}

#dispersiones h2 {
  color: var(--steel-blue);
}

#colores {
  background: #000;
}

#colores .prod-bg {
  background-image: url('../img/products-2.jpg');
  background-position: left center;
}

#colores .prod-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .94) 72%, #000 100%);
}

#colores .prod-content {
  max-width: 100%;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-right: 200px;
}

#colores .inner {
  margin-left: auto;
  margin-right: 0;
  max-width: 480px;
  text-align: right;
}

#colores .inner p.lead {
  margin-left: auto;
}

#colores h2 {
  color: var(--white);
}

#colores .prod-icons {
  justify-content: flex-end;
}

#colores .prod-icons .icon-item {
  text-align: right;
}

#colores .prod-icons .icon-badge {
  margin: 0 0 10px auto;
}

#pigmentos {
  background: #000;
}

#pigmentos .prod-bg {
  background-image: url('../img/products-3.jpg');
  background-position: right center;
}

#pigmentos .prod-overlay {
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .94) 28%, rgba(0, 0, 0, .5) 55%, rgba(0, 0, 0, .1) 100%);
}

#pigmentos h2 {
  color: var(--purple);
}

body.page-productos .check-ico {
  background: var(--green);
}

/* ==========================================
   RESPONSIVE LAYOUTS & MEDIA QUERIES
   ========================================== */

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {

  /* ── Tipografías grandes ── */
  h1, h2,
  .hero h1,
  .productos-text h2,
  .valor-text h2,
  .cta-dark h2,
  .nos-content h1,
  .nos-content h2,
  .prod-content h1,
  .prod-content h2 {
    font-size: clamp(52px, 9vw, 80px) !important;
    line-height: 1.15 !important;
  }

  .cta-dark .script {
    font-size: clamp(20px, 4vw, 30px);
  }

  /* ── Footer ── */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* ── Index: Productos ── */
  .section-productos,
  .section-valor {
    padding: 80px 5% 60px;
  }

  .productos-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-content: flex-start;
  }

  .productos-text {
    text-align: left;
    max-width: 100%;
    order: 2;
  }

  .productos-text .icon-item {
    text-align: left;
  }

  .productos-text .icon-badge {
    margin: 0 0 12px;
  }

  .productos-img {
    order: 1;
  }

  .icon-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  /* ── Index: Valor ── */
  .valor-grid {
    grid-template-columns: 1fr;
  }

  .valor-img {
    min-height: 300px;
    order: 1;
  }

  .valor-text {
    padding: 0 0 40px;
    order: 2;
    max-width: 100%;
  }

  .valor-icons {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  /* ── Nosotros ── */
  #mas-nosotros .nos-content,
  #mejora .nos-content,
  #atencion .nos-content {
    max-width: 100%;
    margin-left: 0 !important;
    padding-left: 0;
  }

  #mas-nosotros .nos-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.85) 30%, rgba(0,0,0,.96) 55%, #000 100%);
  }

  #mejora .nos-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.82) 28%, rgba(0,0,0,.95) 50%, #000 100%);
  }

  #atencion .nos-content {
    padding-bottom: 340px;
  }

  /* ── Productos ── */
  .prod-section {
    min-height: auto;
  }

  .prod-content {
    padding: 150px 0 40px;
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  #colores .prod-content {
    padding-right: 0;
  }

  #colores .inner {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  #colores .inner p.lead {
    margin-left: 0;
  }

  #colores .prod-icons {
    justify-content: flex-start;
  }

  #colores .prod-icons .icon-item {
    text-align: left;
  }

  #colores .prod-icons .icon-badge {
    margin: 0 auto 10px 0;
  }

  .prod-content .inner {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .prod-bg {
    background-position: center top;
  }

  #recubrimientos .prod-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.93) 62%, #000 100%);
  }

  #dispersiones .prod-overlay {
    background: linear-gradient(180deg, rgba(3,15,26,.3) 0%, rgba(3,15,26,.55) 28%, rgba(3,15,26,.94) 60%, #030f1a 100%);
  }

  #colores .prod-bg {
    background-position: center top;
  }

  #colores .prod-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 30%, rgba(0,0,0,.93) 60%, #000 100%);
  }

  #pigmentos .prod-bg {
    background-position: center top;
  }

  #pigmentos .prod-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.92) 60%, #000 100%);
  }
}

/* ---- Mobile (≤ 640px) ---- */
@media (max-width: 640px) {

  /* ── Base ── */
  .container {
    padding: 0 20px;
  }

  /* ── Nav mobile ── */
  nav ul {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(8, 8, 8, .98);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 55;
  }

  nav ul.open {
    transform: translateX(0);
  }

  nav ul li a {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  /* ── Tipografías Hero ── */
  .hero h1 {
    font-size: clamp(38px, 11vw, 60px) !important;
    line-height: 1.1 !important;
  }

  .hero .tagline {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .hero-logo-icon {
    width: 90px;
    margin-bottom: 16px;
  }

  /* ── Tipografías de sección ── */
  h1, h2,
  .productos-text h2,
  .valor-text h2,
  .cta-dark h2,
  .nos-content h1,
  .nos-content h2,
  .prod-content h1,
  .prod-content h2 {
    font-size: clamp(36px, 10vw, 52px) !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
  }

  .cta-dark .script {
    font-size: clamp(16px, 4vw, 22px);
    margin-bottom: 32px;
  }

  /* Párrafos body */
  .nos-lead,
  .prod-content p.lead,
  .productos-text p,
  .valor-text > p,
  .feature-text p,
  .mv-text p,
  .checklist li {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Subtítulos eyebrow */
  .eyebrow {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  /* Icon titles */
  .icon-item h4,
  .prod-icons h4 {
    font-size: 13px;
  }

  .icon-item p {
    font-size: 13px;
  }

  .feature-text h3 {
    font-size: 16px;
  }

  .mv-text h4 {
    font-size: 17px;
  }

  /* ── Index: Productos ── */
  .section-productos,
  .section-valor {
    padding: 70px 5% 50px;
    min-height: auto;
  }

  .icon-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

  .icon-badge {
    width: 46px;
    height: 46px;
  }

  .icon-badge svg {
    width: 20px;
    height: 20px;
  }

  /* ── Index: Valor ── */
  .valor-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

  /* ── CTA ── */
  .cta-dark {
    padding: 80px 20px 60px;
    min-height: auto;
  }

  /* ── Footer strip ── */
  .footer-strip {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-strip h3 {
    font-size: 18px;
    line-height: 1.5;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* ── Footer ── */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* ── Nosotros ── */
  #mas-nosotros .nos-content,
  #mejora .nos-content {
    padding-top: 120px;
  }

  #atencion .nos-content {
    padding-top: 100px;
    padding-bottom: 260px;
  }

  .feature-block {
    gap: 12px;
    margin-bottom: 24px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .mv-block {
    gap: 12px;
    margin-bottom: 18px;
  }

  .mv-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .checklist {
    gap: 8px;
  }

  /* ── Productos ── */
  .prod-section {
    min-height: auto;
    padding-top: 0;
  }

  .prod-content {
    padding: 120px 0 40px;
  }

  .prod-icons {
    gap: 18px;
    flex-wrap: wrap;
  }

  .prod-icons .icon-badge {
    width: 44px;
    height: 44px;
  }

  .prod-icons .icon-badge svg {
    width: 20px;
    height: 20px;
  }

  .prod-icons .icon-item {
    max-width: 80px;
  }

  .btn-galeria {
    font-size: 14px;
    padding: 12px 26px;
  }
}

/* ==========================================
   MODAL GALERÍA (CARROUSEL POPUP)
   ========================================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.gallery-content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 920px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.gallery-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.1);
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(233, 194, 60, 0.5);
  color: var(--gold);
  font-size: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gallery-prev {
  left: -24px;
}

.gallery-next {
  right: -24px;
}

@media (max-width: 768px) {
  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }
}

.gallery-prev:hover,
.gallery-next:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.gallery-counter {
  margin-top: 16px;
  color: var(--grey);
  font-size: 16px;
  letter-spacing: 1.5px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
}

/* ==========================================
   ANIMACIONES DE ENTRADA Y SCROLLEO (APARICIÓN SUAVE)
   ========================================== */
.hero-content {
  animation: heroSoftFade 1.2s ease-out forwards;
}

@keyframes heroSoftFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transition: opacity 1s ease-out;
  will-change: opacity;
}

.reveal.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
}