:root {
  --navy: #101d33;
  --navy-2: #16243d;
  --steel: #8a96a8;
  --steel-light: #dde2e8;
  --bg: #f6f7f9;
  --white: #ffffff;
  --accent: #d9822b;
  --accent-dark: #b8691c;
  --text: #16243d;
  --text-soft: #5a6478;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; color: var(--text-soft); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.line { overflow: hidden; display: block; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.word { display: inline-block; transform: translateY(115%); }
.reveal-up, .reveal-image { opacity: 0; transform: translateY(26px); }
.reveal-image { transform: scale(1.06); }
.hero-anim { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-image, .word, .hero-anim { opacity: 1 !important; transform: none !important; }
}

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: background .3s ease, padding .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); padding: 12px 0; box-shadow: 0 1px 0 rgba(16,29,51,0.08); }
.header-inner { display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--white); margin-right: auto; }
.site-header.scrolled .brand { color: var(--navy); }
.brand-mark { color: var(--accent); flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; display: block; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 44px; }
.brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--light, body:not(.has-photo-hero) .site-header .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark, body:not(.has-photo-hero) .site-header .brand-logo--dark { display: block; }
.brand-logo-footer { height: 44px; }
@media (max-width: 860px) { .brand-logo, .site-header.scrolled .brand-logo { height: 42px; } .brand-logo-footer { height: 42px; } }
.main-nav { display: flex; gap: 26px; }
.main-nav a { position: relative; font-size: 0.92rem; font-weight: 500; color: var(--white); opacity: 0.9; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--accent); transition: right .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { opacity: 1; }
.site-header.scrolled .main-nav a { color: var(--navy); }
.nav-toggle { display: none; }

