/* ========== DESIGN SYSTEM ========== */
:root {
    --color-primary: #414D78;
    --color-secondary: #0A0C12;
    --color-text: #666666;
    --color-accent: #CA3C0A;
    --color-white: #FFFFFF;
    --color-bg-light: #F1F5FC;
    --color-blue: #769ADF;
    --color-orange: #FFA556;
    --color-border: #D6E1F5;

    --font-heading: 'Raleway', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --container-width: 1280px;
    --header-height: 85px;

    --radius-pill: 30px;
    --shadow-card: 0px 5px 30px -10px rgba(0, 0, 0, 0.15);
    --shadow-btn: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.2;
}
h1 { font-size: clamp(1.9375rem, 1.497rem + 1.957vw, 3.0625rem); font-weight: 700; letter-spacing: -1.5px; }
h2 { font-size: clamp(1.6875rem, 1.394rem + 1.304vw, 2.4375rem); font-weight: 700; letter-spacing: -1px; }
h3 { font-size: clamp(1.4375rem, 1.242rem + 0.87vw, 1.9375rem); font-weight: 700; letter-spacing: -1px; }
h4 { font-size: clamp(1.25rem, 1.128rem + 0.543vw, 1.5625rem); font-weight: 600; letter-spacing: -0.5px; }
h5 { font-size: clamp(1.0625rem, 0.989rem + 0.326vw, 1.25rem); font-weight: 600; letter-spacing: -0.5px; }
h6 {
    font-family: var(--font-body);
    font-size: clamp(0.6875rem, 0.639rem + 0.217vw, 0.8125rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}
.centered { text-align: center; }
.section {
    padding: 7em 1em;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 0.701rem + 0.217vw, 0.875rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
    background: var(--color-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-secondary);
}
.btn-lg { padding: 18px 40px; }

/* ========== SECTION LABEL ========== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: clamp(0.6875rem, 0.639rem + 0.217vw, 0.8125rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}
.section-label .mdi { color: var(--color-accent); font-size: 1em; }

.section-header { max-width: 700px; margin: 0 auto 3em; }
.section-header p { margin-top: 1em; }

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99;
    transition: background 0.3s, box-shadow 0.3s;
    padding: 0 1em;
}
.site-header.scrolled {
    background: rgba(10, 12, 18, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}
.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.header-logo .logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.header-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}
.header-nav .nav-menu li a {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 0.701rem + 0.217vw, 0.875rem);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 26px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    transition: border-color 0.3s;
}
.header-nav .nav-menu li a:hover {
    border-color: rgba(255,255,255,0.3);
}
.nav-cta {
    border-color: rgba(255,255,255,0.3) !important;
}
.menu-toggle {
    display: none;
    background: var(--color-accent);
    border: none;
    width: 40px; height: 40px;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown menus */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex !important;
    align-items: center;
    gap: 4px;
}
.nav-dropdown > a .mdi {
    font-size: 1rem;
    transition: transform 0.3s;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 101;
}
.dropdown-menu li a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: var(--color-secondary) !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 0 !important;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
    background: var(--color-bg-light);
    color: var(--color-accent) !important;
    border: none !important;
}
.nav-dropdown:hover > .dropdown-menu {
    display: block;
}
.nav-dropdown:hover > a .mdi {
    transform: rotate(180deg);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 11em 1em 7em;
}
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    animation: kenBurns 20s ease infinite;
}
.hero-slideshow .slide.active { opacity: 1; }
@keyframes kenBurns {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.75) 0%, rgba(14, 28, 71, 0.65) 100%);
    z-index: 1;
}
.hero-decorators {
    position: absolute;
    bottom: 0; left: 0;
    z-index: 2;
}
.decorator {
    position: absolute;
    bottom: 0;
    width: 60px;
}
.d1 { left: 0; height: 120px; background: rgba(255,255,255,0.64); }
.d2 { left: 60px; height: 60px; background: rgba(255,255,255,0.64); }
.d3 { left: 0; height: 60px; background: var(--color-white); }
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1320px;
    padding-inline: 2em;
}
.hero-pretitle {
    display: block;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 0.68rem + 0.35vw, 0.9375rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 0.8em;
    opacity: 0.9;
}
.hero h2 {
    color: var(--color-white);
    font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.75rem);
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 0.4em;
    max-width: 100%;
}
.hero-desc {
    color: var(--color-bg-light);
    max-width: 650px;
    margin: 0 auto 2em;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== PROPUESTA ========== */
.propuesta { padding: 5em 1em 3em; }
.propuesta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5em;
    align-items: center;
}
.propuesta-text h2 { margin-bottom: 0.6em; }
.propuesta-text p { margin-bottom: 1.5em; }
.propuesta-intro {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    color: #666666;
    line-height: 28px;
    letter-spacing: 0;
}
.propuesta-problems {
    list-style: none;
    margin-bottom: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
}
.propuesta-problems li {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    line-height: 1.5;
    color: var(--color-text);
}
.propuesta-problems .mdi {
    color: var(--color-accent);
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 0.1em;
}
.propuesta-solution {
    padding: 1em 0 0;
    border-top: 1px solid var(--color-border);
}
.propuesta-images {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    position: relative;
}
.propuesta-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.propuesta-images .img-1 {
    grid-column: 1;
    grid-row: 1 / -1;
}
.propuesta-images .img-2 {
    grid-column: 2;
    grid-row: 1;
}
.propuesta-images .img-3 {
    grid-column: 2;
    grid-row: 2;
}

