/* =========================================================
   IPC ASCENSORES - ESTILOS FINALES
   Diseño corporativo limpio, responsive y sin parches
========================================================= */

:root {
    --orange: #d56a1f;
    --orange-dark: #b95616;
    --orange-text: #a94b10;
    --charcoal: #2f3439;
    --charcoal-dark: #24282c;
    --text: #343a40;
    --muted: #676d72;
    --muted-light: #aeb3b7;
    --line: #d9dcde;
    --surface: #ffffff;
    --surface-soft: #f4f4f3;
    --surface-grey: #ececeb;
    --whatsapp: #25d366;
    --whatsapp-hover: #20bd5a;
    --shadow-sm: 0 10px 28px rgba(31, 35, 38, 0.07);
    --shadow-md: 0 18px 45px rgba(31, 35, 38, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --container: 1320px;
    --header-height: 80px;
    --transition: 180ms ease;
}

/* =========================================================
   01. RESET Y BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--charcoal);
    line-height: 1.15;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

::selection {
    background: rgba(213, 106, 31, 0.2);
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section-header {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-label,
.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.section-label-light {
    color: #f08a42;
}

.section-title {
    margin-bottom: 18px;
    color: var(--charcoal);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.section-subtitle {
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

/* Accesibilidad: foco visible y navegación por teclado */
:where(a, button):focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #1f2327;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    background: #ffffff;
    color: var(--charcoal-dark);
    border: 2px solid var(--charcoal-dark);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   02. BOTONES
========================================================= */

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: #fff;
}

.btn-primary:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.btn-secondary {
    background: transparent;
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: #fff;
}

/* =========================================================
   03. HEADER Y NAVEGACIÓN
========================================================= */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    border-top: 4px solid #d7ead4;
    box-shadow: 0 3px 14px rgba(31, 35, 38, 0.06);
    backdrop-filter: blur(12px);
    transition: box-shadow var(--transition);
}

.header.is-scrolled {
    box-shadow: 0 7px 24px rgba(31, 35, 38, 0.12);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 250px;
}