/* Dropdown de Productos */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; margin-top: 0;
  transform: translateX(-50%) translateY(4px);
  background: var(--white); border-radius: 10px; box-shadow: 0 16px 32px rgba(16,29,51,0.18);
  padding: 8px; min-width: 210px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.main-nav .nav-dropdown-menu a {
  color: var(--navy) !important; opacity: 1 !important; font-size: 0.88rem;
  padding: 9px 12px; border-radius: 6px; white-space: nowrap; font-weight: 500;
}
.main-nav .nav-dropdown-menu a:hover { background: var(--bg); }
.main-nav .nav-dropdown-menu a::after { display: none; }
.nav-dropdown-divider { display: block; height: 1px; background: var(--steel-light); margin: 4px 4px 6px; }
body:not(.has-photo-hero) .site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(16,29,51,0.08); }
body:not(.has-photo-hero) .site-header .brand,
body:not(.has-photo-hero) .site-header .main-nav a { color: var(--navy); }
body:not(.has-photo-hero) .site-header .nav-toggle span { background: var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 8px; font-size: 0.92rem; font-weight: 600; transition: transform .2s var(--ease), background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #0a1424; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Hero */
.hero { position: relative; color: var(--white); padding: 180px 0 120px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -8% -2%; z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,30,0.55) 0%, rgba(10,17,30,0.22) 55%, rgba(10,17,30,0) 100%), linear-gradient(180deg, rgba(10,17,30,0.18) 0%, rgba(10,17,30,0.10) 50%, rgba(10,17,30,0.55) 100%); }
@media (max-width: 760px) { .hero-media::after { background: linear-gradient(180deg, rgba(10,17,30,0.42) 0%, rgba(10,17,30,0.40) 55%, rgba(10,17,30,0.75) 100%); } }
.hero-title, .hero-lead, .hero .eyebrow { text-shadow: 0 2px 14px rgba(10,17,30,0.45); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 26px; height: 4px; border-radius: 4px; border: none; padding: 0; background: rgba(255,255,255,0.45); cursor: pointer; transition: background .3s ease, width .3s ease; }
.hero-dot.is-active { background: var(--accent); width: 40px; }
@media (max-width: 760px) { .hero-dots { bottom: 10px; } .hero-dot { width: 18px; } .hero-dot.is-active { width: 28px; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-inner { position: relative; max-width: 680px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.hero-title { font-size: clamp(2.4rem, 5.2vw, 3.8rem); line-height: 1.08; color: var(--white); margin-bottom: 22px; }
.hero-lead { font-size: 1.05rem; color: #dbe1ea; max-width: 500px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Inner page header (no photo) */
.page-header { background: var(--navy); color: var(--white); padding: 150px 0 60px; }
.page-header .eyebrow { margin-bottom: 14px; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); max-width: 680px; }
.page-header p { color: #c3cbdb; max-width: 560px; margin-top: 16px; margin-bottom: 0; font-size: 1.02rem; }

/* Inner page header, photo variant — split layout: text on navy, photo uncropped-ish on the right */
.page-header-photo { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); min-height: 600px; display: flex; align-items: center; padding: 150px 0 110px; }
.page-header-photo > .wrap { width: 100%; }
.page-header-photo .eyebrow { margin-bottom: 14px; }
.page-header-photo h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); max-width: 500px; }
.page-header-photo p { color: #dfe4ec; max-width: 480px; margin-top: 16px; margin-bottom: 0; font-size: 1.02rem; }
.page-header-media { position: absolute; top: 0; bottom: 0; right: 0; width: 48%; z-index: -1; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.page-header-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(16,29,51,0) 28%), linear-gradient(180deg, rgba(10,17,30,0.55) 0%, rgba(10,17,30,0) 150px); }
@media (max-width: 1100px) {
  .page-header-media { width: 42%; }
  .page-header-photo h1, .page-header-photo p { max-width: 52vw; }
}
@media (max-width: 860px) {
  .page-header-photo { min-height: 0; display: block; padding: 130px 0 90px; }
  .page-header-photo h1, .page-header-photo p { max-width: none; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
  .page-header-media { inset: 0; width: 100%; }
  .page-header-media::after { background: linear-gradient(180deg, rgba(10,17,30,0.45) 0%, rgba(10,17,30,0.72) 100%); }
}

/* Stat bar — floats up over the hero photo so the fold doesn't end on bare image */
.stat-bar { position: relative; z-index: 5; margin-top: -64px; padding: 0 0 40px; }
.stat-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: var(--navy); color: var(--white); border-radius: 16px;
  padding: 34px 40px; box-shadow: 0 30px 60px rgba(16,29,51,0.28);
}
.stat-bar-grid > div { display: flex; flex-direction: column; gap: 2px; }
.stat-bar-grid strong { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.stat-bar-grid span { font-size: 0.85rem; color: #b7c0d1; }
.stat-text strong { font-size: 1.15rem; color: var(--white); }

/* Section shared */
.kicker { display: block; font-family: var(--font-display); font-style: normal; color: var(--steel); font-size: 0.9rem; margin-bottom: 6px; opacity: 0.8; }
.kicker-light { color: #97a3b8; }
.section-tag { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.section-tag-light { color: var(--accent); }
.section-lead { max-width: 620px; margin-top: 18px; }
section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 680px; margin-top: 4px; text-wrap: balance; }
.fabricamos-teaser h2, .porque h2, .arq-teaser h2 { margin-left: auto; margin-right: auto; }

/* Productos */
.productos-section { padding: 90px 0; }
.productos-section + .productos-section { padding-top: 0; }

/* "¿Cuál elijo?" helper */
.helper-box { margin-top: 40px; background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; padding: 28px 30px; }
.helper-box-title { font-family: var(--font-display); font-weight: 600; color: var(--navy); margin-bottom: 16px; display: block; }
.helper-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.helper-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--steel-light); font-size: 0.92rem; }
.helper-row span:first-child { color: var(--text-soft); }
.helper-row strong { color: var(--accent); font-family: var(--font-display); white-space: nowrap; }

/* Compare table */
.compare-wrap { margin-top: 32px; background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; padding: 28px 30px; }
.compare-scroll { overflow-x: auto; margin-top: 18px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th { text-align: left; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); font-weight: 600; padding: 0 12px 10px 0; }
.compare-table th:first-child { min-width: 110px; }
.compare-table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--steel-light); font-size: 0.88rem; color: var(--navy); font-weight: 600; vertical-align: middle; }
.bar { display: block; width: 100%; height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.compare-note { margin: 16px 0 0; font-size: 0.8rem; color: var(--text-soft); }

/* Energy note */
.energy-note { margin-top: 20px; display: flex; gap: 14px; align-items: flex-start; background: #fdf3e7; border: 1px solid #f0d9b5; border-radius: 12px; padding: 20px 24px; }
.energy-note-icon { font-size: 1.3rem; line-height: 1; }
.energy-note p { margin: 0; font-size: 0.92rem; color: #6b4e1f; }
.energy-note strong { color: #6b4e1f; }

.lines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.line-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.line-card:hover { box-shadow: 0 16px 32px rgba(16,29,51,0.08); transform: translateY(-3px); }
.line-media, .glass-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #eef1f6;
  background-image: radial-gradient(circle, rgba(90,100,120,0.16) 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex; align-items: center; justify-content: center;
}
.line-media svg, .glass-media svg { width: 100%; height: 100%; display: block; }
.line-media { aspect-ratio: 1 / 1; background: #fff; background-image: none; border-bottom: 1px solid var(--steel-light); }
.line-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; display: block; }
.glass-media { aspect-ratio: 4 / 3; border-radius: 12px 12px 0 0; }
.line-body { padding: 22px; }
.line-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.line-card p { font-size: 0.9rem; margin-bottom: 14px; }
.line-card ul { margin: 0; padding-left: 18px; font-size: 0.85rem; color: var(--text-soft); }
.line-card li { margin-bottom: 4px; }
.line-spec-link { display: inline-block; margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--steel-light); padding-bottom: 1px; }
.line-spec-link:hover { color: var(--accent); border-color: var(--accent); }

/* Medí tu abertura */
.measure-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; margin-top: 44px; }
.measure-visual {
  aspect-ratio: 4 / 3; border-radius: 12px;
  background-color: #eef1f6;
  background-image: radial-gradient(circle, rgba(90,100,120,0.16) 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.measure-visual svg { width: 100%; height: 100%; }
.measure-tips { display: flex; flex-direction: column; gap: 22px; }
.measure-tip { display: flex; gap: 16px; align-items: flex-start; }
.measure-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--accent); font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.measure-tip strong { display: block; color: var(--navy); font-family: var(--font-display); margin-bottom: 3px; }
.measure-tip p { margin: 0; font-size: 0.9rem; }

/* Herrajes */
.herrajes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.herraje-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; padding: 26px 22px; text-align: left; }
.herraje-icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 16px; }
.herraje-card h3 { font-size: 1rem; margin-bottom: 8px; }
.herraje-card p { font-size: 0.86rem; margin: 0; }

/* Vidrios */
.glass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.glass-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.glass-card:hover { box-shadow: 0 16px 32px rgba(16,29,51,0.08); transform: translateY(-3px); }
.glass-body { padding: 20px 20px 22px; }
.glass-card strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.glass-card span { font-size: 0.84rem; color: var(--text-soft); }

/* Terminaciones */
.finishes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.finish-group { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; padding: 22px 20px; }
.finish-name { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.92rem; margin-bottom: 14px; }
.finish-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.color-dot {
  width: 26px; height: 26px; border-radius: 50%; display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(16,29,51,0.08); padding: 0; margin: 0; cursor: pointer;
  border: none; font: inherit; appearance: none; -webkit-appearance: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.color-dot:hover, .color-dot:focus-visible {
  transform: scale(1.18);
  box-shadow: inset 0 0 0 1px rgba(16,29,51,0.12), 0 0 0 3px rgba(217,130,43,0.3);
  outline: none;
}

/* Color modal */
.color-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.color-modal.open { display: flex; }
.color-modal-backdrop { position: absolute; inset: 0; background: rgba(10,17,30,0.55); backdrop-filter: blur(2px); }
.color-modal-panel {
  position: relative; background: var(--white); border-radius: 16px; max-width: 420px; width: 100%;
  box-shadow: 0 30px 70px rgba(10,17,30,0.35); overflow: hidden;
  animation: colorModalIn .22s ease;
}
@keyframes colorModalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.color-modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(16,29,51,0.06); border: none; font-size: 0.95rem; color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .15s ease;
}
.color-modal-close:hover { background: rgba(16,29,51,0.12); }
.color-modal-swatch { width: 100%; height: 190px; background: #eef1f6; display: flex; align-items: center; justify-content: center; }
.color-modal-disc { width: 124px; height: 124px; border-radius: 50%; box-shadow: 0 10px 28px rgba(16,29,51,0.22), inset 0 0 0 1px rgba(16,29,51,0.08); }
.color-modal-body { padding: 26px 28px 30px; }
.color-modal-group { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.color-modal-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.color-modal-body p { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 20px; }

/* Tonos / fotos de producto (Wall Panel, líneas, etc.) */
.tone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.tone-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.tone-card:hover { box-shadow: 0 16px 32px rgba(16,29,51,0.08); transform: translateY(-3px); }
.tone-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.tone-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tone-name { display: block; padding: 12px 14px; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.88rem; }
.tone-grid-contain { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.tone-grid-contain .tone-card { flex: 0 1 calc(25% - 14px); min-width: 0; }
@media (max-width: 960px) { .tone-grid-contain .tone-card { flex-basis: calc(50% - 9px); } }
@media (max-width: 560px) { .tone-grid-contain .tone-card { flex-basis: 100%; } }
.tone-grid-contain .tone-photo { aspect-ratio: 1 / 1; background: #fff; }
.tone-grid-contain .tone-photo img { object-fit: contain; padding: 14px; box-sizing: border-box; }
.tone-desc { display: block; padding: 0 14px 16px; margin-top: -6px; font-size: 0.82rem; color: var(--text-soft); line-height: 1.45; }
.tone-credit { display: block; margin-top: 14px; font-size: 0.8rem; color: var(--text-soft); }

/* Barras de especificación (ficha técnica de línea) */
.spec-bars { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.spec-bar-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; }
.spec-bar-row span { font-size: 0.86rem; color: var(--text-soft); }

/* Nosotros */
.nosotros { padding: 100px 0; }
.nosotros-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; margin-bottom: 90px; }
.nosotros-visual { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px rgba(16,29,51,0.15); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 90px; }
.value-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 10px; padding: 28px; }
.value-index { font-family: var(--font-display); color: var(--accent); font-size: 0.85rem; font-weight: 700; }
.value-card h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.value-card p { font-size: 0.9rem; margin: 0; }

.install-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 90px; }
.install-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px rgba(16,29,51,0.15); }
.install-list { margin: 18px 0 0; padding-left: 18px; font-size: 0.92rem; color: var(--text-soft); }
.install-list li { margin-bottom: 6px; }

.process { margin-bottom: 90px; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 30px; }
.process-step { position: relative; padding-top: 18px; border-top: 2px solid var(--accent); }
.process-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--steel); font-weight: 700; }
.process-step h4 { font-size: 1rem; margin: 8px 0 6px; }
.process-step p { font-size: 0.86rem; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.team-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--white); border: 1px solid var(--steel-light); border-radius: 10px; padding: 24px; }
.team-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--accent); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.team-name { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.team-role { font-size: 0.84rem; color: var(--text-soft); }
.team-bio { margin: 8px 0 0; font-size: 0.84rem; color: var(--text-soft); font-style: italic; }
.team-card:hover { box-shadow: 0 16px 32px rgba(16,29,51,0.08); transform: translateY(-3px); }
.team-card { transition: box-shadow .25s ease, transform .25s ease; }

/* Clientes */

/* Trabajos */
.trabajos { padding: 90px 0 110px; }
.tabs { display: flex; gap: 10px; margin-top: 40px; margin-bottom: 34px; flex-wrap: wrap; }
.tab { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--steel-light); font-size: 0.9rem; font-weight: 600; color: var(--text-soft); transition: all .2s ease; background: var(--bg); }
.tab.active, .tab:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.work-card { border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--steel-light); cursor: pointer; transition: box-shadow .25s ease, transform .25s ease; text-align: left; display: flex; flex-direction: column; height: 100%; }
.work-card:hover { box-shadow: 0 16px 32px rgba(16,29,51,0.1); transform: translateY(-3px); }
.work-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.work-card-media { aspect-ratio: 4 / 3; position: relative; flex-shrink: 0; }
.work-tag { position: absolute; bottom: 12px; left: 12px; background: rgba(16,29,51,0.78); color: var(--white); font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; letter-spacing: 0.03em; z-index: 3; }
.work-tag-ejemplo { background: var(--accent); }
.work-card-body { padding: 16px 18px; flex: 1; }
.work-card-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1rem; margin-bottom: 4px; line-height: 1.3;
}
.work-card-meta { font-size: 0.82rem; color: var(--text-soft); }

