/* =========================
   VARIABLES & RESET
========================= */
:root {
    --gold: #d4a943;
    --gold-dark: #b8902e;
    --dark: #0d0d0d;
    --dark-2: #1a1a1a;
    --light: #f7f5f2;
    --text: #1a1a1a;
    --text-light: #6b6b6b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; }
img { max-width: 100%; display: block; }
section:not(.hero),
footer {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}
.blur-sensitive {
    filter: blur(12px);
    -webkit-filter: blur(12px);
}
a { color: inherit; text-decoration: none; }

/* =========================
   BUTTONS
========================= */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-2); }

/* =========================
   HEADER
========================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}
.main-header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 900;
    position: relative;
    line-height: 1;
}
.logo-icon::before {
    content: none;
}
.logo-icon i { display: none; }
.logo-text { color: var(--white); line-height: 1.1; }
.logo-title { display: block; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 22px; color: var(--white); }
.logo-subtitle { font-size: 10px; letter-spacing: 2px; color: var(--gold); }

.main-nav { display: flex; gap: 40px; }
.main-nav a {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.main-nav a.active, .main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; gap: 15px; align-items: center; }
.translate-info-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 6px;
    color: var(--white);
    background: rgba(0,0,0,0.18);
    user-select: none;
}
.translate-info-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212,169,67,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.translate-info-icon i { color: var(--gold); font-size: 13px; }
.translate-info-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.translate-info-text strong {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}
.translate-info-text span {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    line-height: 1.2;
}
.translate-widget-light {
    color: var(--text);
    background: var(--white);
    border-color: var(--border, #e5e7eb);
}
.translate-widget i { color: var(--gold); font-size: 16px; }
.translate-widget .goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1;
}
.translate-widget .goog-te-gadget span { display: none !important; }
.translate-widget select.goog-te-combo {
    max-width: 150px;
    min-height: 28px;
    border: 0;
    border-radius: 4px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.94);
    color: var(--dark);
    font: 600 12px 'Inter', sans-serif;
}
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
.btn-login {
    color: var(--white);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    transition: all 0.3s;
}
.btn-login:hover { border-color: var(--gold); color: var(--gold); }

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)),
                url('../imagenes/servicios/decks/imagen-principal.jpeg') center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 70%);
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-text { max-width: 600px; }
.hero-tagline {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
}
.hero h1 {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 900;
}
.hero h1 .highlight { color: var(--gold); }
.hero p {
    font-size: 17px;
    margin-bottom: 36px;
    opacity: 0.9;
    max-width: 500px;
}
.hero-buttons { display: flex; gap: 16px; }

.services-strip {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--dark);
    padding: 24px 0;
    z-index: 3;
}
.services-strip .container {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
}
.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    line-height: 1.3;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-align: left;
    position: relative;
    min-width: 0;
}
.service-item:hover { background: rgba(212, 169, 67, 0.1); }
.service-item.active {
    background: rgba(212, 169, 67, 0.15);
}
.service-item.active::after {
    content: '';
    position: absolute;
    bottom: -24px; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
}
.service-item i { color: var(--gold); font-size: 28px; }
.service-item span { line-height: 1.25; }

/* =========================
   SERVICE MEGA MENU
========================= */
.service-megamenu {
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    border-top: 1px solid rgba(212, 169, 67, 0.2);
}
.service-megamenu.open {
    max-height: 5200px;
    opacity: 1;
}
.megamenu-inner { padding: 60px 24px 40px; position: relative; }
.megamenu-close {
    position: absolute;
    top: 20px; right: 30px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
.megamenu-close:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.megamenu-intro h2 {
    font-size: 36px;
    line-height: 1.2;
    margin: 14px 0 20px;
    color: var(--white);
}
.megamenu-intro h2 em { font-style: italic; font-weight: 400; }
.megamenu-intro p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 30px; }

.megamenu-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.megamenu-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: #222;
}
.megamenu-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.megamenu-card:hover img { transform: scale(1.08); }
.megamenu-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.megamenu-card-content {
    position: absolute;
    left: 16px; right: 16px; bottom: 14px;
    z-index: 2;
    color: var(--white);
}
.megamenu-card-icon {
    position: absolute;
    top: -14px; left: 0;
    width: 36px; height: 36px;
    background: var(--dark);
    color: var(--gold);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.megamenu-card-content h4 {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 2px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.megamenu-card-content h4 i { color: var(--gold); font-size: 12px; }
.megamenu-card-content p { font-size: 12px; color: rgba(255,255,255,0.7); }

.megamenu-side h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    font-weight: 600;
}
.megamenu-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}
.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 0;
}
.detail-row:hover .detail-text strong { color: var(--gold); }
.detail-icon {
    width: 38px; height: 38px;
    border: 1px solid rgba(212,169,67,0.4);
    border-radius: 50%;
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.detail-text { flex: 1; }
.detail-text strong { display: block; font-size: 13px; transition: color 0.3s; }
.detail-text span { font-size: 11px; color: rgba(255,255,255,0.5); }
.detail-row > i {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
}

.megamenu-cta {
    background: rgba(212, 169, 67, 0.08);
    border: 1px solid rgba(212,169,67,0.2);
    border-radius: 10px;
    padding: 20px;
    position: relative;
}
.megamenu-cta .cta-icon {
    position: absolute;
    top: 20px; left: 20px;
    color: var(--gold);
    font-size: 22px;
}
.megamenu-cta strong {
    display: block;
    font-size: 14px;
    margin-left: 40px;
    margin-bottom: 6px;
}
.megamenu-cta p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-left: 40px;
    margin-bottom: 10px;
}
.cta-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 40px;
}
.cta-gold:hover { color: var(--gold-dark); }

.megamenu-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.feature-item i {
    color: var(--gold);
    font-size: 22px;
    width: 40px; height: 40px;
    border: 1px solid rgba(212,169,67,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-item strong { display: block; font-size: 13px; margin-bottom: 3px; }
.feature-item span { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* =========================
   LIGHTBOX
========================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.lightbox.open {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.4s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}
.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 20px;
    max-width: 90vw;
}
.lightbox-caption h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--gold);
}
.lightbox-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
}
.lightbox-counter {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}
.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}
.lightbox-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: rotate(90deg);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}
.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.megamenu-card { cursor: zoom-in; }

@media (max-width: 1024px) {
    .megamenu-grid { grid-template-columns: 1fr; }
    .megamenu-cards { grid-template-columns: repeat(2, 1fr); }
    .megamenu-features { grid-template-columns: repeat(2, 1fr); }
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
@media (max-width: 700px) {
    .megamenu-cards { grid-template-columns: 1fr; }
    .megamenu-features { grid-template-columns: 1fr; }
    .megamenu-intro h2 { font-size: 26px; }
}

/* =========================
   ABOUT
========================= */
.about-section { padding: 100px 0; background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image { position: relative; border-radius: 8px; overflow: hidden; background: #111; }
.about-image img,
.about-image video {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    display: block;
}
.play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}
.play-button:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--gold); }

