:root {
  --bg: #F0EDE6;
  --ink: #111111;
  --ink-muted: #555555;
  --ink-light: #999999;
  --accent: #C8A96E;
  --white: #ffffff;
  --border: rgba(17,17,17,0.1);
  --font: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: url('../img/fondo.webp');
  background-repeat: repeat;
  background-size: 600px 600px;
  background-blend-mode: multiply;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s; }
.nav.scrolled { background: rgba(240,237,230,0.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 112px; display: flex; align-items: center; justify-content: space-between; transition: height 0.28s ease; }
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 112px; width: auto; display: block; filter: none; background: transparent; padding: 0; transition: height 0.28s ease, filter 0.28s ease; }
.nav.scrolled .nav-inner { height: 72px; }
.nav.scrolled .logo-img { height: 42px; filter: invert(1); }
.nav-links { display: flex; list-style: none; gap: 36px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--bg); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--bg) !important; color: var(--ink) !important; padding: 10px 20px; }
.nav.scrolled .nav-cta { background: var(--ink) !important; color: var(--bg) !important; }
.nav-cta:hover { background: var(--accent) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--bg); display: block; transition: 0.3s; }
.nav.scrolled .hamburger span { background: var(--ink); }
.mobile-menu { display: none; flex-direction: column; background: var(--bg); padding: 16px 24px 24px; border-top: 1px solid var(--border); gap: 0; }
.mobile-menu a { text-decoration: none; color: var(--ink); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-picture { position: absolute; inset: -20%; z-index: 0; overflow: hidden; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.34; filter: saturate(0.9) contrast(1.05); will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,13,13,0.84) 0%, rgba(13,13,13,0.62) 48%, rgba(13,13,13,0.72) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px; width: 100%; }
.hero-eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(240,237,230,0.6); margin-bottom: 24px; }
.hero-title { font-size: clamp(56px, 10vw, 120px); font-weight: 700; line-height: 0.95; letter-spacing: -2px; color: var(--bg); margin-bottom: 32px; }
.hero-sub { font-size: 18px; color: rgba(240,237,230,0.7); max-width: 440px; line-height: 1.6; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--accent); color: var(--ink); padding: 16px 36px; text-decoration: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; transition: 0.3s; border: 2px solid var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost { display: inline-block; background: transparent; color: var(--bg); padding: 16px 36px; text-decoration: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border: 2px solid rgba(240,237,230,0.4); transition: 0.3s; }
.btn-ghost:hover { border-color: var(--bg); }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.hero-scroll span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(240,237,230,0.4); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(240,237,230,0.4), transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* SECTION COMMON */
.section-header { margin-bottom: 56px; }
.eyebrow { display: block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.section-title { font-size: clamp(32px, 4.5vw, 60px); font-weight: 700; letter-spacing: -1px; line-height: 1.05; color: var(--ink); }
.section-desc { margin-top: 16px; color: var(--ink-muted); font-size: 16px; }

/* SERVICIOS */
.servicios { padding: 120px 0; }

.servicio-principal { border: 1.5px solid var(--ink); padding: 48px; margin-bottom: 48px; position: relative; }
.sp-label { position: absolute; top: -12px; left: 32px; background: var(--bg); padding: 0 12px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 700; background-image: url('../img/fondo.webp'); background-size: 600px; }
.sp-content h3 { font-size: 32px; font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.5px; }
.sp-content p { font-size: 16px; color: var(--ink-muted); line-height: 1.7; max-width: 720px; margin-bottom: 24px; }
.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-tags span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--ink); color: var(--ink); }

.servicios-adicionales { margin-bottom: 48px; }
.sa-label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.sa-card { background: var(--bg); background-image: url('../img/fondo.webp'); background-size: 600px; padding: 36px 32px; transition: background 0.3s; }
.sa-card:hover { background-color: var(--ink); background-image: none; }
.sa-card:hover h4, .sa-card:hover p { color: var(--bg); }
.sa-card h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; transition: color 0.3s; }
.sa-card p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; transition: color 0.3s; }

.trabajos-section { margin-bottom: 48px; }
.trabajos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.trabajo-card { background: var(--bg); background-image: url('../img/fondo.webp'); background-size: 600px; padding: 28px 24px; transition: background 0.3s; }
.trabajo-card:hover { background-color: var(--ink); background-image: none; }
.trabajo-card:hover h4, .trabajo-card:hover p { color: var(--bg); }
.trabajo-card h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; transition: color 0.3s; }
.trabajo-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; transition: color 0.3s; }