/* Carousel (used in work cards and the modal) */
.carousel { position: absolute; inset: 0; overflow: hidden; }
.carousel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 2;
  background: linear-gradient(transparent, rgba(10,17,30,0.45)); pointer-events: none;
}
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease, transform .5s var(--ease); }
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img, img.carousel-slide { width: 100%; height: 100%; object-fit: cover; }
.work-card:hover .carousel-slide.active { transform: scale(1.05); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 28px; height: 28px; border-radius: 50%; background: rgba(16,29,51,0.55); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; line-height: 1;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.work-card:hover .carousel-arrow, .work-modal-media:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(16,29,51,0.85); }
@media (hover: none) { .carousel-arrow { opacity: 1; } }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.carousel-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.55); border: none; padding: 0; cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dot.active { width: 16px; background: var(--white); }

.work-placeholder {
  border: 1.5px dashed var(--steel); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 0.86rem; text-align: center; gap: 8px; padding: 20px;
  aspect-ratio: 4/3;
}
.work-placeholder span { font-family: var(--font-display); font-size: 1.8rem; color: var(--steel); }
.work-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--text-soft); border: 1.5px dashed var(--steel-light); border-radius: 12px; }

/* Work modal */
.work-modal-overlay {
  position: fixed; inset: 0; background: rgba(10,17,30,0.72); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.work-modal-overlay.open { opacity: 1; pointer-events: auto; }
.work-modal { background: var(--white); border-radius: 14px; max-width: 940px; width: 100%; max-height: 88vh; overflow-y: auto; transform: translateY(16px); transition: transform .25s ease; }
.work-modal-overlay.open .work-modal { transform: translateY(0); }
.work-modal-media { aspect-ratio: 16/9; position: relative; }
.work-modal-body { padding: 28px 32px 32px; }
.work-modal-close { position: absolute; top: 14px; right: 14px; display: block; width: 34px; height: 34px; border-radius: 50%; background: rgba(16,29,51,0.75); color: var(--white); font-size: 1.1rem; z-index: 2; }
.work-modal-title { font-size: 1.4rem; margin-bottom: 6px; }
.work-modal-loc { color: var(--accent); font-weight: 600; font-size: 0.92rem; margin-bottom: 22px; }
.work-modal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; margin-bottom: 20px; }
.work-modal-stat { border-top: 2px solid var(--accent); padding-top: 10px; }
.work-modal-stat strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.1rem; }
.work-modal-stat span { font-size: 0.78rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.work-modal-desc { font-size: 0.94rem; }

/* FAQ */
.faq { padding: 100px 0; }
.faq-list { margin-top: 40px; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--steel-light); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--navy); text-align: left; }
.faq-icon { font-size: 1.3rem; color: var(--accent); transition: transform .3s var(--ease); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding-bottom: 20px; margin: 0; font-size: 0.94rem; }