.section-tag {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    position: relative;
    padding-right: 40px;
}
.section-tag::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    width: 30px; height: 1px;
    background: var(--gold);
}
.about-content h2 { font-size: 42px; line-height: 1.2; margin-bottom: 20px; }
.about-content h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.about-content p { color: var(--text-light); margin-bottom: 30px; font-size: 15px; }

.about-values { display: flex; flex-direction: column; gap: 24px; border-left: 1px solid #eaeaea; padding-left: 30px; }
.value-item { display: flex; gap: 16px; }
.value-icon {
    width: 42px; height: 42px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.value-text h4 { font-size: 14px; font-family: 'Inter', sans-serif; letter-spacing: 2px; color: var(--dark); margin-bottom: 8px; }
.value-text p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.value-text ul { list-style: none; font-size: 13px; color: var(--text-light); }
.value-text ul li { padding: 2px 0; position: relative; padding-left: 14px; }
.value-text ul li::before { content: '•'; color: var(--gold); position: absolute; left: 0; }

/* =========================
   SERVICES
========================= */
.services-section { background: var(--dark); color: var(--white); padding: 100px 0; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}
.section-header h2 { font-size: 42px; line-height: 1.2; color: var(--white); }
.section-tag.gold { color: var(--gold); }
.gold-text { color: var(--gold); font-style: italic; font-weight: 400; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.service-card {
    background: var(--dark-2);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img { width: 100%; height: 160px; object-fit: cover; cursor: zoom-in; }
.service-card-content { padding: 24px; position: relative; }
.service-card-icon {
    width: 40px; height: 40px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    position: absolute;
    top: -20px; left: 24px;
}
.service-card h3 { font-size: 18px; margin: 16px 0 8px; color: var(--white); }
.service-card p { font-size: 13px; color: rgba(255,255,255,0.6); }

/* =========================
   PROJECTS
========================= */
.projects-section { padding: 100px 0; background: var(--white); }
.projects-section .section-header h2 { color: var(--dark); font-size: 42px; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.project-item { border-radius: 6px; overflow: hidden; cursor: pointer; }
.project-item:nth-child(-n+2) { grid-column: span 3; }
.project-item:nth-child(n+3) { grid-column: span 2; }
.project-item img,
.project-item video {
    width: 100%; height: 240px;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}
.project-item:nth-child(-n+2) img,
.project-item:nth-child(-n+2) video { height: 320px; }
.project-item:hover img,
.project-item:hover video { transform: scale(1.08); }
.project-item video { background: #000; }

/* =========================
   PROCESS
========================= */
.process-section { padding: 100px 0; background: var(--dark); color: var(--white); }
.process-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}
.process-content h2 { font-size: 36px; margin-bottom: 50px; }
.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}
.process-step { flex: 1; min-width: 140px; }
.step-icon {
    width: 50px; height: 50px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    margin-bottom: 12px;
}
.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 4px;
}
.process-step h4 { font-size: 15px; color: var(--gold); margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.process-step p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.process-arrow { color: var(--gold); font-size: 12px; padding-top: 20px; }
.process-image { border-radius: 8px; overflow: hidden; }
.process-image img { width: 100%; object-fit: cover; }

/* =========================
   STATS
========================= */
.stats-section { padding: 50px 0; background: var(--light); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item { display: flex; align-items: center; gap: 20px; }
.stat-icon {
    width: 60px; height: 60px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 24px;
    flex-shrink: 0;
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-light); }

/* =========================
   CONTACT
========================= */
.contact-section { padding: 40px 0 24px; background: #f7f5f2; }
.contact-section .container {
    max-width: 1600px;
    padding: 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(560px, 708px) minmax(620px, 1fr);
    gap: 68px;
    align-items: stretch;
}
.contact-info { min-width: 0; }
.contact-info h2 {
    font-size: 58px;
    line-height: 1.08;
    margin: 28px 0 18px;
    color: #111;
}
.contact-lead {
    max-width: 520px;
    color: #374151;
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 38px;
}
.contact-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.contact-card {
    min-height: 130px;
    border: 1px solid #ded8ce;
    border-radius: 6px;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.58);
    box-shadow: 0 16px 34px rgba(17,24,39,0.04);
}
.contact-card > i,
.contact-location-note i {
    width: 52px;
    height: 52px;
    border: 1px solid #d9a422;
    border-radius: 50%;
    color: #d9a422;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-card strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 0.4px;
    color: #151515;
    margin-bottom: 5px;
}
.contact-card p {
    color: #273241;
    font-size: 14px;
    line-height: 1.55;
}
.contact-whatsapp {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid #d9a422;
    border-radius: 5px;
    color: #c99100;
    font-size: 13px;
    font-weight: 500;
}
.contact-whatsapp i {
    font-size: 16px;
    color: #d9a422;
}
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 112px;
    z-index: 150;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 9px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: #25d366;
    color: #07130b;
    box-shadow: 0 16px 40px rgba(0,0,0,0.28), 0 8px 20px rgba(37,211,102,0.22);
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.floating-whatsapp:hover {
    transform: translateY(-2px);
    background: #29e06d;
    box-shadow: 0 20px 46px rgba(0,0,0,0.34), 0 10px 24px rgba(37,211,102,0.28);
}
.floating-whatsapp-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    color: #168b40;
    font-size: 24px;
}
.floating-whatsapp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.05;
    white-space: nowrap;
}
.floating-whatsapp-text strong {
    font-size: 14px;
    font-weight: 800;
}
.floating-whatsapp-text small {
    font-size: 11px;
    font-weight: 700;
    color: rgba(7,19,11,0.72);
}
.contact-location-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    color: #374151;
    font-size: 15px;
}
.contact-location-note i {
    width: 38px;
    height: 38px;
    font-size: 15px;
}
.contact-request {
    position: relative;
    overflow: hidden;
    min-height: 706px;
    border-radius: 8px;
    background: #070707;
    color: var(--white);
    padding: 74px 52px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.contact-request-bg {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background:
        url("data:image/svg+xml,%3Csvg width='720' height='640' viewBox='0 0 720 640' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.17' stroke-width='1'%3E%3Cpath d='M420 150 705 10v458L420 608z'/%3E%3Cpath d='M420 150v458M468 126v456M520 100v452M572 74v448M626 46v448M674 22v444'/%3E%3Cpath d='M420 220h285M420 290h285M420 360h285M420 430h285M420 500h285'/%3E%3Cpath d='M222 286 420 190v418L222 560z'/%3E%3Cpath d='M222 286v274M270 263v277M318 240v280M366 216v282'/%3E%3Cpath d='M222 350h198M222 414h198M222 478h198'/%3E%3C/g%3E%3C/svg%3E") right bottom / 70% auto no-repeat,
        linear-gradient(135deg, transparent 0 56%, rgba(255,255,255,0.16) 56.2%, transparent 56.6%),
        linear-gradient(90deg, transparent 0 61%, rgba(255,255,255,0.1) 61.2%, transparent 61.5%),
        linear-gradient(27deg, transparent 0 67%, rgba(255,255,255,0.11) 67.2%, transparent 67.6%),
        linear-gradient(153deg, transparent 0 73%, rgba(255,255,255,0.08) 73.2%, transparent 73.5%),
        radial-gradient(circle at 76% 45%, rgba(255,255,255,0.06), transparent 36%);
    pointer-events: none;
}
.contact-request::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 78%;
    border: 1px solid rgba(255,255,255,0.11);
    border-right: 0;
    border-bottom: 0;
    transform: skewY(-28deg);
    transform-origin: right bottom;
    pointer-events: none;
}
.contact-request > *:not(.contact-request-bg) {
    position: relative;
    z-index: 1;
}
.contact-request h3 {
    font-size: 43px;
    line-height: 1.15;
    margin: 42px 0 58px;
}
.contact-mini-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-mini-form input {
    width: 100%;
    min-height: 88px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 5px;
    background: rgba(0,0,0,0.38);
    color: var(--white);
    padding: 0 22px;
    font: 400 17px 'Inter', sans-serif;
}
.contact-mini-form input::placeholder { color: rgba(255,255,255,0.8); }
.contact-submit {
    width: 100%;
    min-height: 75px;
    justify-content: center;
    margin-top: 12px;
    color: #111;
    font-size: 15px;
}
.contact-response {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    color: rgba(255,255,255,0.76);
    font-size: 15px;
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item i {
    color: var(--gold);
    font-size: 16px;
    width: 30px; height: 30px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 13px; margin-bottom: 2px; }
.contact-item p { font-size: 13px; color: var(--text-light); }

@media (max-width: 1660px) {
    .contact-section .container { padding: 0 32px; }
}

@media (max-width: 1340px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .contact-request { min-height: 620px; }
}

/* =========================
   CTA BANNER
========================= */
.cta-banner { background: var(--gold); padding: 30px 0; margin-top: 80px; }
.cta-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-content { display: flex; align-items: center; gap: 20px; }
.cta-content i {
    font-size: 32px;
    background: rgba(0,0,0,0.1);
    padding: 14px;
    border-radius: 50%;
}
.cta-content h3 { font-size: 22px; font-family: 'Playfair Display', serif; }
.cta-content p { font-size: 14px; color: rgba(0,0,0,0.7); }

/* =========================
   FOOTER
========================= */
.main-footer { background: var(--dark); color: var(--white); padding: 60px 0 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin: 20px 0; font-size: 13px; color: rgba(255,255,255,0.6); }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.footer-col ul li i { color: var(--gold); margin-top: 3px; }
.footer-col ul li a { color: inherit; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .about-grid, .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-item { grid-column: span 1 !important; }
    .project-item img,
    .project-item video { height: 240px !important; }
    .process-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-strip .container { flex-wrap: wrap; }
}
@media (max-width: 700px) {
    .main-nav { display: none; }
    .hero h1 { font-size: 36px; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .project-item img,
    .project-item video { height: 220px !important; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-header h2, .about-content h2 { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .process-steps { flex-direction: column; }
    .process-arrow { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* =========================
   MODAL OVERLAYS (About + Process)
========================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9998;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal-overlay.open {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}
.modal-box {
    background: var(--white);
    max-width: 1280px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.modal-close:hover {
    background: var(--gold);
    color: var(--dark);
    transform: rotate(90deg);
}
.section-tag.center {
    display: block;
    text-align: center;
    padding: 0;
    margin-bottom: 10px;
}
.section-tag.center::after { display: none; }

/* ----- About Modal ----- */
.modal-hero {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: var(--dark);
}
.modal-hero img,
.modal-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    display: block;
}
.modal-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.3) 70%);
}
.modal-hero-text {
    position: absolute;
    top: 50%; left: 60px;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 600px;
    z-index: 2;
}
.modal-hero-text h2 {
    font-size: 44px;
    line-height: 1.15;
    margin: 14px 0 18px;
    color: var(--white);
}
.modal-hero-text h2 em { font-style: italic; font-weight: 400; }
.modal-hero-text p { color: rgba(255,255,255,0.8); font-size: 14px; max-width: 480px; }

.modal-body {
    padding: 50px 60px;
    background: var(--white);
}
.modal-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #eaeaea;
}
.modal-story .story-img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.modal-story-text h3 {
    font-size: 32px;
    line-height: 1.25;
    margin: 14px 0 18px;
}
.modal-story-text p { color: var(--text-light); font-size: 14px; margin-bottom: 14px; }
.modal-story-text .btn { margin-top: 10px; }

.modal-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid #eaeaea;
    padding-left: 30px;
}
.modal-value { display: flex; gap: 14px; }
.modal-value .value-icon {
    width: 46px; height: 46px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.modal-value h4 { font-size: 13px; font-family: 'Inter', sans-serif; letter-spacing: 2px; color: var(--dark); margin-bottom: 6px; }
.modal-value p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.modal-value ul { list-style: none; font-size: 13px; color: var(--text-light); }
.modal-value ul li { padding: 2px 0; position: relative; padding-left: 14px; }
.modal-value ul li::before { content: '•'; color: var(--gold); position: absolute; left: 0; }

.modal-stats {
    background: var(--dark);
    color: var(--white);
    padding: 50px 60px;
    margin: 0 -60px -50px;
    position: relative;
}
.modal-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../imagenes/piso 2.jpeg') center/cover;
    opacity: 0.08;
}
.modal-stats > * { position: relative; z-index: 2; }
.modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.modal-stat {
    text-align: left;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.modal-stat:last-child { border-right: none; }
.modal-stat .stat-icon {
    width: 54px; height: 54px;
    margin-bottom: 14px;
    background: transparent;
    border: 2px solid var(--gold);
}
.modal-stat strong {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    display: block;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.modal-stat h5 { font-size: 13px; font-family: 'Inter', sans-serif; color: var(--white); margin-bottom: 6px; }
.modal-stat p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ----- Process Modal ----- */
.process-modal-body { padding: 60px; }
.process-modal-header { text-align: center; margin-bottom: 60px; }
.process-modal-header h2 {
    font-size: 48px;
    line-height: 1.1;
    margin: 14px 0 20px;
}
.process-modal-header h2 em { font-style: italic; font-weight: 400; }
.process-modal-header p {
    color: var(--text-light);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    margin-bottom: 60px;
}
.timeline-track {
    position: absolute;
    top: 22px; left: 10%; right: 10%;
    height: 2px;
    background: var(--gold);
    opacity: 0.4;
    z-index: 0;
}
.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.timeline-dot {
    width: 46px; height: 46px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 15px;
    margin: 0 auto 16px;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold);
}
.timeline-step h4 {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 14px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}
.timeline-step img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}
.timeline-step p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    text-align: left;
}

.process-commitments {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 30px;
    background: var(--light);
    border-radius: 14px;
    margin-bottom: 40px;
}
.commitment { display: flex; gap: 12px; align-items: flex-start; }
.commitment i {
    color: var(--gold);
    font-size: 22px;
    width: 44px; height: 44px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.commitment strong { display: block; font-size: 13px; margin-bottom: 4px; color: var(--dark); }
.commitment p { font-size: 11px; color: var(--text-light); line-height: 1.4; }

.process-cta {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 30px;
    align-items: center;
}
.process-cta-icon {
    width: 60px; height: 60px;
    background: rgba(212,169,67,0.12);
    color: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
}
.process-cta-text h3 {
    font-size: 22px;
    margin-bottom: 4px;
}
.process-cta-text p { color: var(--text-light); font-size: 14px; }
.process-cta-actions { display: flex; gap: 12px; }

@media (max-width: 1024px) {
    .modal-hero-text { left: 30px; right: 30px; }
    .modal-hero-text h2 { font-size: 32px; }
    .modal-body { padding: 40px 30px; }
    .modal-split { grid-template-columns: 1fr; gap: 30px; }
    .modal-values { border-left: none; padding-left: 0; border-top: 1px solid #eaeaea; padding-top: 30px; }
    .modal-stats { padding: 40px 30px; margin: 0 -30px -40px; }
    .modal-stats-grid { grid-template-columns: 1fr 1fr; }
    .process-modal-body { padding: 40px 30px; }
    .process-modal-header h2 { font-size: 32px; }
    .process-timeline { grid-template-columns: 1fr 1fr; }
    .timeline-track { display: none; }
    .process-commitments { grid-template-columns: 1fr 1fr; }
    .process-cta { grid-template-columns: 1fr; text-align: center; }
    .process-cta-icon { margin: 0 auto; }
    .process-cta-actions { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .modal-hero { height: 280px; }
    .modal-hero-text h2 { font-size: 24px; }
    .modal-stats-grid { grid-template-columns: 1fr; }
    .modal-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    .process-timeline { grid-template-columns: 1fr; }
    .process-commitments { grid-template-columns: 1fr; }
}

/* =========================
   ALL SERVICES MODAL
========================= */
.services-modal .modal-box { max-width: 1400px; }
.services-modal-body { padding: 50px 50px 0; background: var(--white); }
.services-modal-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.services-modal-side { position: sticky; top: 20px; align-self: start; }
.services-modal-side h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 12px 0 18px;
    color: var(--dark);
}
.services-modal-side h2 em { font-style: italic; font-weight: 400; }
.services-modal-side > p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}
.services-modal-side .btn { margin-bottom: 32px; }
.services-modal-features { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid #eaeaea; padding-top: 24px; }
.feat-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f1f1;
}
.feat-row:last-child { border-bottom: none; }
.feat-icon {
    width: 38px; height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.feat-row strong { display: block; font-size: 13px; margin-bottom: 2px; color: var(--dark); }
.feat-row span { font-size: 12px; color: var(--text-light); }

.services-modal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    grid-auto-rows: 1fr;
}
.sv-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1.1 / 1;
    background: var(--dark);
    transition: transform 0.3s ease;
}
.sv-card:hover { transform: translateY(-4px); }
.sv-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sv-card:hover img { transform: scale(1.08); }
.sv-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 45%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    gap: 10px;
}
.sv-card-icon {
    width: 36px; height: 36px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.sv-card-text { flex: 1; color: var(--white); }
.sv-card-text h4 {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 2px;
}
.sv-card-text p {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}
.sv-card-arrow {
    color: var(--gold);
    font-size: 13px;
    align-self: flex-end;
    transition: transform 0.3s;
}
.sv-card:hover .sv-card-arrow { transform: translateX(4px); }

.services-modal-cta {
    background: var(--dark);
    color: var(--white);
    border-radius: 14px;
    padding: 24px 30px;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: center;
    margin: 0 -50px;
    border-radius: 0;
}
.services-modal-cta .section-tag {
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
    padding: 0;
}
.services-modal-cta .section-tag::after { display: none; }
.services-modal-cta .process-cta-icon {
    background: rgba(212,169,67,0.15);
    color: var(--gold);
}
.services-modal-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 4px; }
.services-modal-cta p { color: rgba(255,255,255,0.7); font-size: 13px; }
.btn-dark-solid {
    background: rgba(0,0,0,0.6);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}