/* ========== STATS ========== */
.stats-section {
    padding: 1.5em 1em 2.5em;
    border-bottom: 1px solid var(--color-border);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: center;
}
.stats-numbers {
    display: flex;
    align-items: center;
    gap: 2em;
}
.stat { text-align: center; flex: 1; }
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 2rem + 2.2vw, 4rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}
.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-accent);
}
.stat-label {
    display: block;
    font-size: clamp(0.75rem, 0.701rem + 0.217vw, 0.875rem);
    color: var(--color-text);
    margin-top: 0.3em;
}
.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
}
.stats-quote {
    padding-left: 2em;
    border-left: 2px solid var(--color-border);
}
.stats-quote p {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    font-weight: 600;
    font-style: italic;
    color: var(--color-secondary);
    line-height: 1.6;
}

/* ========== COORDINATION ========== */
.coordination { padding: 7em 1em; overflow: hidden; }
.coordination-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
}
.coordination-images {
    display: flex;
    gap: 15px;
}
.coordination-images img {
    width: 50%;
    object-fit: cover;
    border-radius: 4px;
}
.coord-img-1 { margin-top: 2em; }
.coord-img-2 { margin-bottom: 2em; }
.coordination-content h2 { margin-bottom: 0.6em; }
.coordination-content p { margin-bottom: 1.5em; }
.coordination-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 2em;
}
.feature-card {
    border: 4px double var(--color-border);
    padding: 25px;
    position: relative;
}
.feature-icon {
    position: absolute;
    top: -22px;
    right: 25px;
    font-size: 28px;
    color: var(--color-blue);
    background: var(--color-white);
    padding: 5px;
}
.feature-card h3 {
    margin-bottom: 0.4em;
}
.feature-card p {
    color: #666;
    line-height: 1.5;
}

/* ========== PROBLEM CARDS (3x2 grid) ========== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}
.problem-card {
    background: var(--color-white);
    border: 4px double var(--color-border);
    border-radius: 8px;
    padding: 2.2em 1.8em 1.8em;
    position: relative;
}
.problem-card .problem-badge {
    position: absolute;
    top: -18px;
    right: 24px;
    width: 38px;
    height: 38px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(202, 60, 10, 0.3);
}
.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.5em;
    padding-right: 2em;
}
.problem-card p {
    color: #666;
    line-height: 1.5;
}

/* ========== SPECIALTY CARDS (3-col hover) ========== */
.spec-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}
.spec-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 4px double var(--color-border);
    border-radius: 8px;
    padding: 2.2em 1.8em 1.5em;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.spec-card:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}