/* Contacto */
.contacto { padding: 100px 0 120px; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contacto h2 { margin-bottom: 4px; }
.contacto > .wrap > div:first-child .btn { margin: 20px 0 34px; }
.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-label { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; font-weight: 700; color: var(--accent); margin-bottom: 3px; }
.info-list p { margin: 0; color: var(--navy); font-weight: 500; }
.map-frame { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 48px rgba(16,29,51,0.12); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Ticker */
.ticker { background: var(--accent); color: var(--navy); overflow: hidden; padding: 13px 0; }
.ticker-track {
  display: flex; gap: 18px; align-items: center; white-space: nowrap; width: max-content;
  animation: ticker 52s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
}
.ticker-track .dot { flex: 0 0 auto; width: 11px; height: 11px; opacity: 0.55; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1v22M1 12h22M4.2 4.2l15.6 15.6M19.8 4.2 4.2 19.8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1v22M1 12h22M4.2 4.2l15.6 15.6M19.8 4.2 4.2 19.8' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-duration: 110s; } }

/* Qué fabricamos (home, versión corta) */
.fabricamos-teaser { padding: 70px 0 20px; text-align: center; }
.fabricamos-list { font-size: 1.05rem; color: var(--navy); font-weight: 500; max-width: 820px; margin: 18px auto 22px; }

/* Por qué elegirnos (home) */
.porque { padding: 70px 0 20px; }
.porque .section-tag, .porque h2 { text-align: center; display: block; }

/* Arquitectos (teaser en home) */
.arq-teaser { padding: 70px 0 20px; text-align: center; }
.arq-teaser p { max-width: 560px; margin: 14px auto 20px; }

/* Quick nav (home) */
.quicknav { padding: 90px 0 70px; }
.quicknav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.quicknav-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; padding: 30px 26px; display: block; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.quicknav-card:hover { box-shadow: 0 16px 32px rgba(16,29,51,0.08); transform: translateY(-3px); border-color: var(--accent); }
.quicknav-icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 14px; }
.quicknav-num { font-family: var(--font-display); color: var(--steel); font-weight: 700; font-size: 0.78rem; }
.quicknav-card h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.quicknav-card p { font-size: 0.9rem; margin: 0 0 16px; }
.quicknav-link { font-size: 0.86rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(16,29,51,0.28);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* Footer */
.site-footer { background: var(--navy); color: #97a3b8; padding: 32px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 22px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.9rem; }
.brand-footer { color: var(--white); font-size: 1rem; margin-right: 0; margin-bottom: 4px; }
.footer-title { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.footer-note { font-size: 0.9rem; margin: 0; color: #c3cbdb; }
.footer-link { color: #c3cbdb; font-size: 0.9rem; transition: color .2s ease; }
.footer-link:hover { color: var(--accent); }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; padding-bottom: 14px; }
.footer-bottom p { margin: 0; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 960px) {
  .lines-grid, .herrajes-grid, .glass-grid, .finishes-grid, .tone-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .team-grid, .quicknav-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-grid, .contacto-grid, .install-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .helper-list { grid-template-columns: 1fr; }
  .spec-bar-row { grid-template-columns: 1fr; gap: 6px; }
  .work-modal-grid { grid-template-columns: repeat(2, 1fr); }
  .measure-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-dropdown-menu { display: none; }
  .header-inner .btn-primary { display: none; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
  .site-header.scrolled .nav-toggle span { background: var(--navy); }
  .main-nav.open {
    display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 20px 28px 28px; gap: 4px; box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  }
  .main-nav.open a { color: var(--navy); opacity: 1; padding: 12px 0; border-bottom: 1px solid var(--steel-light); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .lines-grid, .values-grid, .team-grid, .work-grid, .process-steps,
  .herrajes-grid, .glass-grid, .quicknav-grid, .finishes-grid, .tone-grid { grid-template-columns: 1fr; }
  .stat-bar-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 140px 0 90px; }
  .page-header { padding: 130px 0 50px; }
  .stat-bar { margin-top: -40px; }
  .stat-bar-grid { padding: 24px 22px; border-radius: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .work-modal-grid { grid-template-columns: 1fr 1fr; }
  .work-modal-body { padding: 22px 20px 26px; }
}

/* DVH + tipos de vidrio */
.dvh-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; background: var(--navy); color: var(--white); border-radius: 16px; padding: 40px; margin-top: 40px; }
.dvh-badge { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--accent); }
.dvh-feature h3 { color: var(--white); font-size: 1.5rem; margin: 8px 0 12px; }
.dvh-feature p { color: #c3cbdb; margin: 0; font-size: 0.95rem; }
.dvh-steps { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.dvh-step { display: flex; gap: 14px; align-items: flex-start; }
.dvh-step strong { display: block; color: var(--white); font-family: var(--font-display); margin-bottom: 2px; }
.dvh-step p { font-size: 0.88rem; }
.dvh-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.dvh-benefits { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 26px 28px; align-self: start; }
.dvh-benefits h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.dvh-benefits ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dvh-benefits li { position: relative; padding-left: 26px; color: #dbe1ea; font-size: 0.92rem; }
.dvh-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.herrajes-grid.glass-types { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.herraje-card .glass-ideal { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--steel-light); font-size: 0.82rem; }
.glass-ideal strong { color: var(--navy); }
@media (max-width: 860px) {
  .dvh-feature { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; }
  .herrajes-grid.glass-types { grid-template-columns: 1fr; }
}

/* Wall Panel detail columns */
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.detail-cols .helper-box { margin-top: 0; }
.detail-cols .helper-box > p { font-size: 0.92rem; margin: 0; }
@media (max-width: 860px) { .detail-cols { grid-template-columns: 1fr; } }

/* Banner sin degradé lateral (la foto se ve completa hasta el borde) */
.page-header-photo--crisp .page-header-media::after { background: linear-gradient(180deg, rgba(10,17,30,0.5) 0%, rgba(10,17,30,0) 150px); }
@media (max-width: 860px) { .page-header-photo--crisp .page-header-media::after { background: linear-gradient(180deg, rgba(10,17,30,0.45) 0%, rgba(10,17,30,0.72) 100%); } }

/* Ventajas con iconos */
.benefit-box { text-align: center; padding: 34px 30px 40px; }
.benefit-box .helper-box-title { margin-bottom: 30px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 24px; }
.benefit-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.benefit-icon { width: 58px; height: 58px; color: var(--accent); }
.benefit-item span { font-size: 0.95rem; font-weight: 500; color: var(--navy); }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }

/* Terminaciones: tarjetas con descripción */
.finishes-grid.finishes-grid-2 { grid-template-columns: repeat(2, 1fr); }
.finish-desc { font-size: 0.88rem; margin: 0 0 16px; }
.acabados-title { font-size: 1.4rem; margin-top: 56px; }
.acabados-sub { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-top: 26px; }
.tone-grid-cover .tone-photo { background: #eef1f6; }
.tone-grid-cover .tone-photo img { object-fit: cover; padding: 0; }
@media (max-width: 860px) { .finishes-grid.finishes-grid-2 { grid-template-columns: 1fr; } }

/* ¿Qué línea elegir? */
.line-guide { margin-top: 44px; max-width: 760px; }
.line-guide h3 { font-size: 1.35rem; margin-bottom: 8px; }
.line-guide p { margin: 0; }

/* Banner Aberturas: foto más abajo y panel con tope de ancho */
.page-header-media { width: min(48%, 720px); }
.page-header-photo--crisp { min-height: 700px; }
.page-header-photo--crisp .page-header-media { top: 44px; }
@media (max-width: 1100px) { .page-header-media { width: 42%; } }
@media (max-width: 860px) {
  .page-header-media { width: 100%; }
  .page-header-photo--crisp { min-height: 0; }
  .page-header-photo--crisp .page-header-media { top: 0; }
}
@media (max-width: 560px) { .tone-grid-cover .tone-card { flex-basis: calc(50% - 9px); } .tone-grid-cover .tone-desc { font-size: 0.78rem; } }

/* Proyectos destacados */
.featured { padding: 80px 0 30px; }
.featured .section-tag, .featured h2 { text-align: center; display: block; margin-left: auto; margin-right: auto; }
.featured .section-lead { text-align: center; margin-left: auto; margin-right: auto; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.featured-card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); }
.featured-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.featured-card:hover img { transform: scale(1.05); }
.featured-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,30,0) 35%, rgba(10,17,30,0.9) 100%); pointer-events: none; }
.featured-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 4px; color: var(--white); }
.featured-caption strong { font-family: var(--font-display); font-size: 1rem; line-height: 1.25; font-weight: 600; }
.featured-meta { font-size: 0.8rem; color: rgba(255,255,255,0.78); font-weight: 500; }
.featured-tag { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; font-weight: 700; color: var(--accent); }
@media (max-width: 960px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .featured-grid { gap: 10px; } .featured-caption { left: 12px; right: 12px; bottom: 12px; } .featured-caption strong { font-size: 0.88rem; } }

.dvh-benefits li strong { color: var(--white); font-weight: 600; }
.stat-text-wide strong { font-size: 1rem; line-height: 1.4; }
@media (max-width: 860px) { .stat-text-wide { grid-column: 1 / -1; } }

/* Ficha de trabajo: foto a la izquierda, datos a la derecha */
.work-modal-split { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; }
.work-modal-split .work-modal-media { aspect-ratio: auto; min-height: 520px; background: var(--navy); }
.work-modal-split .work-modal-body { padding: 36px 34px 34px; align-self: center; }
.work-modal-cat { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.work-modal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.work-modal-chips span { font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--steel-light); color: var(--navy); font-weight: 500; }
.work-modal-cta { margin-top: 22px; }
@media (max-width: 860px) {
  .work-modal-split { grid-template-columns: 1fr; }
  .work-modal-split .work-modal-media { aspect-ratio: 4 / 3; min-height: 0; }
  .work-modal-split .work-modal-body { padding: 24px 22px 28px; }
}


/* ---- Hero: tarjetas con ícono ---- */
.hero-inner { max-width: 760px; }
.hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; max-width: 760px; }
.hero-feature { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(6px); border-radius: 12px; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.hero-feature svg { width: 24px; height: 24px; color: var(--accent); margin-bottom: 12px; }
.hero-feature strong { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--white); }
.hero-feature span { font-size: 0.84rem; color: #c9d1de; line-height: 1.4; }
@media (max-width: 720px) {
  .hero-features { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .hero-feature { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 0; padding: 14px 16px; }
  .hero-feature svg { margin: 0; flex: 0 0 auto; }
  .hero-feature strong { flex: 1; }
  .hero-feature span { flex-basis: 100%; padding-left: 36px; }
}

/* ---- Para profesionales (Home) ---- */
.pro-section { text-align: left; padding: 80px 0 50px; }
.pro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.pro-section h2 { margin-left: 0; margin-right: 0; }
.pro-section .pro-text p { margin-left: 0; margin-right: 0; max-width: 520px; }
.pro-section .pro-sub { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.1rem; margin-top: 4px; }
.pro-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pro-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--steel-light); }
.pro-list li:first-child { border-top: none; padding-top: 4px; }
.pro-list svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.pro-list strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.pro-list p { margin: 0; font-size: 0.92rem; color: var(--text-soft); max-width: none; }
@media (max-width: 860px) { .pro-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Listas con check (hub: arquitectos) ---- */
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-size: 1rem; color: var(--navy); font-weight: 500; }
.check-list svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); }

/* ---- Instalaciones (Nosotros): lista con íconos ---- */
.icon-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.icon-list strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.98rem; margin-bottom: 2px; }
.icon-list p { margin: 0; font-size: 0.9rem; color: var(--text-soft); }