.btn-dark-solid:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* =========================
   SERVICE GALLERY MODAL
========================= */
.gallery-modal .modal-box { max-width: 1300px; }
.gallery-modal-body { padding: 50px 50px 40px; }
.gallery-modal-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}
.gallery-modal-header h2 {
    font-size: 38px;
    margin: 12px 0 12px;
    color: var(--dark);
}
.gallery-modal-header p {
    color: var(--text-light);
    font-size: 14px;
    max-width: 620px;
    margin: 0 auto;
}
.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}
.sv-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--dark);
    position: relative;
    transition: all 0.3s ease;
}
.sv-gallery-item:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.sv-gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s;
}
.sv-gallery-item:hover img { transform: scale(1.05); }
.sv-gallery-info {
    padding: 14px 16px;
    background: var(--white);
}
.sv-gallery-info strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 3px;
}
.sv-gallery-info span {
    font-size: 12px;
    color: var(--text-light);
}
.gallery-modal-footer {
    background: var(--light);
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.gallery-footer-info strong {
    display: block;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 4px;
}
.gallery-footer-info p {
    color: var(--text-light);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .services-modal-grid { grid-template-columns: 1fr; }
    .services-modal-side { position: static; }
    .services-modal-cards { grid-template-columns: repeat(3, 1fr); }
    .services-modal-cta { grid-template-columns: 1fr; text-align: center; }
    .services-modal-cta .process-cta-icon { margin: 0 auto; }
    .process-cta-actions { justify-content: center; flex-wrap: wrap; }
    .gallery-modal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .services-modal-body { padding: 30px 20px 0; }
    .services-modal-cards { grid-template-columns: 1fr 1fr; }
    .services-modal-side h2 { font-size: 30px; }
    .gallery-modal-body { padding: 30px 20px; }
    .gallery-modal-header h2 { font-size: 26px; }
    .gallery-modal-grid { grid-template-columns: 1fr; }
    .services-modal-cta { margin: 0 -20px; padding: 20px; }
}

/* =========================
   FEATURED PROJECTS MODAL
========================= */
.projects-modal .modal-box { max-width: 1400px; background: var(--light); }
.projects-modal-body { padding: 50px; }
.projects-modal-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 30px;
}
.projects-modal-intro h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 12px 0 14px;
    color: var(--dark);
}
.projects-modal-intro h2 em { font-style: italic; font-weight: 400; }
.projects-modal-intro p {
    color: var(--text-light);
    font-size: 14px;
    max-width: 500px;
}
.projects-modal-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pf-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.pf-btn:hover { border-color: var(--gold); color: var(--dark); }
.pf-btn.active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    font-weight: 600;
}