.spec-card .spec-icon {
    font-size: 2rem;
    color: var(--color-blue);
    margin-bottom: 0.8em;
    transition: color 0.3s ease;
}
.spec-card:hover .spec-icon {
    color: var(--color-blue);
}
.spec-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.5em;
    transition: color 0.3s ease;
}
.spec-card:hover h3 {
    color: #fff;
}
.spec-card p {
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    transition: color 0.3s ease;
}
.spec-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}
.spec-card .spec-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-bg-light);
    border-radius: 4px;
    margin-top: 1.2em;
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}
.spec-card:hover .spec-arrow {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ========== WHEN-LAYOUT (3-col: title + 2 lists) ========== */
.when-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3em;
    align-items: start;
}
.when-text h2 {
    line-height: 1.2;
    margin-bottom: 0.6em;
}
.when-text p {
    color: #666;
    line-height: 1.5;
}
.when-items {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}
.when-item {
    border-left: 3px solid var(--color-blue);
    padding-left: 1.2em;
}
.when-item h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.0625rem, 0.989rem + 0.326vw, 1.25rem);
    letter-spacing: -0.5px;
    color: var(--color-secondary);
    margin-bottom: 0.3em;
    display: flex;
    align-items: center;
    gap: 0.4em;
}
.when-item h3 .mdi {
    color: var(--color-blue);
    font-size: 1.15rem;
}
.when-item p {
    color: #666;
    line-height: 1.5;
}

/* ========== WHY-CHOOSE (3-col split) ========== */
.why-choose {
    padding: 3.5em 0;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 3em;
    align-items: center;
}
.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    max-height: 400px;
}
.why-choose-text .section-label {
    margin-bottom: 1em;
}
.why-choose-text h2 {
    line-height: 1.2;
    margin-bottom: 0.8em;
}
.why-choose-text p {
    color: #666;
    line-height: 1.5;
}
.why-choose-features {
    display: flex;
    flex-direction: column;
    gap: 1.8em;
}
.why-choose-feature {
    border-left: 3px solid var(--color-blue);
    padding-left: 1.2em;
}
.why-choose-feature h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.0625rem, 0.989rem + 0.326vw, 1.25rem);
    letter-spacing: -0.5px;
    margin-bottom: 0.4em;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.4em;
}
.why-choose-feature h3 .mdi {
    color: var(--color-blue);
    font-size: 1.25rem;
}
.why-choose-feature p {
    color: #666;
    line-height: 1.5;
}

/* ========== SERVICES ========== */
.services {
    background: var(--color-bg-light);
    overflow: hidden;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 3em;
}
.service-card {
    background: var(--color-white);
    padding: 40px 25px 30px;
    text-align: center;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.2);
}
.service-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(118, 154, 223, 0.18);
    border: 1.5px solid rgba(118, 154, 223, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2em;
}
.service-icon .mdi {
    font-size: 28px;
    color: var(--color-blue);
}
.service-card h3 {
    font-size: clamp(1.0625rem, 0.989rem + 0.326vw, 1.25rem);
    margin-bottom: 0.5em;
}
.btn-service {
    display: inline-block;
    margin-top: 1.2em;
    padding: 0.6em 1.8em;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.3s ease;
}
.btn-service:hover {
    background: var(--color-blue);
}

/* ========== WHY CHOOSE ========== */
/* ========== ESPECIALIDADES ========== */
.specialties {
    padding: 5em 1em;
    background: var(--color-white);
}
.specialties .section-header {
    max-width: 700px;
    margin: 0 auto 3em;
}
.specialties .section-header.centered {
    text-align: center;
}
.specialties .section-header h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem);
    margin-bottom: 0.6em;
    line-height: 1.2;
}
.specialties .section-header p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.7;
}
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}
.specialty-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.specialty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.specialty-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.specialty-card:hover img {
    transform: scale(1.06);
}
.specialty-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,12,18,0.85) 0%, rgba(10,12,18,0.3) 60%, rgba(10,12,18,0.1) 100%);
    z-index: 1;
}
.specialty-content {
    position: relative;
    z-index: 2;
    padding: 1.5em;
}
.specialty-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.3;
    color: var(--color-white);
}
.specialty-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.8em;
}
.specialty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-orange);
    transition: gap 0.3s ease;
}
.specialty-card:hover .specialty-link {
    gap: 0.6em;
}
.specialties-cta {
    margin-top: 2.5em;
}
.specialties-cta.centered {
    text-align: center;
}
.specialties-cta p {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 1.2em;
    line-height: 1.6;
}

