/* ================================================================
   STYLES.CSS — Reformas en Sevilla
   Diseño: Moderno · Minimalista · Dinámico · Sector Reformas
   Paleta: Carbón · Oro cálido · Verde musgo
   ================================================================ */

/* ---- GOOGLE FONTS (cargado diferido desde HTML) ---- */
/* Playfair Display (headings) + Inter (body) */

/* ---- TOPBAR ---- */
.topbar {
    background: #111113;
    color: rgba(255,255,255,.55);
    font-size: .77rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.04)
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.topbar-left { display: flex; align-items: center; gap: 20px; min-width: 0 }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.55); transition: color .2s; white-space: nowrap }
.topbar-item svg { width: 13px; height: 13px; color: var(--color-gold); flex-shrink: 0 }
a.topbar-item:hover { color: var(--color-gold) }
.topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0 }
.topbar-social { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); transition: all .2s }
.topbar-social svg { width: 12px; height: 12px }
.topbar-social:hover { background: var(--color-gold); border-color: var(--color-gold); color: #1C1C1E }
@media(max-width: 640px) { .topbar-hours { display: none } }

/* ---- HEADER ---- */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .25s ease
}
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.1) }
.header .container { display: flex; align-items: center; justify-content: space-between }

/* ---- NAV (global overrides) ---- */
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; font-size: .87rem; font-weight: 500; color: var(--color-text-muted); border-radius: 3px; transition: all .28s ease; white-space: nowrap; cursor: pointer }
.nav-link:hover, .nav-link.active { color: var(--color-primary) }
.nav-cta { background: var(--color-gold); color: var(--color-primary) !important; font-weight: 700; padding: 9px 20px }
.nav-cta:hover { background: #b8935a }
.nav-dropdown-arrow { font-size: .6rem; opacity: .7; transition: transform .22s }
.nav-item:hover > .nav-link .nav-dropdown-arrow { transform: rotate(180deg) }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    z-index: 200;
    list-style: none;
    padding: 8px 0 4px
}
.nav-dropdown::before {
    content:'';
    position:absolute;
    top:-20px;
    left:0;
    width:100%;
    height:20px;
    background:transparent
}
.nav-dropdown-header {
    padding: 10px 18px 8px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 4px
}
.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: .86rem;
    color: var(--color-text-muted);
    transition: color .15s, background .15s, padding-left .15s;
    white-space: nowrap;
    border-left: 2px solid transparent
}
.nav-dropdown li a:hover {
    color: var(--color-primary);
    background: var(--color-bg-light);
    border-left-color: var(--color-gold);
    padding-left: 22px
}
.nav-dropdown li a svg { width: 15px; height: 15px; color: var(--color-gold); flex-shrink: 0; opacity: .8 }
.nav-dropdown-footer {
    border-top: 1px solid var(--color-border);
    margin-top: 4px
}
.nav-dropdown-footer a {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    font-size: .82rem !important;
    letter-spacing: .3px
}
.nav-dropdown-footer a:hover { background: rgba(201,169,110,.08) !important }
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity .22s ease, transform .22s ease, visibility 0s
}

@media(max-width: 900px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto !important; background: #fff; border-bottom: 1px solid var(--color-border); padding: 16px 20px 20px; flex-direction: column; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 800 }
    .nav-menu.open { display: flex }
    .nav-link { padding: 11px 8px; width: 100% }
    .nav-dropdown { position: static; transform: none; visibility: visible; opacity: 1; pointer-events: auto; box-shadow: none; border: none; border-top: 2px solid var(--color-gold); background: var(--color-bg-light); border-radius: 0 0 4px 4px; margin: 0 0 8px; padding: 4px 0 }
    .nav-dropdown li a { padding: 9px 16px; border-left: none }
    .nav-dropdown li a:hover { padding-left: 16px }
    .nav-dropdown-header { display: none }
    .nav-dropdown-footer { border-top: 1px solid var(--color-border) }
}