/* ---- Equipo: tarjetas se acomodan solas ---- */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- Título con fondo naranja (Ventajas del Wall Panel) ---- */
.helper-box-title.title-mark { display: inline-block; background: var(--accent); color: var(--white); padding: 7px 18px; border-radius: 6px; }

/* ---- Acabados en círculos con nombre ---- */
.swatch-row { display: flex; flex-wrap: wrap; gap: 22px 26px; margin-top: 4px; }
.swatch-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; text-align: center; cursor: pointer; background: none; border: none; padding: 0; font: inherit; }
.swatch-item .color-dot { width: 58px; height: 58px; }
.swatch-item:hover .color-dot, .swatch-item:focus-visible .color-dot { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(16,29,51,0.12), 0 0 0 3px rgba(217,130,43,0.3); }
.swatch-item:focus-visible { outline: none; }
.swatch-caption { font-size: 0.8rem; line-height: 1.25; color: var(--navy); font-weight: 500; }

/* ---- Tabs de la página Revestimientos ---- */
.page-tabs { display: flex; gap: 8px; margin: 0 0 30px; border-bottom: 1px solid var(--steel-light); }
.page-tab { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--navy); padding: 12px 20px; border-bottom: 3px solid var(--accent); margin-bottom: -1px; }

/* ---- Galería de obra (techos vidriados) ---- */
.obra-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.obra-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); }
.obra-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .obra-gallery { gap: 10px; } }

.work-modal-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.work-modal-stat strong { font-size: 1rem; line-height: 1.3; }


/* ---- Frase destacada ---- */
.pull-quote { margin: 30px 0 8px; padding: 6px 0 6px 22px; border-left: 4px solid var(--accent); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.25; color: var(--navy); max-width: 640px; }

/* ---- Galería de 3 + crédito ---- */
.obra-gallery.obra-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.obra-gallery.obra-gallery-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .obra-gallery.obra-gallery-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .obra-gallery.obra-gallery-3 { grid-template-columns: 1fr; } .obra-gallery.obra-gallery-3 figure { aspect-ratio: 4 / 3; } }
.photo-credit { margin-top: 12px; font-size: 0.8rem; color: var(--text-soft); }

/* ---- 9 tarjetas de producto en 3 columnas (escritorio) ---- */
@media (min-width: 961px) { .herrajes-grid.herrajes-grid-3 { grid-template-columns: repeat(3, 1fr); } }