.projects-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.pf-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.pf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pf-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--dark);
}
.pf-card-img img,
.pf-card-img video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.pf-card:hover .pf-card-img img,
.pf-card:hover .pf-card-img video { transform: scale(1.06); }
.pf-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.pf-icon {
    position: absolute;
    bottom: -18px; left: 20px;
    width: 48px; height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 2;
}
.pf-card-body {
    padding: 28px 22px 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
}
.pf-card-text { flex: 1; }
.pf-card-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.pf-card-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}
.pf-card-arrow {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.3s;
    padding-bottom: 4px;
}
.pf-card:hover .pf-card-arrow { transform: translateX(6px); }

.projects-modal-cta {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 26px 34px;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: center;
}
.projects-modal-cta .process-cta-icon {
    background: rgba(212,169,67,0.12);
    color: var(--gold);
}
.projects-modal-cta h3 { font-size: 22px; margin-bottom: 4px; }
.projects-modal-cta p { color: var(--text-light); font-size: 13px; }

@media (max-width: 1100px) {
    .projects-modal-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-modal-header { grid-template-columns: 1fr; }
    .projects-modal-cta { grid-template-columns: 1fr; text-align: center; }
    .projects-modal-cta .process-cta-icon { margin: 0 auto; }
}
@media (max-width: 700px) {
    .projects-modal-body { padding: 30px 20px; }
    .projects-modal-grid { grid-template-columns: 1fr; }
    .projects-modal-intro h2 { font-size: 28px; }
}