.logo img {
    width: 48px;
    height: 54px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    color: var(--charcoal);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-text span {
    margin-top: 5px;
    color: #6f757a;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(17px, 1.7vw, 30px);
}

.nav-links > a:not(.btn) {
    position: relative;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-links > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 2px;
    background: var(--orange);
    transition: right var(--transition);
}

.nav-links > a:not(.btn):hover::after,
.nav-links > a:not(.btn)[aria-current="page"]::after {
    right: 0;
}

.nav-contact {
    min-height: 44px;
    padding: 10px 21px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   04. HERO
   Portada equilibrada: texto legible + identidad IPC
========================================================= */

.hero {
    padding-top: var(--header-height);
    background: linear-gradient(90deg, #efefee 0 55%, #f6f6f5 55% 100%);
}

.hero-grid {
    width: min(calc(100% - 48px), var(--container));
    max-width: var(--container);
    min-height: 550px;
    margin: 0 auto;
    padding: 68px 0 62px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    align-items: center;
    gap: clamp(44px, 5vw, 78px);
}

.hero-content {
    width: 100%;
    max-width: 720px;
    min-height: 0;
    padding: 0;
}

.hero-content .eyebrow {
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    max-width: 710px;
    margin-bottom: 24px;
    font-size: clamp(2.9rem, 3.35vw, 3.65rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-title span {
    display: block;
    color: #3f464d;
}

.hero-text {
    max-width: 610px;
    margin-bottom: 30px;
    color: #5f656a;
    font-size: 17px;
    line-height: 1.72;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-logo-panel {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.hero-logo-panel::before,
.hero-logo-panel::after {
    content: "";
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-logo-panel::before {
    width: 310px;
    border: 1px solid rgba(47, 52, 57, 0.075);
}

.hero-logo-panel::after {
    width: 455px;
    border: 1px solid rgba(47, 52, 57, 0.035);
}

.hero-logo-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo-img {
    width: 148px;
    height: auto;
    max-height: 182px;
    object-fit: contain;
}

.hero-logo-line {
    width: 40px;
    height: 3px;
    margin: 18px auto 14px;
    background: var(--orange);
}

.hero-logo-wrapper p {
    max-width: 290px;
    margin: 0;
    color: #697076;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.19em;
}

/* =========================================================
   05. EMPRESA + PROVEEDORES INTERNACIONALES
========================================================= */

.about-section {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: clamp(58px, 6vw, 90px);
    align-items: center;
}

.about-main-title {
    margin-bottom: 26px;
    font-size: clamp(1.65rem, 2.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.about-text > p {
    max-width: 740px;
    margin-bottom: 20px;
    color: #555c61;
    font-size: 16px;
    line-height: 1.8;
}

.international-info {
    display: grid;
    grid-template-columns: 3px 1fr;
    gap: 18px;
    margin-top: 28px;
}

.international-line {
    width: 3px;
    min-height: 100%;
    background: var(--orange);
}

.international-info h3 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 700;
}

.international-info p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-btn {
    margin-top: 28px;
}

.international-gallery {
    position: relative;
    min-height: 575px;
}

.international-photo {
    margin: 0;
    overflow: hidden;
    background: #ddd;
    border-radius: 7px;
    box-shadow: var(--shadow-md);
}

.international-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.international-photo-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 86%;
    height: 410px;
}

.international-photo-main img {
    object-position: center 35%;
}

.international-photo-secondary {
    position: absolute;
    right: 0;
    bottom: 62px;
    z-index: 3;
    width: 48%;
    height: 245px;
    border: 6px solid #fff;
}

.international-photo-third {
    position: absolute;
    left: 5%;
    bottom: 69px;
    z-index: 4;
    width: 40%;
    height: 208px;
    border: 6px solid #fff;
}

.international-caption {
    position: absolute;
    left: 8%;
    bottom: 0;
    z-index: 5;
    max-width: 280px;
}

.international-caption span {
    display: block;
    margin-bottom: 5px;
    color: var(--orange-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.international-caption p {
    margin: 0;
    color: #6f757a;
    font-size: 13px;
    line-height: 1.45;
}

/* =========================================================
   06. SERVICIOS
========================================================= */

.services-section,
.projects-section,
.clients-section,
.faq-section,
.process-section {
    padding: 96px 0;
}

.services-section {
    background: var(--surface-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.service-card {
    min-height: 285px;
    padding: 38px 40px;
    background: #fff;
    border: 1px solid #dedfdf;
    border-top: 3px solid #485056;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--orange);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    background: #f1f1f0;
    color: var(--charcoal);
    border-radius: 6px;
    font-size: 20px;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.service-card p {
    margin: 0;
    color: #62686d;
    line-height: 1.7;
}


/* =========================================================
   06B. SERVICIOS ESPECIALIZADOS
========================================================= */

.specialties-section {
    padding: 102px 0;
    background: #fff;
}

.specialties-header {
    margin-bottom: 58px;
}

.specialty-block {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(42px, 5vw, 78px);
    align-items: center;
    max-width: 1260px;
    margin: 0 auto;
    padding: clamp(34px, 4vw, 56px);
    background: #f7f7f6;
    border: 1px solid #e1e2e2;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.specialty-block + .specialty-block {
    margin-top: 34px;
}

.specialty-intruss {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    background: #272c30;
    border-color: #272c30;
    box-shadow: var(--shadow-md);
}

.specialty-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--orange-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.specialty-content h3 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.04em;
}

.specialty-content > p {
    margin-bottom: 17px;
    color: #5f666b;
    line-height: 1.8;
}

.specialty-emphasis {
    color: var(--orange-text);
}

.specialty-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 27px 0 24px;
}

.specialty-points span {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #d7d9da;
    border-radius: 999px;
    color: var(--charcoal);
    font-size: 12px;
    font-weight: 700;
}

.specialty-note {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    align-items: start;
    padding-top: 20px;
    border-top: 1px solid #d9dbdc;
}

.specialty-note i {
    padding-top: 3px;
    color: var(--orange);
}

.specialty-note p {
    margin: 0;
    color: #62686d;
    font-size: 14px;
    line-height: 1.65;
}

.specialty-visual {
    min-width: 0;
}

.specialty-visual figure {
    margin: 0;
    overflow: hidden;
    background: #ddd;
    border-radius: 12px;
}

.specialty-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-visual-duo {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 12px;
    min-height: 470px;
}

.specialty-visual-duo figure:first-child img {
    object-position: center 42%;
}

.specialty-visual-duo figure:last-child {
    margin-top: 70px;
}

.specialty-visual-duo figure:last-child img {
    object-position: center 35%;
}

.specialty-intruss .specialty-kicker {
    color: #f18a42;
}

.specialty-intruss h3 {
    color: #fff;
    font-size: clamp(1.75rem, 2.7vw, 2.55rem);
}

.specialty-intruss .specialty-content > p {
    color: #c6c9cb;
}

.intruss-title-row {
    margin: 2px 0 20px;
}

.intruss-badge {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    padding: 8px 18px;
    border: 2px solid #f07d2e;
    border-radius: 8px;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
}

.intruss-result {
    margin-top: 25px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--orange);
    color: #fff !important;
    font-weight: 700;
}

.specialty-visual-intruss {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    min-height: 535px;
}

.specialty-visual-intruss .intruss-main-photo {
    grid-row: 1 / 3;
}

.specialty-visual-intruss .intruss-main-photo img {
    object-position: center 45%;
}

.specialty-visual-intruss figure:nth-child(2) img {
    object-position: center 35%;
}

.specialty-visual-intruss figure:nth-child(3) img {
    object-position: center 55%;
}

/* Registro adicional de montaje */
.project-archive {
    max-width: 1320px;
    margin: 42px auto 0;
    padding-top: 42px;
    border-top: 1px solid #d8dada;
}

.project-archive-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.project-archive-heading .section-label {
    margin-bottom: 10px;
}

.project-archive-heading h3 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    letter-spacing: -0.035em;
}

.project-archive-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.project-archive-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr 0.88fr;
    grid-template-rows: 255px 255px;
    gap: 12px;
}

.project-archive-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #d7d7d7;
    border-radius: 10px;
}

.project-archive-card-tall {
    grid-row: 1 / 3;
}

.project-archive-card-wide {
    grid-column: 2 / 4;
}

.project-archive-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.project-archive-card-tall img {
    object-position: center 45%;
}

.project-archive-card:nth-child(2) img {
    object-position: center 38%;
}

.project-archive-card:nth-child(3) img {
    object-position: center 50%;
}

.project-archive-card-wide img {
    object-position: center 54%;
}

.project-archive-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(to top, rgba(14, 16, 18, 0.68), transparent);
    pointer-events: none;
}

.project-archive-card figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.project-archive-card:hover img {
    transform: scale(1.025);
}

/* =========================================================
   07. POR QUÉ ELEGIR IPC
========================================================= */

.why-us {
    padding: 82px 0 88px;
    background: #2b2b2b;
}

.section-header-dark {
    margin-bottom: 44px;
}

.section-header-dark .section-title {
    color: #fff;
}

.section-header-dark .section-subtitle {
    max-width: 720px;
    color: #aeb2b5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
}

.feature-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-icon {
    padding-top: 2px;
    color: var(--orange);
    font-size: 23px;
}

.feature-item h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 17px;
}

.feature-item p {
    margin: 0;
    color: #b5b9bc;
    font-size: 14px;
    line-height: 1.65;
}

/* =========================================================
   08. PROCESO
========================================================= */

.process-section {
    background: #f8f8f7;
}

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 31px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: #cfd2d4;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    background: #f8f8f7;
    border: 2px solid #475058;
    border-radius: 50%;
    color: #3f464c;
    font-size: 16px;
    font-weight: 700;
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.process-step p {
    max-width: 250px;
    margin: 0 auto;
    color: #6b7075;
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   09. OBRAS
========================================================= */

.projects-section {
    background: var(--surface-grey);
}

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(360px, 0.95fr);
    max-width: 1320px;
    min-height: 590px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dedfdf;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.featured-project-gallery {
    min-width: 0;
    display: grid;
    grid-template-rows: 2fr 0.94fr;
    background: #ddd;
}

.project-main-photo,
.project-secondary-photos {
    min-height: 0;
}

.project-main-photo {
    overflow: hidden;
    border-bottom: 3px solid #fff;
}

.project-main-photo img,
.project-secondary-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-main-photo img {
    object-position: center 48%;
}

.project-secondary-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.project-secondary-photos img:first-child {
    object-position: center 32%;
}

.project-secondary-photos img:last-child {
    object-position: center 45%;
}

.featured-project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 4vw, 66px);
}

.project-type {
    margin-bottom: 16px;
    color: var(--orange-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.featured-project-content h3 {
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 2.6vw, 2.55rem);
    letter-spacing: -0.03em;
}

.featured-project-content > p {
    margin-bottom: 26px;
    color: #5f666b;
    line-height: 1.75;
}

.project-details {
    border-top: 1px solid #dedfdf;
}

.project-details > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid #dedfdf;
    font-size: 13px;
}

.project-details span {
    color: #6b7075;
}

.project-details strong {
    color: var(--charcoal);
    text-align: right;
}

/* =========================================================
   10. CLIENTES
========================================================= */

.clients-section {
    background: #ededec;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.client-card {
    margin: 0;
    padding: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8dada;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 20px rgba(31, 35, 38, 0.035);
    transition: transform var(--transition), box-shadow var(--transition);
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.client-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.client-card-last {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
}

/* =========================================================
   11. INFORMACIÓN / MANTENIMIENTO
========================================================= */

.maintenance-section {
    padding: 92px 0;
    background: #252a2e;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.maintenance-content h2 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -0.035em;
}

.maintenance-content > p {
    margin-bottom: 18px;
    color: #c5c8ca;
    line-height: 1.8;
}

.maintenance-highlight {
    margin-top: 30px;
    padding: 2px 0 2px 18px;
    border-left: 3px solid var(--orange);
}

.maintenance-highlight p {
    margin: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.maintenance-image {
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.maintenance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
}

/* =========================================================
   12. FAQ
========================================================= */

.faq-section {
    background: var(--surface-grey);
}

.faq-header {
    margin-bottom: 42px;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e2e2;
    border-radius: 6px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    background: transparent;
    color: var(--charcoal);
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
}

.faq-icon {
    flex: 0 0 auto;
    font-size: 17px;
    transition: transform var(--transition), color var(--transition);
}

.faq-item.active .faq-icon {
    color: var(--orange);
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 220ms ease;
}

.faq-answer > p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 24px;
    color: var(--muted);
    line-height: 1.75;
    transition: padding 220ms ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
    padding: 0 24px 24px;
}

/* =========================================================
   13. WHATSAPP
========================================================= */

.whatsapp-section {
    padding: 82px 0;
    background: #30363b;
}

.whatsapp-card {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.whatsapp-card h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.75rem);
    letter-spacing: -0.03em;
}

.whatsapp-description {
    max-width: 720px;
    margin: 0 auto 14px;
    color: #e0e2e3;
    font-size: 16px;
    line-height: 1.75;
}

.whatsapp-bot-text {
    max-width: 660px;
    margin: 0 auto 32px;
    color: #aeb4b8;
    font-size: 14px;
    line-height: 1.7;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 58px;
    padding: 14px 28px;
    background: var(--whatsapp);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 2px #1c2226;
    font-size: 15px;
    font-weight: 800;
    transition: background-color var(--transition), transform var(--transition);
}

.whatsapp-button:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.whatsapp-button i {
    font-size: 21px;
}

.whatsapp-number {
    display: block;
    width: max-content;
    margin: 18px auto 0;
    color: #aeb4b8;
    font-size: 13px;
}

.whatsapp-number:hover {
    color: #fff;
}

/* =========================================================
   14. FOOTER
========================================================= */

.footer {
    padding: 64px 0 24px;
    background: #292929;
    color: #b6babd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr 0.85fr;
    gap: 70px;
    padding-bottom: 42px;
}

.footer h2,
.footer h3 {
    color: #fff;
}

.footer-about h2 {
    margin-bottom: 18px;
    font-size: 21px;
}

.footer-about h2 span {
    color: var(--orange);
}

.footer-about p {
    max-width: 440px;
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 18px;
    font-size: 15px;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 9px;
}

.footer-links a,
.footer-contact a {
    color: #b6babd;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #f08a42;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 14px;
}

.footer-contact i {
    width: 16px;
    color: #a6aaad;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
    margin: 0;
    color: #989da1;
    font-size: 12px;
}

/* =========================================================
   15. ANIMACIONES
========================================================= */

.fade-in {
    opacity: 1;
    transform: none;
}

html.animations-ready .fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

html.animations-ready .fade-in.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    html.animations-ready .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   16. RESPONSIVE - NOTEBOOK / TABLET
========================================================= */

@media (max-width: 1120px) {
    :root {
        --header-height: 74px;
    }

    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .logo {
        min-width: 205px;
    }

    .logo img {
        width: 43px;
        height: 48px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text span {
        font-size: 8px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links > a:not(.btn) {
        font-size: 12px;
    }

    .nav-contact {
        padding-inline: 15px;
        font-size: 12px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
        gap: 38px;
    }

    .hero-title {
        font-size: clamp(2.7rem, 4.6vw, 3.35rem);
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 48px;
    }

    .featured-project {
        grid-template-columns: 1.35fr 0.9fr;
    }

    .specialty-block,
    .specialty-intruss {
        gap: 34px;
    }

    .project-archive-grid {
        grid-template-rows: 230px 230px;
    }
}

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

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 14px 26px rgba(31, 35, 38, 0.12);
        opacity: 0;
        visibility: hidden;
        transition: max-height 260ms ease, opacity 180ms ease, visibility 180ms ease;
    }

    .nav-links.active {
        max-height: 520px;
        opacity: 1;
        visibility: visible;
    }

    .nav-links > a:not(.btn),
    .nav-contact {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 15px 2px;
        border-bottom: 1px solid #efefef;
        border-radius: 0;
        font-size: 14px;
    }

    .nav-links > a:not(.btn)::after {
        display: none;
    }

    .nav-links > a:not(.btn)[aria-current="page"] {
        color: var(--orange-text);
    }

    .nav-contact {
        width: auto;
        margin: 14px 20px 20px;
        border: 0;
        border-radius: 6px;
    }

    .hero {
        background: #f1f1f0;
    }

    .hero-grid {
        width: min(calc(100% - 40px), var(--container));
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 64px 0 52px;
    }

    .hero-content {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-content .eyebrow {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo-panel {
        min-height: 360px;
    }

    .hero-logo-panel::before {
        width: 270px;
    }

    .hero-logo-panel::after {
        width: 390px;
    }

    .about-grid,
    .maintenance-grid {
        grid-template-columns: 1fr;
    }

    .international-gallery {
        min-height: 590px;
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 36px;
    }

    .process-steps::before {
        display: none;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project-gallery {
        min-height: 560px;
    }

    .specialty-block,
    .specialty-intruss {
        grid-template-columns: 1fr;
    }

    .specialty-intruss .specialty-visual {
        order: 2;
    }

    .specialty-visual-duo {
        min-height: 430px;
    }

    .specialty-visual-intruss {
        min-height: 500px;
    }

    .project-archive-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 250px 250px;
    }

    .project-archive-card-tall {
        grid-row: 1 / 3;
    }

    .project-archive-card-wide {
        grid-column: 1 / 3;
    }

    .maintenance-image {
        order: -1;
        height: 380px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 42px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   17. RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 680px) {
    :root {
        --header-height: 70px;
    }

    body {
        font-size: 15px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section,
    .services-section,
    .projects-section,
    .clients-section,
    .faq-section,
    .process-section {
        padding: 70px 0;
    }

    .logo {
        min-width: 0;
        gap: 9px;
    }

    .logo img {
        width: 38px;
        height: 44px;
    }

    .logo-text strong {
        font-size: 17px;
    }

    .logo-text span {
        max-width: 170px;
        font-size: 7px;
        line-height: 1.25;
    }

    .hero-grid {
        width: min(calc(100% - 32px), var(--container));
        padding: 52px 0 42px;
        gap: 18px;
    }

    .hero-title {
        margin-bottom: 20px;
        font-size: clamp(2.25rem, 10.5vw, 2.8rem);
        line-height: 1.06;
    }

    .hero-text {
        margin-bottom: 26px;
        font-size: 15px;
        line-height: 1.68;
    }

    .hero-buttons {
        display: grid;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-logo-panel {
        min-height: 300px;
    }

    .hero-logo-img {
        width: 118px;
        max-height: 148px;
    }

    .hero-logo-panel::before {
        width: 220px;
    }

    .hero-logo-panel::after {
        width: 305px;
    }

    .hero-logo-wrapper p {
        max-width: 235px;
        font-size: 8.5px;
        letter-spacing: 0.16em;
    }

    .about-grid {
        gap: 48px;
    }

    .about-main-title {
        font-size: 1.55rem;
    }

    .international-info h3 {
        font-size: 1.45rem;
    }

    .international-gallery {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .international-photo-main,
    .international-photo-secondary,
    .international-photo-third,
    .international-caption {
        position: static;
    }

    .international-photo-main {
        width: 100%;
        height: 290px;
        grid-column: 1 / -1;
    }

    .international-photo-secondary,
    .international-photo-third {
        width: 100%;
        height: 180px;
        border: 0;
    }

    .international-caption {
        grid-column: 1 / -1;
        max-width: none;
        padding-top: 4px;
    }

    .services-grid,
    .clients-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 30px 28px;
    }

    .feature-item {
        max-width: 420px;
        margin: 0 auto;
    }

    .process-steps {
        margin-top: 44px;
        gap: 38px;
    }

    .featured-project-gallery {
        min-height: 460px;
        grid-template-rows: 1.7fr 1fr;
    }

    .specialties-section {
        padding: 70px 0;
    }

    .specialties-header {
        margin-bottom: 38px;
    }

    .specialty-block {
        gap: 30px;
        padding: 24px 20px;
        border-radius: 15px;
    }

    .specialty-block + .specialty-block {
        margin-top: 22px;
    }

    .specialty-content h3 {
        font-size: 1.85rem;
    }

    .specialty-visual-duo {
        min-height: 350px;
        grid-template-columns: 1fr 0.85fr;
        gap: 8px;
    }

    .specialty-visual-duo figure:last-child {
        margin-top: 46px;
    }

    .intruss-badge {
        min-height: 54px;
        font-size: 2rem;
    }

    .specialty-visual-intruss {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 170px;
        min-height: 0;
    }

    .specialty-visual-intruss .intruss-main-photo {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .project-archive {
        margin-top: 32px;
        padding-top: 32px;
    }

    .project-archive-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .project-archive-card,
    .project-archive-card-tall,
    .project-archive-card-wide {
        grid-column: auto;
        grid-row: auto;
        height: 260px;
    }

    .project-archive-card:first-child {
        height: 340px;
    }

    .featured-project-content {
        padding: 34px 28px;
    }

    .project-details > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .project-details strong {
        text-align: left;
    }

    .client-card {
        padding: 10px;
        border-radius: 13px;
    }

    .client-card img {
        border-radius: 9px;
    }

    .client-card-last {
        grid-column: auto;
        width: 100%;
    }

    .maintenance-section {
        padding: 70px 0;
    }

    .maintenance-grid {
        gap: 42px;
    }

    .maintenance-image {
        height: 310px;
    }

    .faq-question {
        padding: 19px 18px;
        font-size: 14px;
    }

    .faq-answer > p {
        padding-inline: 18px;
        font-size: 14px;
    }

    .faq-item.active .faq-answer > p {
        padding: 0 18px 20px;
    }

    .whatsapp-section {
        padding: 70px 0;
    }

    .whatsapp-button {
        width: 100%;
        max-width: 360px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-contact {
        grid-column: auto;
    }
}


/* =========================================================
   AJUSTE FINAL — PASAMANOS / IN-TRUSS SIN FOTOS NO ESPECÍFICAS
========================================================= */

.specialty-panel {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4vw, 54px);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.specialty-panel-handrails {
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,240,240,.96)),
        #f0f1f1;
    border: 1px solid #d6d8d9;
}

.specialty-panel-handrails::before,
.specialty-panel-handrails::after {
    content: "";
    position: absolute;
    left: -7%;
    width: 114%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200,106,42,.42), transparent);
    transform: rotate(-8deg);
}

.specialty-panel-handrails::before { top: 31%; }
.specialty-panel-handrails::after { bottom: 28%; }

.specialty-panel-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background: #2f3439;
    color: #fff;
    font-size: 22px;
    position: relative;
    z-index: 2;
}

.specialty-panel-eyebrow {
    color: #7a7f83;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    position: relative;
    z-index: 2;
}

.specialty-panel strong {
    display: block;
    margin: 9px 0 16px;
    color: #c86a2a;
    font-size: clamp(2.35rem, 4.5vw, 4.4rem);
    line-height: .94;
    letter-spacing: .035em;
    position: relative;
    z-index: 2;
}

.specialty-panel p {
    max-width: 430px;
    margin: 0;
    color: #555d62;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.specialty-panel-lines {
    display: flex;
    gap: 9px;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}

.specialty-panel-lines span {
    height: 4px;
    border-radius: 999px;
    background: #2f3439;
}

.specialty-panel-lines span:nth-child(1) { width: 58px; }
.specialty-panel-lines span:nth-child(2) { width: 28px; background: #c86a2a; }
.specialty-panel-lines span:nth-child(3) { width: 84px; opacity: .28; }

.intruss-process-panel {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
        #202529;
}

.intruss-process-mark {
    margin-bottom: 16px;
    color: #f07d2e;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: .06em;
}

.intruss-process-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    padding: 17px 0;
    border-top: 1px solid rgba(255,255,255,.11);
}

.intruss-process-step > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(240,125,46,.72);
    border-radius: 50%;
    color: #f18a42;
    font-size: 12px;
    font-weight: 800;
}

.intruss-process-step strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 15px;
}

.intruss-process-step small {
    display: block;
    color: #b8bdc0;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .specialty-panel,
    .intruss-process-panel {
        min-height: 0;
    }

    .specialty-intruss .intruss-process-panel {
        order: 2;
    }
}

@media (max-width: 560px) {
    .specialty-panel,
    .intruss-process-panel {
        padding: 26px 22px;
    }

    .specialty-panel strong {
        font-size: 2.45rem;
    }

    .intruss-process-mark {
        font-size: 2.65rem;
    }

    .intruss-process-step {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }
}


/* Ajuste final: información de provisión de pasamanos */
.supplier-strip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(47,52,57,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #454b50;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.supplier-strip i {
    color: #c86a2a;
}


/* Ajustes visuales para nuevos registros fotográficos */
.specialty-visual-handrails .specialty-panel {
    margin-top: 16px;
}

.specialty-visual-handrails figure:first-child img {
    object-position: center 42%;
}

.specialty-visual-handrails figure:last-child img {
    object-position: center 50%;
}

.intruss-content .specialty-visual {
    margin-top: 28px;
}

.intruss-content .specialty-visual figure {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
}

@media (max-width: 640px) {
    .specialty-visual-handrails .specialty-panel {
        margin-top: 12px;
    }

    .intruss-content .specialty-visual {
        margin-top: 20px;
    }
}


/* Ajuste final pasamanos: galería limpia, sin panel duplicado */
.specialty-visual-handrails .specialty-visual-duo {
    min-height: 520px;
    align-items: stretch;
}

.specialty-visual-handrails .specialty-visual-duo figure {
    min-height: 100%;
}

.specialty-visual-handrails .specialty-visual-duo figure:last-child {
    margin-top: 0;
}

.specialty-visual-handrails .specialty-visual-duo img {
    min-height: 520px;
}

@media (max-width: 900px) {
    .specialty-visual-handrails .specialty-visual-duo,
    .specialty-visual-handrails .specialty-visual-duo img {
        min-height: 420px;
    }
}

@media (max-width: 560px) {
    .specialty-visual-handrails .specialty-visual-duo {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .specialty-visual-handrails .specialty-visual-duo figure,
    .specialty-visual-handrails .specialty-visual-duo img {
        min-height: 0;
        height: 300px;
    }
}


/* Fotografías nuevas · 12/10/2026 */
.specialty-visual-intruss .intruss-main-photo img { object-position: center 46%; }
.specialty-visual-intruss figure:nth-child(2) img { object-position: center 52%; }
.specialty-visual-intruss figure:nth-child(3) img { object-position: center 48%; }
.project-archive-grid-new .project-archive-card:nth-child(2) img { object-position: center 45%; }
.project-archive-grid-new .project-archive-card:nth-child(3) img { object-position: center 50%; }
.project-archive-grid-new .project-archive-card:nth-child(4) img { object-position: center 48%; }
