/* Identidad v6: fotografía real, carbón, señalización vial y rojo.
   Estructura responsive: styles.css. Componentes y paleta: este archivo. */:root {
  --ink: #191919;
  --surface-dark: #191919;
  --surface-gray: #efefec;
  --text-on-dark: #d8d8d8;
  --muted: #616161;
  --paper: #faf9f6;
  --red: #d82838;
  --red-dark: #b41c2c;
  --line: #deddd9;
  --lime: #e7bd65;
  --yellow: #e7bd65;
  --neutral: #545454;
}

/* Galería: fotografías sin retoque, encuadre responsive y ampliación completa. */.team-photo { margin: 0; position: relative; overflow: hidden; background: #292929; }
.team-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 65%; }
.team-photo figcaption { position: absolute; inset: auto 0 0; padding: 26px; color: white; background: linear-gradient(transparent,#111e); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.photo-dialog { padding: 20px; width: min(1100px,94vw); max-height: 92dvh; background: #171717; color: white; border: 1px solid #555; }
.photo-dialog::backdrop { background: #000d; }
.photo-dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.photo-dialog-toolbar p { font-size: 15px; font-weight: 650; }
.photo-dialog-toolbar button { min-height: 44px; padding: 8px 18px; color: white; background: #393939; border: 1px solid #777; white-space: nowrap; }
.photo-dialog>img { width: 100%; height: min(70dvh,780px); object-fit: contain; }
.photo-dialog-note { margin-top: 12px; color: #bbb; font-size: 11px; text-align: center; }
body.photo-open { overflow: hidden; }
@media(max-width:1100px) {.industrial-hero .hero-grid { gap: 28px; grid-template-columns: .95fr 1.05fr; }
.industrial-hero h1 { font-size: 61px; }

}
@media(max-width:900px) {.industrial-hero .hero-grid { grid-template-columns: 1fr; gap: 0; }
.industrial-hero .hero-copy { padding: 34px 0 32px; }
.industrial-hero h1 { font-size: clamp(49px,12vw,68px); }
.industrial-hero .availability { font-size: 9px; margin-bottom: 23px; }
.industrial-hero .hero-lead { font-size: 14px; max-width: 500px; }
.industrial-hero .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; }
.industrial-hero .hero-actions .btn { flex: 1 1 210px; }
.hero-projects-link { margin-top: 20px; }
.photo-index { top: 16px; left: 16px; font-size: 8px; }
.team-photo img { max-height: 500px; }
.photo-dialog { padding: 12px; }
.photo-dialog-toolbar { gap: 10px; }
.photo-dialog-toolbar p { font-size: 13px; }
.photo-dialog-toolbar button { padding-inline: 12px; }

}
[hidden] { display: none !important; }
.header { background: rgba(250,249,246,.98); border-bottom: 3px solid var(--red); }
.brand img { border-radius: 50%; }
.brand b { color: var(--red); }
.btn { border-radius: 9px; box-shadow: 0 5px 0 #00000010; }
.btn:hover { transform: translateY(-3px); }
.nav .btn { box-shadow: 0 4px 13px #d8283820; }
.nav>a:not(.btn) { transition: color .2s; }
.nav .btn.active { color: white; }


/* Servicios por categoría; los controles se habilitan con JavaScript. */#servicios { background: linear-gradient(#faf9f6, #f0efeb); }
.eyebrow { color: var(--red); }
.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 24px; }
.service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.service-filters button {
  min-height: 43px; padding: 10px 16px; border: 1px solid #d4d2cc; border-radius: 30px;
  color: #454545; background: white; font-size: 12px; font-weight: 650;
  transition: background .2s, color .2s;
}
.service-filters button:hover { background: #efede7; }
.service-filters button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
#serviceCount { font-size: 11px; color: var(--muted); }
.services-grid { gap: 18px; border: 0; }
.service-card {
  --card-accent: #a72b33;
  --card-tint: #f7e9e9;
  border: 1px solid #deddd9; border-top: 4px solid var(--card-accent); border-radius: 14px;
  background: white; box-shadow: 0 8px 20px #19191904;
  transition: transform .22s, box-shadow .22s, background .22s;
}
.service-card[data-category="auxilio"] { --card-accent: #545454; --card-tint: #efefec; }
.service-card[data-category="planificado"] { --card-accent: #aa5a14; --card-tint: #fff1cd; }
.service-card:hover { transform: translateY(-5px); background: white; box-shadow: 0 14px 26px #19191910; }
.service-top { color: var(--card-accent); }
.service-top svg { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--card-tint); }
.service-card a { color: var(--card-accent); }
.service-card a span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--card-tint); }
.service-card.featured { background: linear-gradient(140deg,#cf2337,#a81938); border-color: #c72537; }
.service-card.featured:hover { background: #b92135; }
.featured .service-top,.featured .service-top>span,.featured a { color: #fff3c6; }
.featured .service-top svg,.featured a span { background: #ffffff16; }
.featured p { color: #ffebee; }
.help-banner { padding: 34px 0; background: #e8e5dd; border-block: 1px solid #d6d2c8; }
.help-banner .container { display: flex; align-items: center; gap: 24px; }
.help-banner h2 { font-size: 25px; letter-spacing: -.035em; }
.help-banner p { font-size: 13px; color: #554722; margin-top: 7px; }
.help-banner div>span { display: block; color: #6e431b; font-size: 9px; font-weight: 750; letter-spacing: .1em; margin-bottom: 7px; }
.help-icon { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; background: #191919; color: var(--yellow); border-radius: 50%; font-size: 30px; }
.help-banner .btn { margin-left: auto; white-space: nowrap; background: var(--ink); }


/* Color, contraste y continuidad entre secciones. */.process-section { background: #191919; color: white; }
.process-section .eyebrow { color: #dec38d; }
.process-section .text-link { color: var(--yellow); border-color: #ffda6850; }
.process-grid article { border-color: #ffffff25; }
.process-grid article>span { display: inline-grid; place-items: center; width: 42px; height: 42px; color: #191919; background: var(--yellow); border-radius: 12px; font-weight: 800; }
.process-grid p { color: #cecece; }
.coverage-section { background: #efefec; }
.coverage-tags span { background: white; border-color: #d3d2cd; color: #454545; }
.coverage-tags span:first-child { background: #454545; color: white; border-color: #454545; }
.map-card { border: 1px solid #d1d0ca; box-shadow: 0 16px 40px #2929290b; border-radius: 16px; }
.map-heading { background: white; }
.map-canvas { background-color: #deded8; }
.map-placeholder { background: #edede9dc; }
.map-footer { background: white; }
.about-section { background: #faf9f6; }
.brand-panel { background: radial-gradient(circle at 50% 40%,#3b3b3b,#191919); border-bottom: 6px solid var(--red); }
.brand-panel img { border-radius: 50%; }
.brand-panel>span { color: var(--yellow); }
.values>div>span { background: #fff0d0; padding: 4px 8px; align-self: flex-start; border-radius: 6px; font-weight: 750; }
.faq-section { background: #f4f3ef; }
.faq-list details { border-color: #d8d4cc; }
.contact-section { background: radial-gradient(ellipse at 0 0,#383838,transparent 60%),#191919; }
.contact-copy .eyebrow { color: #dec38d; }
.contact-copy h2 em { color: var(--yellow); }
.contact-copy>p:not(.eyebrow) { color: #d8d8d8; }
.contact-phone small { color: #d0d0d0; }
.contact-phone>span { color: var(--yellow); }
.quote-form { border-top: 5px solid var(--yellow); border-radius: 16px; box-shadow: 0 22px 55px #00000020; }
input:focus,select:focus,textarea:focus { outline-color: #b52b34; }
.form-heading>span { color: #11653c; font-weight: 750; }
.urgency-options { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.urgency-options legend { font-size: 12px; font-weight: 650; margin-bottom: 8px; }
.urgency-options label { display: flex; flex-direction: row; align-items: center; gap: 8px; border: 1px solid #d6d3cc; border-radius: 8px; padding: 11px; background: white; cursor: pointer; }
.urgency-options label:has(input:checked) { border-color: #a72b33; background: #f7e9e9; color: #92232b; }
.urgency-options input { width: 16px; height: 16px; margin: 0; accent-color: #a72b33; flex-shrink: 0; }
.urgency-options span { font-size: 11px; }
#scheduleNote { font-weight: 400; color: var(--muted); }
.quote-preview { padding: 17px; margin-top: 22px; border: 1px dashed #c9c5ba; border-radius: 10px; background: #efeee9; }
.preview-title { font-size: 9px; font-weight: 800; letter-spacing: .09em; color: #474238; }
.quote-preview dl { margin: 12px 0 8px; font-size: 12px; }
.quote-preview dl>div { display: grid; grid-template-columns: 65px 1fr; gap: 10px; margin: 5px 0; }
.quote-preview dt { color: var(--muted); }
.quote-preview dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.quote-preview p { font-size: 10px; color: var(--muted); }
.form-submit { background: #116b46; box-shadow: 0 5px 0 #0b5138; }
.form-submit:hover { background: #0a5939; }
footer { background: #111111; }
.footer-top>div,.footer-bottom { color: #cccccc; }
.footer-top .brand b { color: var(--yellow); }
.mobile-actions { background: var(--red); }
.mobile-actions a+a { background: #e7e5df; color: #252525; }
@media(max-width:1000px) {.art-word { font-size: 45px; }
.assistance-badge { width: 86px; top: 180px; left: 22px; padding: 10px 7px; }
.assistance-badge strong { font-size: 28px; }
.help-banner .container { gap: 18px; }
.help-banner h2 { font-size: 22px; }
.help-icon { display: none; }

}
@media(max-width:760px) {.hero { padding: 35px 0 42px; }
.hero-art { border-radius: 65px 16px 16px 16px; }
.hero h1 em::after { height: 5px; bottom: -5px; }
.art-word { top: 64px; font-size: 54px; }
.sun { top: 105px; width: 110px; height: 110px; }
.cloud-one { top: 53px; right: 50px; }
.cloud-two { top: 154px; left: 24px; }
.assistance-badge { top: 144px; left: 22px; width: 79px; padding: 9px 7px; }
.assistance-badge strong { font-size: 25px; }
.assistance-badge>span { font-size: 6px; }
.landscape-label { top: 135px; }
.services-grid { gap: 13px; }
.service-card:last-child { grid-column: auto; }
.help-banner .container { flex-direction: column; align-items: flex-start; }
.help-banner .btn { margin-left: 0; }
.help-banner h2 { font-size: 25px; }
.service-filters { gap: 7px; }
.service-filters button { padding: 9px 12px; font-size: 11px; }
.quote-form { padding: 25px 21px; }

}
@media(max-width:420px) {.art-word { font-size: 43px; }
.assistance-badge { top: 131px; left: 19px; }
.quote-form { padding: 23px 17px; }
.urgency-options { gap: 6px; }
.urgency-options label { padding: 10px 7px; }
.urgency-options span { font-size: 10px; }

}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after { animation: none !important; transition: none !important; }

}


/* Ajustes de lectura, teclado y uso táctil. */.hero-art { border-radius: 40px 14px 14px 14px; }
.art-word { color: #fffdf2; }
.art-bottom { background: #242424; left: 0; right: 0; bottom: 0; padding: 16px 24px; border: 0; }
.map-canvas { background-image: linear-gradient(30deg,transparent 45%,#fafaf7 45%,#fafaf7 49%,transparent 49%),linear-gradient(120deg,transparent 47%,#d6d6d0 47%,#d6d6d0 49%,transparent 49%); }
.service-card p,.process-grid p,.faq-list details p { font-size: 14px; line-height: 1.7; }
.service-card a { min-height: 44px; align-items: center; }
.service-card h3 { line-height: 1.3; }
.service-filters button { min-height: 44px; }
.form-grid label,.urgency-options legend { font-size: 13px; }
input,select,textarea { font-size: 16px; }
.urgency-options label { min-height: 46px; }
.form-note,.quote-preview p,.location-tools p { font-size: 12px; }
.hero-trust { font-size: 11px; }
:focus-visible { outline: 3px solid #b67c26; outline-offset: 4px; }
@media(max-width:760px) {.hero-art { border-radius: 30px 12px 12px 12px; }
.art-bottom { padding: 13px 18px; }
.form-grid input,.form-grid select,.form-grid textarea { font-size: 16px; }
.hero-trust { gap: 10px; font-size: 10px; }
.urgency-options span { font-size: 12px; }

}
@media(max-width:380px) {.urgency-options { grid-template-columns: 1fr; }
.route-strip .container p { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }

}



/* Portada v7: una sola escena, sin carrusel ni bloques superpuestos. */.cinematic-hero { position: relative; isolation: isolate; min-height: min(790px,85vw); background: #171717; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.cinematic-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -2; animation: scene-enter 1.8s ease-out both; }
.cinematic-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(12,12,12,.9),rgba(12,12,12,.7) 30%,rgba(12,12,12,.12) 60%,transparent 80%),linear-gradient(0deg,rgba(12,12,12,.72),transparent 24%); }
.cinematic-content { padding-block: 110px 145px; animation: copy-enter .8s ease-out both; }
.cinematic-status { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; margin-bottom: 28px; color: #ebcf9e; }
.cinematic-status span { width: 7px; height: 7px; background: #e7bd65; border-radius: 50%; box-shadow: 0 0 12px #e7bd6560; }
.cinematic-hero h1 { font-size: clamp(56px,5.5vw,82px); line-height: 1.02; letter-spacing: -.055em; font-weight: 800; margin: 0; }
.cinematic-hero h1 em { color: #e7bd65; font: inherit; }
.cinematic-hero h1 em::after { content: none; }
.cinematic-lead { color: #e0dfdc; font-size: 16px; line-height: 1.7; margin: 25px 0 30px; }
.cinematic-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cinematic-actions .btn { min-height: 52px; padding: 14px 20px; border-radius: 4px; box-shadow: none; font-size: 13px; }
.cinematic-whatsapp { background: #202020b3; border: 1px solid #b1aca4; color: white; }
.cinematic-whatsapp:hover { background: #393939; }
.cinematic-footer { position: absolute; bottom: 25px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cinematic-footer a { font-size: 12px; color: #eee; }
.cinematic-footer a span { color: #e7bd65; margin-left: 18px; }
.cinematic-footer small { color: #d0ccc5; font-size: 10px; }

@keyframes scene-enter { from { opacity: .4; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes copy-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }@media(max-width:900px) {.cinematic-hero { min-height: 820px; justify-content: flex-start; }
.cinematic-image { object-fit: contain; object-position: center bottom; }
.cinematic-shade { background: linear-gradient(180deg,#171717 0%,#171717 28%,#171717d9 42%,transparent 68%),linear-gradient(0deg,#171717b3,transparent 20%); }
.cinematic-content { padding-block: 58px 360px; }
.cinematic-hero h1 { font-size: clamp(48px,8vw,70px); }
.cinematic-footer { bottom: 18px; }

}
@media(max-width:540px) {.cinematic-hero { min-height: 720px; }
.cinematic-content { padding-block: 40px 320px; }
.cinematic-status { font-size: 10px; margin-bottom: 22px; }
.cinematic-hero h1 { font-size: clamp(44px,12vw,62px); }
.cinematic-lead { font-size: 14px; margin: 22px 0; }
.cinematic-actions { gap: 8px; }
.cinematic-actions .btn { font-size: 12px; padding: 12px 14px; }
.cinematic-image { object-position: center bottom 42px; }
.cinematic-footer a { display: none; }
.cinematic-footer small { font-size: 9px; }

}
@media(prefers-reduced-motion:reduce) {.cinematic-image,.cinematic-content { animation: none; }

}

/* Jerarquía editorial y presentación de operaciones v8. */.section h2 { font-size: clamp(32px,3.5vw,50px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.section-head>p { font-size: 16px; line-height: 1.75; max-width: 440px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; line-height: 1.6; }
.service-card h3 { font-size: 21px; letter-spacing: -.02em; }
.service-card p,.process-grid p,.faq-list details p { font-size: 15px; line-height: 1.75; }
@media(max-width:760px) {.section-head>p { font-size: 15px; }

}

/* Información operativa breve; sustituye el bloque institucional repetido. */.service-preparation { padding: 64px 0; background: #242424; color: #fff; }
.preparation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-preparation .eyebrow { color: #e7bd65; }
.service-preparation h2 { font-size: clamp(28px,3vw,42px); line-height: 1.16; letter-spacing: -.03em; margin: 14px 0 20px; }
.service-preparation p { color: #ccc; font-size: 15px; line-height: 1.7; max-width: 440px; }
.preparation-grid ol { list-style: none; counter-reset: prep; padding: 0; margin: 0; }
.preparation-grid li { counter-increment: prep; position: relative; padding: 18px 0 18px 52px; border-bottom: 1px solid #4c4c4c; }
.preparation-grid li::before { content: '0' counter(prep); position: absolute; left: 0; top: 20px; color: #e7bd65; font-size: 13px; }
.preparation-grid li:last-child { border-bottom: 0; }
.preparation-grid strong { display: block; font-size: 17px; margin-bottom: 6px; }
.preparation-grid li span { color: #ccc; font-size: 14px; line-height: 1.7; display: block; }
.service-card { border-radius: 7px; box-shadow: none; }
.contact-copy h2 { font-size: clamp(34px,3.6vw,52px); }
@media(max-width:760px) {.preparation-grid { grid-template-columns: 1fr; gap: 20px; }
.service-preparation { padding: 46px 0; }
 }


/* Carrusel compacto: altura estable al cambiar entre fotos. */
/* Dimensiones fluidas y contactos visibles en cualquier pantalla. */.contact-action svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.footer-contact .contact-action,.mobile-actions .contact-action { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 18px; border: 1px solid #ffffff30; border-radius: 8px; color: #fff; text-align: left; text-decoration: none; transition: background .2s; }
.contact-action span { display: flex; flex-direction: column; gap: 3px; }
.footer-contact .contact-action span { color: inherit; }
.contact-action small { font-size: 12px; font-weight: 600; line-height: 1.25; }
.contact-action b { font-size: 19px; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-contact .call-action,.mobile-actions .call-action { background: #bd1e2e; }
.footer-contact .whatsapp-action,.mobile-actions .whatsapp-action { background: #126b42; }
.footer-contact .call-action:hover,.mobile-actions .call-action:hover { background: #a61625; color: #fff; }
.footer-contact .whatsapp-action:hover,.mobile-actions .whatsapp-action:hover { background: #0c5633; color: #fff; }
.footer-contact { min-width: 250px; }
.contact-action:focus-visible { outline: 3px solid #ffd780; outline-offset: 3px; }
@media(max-width:1024px) {.mobile-actions { display: grid; position: fixed; inset: auto 0 0; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); background: #171717; border-top: 1px solid #555; box-shadow: 0 -4px 20px #0003; z-index: 60; }
body { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

}
@media(max-width:760px) {.footer-contact { min-width: 0; width: 100%; }
.mobile-actions .contact-action { min-height: 62px; padding: 10px 8px; gap: 8px; }
.mobile-actions .contact-action b { font-size: clamp(14px,4vw,18px); }
.mobile-actions .contact-action small { font-size: 11px; }
.mobile-actions .contact-action svg { width: 20px; height: 20px; }
.cinematic-hero { min-height: auto; }
.cinematic-content { padding-bottom: clamp(280px,65vw,480px); }
.cinematic-image { object-position: center bottom 35px; }

}

/* Portada móvil: imagen proporcional junto al contenido, sin espacio vacío. */@media(max-width:900px) {.cinematic-hero { --scene-height: max(220px,66.667vw); min-height: 0; }
.cinematic-content { padding-top: 36px; padding-bottom: calc(var(--scene-height) - 28px); }
.cinematic-image { top: auto; bottom: 0; height: var(--scene-height); width: 100%; object-fit: cover; object-position: 70% center; animation: none; }
.cinematic-shade { background: linear-gradient(180deg,#171717 0%,transparent 28%); top: auto; bottom: 0; height: var(--scene-height); }
.cinematic-footer { bottom: 10px; }
.cinematic-footer a { display: none; }
.cinematic-footer small { margin-left: auto; padding: 4px 7px; background: #171717b8; color: #eee; font-size: 9px; border-radius: 3px; }
.cinematic-lead { margin: 18px 0 20px; }
.cinematic-status { margin-bottom: 20px; }

}
@media(max-width:360px) {.cinematic-content { padding-top: 28px; }
.cinematic-hero h1 { font-size: 42px; }
.cinematic-actions .btn { min-height: 46px; padding: 11px 10px; font-size: 11px; }

}


/* Acabado del carrusel: fotografía protagonista y texto compacto. */

/* Marca del encabezado: lectura clara sin desplazar la navegación. */
.header .brand>span { font-size: clamp(17px,1.7vw,22px); font-weight: 800; line-height: 1.15; white-space: nowrap; }
.header .brand small { font-size: clamp(9px,.85vw,11px); font-weight: 700; letter-spacing: .12em; line-height: 1.4; margin-top: 6px; color: #393939; }
@media(max-width:380px) {
  .header .nav-wrap { gap: 12px; }
  .header .brand { gap: 8px; }
  .header .brand>span { font-size: 16px; }
  .header .brand small { font-size: 9px; letter-spacing: .08em; }
}
