/* CISNE — portada principal */
:root {
    --ink: #f7f7f5;
    --muted: rgba(245, 247, 250, .72);
    --accent: #e6a75b;
    --panel: rgba(17, 21, 26, .78);
    --line: rgba(255, 255, 255, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: #17191c;
    font-family: "Manrope", system-ui, sans-serif;
    overflow-x: hidden;
}
.wallpaper {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: #292522 url("../img/fondo_01.png") center center / cover no-repeat;
    transform: scale(1.015);
}
.ambient-shade {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 11, 15, .70) 0%, rgba(8, 11, 15, .45) 44%, rgba(8, 11, 15, .18) 100%),
        linear-gradient(180deg, rgba(9, 12, 16, .32) 0%, rgba(9, 12, 16, .06) 40%, rgba(9, 12, 16, .48) 100%);
}
.topbar {
    height: 68px;
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    background: rgba(28, 32, 37, .91);
    border-bottom: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.topbar-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(18px, 4vw, 62px);
}
.domain-label, .location-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .045em;
    color: rgba(255,255,255,.9);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(230,167,91,.65); }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; }
.brand-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-fallback {
    display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%; color: white; font: 800 1.15rem "Montserrat", sans-serif;
}
.location-label { justify-self: end; color: rgba(255,255,255,.75); font-weight: 500; letter-spacing: 0; }
.location-label svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.7; }
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 105px;
    padding-bottom: 340px;
}
.hero-content { max-width: 680px; padding-top: 15px; }
.eyebrow, .panel-kicker {
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .19em;
    color: #f0c18b;
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.eyebrow span { width: 29px; height: 1px; background: var(--accent); }
h1 {
    margin: 0 0 24px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    line-height: 1.06;
    letter-spacing: -.055em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 3px 4px rgba(0,0,0,.9), 0 10px 35px rgba(0,0,0,.65);
}
h1 span { color: #f1bd7e; }
.hero-copy {
    max-width: 590px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(.98rem, 1.15vw, 1.12rem);
    line-height: 1.85;
    text-shadow: 0 2px 5px #000, 0 1px 18px rgba(0,0,0,.9);
}
.hero-copy strong { color: #fff; }
.discover-link {
    display: inline-flex; align-items: center; gap: 15px; margin-top: 27px;
    padding: 12px 17px; color: white; text-decoration: none; font-size: .83rem; font-weight: 700;
    border: 1px solid rgba(255,255,255,.42); border-radius: 3px;
    background: rgba(12,15,18,.36); transition: background .2s, border-color .2s, transform .2s;
}
.discover-link span { color: #f1bd7e; font-size: 1.1rem; }
.discover-link:hover { color: #fff; background: rgba(230,167,91,.2); border-color: var(--accent); transform: translateY(-2px); }
.services-panel {
    position: fixed;
    z-index: 10;
    left: clamp(14px, 3vw, 48px);
    right: clamp(14px, 3vw, 48px);
    bottom: 20px;
    padding: 21px 25px 13px;
    background: var(--panel);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    box-shadow: 0 18px 65px rgba(0,0,0,.35);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}
.services-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.panel-kicker { margin: 0 0 4px; font-size: .58rem; letter-spacing: .16em; }
.services-heading h2 { margin: 0; font: 700 1.2rem "Montserrat", sans-serif; letter-spacing: -.025em; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-btn {
    width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); color: white;
    font-size: 1.6rem; line-height: 1; transition: .2s;
}
.carousel-btn:hover { color: #161616; background: var(--accent); border-color: var(--accent); }
.services-track {
    display: flex; gap: 13px; overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 1px 1px 9px;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent;
}
.service-card {
    flex: 0 0 154px; min-width: 0; color: white; text-decoration: none;
    scroll-snap-align: start; border: 1px solid rgba(255,255,255,.12);
    border-radius: 5px; overflow: hidden; background: rgba(255,255,255,.045);
    transition: transform .2s, border-color .2s, background .2s;
}
.service-card:hover { color: white; transform: translateY(-3px); border-color: rgba(241,189,126,.75); background: rgba(255,255,255,.09); }
.service-image { position: relative; height: 88px; overflow: hidden; background: linear-gradient(135deg, #343a40, #171b20); }
.service-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.service-card:hover .service-image img { transform: scale(1.06); }
.image-placeholder { position: absolute; inset: 0; display: none; place-items: center; background: radial-gradient(circle at 30% 20%, #55514a, #20252b 75%); }
.image-placeholder span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(241,189,126,.7); border-radius: 50%; color: #f1bd7e; font: 700 1.1rem "Montserrat", sans-serif; }
.image-missing .image-placeholder { display: grid; }
.card-arrow { position: absolute; right: 7px; top: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); font-size: .8rem; }
.service-text { padding: 10px 10px 11px; }
.service-text h3 { margin: 0 0 5px; font-size: .78rem; font-weight: 800; line-height: 1.35; }
.service-text p { margin: 0; color: rgba(255,255,255,.62); font-size: .65rem; line-height: 1.45; }
.panel-footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; color: rgba(255,255,255,.5); font-size: .63rem; letter-spacing: .025em; }
.scroll-hint { color: rgba(255,255,255,.72); }
.scroll-hint span { color: var(--accent); padding-left: 5px; }
@media (min-width: 1500px) { .service-card { flex-basis: 170px; } .service-image { height: 98px; } }
@media (max-width: 767.98px) {
    .topbar { height: 60px; }
    .topbar-inner { padding: 0 15px; }
    .domain-label, .location-label { font-size: .68rem; gap: 6px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-fallback { width: 31px; height: 31px; }
    .hero { min-height: 100svh; padding-top: 100px; padding-bottom: 390px; align-items: flex-start; }
    .hero-content { padding-top: 12vh; }
    .eyebrow { font-size: .55rem; letter-spacing: .12em; }
    h1 { font-size: clamp(2.55rem, 11vw, 4rem); }
    .hero-copy { font-size: .92rem; line-height: 1.7; }
    .services-panel { left: 9px; right: 9px; bottom: 9px; padding: 15px 13px 10px; }
    .services-heading h2 { font-size: 1rem; }
    .panel-kicker { font-size: .49rem; }
    .service-card { flex-basis: 135px; }
    .service-image { height: 75px; }
    .panel-footer { font-size: .58rem; }
}
@media (max-height: 760px) and (min-width: 768px) {
    .hero { padding-bottom: 305px; }
    .services-panel { bottom: 10px; padding-top: 13px; }
    .service-image { height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