/* ---- SECTIONS ---- */
.section { padding: 70px 0 }
.section-alt { background: var(--color-bg-light) }
.section-dark { background: var(--color-bg-dark); color: #fff }
.section-marble {
    background: var(--color-bg-marble);
    position: relative;
    overflow: hidden
}
.section-marble::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(79,109,92,0.05) 0%, transparent 50%);
    pointer-events: none
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 16px
}
.section-dark .section-title { color: #fff }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 50px
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7) }
.section-title + .section-subtitle { text-align: center }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 14px
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--color-gold)
}

/* ---- GRID ---- */
.grid { display: grid; gap: 28px }
.grid-2 { grid-template-columns: repeat(2,1fr) }
.grid-3 { grid-template-columns: repeat(3,1fr) }
.grid-4 { grid-template-columns: repeat(4,1fr) }
@media(max-width:1024px) {
    .grid-4 { grid-template-columns: repeat(2,1fr) }
    .grid-3 { grid-template-columns: repeat(2,1fr) }
}
@media(max-width:640px) {
    .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap
}
.btn-primary {
    background: var(--color-gold);
    color: var(--color-primary)
}
.btn-primary:hover {
    background: #b8935a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,169,110,0.35)
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5)
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff
}
.btn-dark {
    background: var(--color-primary);
    color: #fff
}
.btn-dark:hover {
    background: #2a2a2e;
    transform: translateY(-2px)
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0 }

/* ---- SERVICE CARDS ---- */
.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--color-gold);
    transition: width 0.4s ease
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1) }
.service-card:hover::after { width: 100% }

.service-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-light);
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
    transform: scale(1.06);
}
.service-card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-icon {
    width: 52px; height: 52px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -60px; /* Overlap image slightly */
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    border: 3px solid var(--color-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.service-card:hover .service-card-icon { background: var(--color-gold); transform: translateY(-3px) }
.service-card:hover .service-card-icon svg { color: #fff }
.service-card-icon svg { width: 24px; height: 24px; color: var(--color-gold); transition: var(--transition) }

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px
}
.service-card p {
    font-size: 0.94rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px
}
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-gold);
    text-decoration: none;
    transition: gap 0.25s
}
.service-card-link:hover { gap: 10px }
.service-card-link svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s ease }

/* ---- STATS / COUNTER STRIP ---- */
.stats-strip {
    background: var(--color-primary);
    padding: 50px 0;
    position: relative;
    overflow: hidden
}
.stats-strip::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
    pointer-events: none
}
.stat-item { text-align: center }
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--color-gold);
    display: block;
    line-height: 1
}
.stat-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px
}

/* ---- PROCESS STEPS ---- */
.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start
}
.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
    transition: color 0.3s
}
.step-item:hover .step-number { color: var(--color-gold) }
.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary)
}
.step-content p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7 }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 36px 32px;
    position: relative
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px; left: 24px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.15;
    line-height: 1
}
.testimonial-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 14px }
.testimonial-text {
    font-size: 0.97rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}
.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1rem;
    border: 2px solid var(--color-border)
}
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: var(--color-primary) }
.testimonial-location { font-size: 0.8rem; color: var(--color-text-muted) }

/* ---- FAQ ---- */
.faq-item {
    border-bottom: 1px solid var(--color-border)
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.25s
}
.faq-question:hover { color: var(--color-gold) }
.faq-icon {
    width: 28px; height: 28px;
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition)
}
.faq-icon svg { width: 14px; height: 14px; transition: transform 0.3s }
.faq-item.open .faq-icon { background: var(--color-gold); border-color: var(--color-gold) }
.faq-item.open .faq-icon svg { transform: rotate(45deg); color: #fff }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease }
.faq-answer-inner {
    padding: 0 0 22px;
    font-size: 0.96rem;
    color: var(--color-text-muted);
    line-height: 1.8
}

/* ---- BLOG CARDS ---- */
.blog-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.09) }
.blog-card-img {
    aspect-ratio: 16/9;
    background: var(--color-bg-light);
    overflow: hidden;
    position: relative
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease }
.blog-card:hover .blog-card-img img { transform: scale(1.04) }
.blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2e 0%, #3a3a3e 100%)
}
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column }
.blog-card-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 10px
}
.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 10px
}
.blog-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    flex: 1
}
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border)
}
.blog-card-date { font-size: 0.8rem; color: var(--color-text-muted) }
.blog-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.25s
}
.blog-card-link:hover { gap: 9px }