/* ---- Íconos con descripción (RPT, persianas, mosquiteros, mamparas) ---- */
.benefit-box-desc { margin-top: 34px; padding: 36px 30px 40px; }
.benefit-grid-desc { gap: 38px 32px; }
.benefit-grid-desc.cols-3 { grid-template-columns: repeat(3, 1fr); }
.benefit-grid-desc.cols-4 { grid-template-columns: repeat(4, 1fr); }
.benefit-grid-desc .benefit-item { text-align: center; gap: 10px; }
.benefit-grid-desc .benefit-item strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy); line-height: 1.25; }
.benefit-grid-desc .benefit-item p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--text-soft); max-width: 300px; }
@media (max-width: 1000px) { .benefit-grid-desc.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .benefit-grid-desc.cols-3, .benefit-grid-desc.cols-4 { grid-template-columns: 1fr; } }


/* ---- Proyectos destacados con 6 tarjetas: 3 columnas en escritorio ---- */
@media (min-width: 961px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } .featured-card { aspect-ratio: 4 / 5; } }

/* ---- Ficha de trabajo en grande: la foto manda, los datos acompañan ---- */
.work-modal-overlay { padding: 20px; }
.work-modal { max-width: 1320px; width: 100%; max-height: 94vh; border-radius: 16px; }
.work-modal-split { grid-template-columns: 1.8fr 1fr; min-height: min(80vh, 760px); }
.work-modal-split .work-modal-media { min-height: 0; }
.work-modal-split .work-modal-body { padding: 48px 40px 40px; }
.work-modal-split .work-modal-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; margin-bottom: 10px; }
.work-modal-split .work-modal-loc { font-size: 1rem; }
.work-modal-split .work-modal-desc { font-size: 1rem; }
.work-modal-split .work-modal-cta { display: block; text-align: center; }
.work-modal-split .carousel-arrow { width: 46px; height: 46px; font-size: 1.6rem; opacity: 1; }
.work-modal-split .carousel-prev { left: 16px; }
.work-modal-split .carousel-next { right: 16px; }
.work-modal-split .carousel-dots { bottom: 18px; }
.work-modal-split .work-modal-close { top: 16px; right: 16px; width: 42px; height: 42px; font-size: 1.2rem; background: rgba(16,29,51,0.85); }
@media (max-width: 860px) {
  .work-modal-overlay { padding: 0; align-items: flex-end; }
  .work-modal { max-height: 96vh; border-radius: 16px 16px 0 0; }
  .work-modal-split { grid-template-columns: 1fr; min-height: 0; }
  .work-modal-split .work-modal-media { aspect-ratio: 4 / 3.4; }
  .work-modal-split .work-modal-body { padding: 24px 22px 30px; }
}

.work-modal-stat-pendiente strong { color: var(--steel); font-weight: 400; }

/* ---- Trabajos: filtro centrado sobre la grilla única ---- */
.featured .tabs { justify-content: center; margin-top: 30px; margin-bottom: 8px; }
.featured .work-empty { grid-column: 1 / -1; }

/* Tarjetas de obras: la foto manda. Título y etiqueta siempre; arquitecto, año y ubicación aparecen al pasar el mouse (en celular, al tocar se abre la ficha completa) */
.featured-card::after { background: linear-gradient(180deg, rgba(10,17,30,0) 45%, rgba(10,17,30,0.82) 100%); transition: background .35s ease; }
.featured-caption strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-metas { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s ease, opacity .3s ease, margin .35s ease; }
.featured-metas-in { overflow: hidden; display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.featured-plus { position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--navy); font: 600 1.2rem/30px var(--font-display); text-align: center; box-shadow: 0 4px 12px rgba(10,17,30,0.25); transition: transform .3s ease, background .3s ease, color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .featured-plus { opacity: 0; transform: scale(.8); }
  .featured-card:hover .featured-plus, .featured-card:focus-visible .featured-plus { opacity: 1; transform: scale(1); background: var(--accent); color: var(--white); }
  .featured-card:hover::after, .featured-card:focus-visible::after { background: linear-gradient(180deg, rgba(10,17,30,0.05) 20%, rgba(10,17,30,0.92) 100%); }
  .featured-card:hover .featured-metas, .featured-card:focus-visible .featured-metas { grid-template-rows: 1fr; opacity: 1; margin-top: 4px; }
}
@media (max-width: 480px) {
  .featured-card { aspect-ratio: 3 / 4; }
  .featured-tag { font-size: 0.6rem; letter-spacing: 0.08em; }
  .featured-plus { top: 8px; right: 8px; width: 26px; height: 26px; font-size: 1.05rem; line-height: 26px; }
}
}

/* ---- Reseñas de Google (home) ---- */
.resenas { padding: 80px 0 60px; }
.resenas .section-tag, .resenas h2 { text-align: center; display: block; margin-left: auto; margin-right: auto; }
.resenas-summary { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.resenas-summary:empty { display: none; }
.resenas-score { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); }
.resena-stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.resenas-count { font-size: 0.9rem; color: var(--text-soft); }
.resenas-carousel { position: relative; margin-top: 36px; }
.resenas-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.resenas-track::-webkit-scrollbar { display: none; }
.resenas-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.resena-card { flex: 0 0 calc((100% - 36px) / 3); min-width: 280px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--steel-light); border-radius: 14px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.resena-head { display: flex; align-items: center; gap: 12px; }
.resena-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; flex-shrink: 0; }
.resena-who { display: flex; flex-direction: column; line-height: 1.3; }
.resena-who strong { font-family: var(--font-display); font-size: 0.98rem; color: var(--navy); }
.resena-who span { font-size: 0.8rem; color: var(--text-soft); }
.resena-text { font-size: 0.92rem; color: var(--text); margin: 0; }
.resenas-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--steel-light); box-shadow: 0 6px 18px rgba(16,29,51,0.12); color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.resenas-arrow:hover { border-color: var(--navy); }
.resenas-prev { left: -14px; }
.resenas-next { right: -14px; }
.resenas-scrollable .resenas-arrow { display: block; }
.resenas-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.resenas-actions:empty { display: none; }
@media (max-width: 960px) { .resena-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .resena-card { flex-basis: 85%; min-width: 0; } .resenas-arrow { display: none !important; } .resenas { padding: 60px 0 40px; } }

/* ---- RPT: mismo bloque azul que DVH, con los beneficios en grilla de íconos ---- */
.rpt-feature { background: var(--navy); color: var(--white); border-radius: 16px; padding: 40px; margin-top: 40px; }
.rpt-feature h3 { color: var(--white); font-size: 1.5rem; margin: 0 0 30px; }
.rpt-feature .benefit-grid-desc .benefit-item { align-items: flex-start; text-align: left; }
.rpt-feature .benefit-grid-desc .benefit-item strong { color: var(--white); }
.rpt-feature .benefit-grid-desc .benefit-item p { color: #c3cbdb; max-width: none; }
.rpt-lines { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); }
.rpt-lines-title { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-right: 6px; }
.rpt-line-link { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; transition: border-color .2s ease, background .2s ease; }
.rpt-line-link span { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: var(--accent); }
.rpt-line-link:hover { border-color: var(--accent); background: rgba(255,255,255,0.1); }
.dvh-feature .rpt-lines { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 860px) { .rpt-feature { padding: 28px 22px; } .rpt-feature h3 { margin-bottom: 24px; } }