/* ========== WHY US ========== */
.why-us {
    position: relative;
    padding: 0;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.why-us-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.why-us-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.50) 0%, rgba(10, 12, 18, 0.65) 100%);
    z-index: 1;
}
.why-us-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5em 1em 7em;
}
.why-us .section-header h2,
.why-us .section-header p {
    color: #fff;
}
.why-us .section-header p {
    max-width: 600px;
    margin-inline: auto;
    opacity: 0.85;
}
.why-grid-bar {
    position: relative;
    z-index: 2;
    background: rgba(10, 12, 18, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5em 0;
    width: 100%;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.why-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 30px;
}
.why-card:last-child {
    border-right: none;
    padding-right: 0;
}
.why-icon {
    flex-shrink: 0;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-icon .mdi { font-size: 24px; color: var(--color-blue); }
.why-card h4 {
    font-size: clamp(0.9375rem, 0.889rem + 0.217vw, 1.0625rem);
    margin-bottom: 0.25em;
    color: #fff;
}
.why-card p {
    font-size: clamp(0.8125rem, 0.763rem + 0.217vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.75);
}

/* ========== PROCESS ========== */
.process { padding: 7em 1em; overflow: hidden; }
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5em;
}
.process-left h2 { margin-bottom: 0.6em; }
.process-left > p { margin-bottom: 2em; }
.process-image {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.8em;
}
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px 20px;
    border-radius: 8px;
    transition: background 0.3s;
    position: relative;
}
.step:hover { background: var(--color-bg-light); }
.step-highlight {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}
.step-next {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-blue);
    font-size: 1.6rem;
    z-index: 1;
}
.step-number { flex-shrink: 0; width: 40px; }
.step-svg {
    width: 40px; height: 50px;
}
.step-svg text {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    fill: var(--color-blue);
}
.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.3em;
}
.step-arrow {
    display: none;
}

/* ========== PROJECTS ========== */
.projects {
    background: var(--color-bg-light);
    overflow: hidden;
}
.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2em;
    margin-bottom: 3em;
}
.projects-header h2 { max-width: 600px; }
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.project-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    min-height: 280px;
    cursor: pointer;
}
.project-card.tall { min-height: 580px; grid-row: span 2; }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,12,18,0.85) 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: background 0.3s;
}
.project-overlay h3 {
    color: var(--color-white);
    font-size: clamp(1.0625rem, 0.989rem + 0.326vw, 1.25rem);
}
.project-link {
    position: absolute;
    top: 15px; right: 15px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateX(70px);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
}
.project-card:hover .project-link {
    transform: translateX(0);
    opacity: 1;
}
.project-card:hover .project-overlay {
    background: linear-gradient(180deg, rgba(10,12,18,0.2) 0%, rgba(10,12,18,0.9) 80%);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 7em 1em;
    overflow: hidden;
}
.testimonials-slider { padding-bottom: 20px; }
.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}
.stars { color: #F5A623; margin-bottom: 15px; }
.stars .mdi { font-size: 16px; }
.quote-icon {
    position: absolute;
    top: 25px; right: 25px;
    font-size: 28px;
    color: var(--color-border);
}
.testimonial-card > p {
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
}
.testimonial-author img {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--color-text);
}

/* ========== FAQ ========== */
.faq { padding: 7em 1em; background: var(--color-bg-light); }
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4em;
    align-items: start;
}
.faq-image img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    max-height: 700px;
}
.faq-content h2 { margin-bottom: 0.5em; }
.faq-subtitle { margin-bottom: 2em; }
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}
.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: clamp(0.9375rem, 0.889rem + 0.217vw, 1.0625rem);
    font-weight: 600;
    color: var(--color-secondary);
    text-align: left;
}
.accordion-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--color-accent);
    transition: transform 0.3s;
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.active .accordion-body {
    max-height: 300px;
    padding-bottom: 18px;
}
.accordion-body p {
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    line-height: 1.6;
}

/* ========== CTA FINAL ========== */
.cta-final {
    position: relative;
    padding: 6em 1em 7em;
    overflow: hidden;
}
.cta-final-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.cta-final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.55) 0%, rgba(10, 12, 18, 0.65) 100%);
    z-index: 1;
}
.cta-final-content {
    position: relative;
    z-index: 2;
}
.cta-final h2 {
    margin-bottom: 0.6em;
    color: #fff;
}
.cta-final p {
    max-width: 650px;
    margin: 0 auto 2em;
    color: rgba(255, 255, 255, 0.85);
}

