:root {
    --gold: #c5a47e;
    --gold-light: #d4b896;
    --black: #0A1118;
}

/* PAGE LOADER */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0A1118;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.page-loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-inner { text-align: center; }
.loader-logo {
    height: 56px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin-bottom: 28px;
    animation: pulseLogo 1.4s ease-in-out infinite;
}
@keyframes pulseLogo {
    0%, 100% { opacity: 0.5; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}
.loader-bar {
    width: 120px;
    height: 2px;
    background: rgba(197,164,126,0.2);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2px;
}
.loader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: var(--gold);
    animation: loadSlide 1.1s ease-in-out infinite;
}
@keyframes loadSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* NAV */
.page-servicios .navbar {
    background: rgba(10, 17, 24, 0.96);
    padding: 16px 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.page-servicios .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 24px;
}
.page-servicios .nav-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}
.nav-links-desktop {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links-desktop a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2.2px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links-desktop a:hover,
.nav-links-desktop a.active { color: #fff; }
.nav-links-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.btn-gold {
    background: var(--gold);
    color: var(--black) !important;
    padding: 11px 20px;
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    transition: 0.3s;
    white-space: nowrap;
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(197,164,126,0.35);
}
.page-servicios .menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.page-servicios .menu-trigger .burger-lines span {
    background: #fff;
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px 0;
}

/* HERO full-bleed */
.svc-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0A1118;
}
.svc-hero-bg {
    position: absolute;
    inset: 0;
}
.svc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    transform: scale(1.02);
    animation: heroKen 18s ease-in-out infinite alternate;
}
@keyframes heroKen {
    from { transform: scale(1.02) translateX(0); }
    to { transform: scale(1.08) translateX(-1.5%); }
}
.svc-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10,17,24,0.88) 0%, rgba(10,17,24,0.55) 42%, rgba(10,17,24,0.15) 100%),
        linear-gradient(to top, rgba(10,17,24,0.35) 0%, transparent 40%);
}
.svc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 140px 6% 100px;
    color: #fff;
}
.svc-eyebrow {
    font-size: 11px;
    letter-spacing: 3.2px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
}
.svc-eyebrow.light { color: var(--gold); }
.svc-hero-content h1 {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 24px;
}
.gold-text { color: var(--gold); }
.svc-divider {
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 24px;
}
.svc-hero-desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    max-width: 440px;
    font-weight: 300;
}

/* CATEGORÍAS — sin solape */
.svc-categories {
    background: #fff;
    padding: 48px 4% 20px;
    position: relative;
    z-index: 3;
}
.svc-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1320px;
    margin: 0 auto;
}
.svc-cat-card {
    border-radius: 6px;
    overflow: hidden;
    background: var(--black);
    box-shadow: 0 14px 40px rgba(10,17,24,0.1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
    will-change: transform;
}
.svc-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(10,17,24,0.2);
}
.svc-cat-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.svc-cat-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,17,24,0.5) 0%, transparent 50%);
    pointer-events: none;
}
.svc-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-cat-card:hover .svc-cat-img img {
    transform: scale(1.08);
}
.svc-cat-body {
    padding: 22px 18px 26px;
    color: #fff;
}
.svc-cat-icon {
    width: 30px;
    height: 30px;
    color: var(--gold);
    margin-bottom: 12px;
}
.svc-cat-icon svg { width: 100%; height: 100%; }
.svc-cat-body h3 {
    font-size: 12px;
    letter-spacing: 1.8px;
    font-weight: 700;
    margin-bottom: 8px;
}
.svc-cat-body p {
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    min-height: 38px;
}
.svc-cat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(197,164,126,0.4);
    border-radius: 50%;
    color: var(--gold);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}
.svc-cat-card:hover .svc-cat-link {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* FEATURES */
.svc-features {
    background: #fafaf8;
    padding: 64px 5% 72px;
}
.svc-feat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 1280px;
    margin: 0 auto;
}
.svc-feat-item {
    text-align: center;
    padding: 14px 8px;
    transition: transform 0.3s;
}
.svc-feat-item:hover { transform: translateY(-4px); }
.svc-feat-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-feat-icon svg { width: 26px; height: 26px; }
.svc-feat-item h4 {
    font-size: 10.5px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 7px;
    line-height: 1.35;
}
.svc-feat-item p {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

/* PROFESSIONAL + grain shader */
.svc-professional {
    position: relative;
    background: var(--black);
    color: #fff;
    padding: 90px 5%;
    overflow: hidden;
}
.svc-prof-bg {
    position: absolute;
    inset: 0;
    background: url('hero.webp') center/cover no-repeat;
    opacity: 0.12;
    filter: grayscale(50%);
}
.svc-prof-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}
.svc-prof-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.svc-prof-left h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    line-height: 1.25;
    margin: 14px 0 16px;
    font-weight: 600;
}
.svc-prof-left p {
    font-size: 14.5px;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 400px;
}
.btn-outline-gold {
    display: inline-block;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 13px 26px;
    font-size: 11px;
    letter-spacing: 1.8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black);
}
.svc-prof-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 22px;
}
.svc-benefit {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.svc-benefit-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: var(--gold);
}
.svc-benefit-icon svg { width: 100%; height: 100%; }
.svc-benefit h4 {
    font-size: 12px;
    letter-spacing: 1.3px;
    font-weight: 700;
    margin-bottom: 4px;
}
.svc-benefit p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.45;
}

/* FOOTER */
.svc-footer {
    background: #070b10;
    padding: 42px 5%;
    text-align: center;
    color: rgba(255,255,255,0.45);
}
.svc-footer-inner { max-width: 560px; margin: 0 auto; }
.footer-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    margin-bottom: 14px;
}
.svc-footer p { font-size: 12px; margin-bottom: 6px; }
.svc-footer a {
    display: inline-block;
    margin-top: 14px;
    font-size: 10px;
    letter-spacing: 1.8px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: 0.3s;
}
.svc-footer a:hover { color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .svc-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-feat-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
    .svc-prof-content { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
    .nav-links-desktop { display: none; }
    .page-servicios .menu-trigger { display: block; }
    .page-servicios .nav-cta .btn-gold { display: none; }
    .svc-hero { min-height: 65vh; }
    .svc-hero-content { padding: 120px 6% 70px; }
}
@media (max-width: 640px) {
    .svc-cat-grid { grid-template-columns: 1fr; }
    .svc-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-prof-right { grid-template-columns: 1fr; }
    .svc-cat-img { height: 220px; }
}
@media (max-width: 400px) {
    .svc-feat-grid { grid-template-columns: 1fr; }
}