.proximamente-section { margin-top: 8px; }
.proximamente-desc { font-size: 14px; color: var(--ink-muted); margin-bottom: 20px; font-style: italic; }
.proximo-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.proximo-item { background: rgba(240,237,230,0.72); background-image: url('../img/fondo.webp'); background-size: 600px; padding: 24px 24px; min-height: 124px; }
.proximo-item h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.proximo-item p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

/* PRÓXIMAMENTE — CORTE DE TUBOS */
.proximamente-tubos {
  margin-top: 34px;
  border: 1.5px solid var(--ink);
  background: rgba(240,237,230,0.72);
  background-image: url('../img/fondo.webp');
  background-size: 600px;
  padding: 42px;
  position: relative;
  overflow: hidden;
}
.proximamente-tubos::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 999px;
  pointer-events: none;
}
.proximamente-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: #c1121f;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}
.proximamente-tubos-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 42px;
  align-items: stretch;
}
.proximamente-tubos h3 {
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 18px;
}
.proximamente-tubos p {
  max-width: 780px;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.proximamente-tubos p strong { color: var(--ink); font-weight: 700; }
.proximamente-badge {
  border-left: 1px solid var(--border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}
.proximamente-badge span {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.proximamente-badge strong {
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.proximamente-badge small {
  color: var(--ink-muted);
  line-height: 1.5;
}
.proximamente-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 30px;
}
.proximamente-specs div {
  background: rgba(240,237,230,0.86);
  padding: 18px 16px;
  min-height: 96px;
}
.proximamente-specs span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.proximamente-specs strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
}


/* MATERIALES */
.materiales { padding: 80px 0; background: var(--ink); }
.materiales .eyebrow { color: var(--ink-light); }
.materiales-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); margin-top: 56px; }
.material-item { background: var(--ink); padding: 32px 20px 26px; text-align: center; transition: background 0.3s; display: flex; flex-direction: column; align-items: center; }
.material-item:hover { background: #1a1a1a; }
.material-icon { font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 10px; letter-spacing: -1px; }
.material-item h4 { font-size: 16px; font-weight: 700; color: var(--bg); margin-bottom: 6px; }
.material-item p { font-size: 12px; color: var(--ink-light); letter-spacing: 1px; }
.material-swatch { width: 100%; max-width: 180px; height: 54px; margin-top: 20px; border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 32px rgba(0,0,0,0.22); overflow: hidden; background: #111; }
.material-swatch picture, .material-swatch img { display: block; width: 100%; height: 100%; }
.material-swatch img { object-fit: cover; }
.swatch-fe { background: linear-gradient(135deg, #171717 0%, #343434 35%, #202020 58%, #4a4a4a 100%), repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 5px); background-blend-mode: screen; }
.swatch-inox { background: repeating-linear-gradient(90deg, #8b8d8f 0 2px, #c7c9c9 2px 4px, #6f7173 4px 6px), linear-gradient(135deg, rgba(255,255,255,0.45), rgba(0,0,0,0.12)); background-blend-mode: overlay; }
.swatch-al { background: linear-gradient(135deg, #d4d5d1 0%, #9ea19f 28%, #f1f1ed 48%, #a6a9a7 72%, #dbddd9 100%); }
.swatch-galv { background: radial-gradient(circle at 22% 28%, rgba(255,255,255,0.75) 0 3%, transparent 18%), radial-gradient(circle at 72% 38%, rgba(255,255,255,0.55) 0 4%, transparent 20%), radial-gradient(circle at 46% 78%, rgba(255,255,255,0.45) 0 3%, transparent 18%), linear-gradient(135deg, #8e9694, #c7ccc8 46%, #747d7a 100%); }

/* GALERIA */
.galeria { padding: 120px 0; }
.gallery-category { margin-bottom: 72px; }
.gallery-category:last-child { margin-bottom: 0; }
.gallery-cat-title { font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); }
.gallery-cat-desc { font-size: 15px; color: var(--ink-muted); margin-bottom: 24px; max-width: 680px; line-height: 1.7; }
.gallery-item picture { display: block; width: 100%; height: 100%; }
.section-intro { color: var(--ink-muted); max-width: 720px; line-height: 1.7; margin-top: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-contain img { object-fit: contain; background: #f0ede6; height: 320px; padding: 16px; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(17,17,17,0.65); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--bg); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-content img { max-width: 90vw; max-height: 80vh; object-fit: contain; display: block; }
.lightbox-caption { color: rgba(240,237,230,0.7); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 16px; }
.lightbox-close { position: fixed; top: 24px; right: 32px; background: none; border: none; color: var(--bg); font-size: 28px; cursor: pointer; z-index: 1000; line-height: 1; padding: 8px; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--bg); font-size: 56px; cursor: pointer; padding: 16px; opacity: 0.5; transition: opacity 0.2s; line-height: 1; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* LO QUE INCLUYE */
.incluye { padding: 120px 0; background: var(--ink); }
.incluye .eyebrow { color: var(--ink-light); }
.incluye .section-title { color: var(--bg); }
.incluye .section-desc { color: var(--ink-muted); }
.incluye-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); margin-top: 56px; }
.incluye-card { background: var(--ink); padding: 36px 28px; transition: background 0.3s; }
.incluye-card:hover { background: #1a1a1a; }
.incluye-num { font-size: 13px; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; font-weight: 700; }
.incluye-card h4 { font-size: 18px; font-weight: 700; color: var(--bg); margin-bottom: 12px; }
.incluye-card p { font-size: 15px; color: rgba(240,237,230,0.6); line-height: 1.7; }

/* NOSOTROS */
.nosotros { padding: 120px 0; border-top: 1px solid var(--border); }
.nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.nosotros-text p { color: var(--ink-muted); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.stats-row { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; line-height: 1.2; }
.stat-slash { color: var(--accent); margin: 0 4px; }
.stat-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); margin-top: 6px; }
.nosotros-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* DANIEL */
.daniel { padding: 120px 0; background: var(--ink); }
.daniel .eyebrow { color: var(--ink-light); }
.daniel .section-title { color: var(--bg); }
.daniel-inner { display: grid; grid-template-columns: minmax(360px, 520px) minmax(0, 1fr); gap: 80px; align-items: start; margin-top: 56px; }
.daniel-foto-principal img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; display: block; }
.daniel-contenido { min-width: 0; }
.daniel-copy-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
.daniel-foto-secundaria img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; display: block; }
.daniel-texto p { color: rgba(240,237,230,0.75); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.daniel-stats { display: flex; gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.dstat { display: flex; flex-direction: column; }
.dstat-num { font-size: 20px; font-weight: 700; color: var(--accent); letter-spacing: -0.5px; }
.dstat-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-light); margin-top: 4px; }


/* MAPA */
.mapa-section { padding: 80px 0 0; }
.mapa-card { margin-top: 40px; border: 1px solid var(--border); background: rgba(240,237,230,0.62); background-image: url('../img/fondo.webp'); background-size: 600px; }
.mapa-embed { padding: 16px 16px 0; }
.mapa-embed iframe { display: block; filter: grayscale(20%); }
.mapa-info { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; padding: 28px 16px 32px; border-top: 1px solid var(--border); margin-top: 16px; }
.mapa-dato { display: flex; flex-direction: column; gap: 4px; }
.mapa-dato a { color: var(--ink); text-decoration: none; transition: color 0.3s; font-size: 15px; }
.mapa-dato a:hover { color: var(--accent); }
.mapa-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); }
.btn-mapa { display: inline-block; border: 1.5px solid var(--ink); padding: 12px 24px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: 0.3s; font-weight: 700; }
.btn-mapa:hover { background: var(--ink); color: var(--bg); }

/* FORMULARIO */
.contacto { padding: 120px 0; }
.cotizacion-form { max-width: 800px; margin-top: 56px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.form-group > label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); padding: 16px 18px; font-size: 16px; font-family: var(--font); outline: none; transition: border-color 0.3s; border-radius: 0; -webkit-appearance: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-light); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); cursor: pointer; transition: border-color 0.3s, background 0.3s; font-size: 15px; color: var(--ink); }
.check-item:hover { border-color: var(--accent); background: rgba(200,169,110,0.05); }
.check-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-item { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1.5px solid var(--border); cursor: pointer; transition: border-color 0.3s; font-size: 15px; color: var(--ink); }
.radio-item:hover { border-color: var(--accent); }
.radio-item input[type="radio"] { accent-color: var(--accent); cursor: pointer; }

.grosores-container { margin-bottom: 32px; }
.grosor-block { margin-bottom: 24px; }
.grosor-block .grosor-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 12px; font-weight: 700; }
.grosor-options { display: flex; flex-wrap: wrap; gap: 8px; }
.grosor-pill { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color 0.3s; font-family: var(--font); }
.grosor-pill:hover { border-color: var(--accent); }
.grosor-pill input { accent-color: var(--accent); }

.btn-submit { background: var(--ink); color: var(--bg); border: 2px solid var(--ink); padding: 20px 48px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-family: var(--font); font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 8px; }
.btn-submit:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* FOOTER */
.footer { background: #0a0a0a; padding: 64px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { height: 52px; width: auto; margin-bottom: 12px; filter: none; background: transparent; padding: 0; }
.footer-lema { font-size: 11px; letter-spacing: 2px; color: var(--ink-light); text-transform: uppercase; }
.footer-contact a { display: block; color: var(--ink-muted); text-decoration: none; font-size: 14px; margin-bottom: 8px; transition: color 0.3s; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact p { color: var(--ink-muted); font-size: 14px; margin-bottom: 8px; }
.footer-copy p { font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 1px; text-align: right; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 32px; right: 32px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; z-index: 99; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.3s, box-shadow 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* GALERÍA — hint swipe móvil */
.gallery-swipe-hint {
  display: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-swipe-hint { display: block; }
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .trabajos-grid { grid-template-columns: repeat(2, 1fr); }
  .incluye-grid { grid-template-columns: repeat(3, 1fr); }
  .nosotros-inner, .daniel-inner { grid-template-columns: 1fr; gap: 48px; }
  .daniel-copy-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
  .materiales-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-copy { grid-column: 1/-1; }
  .footer-copy p { text-align: left; }
  .daniel-mantenimiento { grid-template-columns: 1fr; }
  .daniel-mant-texto { padding: 40px 32px; }
  .daniel-mant-texto p { font-size: 18px; }
  .mapa-info { gap: 24px; }
}


@media (max-width: 768px) {
  .daniel-copy-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
  .daniel-foto-secundaria { max-width: 220px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Servicios — 2 columnas compactas */
  .sa-grid { grid-template-columns: 1fr 1fr; }
  .sa-card { padding: 20px 16px; }
  .sa-card h4 { font-size: 14px; }
  .sa-card p { font-size: 13px; }

  .trabajos-grid { grid-template-columns: 1fr 1fr; }
  .trabajo-card { padding: 18px 14px; }
  .trabajo-card h4 { font-size: 13px; margin-bottom: 6px; }
  .trabajo-card p { font-size: 12px; }


  /* Galería — carrusel horizontal */
  .gallery-grid,
  .gallery-grid-3,
  .gallery-grid-2 {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 12px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .gallery-grid::-webkit-scrollbar,
  .gallery-grid-3::-webkit-scrollbar,
  .gallery-grid-2::-webkit-scrollbar { display: none; }

  .gallery-item {
    flex: 0 0 72vw;
    scroll-snap-align: start;
    min-width: 72vw;
  }
  .gallery-item img { height: 220px; width: 100%; object-fit: cover; }
  .gallery-item-contain img { height: 220px; object-fit: contain; }

  /* Resto */
  .incluye-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 20px; flex-wrap: wrap; }
  .hero-title { letter-spacing: -1px; }
  .footer-inner { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .sp-tags { flex-direction: column; }
  .servicio-principal { padding: 32px 24px; }
  .sp-label { background-image: none; background: var(--bg); }
  .lightbox-prev, .lightbox-next { font-size: 36px; }
  .proximo-box { grid-template-columns: 1fr; }
  .mapa-embed { padding: 12px 12px 0; }
  .mapa-embed iframe { height: 280px; }
  .mapa-info { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 12px; }
}


@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .materiales-grid { grid-template-columns: 1fr 1fr; }
  .material-swatch { width: 100%; max-width: 180px; height: 54px; margin-top: 20px; border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 32px rgba(0,0,0,0.22); overflow: hidden; background: #111; }
.material-swatch picture, .material-swatch img { display: block; width: 100%; height: 100%; }
.material-swatch img { object-fit: cover; }
  .incluye-grid { grid-template-columns: 1fr; }
  .daniel-stats { gap: 20px; }
  .sa-grid { grid-template-columns: 1fr; }
  .trabajos-grid { grid-template-columns: 1fr; }
  .gallery-item { flex: 0 0 85vw; min-width: 85vw; }
  .proximo-item { padding: 20px 18px; }
  .mapa-embed iframe { height: 240px; }
}


@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* Ajustes finales — responsive real y galería nueva */
.nav-logo picture, .footer-brand picture { display: inline-block; line-height: 0; }
.gallery-cat-head { max-width: 760px; }
.gallery-grid.gallery-grid { margin-top: 24px; }
.gallery-item img { background: #111; }
.gallery-item-contain img { background: #f7f7f7; }
.hero-picture { pointer-events: none; }
@media (max-width: 768px) {
  .nav-inner { height: 84px; }
  .logo-img { height: 64px; padding: 0; }
  .nav.scrolled .nav-inner { height: 64px; }
  .nav.scrolled .logo-img { height: 38px; }
  .footer-logo { height: 40px; }
  .hero-picture { inset: -10%; }
  .hero-picture img { opacity: 0.28; }
  .hero-shade { background: linear-gradient(180deg, rgba(13,13,13,0.78), rgba(13,13,13,0.92)); }
  .daniel-foto-principal img { aspect-ratio: 1/1; }
}
@media (min-width: 769px) {
  .gallery-item.tall img, .gallery-item img { min-height: 280px; }
}


/* AJUSTE 11 — Daniel móvil limpio + descripción empresarial */
.nosotros-text p {
  max-width: 680px;
}

@media (max-width: 860px) {
  .daniel {
    padding: 88px 0;
  }

  .daniel-inner {
    grid-template-columns: 1fr !important;
    gap: 34px;
    margin-top: 36px;
  }

  .daniel-copy-wrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
    align-items: start;
  }

  .daniel-texto {
    width: 100%;
    max-width: none;
  }

  .daniel-texto p {
    font-size: 16px;
    line-height: 1.78;
    letter-spacing: -0.1px;
    margin-bottom: 16px;
    max-width: none;
  }

  .daniel-foto-secundaria {
    width: 100%;
    max-width: none !important;
  }

  .daniel-foto-secundaria img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
  }

  .daniel-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
  }
}

@media (max-width: 520px) {
  .nosotros-text p,
  .daniel-texto p {
    font-size: 15.5px;
    line-height: 1.72;
  }

  .daniel-foto-principal img {
    aspect-ratio: 1 / 1;
  }
}


/* AJUSTE 13 — Netlify final */
.nav-logo, .nav-logo picture, .nav-logo img,
.footer-brand, .footer-brand picture, .footer-brand img {
  background: transparent !important;
  box-shadow: none !important;
}
.logo-img, .footer-logo {
  object-fit: contain;
  object-position: left center;
}
.nav:not(.scrolled) .logo-img { filter: none; }
.nav.scrolled .logo-img { filter: invert(1); }
@media (min-width: 769px) {
  .nav-inner { height: 120px; }
  .logo-img { height: 112px; max-width: 240px; }
  .nav.scrolled .nav-inner { height: 72px; }
  .nav.scrolled .logo-img { height: 42px; max-width: 130px; }
}
.incluye-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .incluye-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .incluye-grid { grid-template-columns: 1fr; }
  .incluye-card { padding: 28px 22px; }
}
@media (max-width: 860px) {
  .daniel-inner,
  .daniel-copy-wrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .daniel-contenido,
  .daniel-texto,
  .daniel-texto p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .daniel-texto p {
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: manual !important;
  }
  .daniel-foto-secundaria img { width: 100%; height: auto; }
}
@media (max-width: 768px) {
  .nav-inner { height: 88px; }
  .logo-img { height: 64px; max-width: 200px; }
  .nav.scrolled .nav-inner { height: 64px; }
  .nav.scrolled .logo-img { height: 38px; max-width: 130px; }
}


@media (max-width: 860px) {
  .proximamente-tubos { padding: 32px 24px; }
  .proximamente-tubos-head { grid-template-columns: 1fr; gap: 22px; }
  .proximamente-badge { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 22px; min-height: auto; }
  .proximamente-specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .proximamente-tubos { padding: 28px 20px; margin-top: 28px; }
  .proximamente-tubos p { font-size: 14.5px; line-height: 1.65; }
  .proximamente-specs { grid-template-columns: 1fr; }
  .proximamente-specs div { min-height: auto; padding: 16px 14px; }
}