/* ========== CTA BANNER (inline, image bg) ========== */
.cta-banner {
    position: relative;
    padding: 5em 0;
    overflow: hidden;
}
.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 18, 0.75) 0%, rgba(10, 12, 18, 0.45) 100%);
    z-index: 1;
}
.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin-right: auto;
    transform: translateX(-350px);
}
.cta-banner h2 {
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.7em;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
    margin-bottom: 1.8em;
}

/* ========== FOOTER ========== */
.footer-main {
    background: var(--color-bg-light);
    padding: 5em 1em;
    color: var(--color-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3em;
    align-items: start;
}
.footer-divider-v {
    display: none;
}
.footer-links-wrap {
    display: contents;
}
.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.footer-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}
.footer-social {
    display: flex;
    gap: 7px;
}
.footer-social a {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: color 0.3s;
}
.footer-social a:hover { color: var(--color-accent); }
.footer-social .mdi { font-size: 14px; }
.footer-desc {
    margin-bottom: 1.5em;
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    line-height: 1.5;
    color: rgba(10, 12, 18, 0.65);
}
.footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: clamp(0.8125rem, 0.764rem + 0.217vw, 0.9375rem);
    color: rgba(10, 12, 18, 0.65);
}
.footer-contact-item .mdi {
    color: var(--color-blue);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-col h4 {
    color: var(--color-secondary);
    font-size: clamp(1rem, 0.951rem + 0.217vw, 1.125rem);
    font-weight: 700;
    margin-bottom: 1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: clamp(0.8125rem, 0.764rem + 0.217vw, 0.9375rem);
    color: rgba(10, 12, 18, 0.6);
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-col ul li {
    padding-bottom: 0;
}
.footer-bottom {
    background: var(--color-primary);
    padding: 1em;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}
.footer-legal a {
    font-size: clamp(0.6875rem, 0.639rem + 0.217vw, 0.8125rem);
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}
.footer-legal a:hover { color: var(--color-white); }
.footer-legal .sep { color: rgba(255,255,255,0.3); }
.footer-copy {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: clamp(0.6875rem, 0.639rem + 0.217vw, 0.8125rem);
    color: rgba(255,255,255,0.7);
}
.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 0.701rem + 0.217vw, 0.875rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    cursor: pointer;
    transition: border-color 0.3s;
}
.back-to-top:hover { border-color: rgba(255,255,255,0.6); }
.back-to-top .mdi { font-size: 14px; }

/* ========== INTERIOR PAGES ========== */

/* Hero Interior */
.hero-interior {
    min-height: 45vh;
    padding: 8em 1em 4em;
}
.hero-interior h1 {
    color: var(--color-white);
    font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem);
    margin-bottom: 0.4em;
    max-width: 800px;
    margin-inline: auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4em;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5em;
}
.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .mdi { font-size: 0.9em; opacity: 0.5; }

/* Content Grid (double column — content left, sidebar right) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 0.38fr;
    gap: 4em;
    align-items: start;
}
.content-main {
    display: flex;
    flex-direction: column;
    gap: 3.5em;
}
.content-block h2 {
    font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.875rem);
    margin-bottom: 0.7em;
    line-height: 1.25;
}
.content-block p {
    margin-bottom: 1em;
    line-height: 1.7;
}
.content-block p:last-child { margin-bottom: 0; }
.content-block a,
.accordion-body a {
    color: var(--color-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.content-block a:hover,
.accordion-body a:hover {
    border-bottom-color: var(--color-blue);
}
.content-note {
    font-style: italic;
    color: var(--color-primary);
    border-left: 3px solid var(--color-blue);
    padding-left: 1em;
    margin-top: 1em;
}

/* Check List */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    margin: 1em 0;
}
.check-list li {
    font-size: clamp(0.875rem, 0.826rem + 0.217vw, 1rem);
    line-height: 1.5;
    padding-left: 1.8em;
    text-indent: -1.8em;
}
.check-list .mdi {
    color: var(--color-blue);
    font-size: 1.2em;
    margin-right: 0.4em;
    vertical-align: -0.1em;
}