/* =========================
   LOGIN MODAL
========================= */
.login-modal { align-items: center; padding: 20px; }
.login-modal-box {
    background: var(--white);
    max-width: 980px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: slideUp 0.4s ease;
}
.login-modal .modal-close-light {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}
.login-modal .modal-close-light:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.login-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 620px;
}
.login-form-side {
    padding: 48px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}
.login-logo { text-align: center; margin-bottom: 26px; }
.login-logo .logo-icon {
    width: 72px; height: 72px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 28px;
    position: relative;
}
.login-logo .logo-icon::before { content: none; }
.login-form-side h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--dark);
}
.login-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 26px;
    line-height: 1.5;
}
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form label {
    display: block;
    font-size: 13px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}
.login-form label > span {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}
.login-form .input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.2s;
}
.login-form .input-wrap:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,169,67,0.12);
}
.login-form .input-wrap i {
    padding: 0 14px;
    color: var(--text-light);
    font-size: 14px;
}
.login-form .input-wrap input {
    flex: 1;
    padding: 12px 14px 12px 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--text);
    width: 100%;
}
.password-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.password-toggle:hover { color: var(--gold); }
.password-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.login-form .input-wrap .password-toggle i {
    padding: 0;
    font-size: 14px;
}
.login-message {
    display: none;
    margin: -6px 0 0;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}
.login-message:not(:empty) { display: block; }
.login-message.error { color: #b42318; }
.btn-login-submit:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}
.btn-login-submit {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    margin-top: 4px;
    transition: all 0.2s;
}
.btn-login-submit:hover { background: var(--gold-dark); transform: translateY(-2px); }

.login-divider {
    margin: 20px 0 16px;
    text-align: center;
    position: relative;
    color: var(--text-light);
    font-size: 12px;
}
.login-divider::before, .login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: #e5e7eb;
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-divider span { background: var(--white); padding: 0 10px; }