/* ---- BREADCRUMB ---- */
.breadcrumb {
    padding: 14px 0;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border)
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center
}
.breadcrumb li { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; color: var(--color-text-muted) }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none }
.breadcrumb a:hover { color: var(--color-gold) }
.breadcrumb li:last-child { color: var(--color-primary); font-weight: 500 }
.breadcrumb-sep { color: var(--color-border) }

/* ---- CONTACT FORM ---- */
.form-group { margin-bottom: 20px }
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 2px;
    font-family: var(--font-base);
    font-size: 0.95rem;
    color: var(--color-primary);
    background: var(--color-bg);
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}
.form-control:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15)
}
textarea.form-control { resize: vertical; min-height: 130px }
select.form-control { cursor: pointer }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px }
.form-check input[type="checkbox"] {
    width: 18px; height: 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 2px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-gold)
}
.form-check label { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.5 }
.form-check a { color: var(--color-gold) }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
    padding: 80px 0 70px;
    background: var(--color-primary);
    position: relative;
    overflow: hidden
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96E' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 65%);
    pointer-events: none
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 620px;
    line-height: 1.7;
    position: relative;
    z-index: 1
}
.page-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}
.page-hero-label::before {
    content: '';
    display: inline-block;
    width: 24px; height: 2px;
    background: var(--color-gold)
}

/* ---- INFO BOX ---- */
.info-box {
    border-left: 3px solid var(--color-gold);
    background: rgba(201,169,110,0.06);
    padding: 20px 24px;
    border-radius: 0 4px 4px 0;
    margin: 28px 0
}
.info-box p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.75; margin: 0 }

/* ---- CTA BANNER ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a2a2e 100%);
    border-radius: 4px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border: 60px solid rgba(201,169,110,0.08);
    border-radius: 50%;
    pointer-events: none
}
.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 14px;
    font-weight: 700
}
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1rem; line-height: 1.7 }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }

/* ---- GALLERY / PORTFOLIO ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}
@media(max-width:768px) { .gallery-grid { grid-template-columns: repeat(2,1fr) } }
@media(max-width:480px) { .gallery-grid { grid-template-columns: 1fr } }

.gallery-item {
    aspect-ratio: 4/3;
    background: var(--color-bg-light);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: pointer
}
.gallery-item-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-item-image {
    transform: scale(1.08);
}
.gallery-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
}
.gallery-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2a2a2e 0%, #3a3a3e 100%)
}
.gallery-item-placeholder svg { width: 32px; height: 32px; color: rgba(201,169,110,0.4) }
.gallery-item-placeholder span { font-size: 0.8rem; color: rgba(255,255,255,0.3) }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,28,30,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s
}
.gallery-item:hover .gallery-overlay { opacity: 1 }
.gallery-overlay-content { text-align: center; color: #fff }
.gallery-overlay-content span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px
}

/* ---- STICKY MOBILE CTA ---- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: var(--color-primary);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2)
}
@media(max-width:767px) { .sticky-cta { display: flex; gap: 10px } }
.sticky-cta .btn { flex: 1; justify-content: center; padding: 13px 12px; font-size: 0.85rem }

/* ---- TEAM / ABOUT ---- */
.team-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    transition: var(--transition)
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08) }
.team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--color-bg-light);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 3px solid var(--color-border)
}
.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px
}
.team-card .role { font-size: 0.85rem; color: var(--color-gold); font-weight: 600; margin-bottom: 10px }
.team-card p { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.6 }

/* ---- VALUES / FEATURES ---- */
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    transition: var(--transition)
}
.feature-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07) }
.feature-icon {
    width: 44px; height: 44px;
    background: rgba(201,169,110,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}
.feature-icon svg { width: 22px; height: 22px; color: var(--color-gold) }
.feature-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px
}
.feature-content p { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.65; margin: 0 }