/* Includes Grid (two columns) */
.includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3em;
    margin: 1.5em 0;
}

/* Approach Cards */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
    margin-top: 1.5em;
}
.approach-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.8em 1.5em;
}
.approach-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(118, 154, 223, 0.18);
    border: 1.5px solid rgba(118, 154, 223, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
}
.approach-icon .mdi {
    font-size: 22px;
    color: var(--color-blue);
}
.approach-card h3 {
    font-size: clamp(1rem, 0.95rem + 0.217vw, 1.125rem);
    margin-bottom: 0.4em;
}
.approach-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2em);
}
.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

/* Sidebar Metadata (template style) */
.sidebar-meta {
    display: flex;
    flex-direction: column;
    gap: 1.8em;
}
.sidebar-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}
.sidebar-label {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-secondary);
}
.sidebar-value {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
}

/* Sidebar Info (service summary) */
.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.sidebar-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--color-border);
}
.sidebar-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.4em;
}
.sidebar-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.7em;
    padding-bottom: 0.6em;
    border-bottom: 1px solid var(--color-border);
}
.sidebar-card-subtle {
    background: var(--color-white);
    border: 1px dashed var(--color-border);
}
.sidebar-card-subtle h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    border-bottom: none;
    margin-bottom: 0.5em;
    padding-bottom: 0;
}
.sidebar-card-subtle .sidebar-links a {
    font-size: 0.8rem;
    padding: 0.45em 0;
}
.sidebar-card-subtle .sidebar-links li {
    border-bottom-style: dashed;
}
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sidebar-links li {
    border-bottom: 1px solid var(--color-border);
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.55em 0;
    font-size: 0.84rem;
    color: var(--color-text);
    transition: color 0.3s, padding-left 0.3s;
}
.sidebar-links a:hover {
    color: var(--color-accent);
    padding-left: 0.3em;
}
.sidebar-links .mdi {
    font-size: 1em;
    color: var(--color-accent);
}
.sidebar-cta {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}
.sidebar-cta h4 {
    color: var(--color-white);
    border-bottom-color: rgba(255,255,255,0.15);
}
.sidebar-cta p {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.2em;
}
.sidebar-cta .btn {
    display: block;
    text-align: center;
}

/* Benefits */
.benefits {
    background: var(--color-bg-light);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    max-width: 900px;
    margin: 0 auto;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8em;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.2em 1.5em;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-secondary);
    line-height: 1.4;
}
.benefit-item .mdi {
    font-size: 1.5rem;
    color: var(--color-blue);
    flex-shrink: 0;
}

/* Renovation Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}
.type-card {
    position: relative;
    display: block;
    min-height: 180px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.type-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.type-card:hover img {
    transform: scale(1.06);
}
.type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,12,18,0.85) 0%, rgba(10,12,18,0.2) 60%, rgba(10,12,18,0.05) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5em;
}
.type-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

/* FAQ full-width (interior pages) */
.faq-content-full {
    max-width: 800px;
    margin: 0 auto;
}
.faq-content-full .accordion {
    margin-top: 2em;
}

/* ========== SERVICE VISUAL STRIP ========== */
.service-visual-strip {
    margin: 2em 0 2.75em;
}
.visual-strip-label {
    font-size: 0.95rem;
    color: #5f6673;
    margin-bottom: 0.875em;
    line-height: 1.6;
}
.visual-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.visual-strip-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 150px;
    background: var(--color-bg-light);
    margin: 0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.visual-strip-item img {
    width: 100%;
    height: 170px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.visual-strip-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 17, 31, 0.72), rgba(10, 17, 31, 0.08));
    pointer-events: none;
}
.visual-strip-item figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    color: var(--color-white);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}
.visual-strip-item:hover img {
    transform: scale(1.04);
}

/* ========== ANIMATIONS ========== */
.anim-fade-up,
.anim-fade-down,
.anim-fade-left,
.anim-fade-right,
.anim-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-fade-up { transform: translateY(40px); }
.anim-fade-down { transform: translateY(-40px); }
.anim-fade-left { transform: translateX(-40px); }
.anim-fade-right { transform: translateX(40px); }
.anim-fade-in { transform: scale(0.95); }