.btn-google {
    width: 100%;
    background: var(--white);
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.btn-google:hover { background: #f9fafb; border-color: #cbd5e1; }
.btn-google[aria-busy="true"],
.btn-google:disabled {
    opacity: 0.72;
    cursor: wait;
}

.login-privacy {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 20px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.login-privacy i { color: var(--gold); }

/* Aside side */
.login-aside-side {
    position: relative;
    background: linear-gradient(rgba(13,13,13,0.7), rgba(13,13,13,0.7)),
                url('../imagenes/porche 2.jpeg') center/cover;
    padding: 48px 50px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.login-aside-overlay { display: none; }
.login-aside-icon {
    width: 80px; height: 80px;
    background: var(--white);
    color: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.login-aside-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--white);
}
.login-aside-content h3 em { font-style: italic; font-weight: 400; }
.login-aside-content > p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}
.login-benefits {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}
.lb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
}
.lb-item i {
    color: var(--gold);
    font-size: 20px;
    width: 44px; height: 44px;
    border: 1px solid rgba(212,169,67,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
/* Shield-check fallback (Font Awesome uses fa-shield-check) */
.lb-item i.fa-shield-check::before {
    content: '\f05d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

@media (max-width: 800px) {
    .login-grid { grid-template-columns: 1fr; min-height: auto; }
    .login-aside-side { padding: 30px; }
    .login-form-side { padding: 30px; }
    .login-benefits { flex-wrap: wrap; }
}

/* =========================
   RESPONSIVE — TABLET & MOBILE
========================= */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .main-nav { gap: 24px; }
    .main-nav a { font-size: 12px; }
    .header-actions { gap: 10px; }
    .btn-login { padding: 8px 14px; font-size: 12px; }
    .btn { padding: 12px 22px; font-size: 12px; }
    .hero h1 { font-size: 56px; }
    .hero-content { padding-top: 60px; }
    .services-strip .container { flex-wrap: wrap; }
    .service-item { flex: 1 1 30%; min-width: 140px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* Mobile (≤ 768px) — main breakpoint */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* HEADER */
    .main-header { padding: 14px 0; }
    .main-header.scrolled { padding: 10px 0; }
    .main-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .logo { gap: 8px; flex: 1; }
    .logo-icon { width: 38px; height: 38px; font-size: 11px; }
    .logo-icon::before { font-size: 11px; }
    .logo-title { font-size: 16px; }
    .logo-subtitle { font-size: 8px; letter-spacing: 1.2px; }

    /* Hide nav links on mobile, keep only action buttons */
    .main-nav { display: none; }

    .header-actions { gap: 8px; }
    .translate-info-card {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .btn-login {
        padding: 7px 10px;
        font-size: 11px;
        gap: 5px;
    }
    .btn-login i { font-size: 11px; }
    .header-actions .btn-primary {
        padding: 9px 12px;
        font-size: 10px;
        letter-spacing: 0.3px;
        gap: 4px;
    }
    .header-actions .btn-primary i { font-size: 10px; }

    /* HERO */
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-content { padding-top: 30px; }
    .hero-text { max-width: 100%; }
    .hero-tagline { font-size: 11px; letter-spacing: 2px; }
    .hero h1 {
        font-size: 38px;
        line-height: 1.1;
        margin: 14px 0 18px;
    }
    .hero p { font-size: 14px; }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* SERVICES STRIP */
    .services-strip { padding: 30px 0; margin-top: 30px; }
    .services-strip .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .service-item {
        flex: none;
        min-width: 0;
        padding: 14px 10px;
        font-size: 11px;
        gap: 8px;
        text-align: left;
    }
    .service-item i { font-size: 20px; }
    .service-item span { font-size: 11px; line-height: 1.2; }

    /* SECTION HEADERS */
    .section-tag { font-size: 11px; }
    .about-section, .services-section, .projects-section,
    .process-section, .contact-section { padding: 60px 0; }
    .section-header h2,
    .about-section h2,
    .services-section h2,
    .projects-section .section-header h2,
    .process-section h2,
    .contact-section h2 { font-size: 30px !important; line-height: 1.2; }

    /* ABOUT */
    .about-grid { grid-template-columns: 1fr !important; gap: 30px; }
    .values-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .value-item { gap: 12px; }
    .stats-row { grid-template-columns: 1fr 1fr !important; gap: 20px; }

    /* SERVICES GRID */
    .services-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .service-card img { height: 180px; }

    /* PROJECTS GRID */
    .projects-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .project-item img,
    .project-item video { height: 220px; }

    /* PROCESS */
    .process-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .process-cta {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center;
        padding: 24px !important;
    }
    .process-cta-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .process-cta-actions .btn { width: 100%; justify-content: center; }

    /* STATS */
    .stat-item { gap: 14px; }

    /* CONTACT */
    .contact-grid { grid-template-columns: 1fr !important; gap: 30px; }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-col ul li { justify-content: center; }
    .footer-brand .logo { justify-content: center; }

    /* MEGAMENU */
    .megamenu-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    .megamenu-cards {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .megamenu-card img { height: 110px !important; }
    .megamenu-card h4 { font-size: 13px !important; }
    .megamenu-card p { font-size: 11px !important; }
    .megamenu-inner { padding: 30px 16px !important; }
    .megamenu-side { padding: 20px !important; }
    .megamenu-intro h2 { font-size: 24px !important; }
    .megamenu-close {
        top: 14px !important;
        right: 14px !important;
    }

    /* MODALS */
    .modal-overlay .modal-box {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 92vh !important;
        margin: 4vh auto !important;
        padding: 30px 18px !important;
    }
    .modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
    }
    .about-modal-grid,
    .process-modal-grid,
    .services-modal-grid,
    .projects-modal-header { grid-template-columns: 1fr !important; gap: 24px !important; }
    .services-modal-cards { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .services-modal-side button { width: 100%; justify-content: center; }
    .gallery-modal-grid { grid-template-columns: 1fr !important; }
    .projects-modal-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .projects-modal-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .pf-btn { padding: 8px 14px; font-size: 11px; }
    .services-modal-cta,
    .projects-modal-cta {
        flex-direction: column !important;
        text-align: center;
        gap: 16px !important;
    }
    .services-modal-cta .process-cta-actions,
    .projects-modal-cta .process-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    /* LIGHTBOX */
    .lightbox-content { width: 95% !important; max-width: 95% !important; }
    .lightbox-img-wrap img { max-height: 60vh !important; }
    .lightbox-prev, .lightbox-next {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
    .lightbox-info {
        padding: 14px !important;
    }
    .lightbox-info h3 { font-size: 16px !important; }
    .lightbox-info p { font-size: 12px !important; }

    /* LOGIN MODAL */
    .login-grid { grid-template-columns: 1fr !important; }
    .login-aside-side, .login-form-side { padding: 24px !important; }
    .login-aside-side h2 { font-size: 24px !important; }
    .login-benefits { flex-direction: column; gap: 12px; }

    /* PROCESS STEPS */
    .process-step { padding: 20px !important; }
    .process-step h3 { font-size: 18px !important; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .logo-text { display: none; }

    /* Header en muy pequeño: solo iconos */
    .btn-login span,
    .btn-login {
        font-size: 0;
    }
    .btn-login i { font-size: 14px; }
    .btn-login {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .header-actions .btn-primary {
        padding: 9px 12px;
        font-size: 10px;
    }

    .hero h1 { font-size: 32px; }
    .hero p { font-size: 13px; }

    .services-strip .container {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .service-item { padding: 12px 8px; }
    .service-item i { font-size: 18px; }
    .service-item span { font-size: 10px; }

    .stats-row { grid-template-columns: 1fr !important; }

    .section-header h2,
    .about-section h2,
    .services-section h2,
    .projects-section .section-header h2,
    .process-section h2,
    .contact-section h2 { font-size: 26px !important; }

    .megamenu-cards { grid-template-columns: 1fr !important; }
    .services-modal-cards { grid-template-columns: 1fr !important; }
    .projects-modal-grid { grid-template-columns: 1fr !important; }
}

/* =========================
   UNIFIED HOME RESPONSIVE
========================= */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-strip .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 12px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 12px 0 10px;
        background: linear-gradient(180deg, rgba(6,6,6,0.9), rgba(6,6,6,0.58) 74%, rgba(6,6,6,0));
        backdrop-filter: blur(10px);
    }
    .main-header.scrolled {
        padding: 10px 0;
        background: rgba(13,13,13,0.96);
    }
    .main-header .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo actions"
            "nav nav";
        align-items: center;
        gap: 10px 12px;
    }
    .logo {
        grid-area: logo;
        min-width: 0;
        display: flex;
        gap: 9px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 12px;
        border-radius: 7px;
    }
    .logo-text {
        display: block;
        min-width: 0;
    }
    .logo-title { font-size: 18px; }
    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 1.1px;
    }
    .main-nav {
        grid-area: nav;
        display: flex;
        gap: 20px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 0 4px;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar,
    .services-strip .container::-webkit-scrollbar { display: none; }
    .main-nav a {
        flex: 0 0 auto;
        font-size: 11px;
        letter-spacing: 1.2px;
    }
    .header-actions {
        grid-area: actions;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .btn-login {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 7px;
        font-size: 0;
    }
    .btn-login i { font-size: 14px; }
    .header-actions .btn-primary {
        width: auto;
        min-height: 42px;
        padding: 0 12px;
        gap: 7px;
        font-size: 10px;
        letter-spacing: 0.4px;
        white-space: nowrap;
    }
    .header-actions .btn-primary i { font-size: 10px; }

    .hero {
        height: 100svh;
        min-height: 700px;
        padding: 0;
        align-items: stretch;
        background-position: center top;
    }
    .hero-overlay {
        background: linear-gradient(90deg, rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.48) 72%, rgba(0,0,0,0.36) 100%);
    }
    .hero-content {
        min-height: 100%;
        display: flex;
        align-items: center;
        padding-top: 126px;
        padding-bottom: 126px;
    }
    .hero-text {
        max-width: min(520px, 100%);
    }
    .hero-tagline {
        color: var(--gold);
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }
    .hero h1 {
        font-size: clamp(40px, 11vw, 60px);
        line-height: 0.96;
        margin: 0 0 18px;
    }
    .hero p {
        max-width: 34rem;
        font-size: clamp(15px, 4.3vw, 17px);
        line-height: 1.55;
        margin-bottom: 24px;
    }
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        align-items: stretch;
    }
    .hero-buttons .btn {
        width: auto;
        min-width: 0;
        min-height: 50px;
        flex: 1 1 0;
        padding: 0 10px;
        font-size: 11px;
        white-space: nowrap;
    }
    .hero-buttons .btn i { font-size: 11px; }

    .services-strip {
        position: absolute;
        bottom: 0;
        margin-top: 0;
        padding: 12px 0;
        background: var(--dark);
    }
    .services-strip .container {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-inline: 16px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .service-item {
        flex: 0 0 145px;
        min-width: 145px;
        min-height: 54px;
        justify-content: flex-start;
        gap: 9px;
        padding: 8px 10px;
        font-size: 11px;
        scroll-snap-align: start;
    }
    .service-item i { font-size: 22px; }
    .service-item span {
        font-size: 11px;
        line-height: 1.15;
    }
    .service-item.active::after { bottom: -12px; }

    .floating-whatsapp {
        right: 14px;
        bottom: calc(22px + env(safe-area-inset-bottom));
        min-height: 54px;
        padding: 8px 14px 8px 8px;
    }
    .floating-whatsapp-icon {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    .floating-whatsapp-text strong { font-size: 13px; }
    .floating-whatsapp-text small { font-size: 10px; }

    .contact-section {
        padding: 48px 0 72px;
        overflow-x: hidden;
    }
    .contact-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 18px;
    }
    .contact-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px;
        width: 100%;
    }
    .contact-info h2 {
        font-size: clamp(34px, 11vw, 44px) !important;
        line-height: 1.12;
        margin: 24px 0 18px;
    }
    .contact-lead {
        max-width: 100%;
        font-size: 18px;
        line-height: 1.55;
        margin-bottom: 28px;
    }
    .contact-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
    }
    .contact-card {
        width: 100%;
        min-width: 0;
        min-height: auto;
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        padding: 20px 18px;
    }
    .contact-card > i,
    .contact-location-note i {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }
    .contact-card strong {
        font-size: 13px;
        letter-spacing: 0.6px;
    }
    .contact-card p,
    .contact-card a {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .contact-card p {
        font-size: 16px;
        line-height: 1.45;
    }
    .contact-whatsapp {
        width: fit-content;
        max-width: 100%;
        min-height: 40px;
        padding: 8px 12px;
    }
    .contact-location-note {
        align-items: flex-start;
        font-size: 11px;
        line-height: 1.45;
    }
    .contact-request {
        min-height: auto;
        padding: 34px 20px;
    }
}

@media (max-width: 480px) {
    .logo-text { display: block; }
    .logo-title { font-size: 16px; }
    .logo-subtitle {
        font-size: 7px;
        letter-spacing: 0.8px;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }
    .header-actions .btn-primary {
        width: auto;
        min-height: 40px;
        padding: 0 10px;
        font-size: 9px;
    }
    .hero {
        min-height: 680px;
    }
    .hero-content {
        padding-top: 122px;
        padding-bottom: 118px;
    }
    .hero h1 {
        font-size: clamp(38px, 11vw, 46px);
    }
    .hero-buttons {
        flex-direction: row;
        gap: 8px;
    }
    .hero-buttons .btn {
        width: auto;
        min-height: 48px;
        padding: 0 6px;
        font-size: 10px;
    }
    .service-item {
        flex-basis: 132px;
        min-width: 132px;
    }
    .floating-whatsapp {
        right: 12px;
        bottom: calc(18px + env(safe-area-inset-bottom));
        min-height: 50px;
        padding: 8px;
    }
    .floating-whatsapp-icon {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
    .floating-whatsapp-text small { display: none; }
}

/* =========================
   MOBILE EXPERIENCE REFINEMENTS
========================= */
.mobile-service-cue {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100svh;
        display: block;
    }
    .hero-content {
        min-height: max(260px, calc(100svh - 560px));
        padding-top: 124px;
        padding-bottom: 28px;
    }
    .hero-buttons {
        margin-bottom: 0;
    }

    .services-strip {
        position: relative;
        bottom: auto;
        padding: 16px 0 20px;
        background:
            linear-gradient(180deg, rgba(8,8,8,0.72), rgba(8,8,8,0.96)),
            var(--dark);
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .services-strip .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        overflow: visible;
        padding-inline: 18px;
        scroll-snap-type: none;
    }
    .service-item {
        min-width: 0;
        min-height: 114px;
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 15px 12px;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 18px 42px rgba(0,0,0,0.28);
        scroll-snap-align: unset;
    }
    .service-item:hover,
    .service-item.active {
        background: linear-gradient(180deg, rgba(212,169,67,0.2), rgba(255,255,255,0.06));
    }
    .service-item.active::after {
        display: none;
    }
    .service-item i {
        color: var(--gold);
        font-size: 31px;
        text-align: center;
    }
    .service-item span {
        min-width: 0;
        color: #fff;
        font-size: clamp(15px, 4.7vw, 22px);
        font-weight: 900;
        line-height: 1.08;
        overflow-wrap: normal;
        word-break: normal;
    }

    .service-megamenu {
        scroll-margin-top: 86px;
    }
    .service-megamenu.open {
        max-height: none;
    }
    .megamenu-inner {
        padding: 30px 18px 52px !important;
    }
    .megamenu-grid {
        display: block;
    }
    .megamenu-intro {
        margin-bottom: 22px;
        padding-right: 48px;
    }
    .megamenu-intro h2 {
        font-size: clamp(28px, 8vw, 38px) !important;
    }
    .megamenu-cards {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .megamenu-card {
        aspect-ratio: auto;
        min-height: 300px;
        border-radius: 14px;
    }
    .megamenu-card img {
        height: 100% !important;
        min-height: 300px;
        object-fit: cover;
    }
    .megamenu-card-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }
    .megamenu-card-icon {
        width: 44px;
        height: 44px;
        top: -20px;
        font-size: 18px;
    }
    .megamenu-card-content h4 {
        font-size: 18px !important;
        line-height: 1.22;
    }
    .megamenu-card-content p {
        font-size: 13px !important;
    }
    .megamenu-side {
        padding: 26px 0 0 !important;
    }
    .megamenu-close {
        position: sticky;
        top: 88px !important;
        margin-left: auto;
        display: grid;
        place-items: center;
        z-index: 8;
        background: rgba(255,255,255,0.14);
        backdrop-filter: blur(10px);
    }

    .mobile-service-cue {
        position: fixed;
        left: 50%;
        bottom: calc(22px + env(safe-area-inset-bottom));
        z-index: 190;
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(8,8,8,0.92);
        color: var(--gold);
        border: 1px solid rgba(212,169,67,0.58);
        box-shadow: 0 14px 34px rgba(0,0,0,0.38);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 16px);
        transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    }
    .mobile-service-cue.show {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
    .mobile-service-cue.up {
        background: var(--gold);
        color: var(--dark);
        border-color: var(--gold);
    }
    .mobile-service-cue i {
        font-size: 20px;
    }

    .modal-overlay {
        align-items: stretch;
        justify-content: center;
        padding: 14px;
        overflow: hidden;
    }
    .modal-overlay.open {
        display: flex;
    }
    .modal-overlay .modal-box,
    .login-modal-box {
        width: min(100%, 640px) !important;
        max-width: 640px !important;
        max-height: calc(100svh - 28px) !important;
        margin: auto !important;
        padding: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-radius: 24px !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .services-modal .modal-box {
        width: min(calc(100vw - 28px), 640px) !important;
        max-width: calc(100vw - 28px) !important;
    }
    .modal-close {
        position: sticky !important;
        top: 12px !important;
        right: auto !important;
        left: auto !important;
        width: 52px !important;
        height: 52px !important;
        margin: 12px 12px -64px auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.96) !important;
        color: #080808 !important;
        border: 0 !important;
        z-index: 80 !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }
    .modal-close:hover {
        transform: none;
    }

    .modal-hero {
        height: auto;
        min-height: 500px;
        display: flex;
        align-items: flex-end;
    }
    .modal-hero video {
        position: absolute;
        inset: 0;
    }
    .modal-hero-text {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        max-width: none;
        padding: 92px 24px 34px;
    }
    .modal-hero-text h2 {
        font-size: clamp(36px, 10vw, 48px) !important;
        line-height: 1.08;
    }
    .modal-hero-text p {
        font-size: 16px;
        line-height: 1.62;
    }
    .modal-body,
    .services-modal-body,
    .gallery-modal-body,
    .projects-modal-body,
    .process-modal-body {
        padding: 30px 22px 34px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .modal-split {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    .modal-story .story-img {
        aspect-ratio: 4 / 5;
    }
    .modal-story-text h3 {
        font-size: clamp(30px, 8vw, 38px);
    }
    .modal-values {
        border-left: 0;
        border-top: 1px solid #eaeaea;
        padding-left: 0;
        padding-top: 26px;
    }
    .modal-stats {
        margin: 0 -22px -34px;
        padding: 34px 22px;
    }
    .modal-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .modal-stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0 0 18px;
    }
    .modal-stat:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .process-modal-header {
        margin-bottom: 30px;
        padding-top: 12px;
    }
    .process-modal-header h2 {
        font-size: clamp(34px, 10vw, 46px) !important;
    }
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
    }
    .timeline-step {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px 14px;
        text-align: left;
    }
    .timeline-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }
    .timeline-step h4 {
        justify-content: flex-start;
        min-height: 0;
        margin-bottom: 0;
    }
    .timeline-step img,
    .timeline-step p {
        grid-column: 1 / -1;
    }
    .timeline-step img {
        aspect-ratio: 16 / 10;
    }
    .process-commitments {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .services-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100%;
        min-width: 0;
    }
    .services-modal-side {
        position: static;
        padding-top: 18px;
    }
    .services-modal-side h2,
    .projects-modal-intro h2 {
        font-size: clamp(38px, 11vw, 54px) !important;
        line-height: 1.12;
    }
    .services-modal-side > p,
    .projects-modal-intro p {
        font-size: 18px;
        line-height: 1.55;
    }
    .services-modal-side .btn {
        width: 100%;
        min-height: 64px;
        justify-content: center;
    }
    .feat-row {
        align-items: center;
        gap: 18px;
        padding: 18px 0;
    }
    .feat-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    .feat-row strong {
        font-size: 20px;
    }
    .feat-row span {
        display: block;
        font-size: 17px;
        line-height: 1.35;
    }
    .services-modal-cards {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-items: center;
        overflow-x: hidden;
    }
    .sv-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        aspect-ratio: 16 / 11;
        min-height: 238px;
    }
    .sv-card-text h4 {
        font-size: 19px;
    }
    .sv-card-text p {
        font-size: 13px;
    }
    .services-modal-cta,
    .projects-modal-cta {
        grid-template-columns: 1fr;
        margin: 26px -22px -34px;
        padding: 26px 22px;
        text-align: center;
        border-radius: 0;
    }
    .services-modal-cta .process-cta-icon,
    .projects-modal-cta .process-cta-icon {
        margin: 0 auto;
    }

    .gallery-modal-header {
        padding-top: 18px;
    }
    .gallery-modal-header h2 {
        font-size: clamp(32px, 9vw, 44px) !important;
    }
    .gallery-modal-grid,
    .projects-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .sv-gallery-item img {
        aspect-ratio: 4 / 3;
    }
    .gallery-modal-footer {
        display: grid;
        gap: 16px;
        text-align: center;
        justify-content: stretch;
    }
    .gallery-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .projects-modal-header {
        display: block;
        margin-bottom: 28px;
    }
    .projects-modal-filters {
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
    }
    .pf-btn {
        min-height: 56px;
        border-radius: 12px;
        padding: 0 22px !important;
        font-size: 18px !important;
    }
    .pf-card {
        border-radius: 22px;
    }
    .pf-card-img {
        aspect-ratio: 4 / 3;
    }
    .pf-card-text h4 {
        font-size: 30px;
        line-height: 1.12;
    }
    .pf-card-text p {
        font-size: 19px;
        line-height: 1.45;
    }

    .login-modal {
        padding: 14px;
    }

    .process-section {
        padding: 52px 0 56px;
        background: #080808;
    }
    .process-grid {
        display: block;
    }
    .process-image {
        display: block;
        margin-top: 28px;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 22px 48px rgba(0,0,0,0.28);
    }
    .process-image img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
    .process-content h2 {
        max-width: 680px;
        font-family: 'Inter', sans-serif;
        font-size: clamp(42px, 12vw, 60px) !important;
        font-weight: 900;
        line-height: 1.04;
        margin: 18px 0 30px;
        color: #fff;
    }
    .process-steps {
        display: grid;
        gap: 18px;
    }
    .process-arrow {
        display: none;
    }
    .process-step {
        min-width: 0;
        min-height: 148px;
        display: grid;
        grid-template-columns: 56px 58px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0 10px;
        padding: 20px 18px;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.055));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 18px 38px rgba(0,0,0,0.22);
    }
    .process-step .step-number {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
        color: var(--gold);
        font-family: 'Inter', sans-serif;
        font-size: clamp(36px, 10vw, 48px);
        font-weight: 900;
        line-height: 1;
    }
    .process-step .step-icon {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 58px;
        height: 68px;
        margin: 0;
        padding-left: 12px;
        border: 0;
        border-left: 1px solid rgba(255,255,255,0.16);
        border-radius: 0;
        color: var(--gold);
        font-size: 32px;
    }
    .process-step h4 {
        grid-column: 3;
        grid-row: 1;
        margin: 0 0 8px;
        color: #fff;
        font-family: 'Inter', sans-serif;
        font-size: clamp(22px, 6.2vw, 30px);
        font-weight: 900;
        line-height: 1.08;
    }
    .process-step p {
        grid-column: 3;
        grid-row: 2;
        margin: 0;
        color: rgba(255,255,255,0.72);
        font-size: clamp(16px, 4.5vw, 22px);
        line-height: 1.28;
    }
}

@media (max-width: 390px) {
    .hero-content {
        min-height: max(230px, calc(100svh - 528px));
    }
    .services-strip .container {
        gap: 10px;
        padding-inline: 14px;
    }
    .service-item {
        min-height: 104px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        padding: 14px 12px;
    }
    .service-item i {
        font-size: 28px;
    }
    .service-item span {
        font-size: clamp(14px, 4.55vw, 20px);
    }
    .process-step {
        min-height: 142px;
        grid-template-columns: 52px 54px minmax(0, 1fr);
        gap: 0 8px;
        padding: 20px 14px;
    }
    .process-step .step-icon {
        width: 54px;
        padding-left: 10px;
        font-size: 30px;
    }
}