/* Opciones de cajón (persianas): dos tarjetas */
@media (min-width: 761px) { .herrajes-grid.herrajes-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.herrajes-grid-2 .herraje-card p { font-size: 0.92rem; }

/* Beneficios en 5 ítems: 3 + 2 centrados */
.benefit-grid-desc.cols-5 { display: flex; flex-wrap: wrap; justify-content: center; }
.benefit-grid-desc.cols-5 .benefit-item { flex: 0 0 calc((100% - 64px) / 3); }
@media (max-width: 1000px) { .benefit-grid-desc.cols-5 .benefit-item { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 640px) { .benefit-grid-desc.cols-5 .benefit-item { flex-basis: 100%; } }

/* ---- Ficha de trabajo: la foto se ve entera, con fondo difuminado en los costados ---- */
.work-modal .carousel-slide { display: flex; align-items: center; justify-content: center; background: var(--navy); }
.work-modal .carousel-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(24px) brightness(0.72); transform: scale(1.05); }
.work-modal .carousel-slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) {
  .work-modal-split .work-modal-media { aspect-ratio: 1 / 1.1; max-height: 64vh; width: 100%; }
}

/* ---- Persianas: dos tipos con el mismo peso visual ---- */
.tipos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.tipo-card { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--steel-light); border-radius: 14px; padding: 28px 28px 26px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tipo-card:hover { border-color: var(--accent); box-shadow: 0 14px 30px rgba(16,29,51,0.08); transform: translateY(-2px); }
.tipo-card h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.tipo-card p { margin: 0; font-size: 0.95rem; }
.tipo-badge { display: inline-block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--accent); }
.tipo-link { margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.tipo-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; margin-top: 8px; }
.tipo-grid .section-tag { margin-top: 0; }
.tipo-grid .section-lead { max-width: none; }
.persiana-esquema { margin: 0; background: var(--white); border: 1px solid var(--steel-light); border-radius: 14px; padding: 22px 22px 16px; }
.persiana-esquema svg { width: 100%; height: auto; display: block; }
.persiana-esquema figcaption { margin-top: 10px; font-size: 0.78rem; color: var(--text-soft); text-align: center; }
#extruido, #inyectado { scroll-margin-top: 80px; }
@media (max-width: 860px) { .tipos-grid, .tipo-grid { grid-template-columns: 1fr; } .tipo-grid { gap: 22px; } }
.persiana-esquema-foto { padding: 14px 14px 14px; }
.persiana-esquema-foto img { width: 100%; height: auto; display: block; border-radius: 8px; mix-blend-mode: multiply; }
.obra-gallery + .photo-credit { margin-top: 16px; }

/* Persianas: beneficios en común, cajón con foto, colores */
.benefit-grid-desc.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 760px) { .benefit-grid-desc.cols-2 { grid-template-columns: 1fr; } }
.herraje-foto { width: 100%; height: 280px; object-fit: cover; object-position: center 40%; border-radius: 10px; display: block; margin: -4px 0 18px; }
@media (max-width: 560px) { .herraje-foto { height: 220px; } }
.color-chips { display: flex; flex-wrap: wrap; gap: 22px 26px; margin-top: 34px; }
.color-chip { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 120px; }
.color-swatch { display: block; width: 100%; height: 64px; border-radius: 10px; border: 1px solid var(--steel-light); box-shadow: 0 6px 16px rgba(16,29,51,0.08); }
.color-name { font-size: 0.92rem; font-weight: 600; color: var(--navy); text-transform: capitalize; }
@media (max-width: 560px) { .color-chip { width: calc((100% - 52px) / 3); } }
#inyectado .persiana-esquema-foto img { max-height: 560px; width: auto; max-width: 100%; margin: 0 auto; mix-blend-mode: multiply; }
.tipo-title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; margin: 6px 0 4px; }
.tipo-badge { font-size: 0.82rem; }

/* Una sola foto de obra */
.obra-single { margin: 30px 0 0; max-width: 480px; border-radius: 14px; overflow: hidden; background: var(--navy); }
.obra-single img { width: 100%; height: auto; display: block; }

/* Fila de fotos reales dentro de una tarjeta (hasta 3) */
.herraje-fotos { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; margin: -4px 0 18px; }
.herraje-fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; display: block; }

/* Persianas: ilustración más chica a la derecha + fila de fotos reales debajo (hasta 3) */
.tipo-grid { grid-template-columns: 1fr minmax(260px, 400px); gap: 48px; }
.persiana-esquema { max-width: 400px; justify-self: end; padding: 14px 14px 10px; }
.persiana-esquema-foto img, #inyectado .persiana-esquema-foto img { max-height: 300px; width: auto; max-width: 100%; margin: 0 auto; }
.persiana-esquema figcaption { font-size: 0.74rem; }
.tipo-fotos { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; margin-top: 28px; }
.tipo-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 860px) { .tipo-grid { grid-template-columns: 1fr; } .persiana-esquema { justify-self: stretch; max-width: none; } .tipo-fotos { grid-template-columns: 1fr; } }

/* Líneas de aluminio: las tarjetas de la última fila quedan centradas */
.lines-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.lines-grid .line-card { flex: 0 0 calc((100% - 40px) / 3); }
@media (max-width: 960px) { .lines-grid .line-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .lines-grid .line-card { flex-basis: 100%; } }

/* Colores de persianas: círculos chicos con el nombre al lado */
.color-dots { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 30px; }
.color-dot-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.color-dot-sm { width: 22px; height: 22px; border-radius: 50%; display: inline-block; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(16,29,51,0.12); }

.hero .eyebrow { color: #ffd2a0; }

/* Portones: cada tipo con su foto al costado */
.porton-list { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.porton-row { display: grid; grid-template-columns: 1fr minmax(240px, 400px); gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--steel-light); border-radius: 14px; padding: 28px 30px; }
.porton-row:nth-child(even) { grid-template-columns: minmax(240px, 400px) 1fr; }
.porton-row:nth-child(even) .porton-foto { order: -1; }
.porton-text h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.porton-text p { margin: 0; font-size: 1rem; max-width: 560px; }
.porton-foto { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px dashed var(--steel-light); display: flex; align-items: center; justify-content: center; }
.porton-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tipo-foto-icono { width: 56px; height: 56px; color: var(--steel); opacity: 0.6; }
@media (max-width: 860px) { .porton-row, .porton-row:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; } .porton-row:nth-child(even) .porton-foto { order: 0; } }