.anim-fade-up.visible,
.anim-fade-down.visible,
.anim-fade-left.visible,
.anim-fade-right.visible,
.anim-fade-in.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
}
.mobile-nav-overlay.active { display: block; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .header-nav {
        position: fixed;
        top: 0; right: -340px;
        width: 340px;
        height: 100vh;
        background: var(--color-white);
        z-index: 100;
        padding: 80px 25px 25px;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.25);
    }
    .header-nav.open { right: 0; }
    .header-nav .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    .header-nav .nav-menu li {
        border-top: 1px solid var(--color-border);
    }
    .header-nav .nav-menu li a {
        color: var(--color-secondary);
        padding: 15px 20px;
        border-radius: 0;
        border: none;
    }
    .header-nav .nav-menu li a:hover {
        color: var(--color-accent);
        border: none;
    }
    .menu-toggle { display: flex; }

    .nav-dropdown > a .mdi {
        margin-left: auto;
        font-size: 1.2rem;
        transition: transform 0.3s;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: var(--color-bg-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown.open > .dropdown-menu {
        display: block;
        max-height: 500px;
    }
    .nav-dropdown:hover > .dropdown-menu {
        display: none;
    }
    .nav-dropdown.open:hover > .dropdown-menu {
        display: block;
    }
    .dropdown-menu li {
        border-top: 1px solid var(--color-border) !important;
    }
    .dropdown-menu li a {
        padding: 12px 20px 12px 35px !important;
        font-size: 0.8rem !important;
    }
    .nav-dropdown.open > a .mdi {
        transform: rotate(180deg);
    }

    .propuesta-grid { grid-template-columns: 1fr; gap: 3em; }
    .stats-grid { grid-template-columns: 1fr; gap: 2em; }
    .coordination-grid { grid-template-columns: 1fr; }
    .coordination-features { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .when-grid { grid-template-columns: 1fr 1fr; gap: 2em; }
    .when-text { grid-column: 1 / -1; }
    .why-choose-grid { grid-template-columns: 1fr 1fr; gap: 2em; }
    .why-choose-image { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .specialties-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr; gap: 3em; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-image { display: none; }
    .projects-header { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2em; }

    .content-grid { grid-template-columns: 1fr; gap: 3em; }
    .content-sidebar { position: static; order: 2; }
    .content-main { order: 1; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .types-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: 1fr 1fr; }
    .visual-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-divider-v {
        width: 100%; height: 1px;
    }

    .hero { padding: 11em 1.5em 6em; }
    .section { padding: 4em 2em; }

    .site-header { padding: 0 1.5em; }
}

@media (max-width: 767px) {
    h2, h3 { font-size: 1.25rem; }

    .hero { padding: 8em 1.5em 4em; }
    .hero h2 { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.8rem); }

    .stats-numbers { flex-direction: row; gap: 1em; }
    .stat-divider { width: 1px; height: 40px; }

    .coordination-images { flex-direction: column; }
    .coordination-images img { width: 100%; }
    .coordination-features { grid-template-columns: 1fr; }
    .problem-grid { grid-template-columns: 1fr; }
    .spec-cards-grid { grid-template-columns: 1fr; }
    .when-grid { grid-template-columns: 1fr; }
    .why-choose-grid { grid-template-columns: 1fr; gap: 2em; }

    .services-grid { grid-template-columns: 1fr; }
    .specialties-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .projects-grid { grid-template-columns: 1fr; }
    .project-card.tall { min-height: 280px; grid-row: span 1; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-contact { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 15px; text-align: center; }

    .hero-interior { padding: 7em 1.5em 3em; }
    .hero-interior h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
    .breadcrumb { gap: 0.3em 0.4em; font-size: 0.75rem; }
    .breadcrumb > span:last-child { width: 100%; text-align: center; }
    .includes-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .visual-strip-grid { grid-template-columns: 1fr; }
    .visual-strip-item img { height: 210px; }
    .sidebar-meta { flex-direction: column; gap: 1.2em; }
    .benefits-grid { grid-template-columns: 1fr; }
    .types-grid { grid-template-columns: 1fr; }
    .type-card { min-height: 200px; }

    .section { padding: 2em 1.5em; }
}
