/* =========================================================
   CONSTRUNOVA — styles.css
   Paleta e identidad industrial premium
   ========================================================= */

:root {
  --graphite: #222222;
  --steel-gray: #6C757D;
  --white: #FFFFFF;
  --safety-yellow: #FFC107;
  --light-background: #F7F7F7;
  --light-border: #E9ECEF;
  --whatsapp-green: #25D366;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-width: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;

  --header-height: 84px;
  --brandbar-height: 40px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--safety-yellow);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Contenedores y utilidades ---------- */
.section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  color: var(--safety-yellow);
  background: var(--graphite);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--graphite);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.section-title--center { text-align: center; margin: 0 auto 48px; max-width: 700px; }

.section-text {
  color: var(--steel-gray);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 46ch;
}

.text-accent { color: var(--safety-yellow); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-arrow span { color: var(--safety-yellow); transition: transform 0.2s ease; }
.link-arrow:hover { gap: 10px; }
.link-arrow:hover span { transform: translateX(2px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--safety-yellow);
  color: var(--graphite);
}
.btn--primary:hover { background: #FFCE33; }

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.btn--dark {
  background: var(--graphite);
  color: var(--white);
}
.btn--dark:hover { background: #333333; }

.btn--whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
}
.btn--whatsapp:hover { background: #1EBE5A; }

.btn--full { width: 100%; }

/* =========================================================
   1. Barra superior de cambio de marca
   ========================================================= */
.brand-bar {
  background: var(--graphite);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: var(--brandbar-height);
  padding: 8px 20px;
  font-size: 12.5px;
}
.brand-bar__text { margin: 0; max-width: 900px; line-height: 1.4; }

@media (max-width: 720px) {
  .brand-bar { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 16px; }
}

/* =========================================================
   2. Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-bottom-color: var(--light-border);
}

.site-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__logo { height: 40px; width: auto; object-fit: contain; }
.brand__fallback-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: 0.02em; }
.brand__tagline { font-size: 11px; color: var(--steel-gray); letter-spacing: 0.05em; text-transform: uppercase; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}
.primary-nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--safety-yellow);
  transition: width 0.2s ease;
}
.primary-nav__link:hover::after,
.primary-nav__link.is-active::after { width: 100%; }
.primary-nav__link.is-active { color: var(--graphite); }

.primary-nav__cta { flex-shrink: 0; padding: 12px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 0;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--graphite);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-height) + var(--brandbar-height));
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--light-border);
    transition: max-height 0.3s ease;
  }
  .primary-nav.is-open { max-height: 80vh; overflow-y: auto; }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px;
  }
  .primary-nav__list li { border-bottom: 1px solid var(--light-border); }
  .primary-nav__link { display: block; padding: 14px 0; }
  .primary-nav__cta { margin: 16px 20px 20px; justify-content: center; }
}

/* =========================================================
   3. Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--graphite);
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(15,15,15,0.92) 0%,
    rgba(15,15,15,0.75) 32%,
    rgba(15,15,15,0.25) 60%,
    rgba(15,15,15,0.05) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  padding: 90px 20px;
}
.hero__content { color: var(--white); max-width: 620px; }
.hero__title {
  font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.2rem);
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero__description {
  color: #E4E5E6;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(15,15,15,0.55) 0%,
      rgba(15,15,15,0.75) 55%,
      rgba(15,15,15,0.95) 100%);
  }
  .hero__inner { padding: 60px 20px 48px; display: flex; align-items: flex-end; min-height: 560px; }
  .hero__actions .btn { flex: 1 1 auto; text-align: center; }
}

/* =========================================================
   4. Diferenciales
   ========================================================= */
.differentials {
  background: #1B1B1B;
  padding: 32px 20px;
}
.differentials__list {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.differentials__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white);
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.differentials__item:last-child { border-right: none; }
.differentials__icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--white); }
.differentials__title { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 4px; color: var(--safety-yellow); }
.differentials__text { font-size: 13px; color: #C7C9CB; line-height: 1.4; }

@media (max-width: 900px) {
  .differentials__list { grid-template-columns: 1fr 1fr; }
  .differentials__item:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .differentials__list { grid-template-columns: 1fr; }
  .differentials__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
  .differentials__item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* =========================================================
   5. Productos
   ========================================================= */
.products { background: var(--white); padding: 88px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head__link { flex-shrink: 0; }

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: var(--graphite); transform: translateY(-3px); }

.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light-background);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
}
.product-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--graphite);
}
.product-card__arrow {
  color: var(--steel-gray);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}
.product-card:hover .product-card__arrow { color: var(--safety-yellow); transform: translateX(3px); }