/* ---- ARTICLE CONTENT ---- */
.article-body { max-width: 100%; margin: 0 auto }
.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 40px 0 14px
}
.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 28px 0 10px
}
.article-body p { font-size: 1rem; color: var(--color-text-muted); line-height: 1.85; margin-bottom: 18px }
.article-body ul { margin: 0 0 18px 20px }
.article-body ul li {
    font-size: 0.97rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 6px;
    list-style: disc
}
.article-body strong { color: var(--color-primary); font-weight: 700 }

/* ---- RELATED SERVICES BOX ---- */
.related-box {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 28px
}
.content-wrapper { display: flex; flex-direction: column; gap: 48px }
.related-box h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px
}
.related-list { display: flex; flex-direction: column; gap: 8px }
.related-list a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s
}
.related-list a::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    flex-shrink: 0
}
.related-list a:hover { color: var(--color-gold) }

/* ---- MAP ---- */
.map-wrapper { border-radius: 2px; overflow: hidden; border: 1px solid var(--color-border) }
.map-wrapper iframe { display: block; width: 100%; height: 380px; border: none }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 780px;
    background: var(--color-primary);
    color: #fff;
    padding: 20px 24px;
    border-radius: 4px;
    z-index: 9000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}
.cookie-banner.visible { display: flex }
.cookie-text { font-size: 0.88rem; color: rgba(255,255,255,0.8); flex: 1; line-height: 1.5; min-width: 200px }
.cookie-text a { color: var(--color-gold) }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0 }
.cookie-btn {
    padding: 9px 20px;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s
}
.cookie-btn:hover { opacity: 0.85 }
.cookie-accept { background: var(--color-gold); color: var(--color-primary) }
.cookie-reject { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2) }

/* ---- FOOTER ---- */
.footer {
    background: #111113;
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 50px
}
@media(max-width:1024px) {
    .footer-grid { grid-template-columns: repeat(2,1fr) }
}
@media(max-width:640px) {
    .footer-grid { grid-template-columns: 1fr }
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-top: 16px;
    color: rgba(255,255,255,0.55)
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px
}
.footer-links { display: flex; flex-direction: column; gap: 10px }
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px
}
.footer-links a::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.6
}
.footer-links a:hover { color: var(--color-gold) }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55)
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--color-gold); flex-shrink: 0; margin-top: 2px }
.footer-contact-item a { color: rgba(255,255,255,0.55); text-decoration: none }
.footer-contact-item a:hover { color: var(--color-gold) }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35)
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none }
.footer-bottom a:hover { color: var(--color-gold) }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px) }
    to { opacity: 1; transform: translateY(0) }
}
@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}
.animate-fade-up { opacity: 0 }
.animate-fade-up.in-view { animation: fadeInUp 0.6s ease forwards }

/* ---- RESPONSIVE UTILITIES ---- */
.text-center { text-align: center }
.mb-0 { margin-bottom: 0 }
.mt-0 { margin-top: 0 }
.flex-center { display: flex; align-items: center; justify-content: center }
.gap-3 { gap: 12px }
.gap-4 { gap: 16px }
/* Responsive Utilities */
.hidden-mobile { display: block }
@media(max-width:767px) {
    .hidden-mobile { display: none !important }
    .section { padding: 45px 0 }
    .page-hero { padding: 50px 0 45px }
    .cta-banner { padding: 40px 24px }
    .footer-grid { gap: 32px }
}

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 700;
    width: 54px; height: 54px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.25s, box-shadow 0.25s
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5) }
.wa-float svg { width: 28px; height: 28px; color: #fff }
@media(min-width:768px) { .wa-float { bottom: 30px } }

/* ---- NAV DROPDOWN ---- */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s;
    transform: translateX(-50%) translateY(-8px);
    z-index: 100
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}
.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s
}
.nav-dropdown a:hover { background: var(--color-bg-light); color: var(--color-gold) }
.nav-dropdown a:first-child { border-radius: 4px 4px 0 0 }
.nav-dropdown a:last-child { border-radius: 0 0 4px 4px }
.nav-dropdown-arrow {
    display: inline-block;
    width: 10px; height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 3px;
    transition: transform 0.25s
}
.nav-item:hover .nav-dropdown-arrow { transform: rotate(-135deg) translateY(3px) }
/* ---- MEDIA-TEXT INTERLEAVE (Modernization V2) ---- */
.interleave-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.interleave-img-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.interleave-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.interleave-img-box:hover img {
    transform: scale(1.05);
}