/* Grillas de categorías: la última fila queda centrada */
.herrajes-grid-3 { display: flex; flex-wrap: wrap; justify-content: center; }
.herrajes-grid-3 > .herraje-card { flex: 0 0 calc((100% - 36px) / 3); }
@media (max-width: 960px) { .herrajes-grid-3 > .herraje-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .herrajes-grid-3 > .herraje-card { flex-basis: 100%; } }

.porton-nota { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-soft); }
.porton-text p + p { margin-top: 12px; }

/* Marcas con las que trabajamos */

/* Confianza: logos de empresas (carrusel sin cajas) + marcas en una línea */
.confianza { background: var(--white); padding: 76px 0 64px; border-top: 1px solid var(--steel-light); border-bottom: 1px solid var(--steel-light); }
.confianza-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.confianza-head .section-tag { display: block; margin-bottom: 10px; }
.confianza-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.confianza-head p { margin: 0 auto; color: var(--text-soft); font-size: 1rem; }
.logo-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { list-style: none; margin: 0; padding: 0 56px 0 0; display: flex; align-items: center; flex-shrink: 0; gap: 56px; min-width: 100%; justify-content: space-around; animation: logo-scroll 48s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { display: block; height: 40px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) opacity(0.6); mix-blend-mode: multiply; transition: filter .25s ease; }
.logo-track img.sq { height: 62px; }
.logo-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation-duration: 120s; } }
.confianza-more { margin: 34px 0 0; text-align: center; font-size: 0.92rem; color: var(--text-soft); }
.confianza-more a { color: var(--navy); font-weight: 600; margin-left: 6px; border-bottom: 1px solid var(--steel-light); }
.confianza-more a:hover { color: var(--accent); border-color: var(--accent); }
.marcas-line { margin: 44px auto 0; padding-top: 28px; border-top: 1px solid var(--steel-light); max-width: 900px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.marcas-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.marcas-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 44px; }
.marcas-list img { display: block; height: var(--h, 34px); width: auto; filter: grayscale(1) opacity(0.65); mix-blend-mode: multiply; transition: filter .25s ease; }
.marcas-list img:hover { filter: grayscale(0) opacity(1); }
@media (max-width: 560px) { .confianza { padding: 56px 0 48px; } .logo-track { gap: 40px; padding-right: 40px; } .logo-track img { height: 32px; max-width: 150px; } .logo-track img.sq { height: 50px; } .marcas-line { flex-direction: column; gap: 14px; } .marcas-list { gap: 14px 28px; } .marcas-list img { height: calc(var(--h, 34px) * 0.8); } }

/* Caja de ventajas sobre fondo azul (mismo estilo que RPT y DVH) */
.benefit-dark { background: var(--navy); border-color: var(--navy); }
.benefit-dark .benefit-item span { color: var(--white); }
/* Cajones de persiana: foto simple y par de fotos con la misma altura para que las dos tarjetas queden parejas */
.herraje-card-foto .herraje-fotos img { aspect-ratio: auto; height: 280px; }
@media (max-width: 560px) { .herraje-card-foto .herraje-fotos img { height: 220px; } }
.dvh-feature .dvh-badge { display: inline-block; vertical-align: middle; }

/* Foto de obra dentro de un tipo de persiana, con aclaración al pie (ej: "* Cajón exterior") */
.tipo-foto-obra { margin: 28px 0 0; max-width: 340px; background: var(--white); border: 1px solid var(--steel-light); border-radius: 14px; overflow: hidden; }
.tipo-foto-obra img { width: 100%; height: auto; display: block; }
.tipo-foto-obra figcaption { padding: 10px 14px; font-size: 0.82rem; font-weight: 600; color: var(--navy); }
@media (max-width: 560px) { .tipo-foto-obra { max-width: none; } }
/* Caja de beneficios con íconos y descripción, sobre fondo azul (extruido e inyectado) */
.benefit-dark .benefit-grid-desc .benefit-item strong { color: var(--white); }
.benefit-dark .benefit-grid-desc .benefit-item p { color: #c3cbdb; }
/* Colores de persianas dentro de un rectángulo blanco (igual que Colores en Aberturas) */
.color-dots-card { background: var(--white); border: 1px solid var(--steel-light); border-radius: 12px; padding: 26px 28px; }
@media (max-width: 560px) { .color-dots-card { padding: 22px 20px; } }
/* Filas de "Ideal para" / datos: en celular el valor puede pasar a dos líneas (antes se salía de la pantalla) */
@media (max-width: 640px) { .helper-row { flex-wrap: wrap; } .helper-row strong { white-space: normal; text-align: right; margin-left: auto; } }
/* Anclas a una línea concreta (desde "Líneas con RPT"): que no quede tapada por el encabezado fijo */
.line-card { scroll-margin-top: 110px; }
/* Corte del perfil RPT (Aberturas) */
.shutter-card.rpt-cut { grid-template-columns: minmax(0, 340px) 1fr; }
.rpt-cut-img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--steel-light); }
.rpt-legend { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin: 4px 0 10px; }
.rpt-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); display: inline-block; }
@media (max-width: 760px) { .shutter-card.rpt-cut { grid-template-columns: 1fr; } .rpt-cut-img { max-width: 320px; margin: 0 auto; } }

/* Formas de apertura: 3 tarjetas por fila en escritorio (más ancho de texto, menos renglones) */
@media (min-width: 961px) {
  .tone-grid-contain .tone-card { flex: 0 1 calc(33.333% - 12px); }
  .tone-grid-contain .tone-photo { aspect-ratio: 4 / 3; }
}
/* Tipos de vidrio: tarjetas un poco más anchas hacia adentro */
.herrajes-grid.glass-types { gap: 14px; }
.herrajes-grid.glass-types .herraje-card { padding: 26px 20px; }
/* Encuadre del banner de Mamparas: en escritorio la ducha queda a la derecha del texto; en celular, centrada */
.hero-mamparas { object-position: 40% 50%; }
@media (max-width: 760px) { .hero-mamparas { object-position: 50% 50%; } }
/* Lugar reservado para la foto (mismo tamaño que las de Persianas) hasta tener la foto real */
.herraje-foto-pendiente { width: 100%; height: 280px; border-radius: 10px; border: 1px dashed var(--steel-light); background: var(--bg); color: var(--steel); display: flex; align-items: center; justify-content: center; margin: -4px 0 18px; }
.herraje-foto-pendiente svg { opacity: 0.6; }
@media (max-width: 560px) { .herraje-foto-pendiente { height: 220px; } }
/* Banner de Puertas de ingreso: foto de la puerta, sin franja de datos debajo */
.page-header-sin-barra { padding-bottom: 80px; }
.hero-puertas { object-position: 50% 42%; }