@media (max-width: 960px) {
  .products__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .products__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   6. Servicios
   ========================================================= */
.services { background: var(--light-background); padding: 88px 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card__icon { width: 32px; height: 32px; color: var(--graphite); margin-bottom: 6px; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
}
.service-card__text { color: var(--steel-gray); font-size: 14px; line-height: 1.55; margin-bottom: 6px; }
.service-card .link-arrow { margin-top: auto; }

@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   7. Nosotros
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about__media { background: var(--light-background); }
.about__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.about__content {
  background: var(--light-background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 64px 6vw;
}
.about__text { color: var(--steel-gray); line-height: 1.65; font-size: 1rem; }
.about__content .btn { margin-top: 12px; align-self: flex-start; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media img { min-height: 260px; }
  .about__content { padding: 48px 24px; }
}

/* =========================================================
   8. Por qué elegirnos
   ========================================================= */
.why-us { background: var(--white); padding: 88px 0; }
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.why-us__item { text-align: left; }
.why-us__icon { width: 34px; height: 34px; color: var(--safety-yellow); margin-bottom: 16px; }
.why-us__title {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.why-us__text { color: var(--steel-gray); font-size: 14px; line-height: 1.55; }

@media (max-width: 900px) {
  .why-us__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .why-us__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   9. Clientes
   ========================================================= */
.clients { background: var(--light-background); padding: 80px 0; }
.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.clients__item {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.clients__item:hover { filter: grayscale(0%); opacity: 1; }
.clients__item img { max-height: 100%; width: auto; object-fit: contain; }

@media (max-width: 900px) {
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   10. CTA previo al formulario
   ========================================================= */
.cta {
  position: relative;
  background: var(--graphite);
  min-height: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.cta__media { position: relative; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 56px 6vw;
  color: var(--white);
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--safety-yellow);
  line-height: 1.15;
}
.cta__text { color: #D6D8DA; line-height: 1.6; max-width: 40ch; }
.cta__content .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; }
  .cta__media { min-height: 220px; order: 1; }
  .cta__content { order: 2; padding: 40px 24px; }
}

/* =========================================================
   11. Contacto y formulario
   ========================================================= */
.contact { background: var(--white); padding: 88px 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-list__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-border);
}
.contact-list__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel-gray);
  font-weight: 600;
}
.contact-list__value { font-size: 15.5px; color: var(--graphite); }
.contact-list__value--link:hover { color: var(--safety-yellow); text-decoration: underline; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--light-background);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--graphite);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--graphite);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.phone-group { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.phone-group input { width: 100%; }

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-field--checkbox input { width: auto; margin-top: 3px; }
.form-field--checkbox label { font-weight: 400; font-size: 13.5px; color: var(--steel-gray); }

.form-error {
  font-size: 12.5px;
  color: #C1121F;
  min-height: 15px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.form-status.is-error { color: #C1121F; }
.form-status.is-success { color: #1E7B34; }
.form-status.is-info { color: var(--steel-gray); }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
}

/* =========================================================
   13. Footer
   ========================================================= */
.site-footer { background: var(--graphite); color: var(--white); padding-top: 56px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer__logo { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 8px; }
.site-footer__tagline { color: #B9BBBD; font-size: 13px; margin: 0 0 18px; }

.site-footer__social { display: flex; gap: 12px; }
.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.site-footer__social-link:hover {
  background: var(--safety-yellow);
  border-color: var(--safety-yellow);
  color: var(--graphite);
}

.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a { font-size: 14px; color: #D6D8DA; }
.site-footer__nav a:hover { color: var(--safety-yellow); }

.site-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__contact a { color: #D6D8DA; }
.site-footer__contact a:hover { color: var(--safety-yellow); }
.site-footer__contact p { color: #D6D8DA; }

.site-footer__bottom {
  text-align: center;
  padding: 20px;
  font-size: 12.5px;
  color: #9C9E9F;
}

@media (max-width: 700px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   Botón flotante de WhatsApp
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--graphite);
  color: var(--white);
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float:hover::after { opacity: 1; }

@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float::after { display: none; }
}

/* =========================================================
   Placeholders de imagen (fallback elegante)
   ========================================================= */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    #2C2C2C,
    #2C2C2C 12px,
    #333333 12px,
    #333333 24px
  );
  border-radius: inherit;
}
.img-placeholder span {
  color: #C7C9CB;
  font-size: 12px;
  font-family: var(--font-body);
  padding: 10px 16px;
  letter-spacing: 0.02em;
  word-break: break-word;
}

/* Placeholders sobre fondos claros (cards de productos, clientes, etc.) */
.product-card__media .img-placeholder,
.clients__item .img-placeholder {
  background: repeating-linear-gradient(
    135deg,
    #E9ECEF,
    #E9ECEF 12px,
    #DDE1E4 12px,
    #DDE1E4 24px
  );
}
.product-card__media .img-placeholder span,
.clients__item .img-placeholder span { color: var(--steel-gray); }

/* Placeholder del logo (inline, no ocupa toda la altura) */
.brand .img-placeholder,
.site-footer__brand .img-placeholder { display: none; }

/* =========================================================
   Modal de detalle de producto
   ========================================================= */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-modal[hidden] { display: none; }

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 34, 0.7);
}

.product-modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
}
.product-modal__close:hover { background: var(--light-background); }

.product-modal__media { background: var(--light-background); min-height: 340px; }
.product-modal__media img { width: 100%; height: 100%; object-fit: cover; }

.product-modal__content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.product-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  text-transform: uppercase;
  font-weight: 600;
}
.product-modal__description { color: var(--steel-gray); line-height: 1.7; font-size: 1.02rem; }

@media (max-width: 700px) {
  .product-modal__dialog { grid-template-columns: 1fr; }
  .product-modal__media { min-height: 220px; }
  .product-modal__content { padding: 32px 24px; }
}

/* =========================================================
   Animaciones discretas de aparición
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