.interleave-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

@media (max-width: 900px) {
    .interleave-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .interleave-grid.reverse-mobile .interleave-img-box {
        order: -1;
    }
}

/* ================================================================
   CTA BAND — franja dorada mid-page
   ================================================================ */
.cta-band {
    background: linear-gradient(135deg, #C9A96E 0%, #b8935a 100%);
    padding: 52px 0;
    position: relative;
    overflow: hidden
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231C1C1E' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zm-1 9.5H6v-5h5v-5H6v-3h13v13.5zM40 20H20v5h5v5h-5v5h20V20zm-1 10H26v-5h5v-5h-5v-3h13v13z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none
}
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1
}
.cta-band-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.25
}
.cta-band-text p {
    color: rgba(28,28,30,.7);
    font-size: .98rem;
    line-height: 1.6
}
.cta-band .btn-dark { background: var(--color-primary); color: #fff; flex-shrink: 0 }
.cta-band .btn-dark:hover { background: #2a2a2e; transform: translateY(-2px) }
@media(max-width: 640px) {
    .cta-band-inner { flex-direction: column; text-align: center }
}

/* ================================================================
   PROJECT CARDS — galería "Nuestros trabajos"
   ================================================================ */
.project-card {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: var(--color-primary);
    transition: transform .3s ease, box-shadow .3s ease
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.16) }
.project-card-img {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden
}
.project-card-bg {
    position: absolute;
    inset: 0;
    transition: transform .5s ease
}
.project-card:hover .project-card-bg { transform: scale(1.06) }
.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,30,.88) 0%, rgba(28,28,30,.25) 55%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}
.project-tag {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-primary);
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    align-self: flex-start
}
.project-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.3
}
.project-meta {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}
.project-meta span { display: flex; align-items: center; gap: 4px }
.project-meta svg { width: 11px; height: 11px; color: var(--color-gold) }

/* ================================================================
   GOOGLE REVIEWS — testimonios estilo Trustindex
   ================================================================ */
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px
}
.reviews-score-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 16px 24px;
    flex-shrink: 0
}
.reviews-big-score {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1
}
.reviews-stars-row { color: #FBBC04; font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 3px }
.reviews-count { font-size: .78rem; color: var(--color-text-muted) }
.google-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-text-muted)
}
.review-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 26px 24px;
    transition: box-shadow .25s, transform .25s
}
.review-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-3px) }
.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}
.review-stars { color: #FBBC04; font-size: .95rem; letter-spacing: 1px }
.review-text {
    font-size: .95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    position: relative;
    padding-left: 20px
}
.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -4px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-gold);
    opacity: .45;
    line-height: 1
}
.review-author { display: flex; align-items: center; gap: 12px }
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b8935a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: .95rem;
    flex-shrink: 0
}
.review-name { font-weight: 700; font-size: .88rem; color: var(--color-primary); line-height: 1.3 }
.review-location { font-size: .76rem; color: var(--color-text-muted) }

/* ================================================================
   GOOGLE MAP section
   ================================================================ */
.map-section { padding: 0 0 0 }
.map-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px
}
.map-intro-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px
}
.map-intro-text p { font-size: .97rem; color: var(--color-text-muted); line-height: 1.7 }
.map-container {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow)
}
.map-container iframe { width: 100%; height: 420px; display: block; border: none }
.map-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px
}
.map-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: .8rem;
    color: var(--color-text-muted)
}
.map-chip svg { width: 12px; height: 12px; color: var(--color-gold) }
