:root {
    --bg-main: #020202;
    --bg-panel: #0a0a0a;
    --bg-panel-2: #131313;
    --gold: #d4af37;
    --gold-light: #f6e3a1;
    --gold-bright: #ffe8a3;
    --gold-deep: #8f6a12;
    --text-soft: #f7f1e3;
    --line-soft: rgba(255, 232, 163, 0.26);
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 30%),
        linear-gradient(180deg, #0b0b0b 0%, var(--bg-main) 30%);
    color: var(--text-soft);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/logo_negro.jpeg") center 32% / cover no-repeat;
    opacity: 0.15;
    filter: blur(12px) grayscale(0.04);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.section {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

a {
    color: inherit;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold-light);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.site-status {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 232, 163, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(247, 241, 227, 0.82);
    font-size: 0.88rem;
}

/* ----- HEADER ----- */

#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 18px 24px 0;
    backdrop-filter: blur(14px);
}

#header-placeholder nav {
    width: min(1120px, 100%);
    margin: 0 auto;
}

#header-placeholder .nav-toggle {
    display: none;
}

#header-placeholder ul {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(18, 18, 18, 0.96));
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#header-placeholder li {
    display: flex;
    justify-content: center;
    width: 100%;
}

#header-placeholder a {
    color: var(--text-soft);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.92rem;
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

#header-placeholder li:not(.nav-brand):not(.nav-cta) a:hover {
    color: var(--gold-bright);
    transform: translateY(-1px);
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
}

#header-placeholder .nav-brand {
    position: relative;
    padding: 0 18px;
}

#header-placeholder .nav-brand::before {
    content: "";
    position: absolute;
    inset: -10px 6px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.2), rgba(143, 106, 18, 0.12));
    clip-path: polygon(14% 0, 86% 0, 100% 50%, 86% 100%, 14% 100%, 0 50%);
    border: 1px solid rgba(255, 232, 163, 0.28);
    box-shadow:
        0 0 14px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#header-placeholder .nav-brand a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 2px 10px;
    text-transform: none;
    line-height: 1;
}

#header-placeholder .nav-brand img {
    display: block;
    width: auto;
    height: 40px;
    max-width: 170px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.14));
}

#header-placeholder .nav-cta a {
    padding: 12px 24px;
    border: 1px solid rgba(255, 232, 163, 0.58);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(143, 106, 18, 0.14));
    color: #fff7df;
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#header-placeholder .nav-cta {
    justify-self: center;
}

#header-placeholder .nav-lang {
    justify-self: center;
}

#header-placeholder .nav-lang select {
    min-width: 78px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 232, 163, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
}

#header-placeholder .nav-lang select:focus {
    border-color: rgba(255, 232, 163, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

#header-placeholder .nav-lang option {
    background: #101010;
    color: var(--text-soft);
}

#header-placeholder .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#header-placeholder .nav-cta a:hover {
    background: linear-gradient(180deg, rgba(255, 232, 163, 0.3), rgba(212, 175, 55, 0.2));
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 232, 163, 0.22);
}

@media (max-width: 900px) {
    #header-placeholder ul {
        grid-template-columns: 1fr 1fr;
        border-radius: 28px;
        padding: 16px;
        gap: 10px;
    }

    #header-placeholder .nav-brand {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 2px;
    }

    #header-placeholder .nav-cta {
        grid-column: auto;
        margin-top: 0;
    }

    #header-placeholder .nav-lang {
        grid-column: auto;
    }

    #header-placeholder .nav-cta a {
        width: 100%;
        text-align: center;
    }

    #header-placeholder a {
        font-size: 0.84rem;
    }

    #header-placeholder .nav-brand img {
        height: 34px;
        max-width: 150px;
    }
}

@media (max-width: 560px) {
    #header-placeholder {
        padding: 12px 12px 0;
    }

    #header-placeholder nav {
        position: relative;
    }

    #header-placeholder .nav-toggle {
        position: absolute;
        top: 15px;
        right: 16px;
        z-index: 2;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 1px solid rgba(255, 232, 163, 0.22);
        border-radius: 50%;
        background: rgba(18, 18, 18, 0.92);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
        cursor: pointer;
    }

    #header-placeholder .nav-toggle span {
        width: 18px;
        height: 1.5px;
        margin: 0 auto;
        border-radius: 999px;
        background: var(--gold-light);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    #header-placeholder .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    #header-placeholder .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    #header-placeholder .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    #header-placeholder ul {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 0;
        max-height: 70px;
        overflow: hidden;
        transition: max-height 0.3s ease, padding-top 0.3s ease, border-radius 0.3s ease;
    }

    #header-placeholder li {
        min-width: 0;
    }

    #header-placeholder ul > li:not(.nav-brand) {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
    }

    #header-placeholder ul.is-open {
        gap: 9px;
        max-height: 430px;
        padding-top: 68px;
        border-radius: 26px;
    }

    #header-placeholder ul.is-open > li:not(.nav-brand) {
        max-height: 52px;
        opacity: 1;
        pointer-events: auto;
    }

    #header-placeholder a {
        width: 100%;
        justify-content: center;
        font-size: 0.78rem;
        letter-spacing: 0.06em;
        text-align: center;
    }

    #header-placeholder .nav-brand {
        grid-column: 1;
        margin-bottom: 0;
        padding-right: 52px;
    }

    #header-placeholder .nav-brand::before {
        inset: -8px 52px -8px 10px;
    }

    #header-placeholder .nav-brand a {
        min-height: 42px;
        padding: 2px 8px;
    }

    #header-placeholder .nav-brand img {
        height: 30px;
        max-width: 132px;
    }

    #header-placeholder .nav-lang,
    #header-placeholder .nav-cta {
        grid-column: 1;
    }

    #header-placeholder .nav-lang select,
    #header-placeholder .nav-cta a {
        min-width: 100%;
        height: 40px;
    }

    #header-placeholder .nav-lang select {
        font-size: 0.82rem;
        padding: 0 10px;
    }

    #header-placeholder li:not(.nav-brand):not(.nav-cta):not(.nav-lang) a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }
}

/* ----- SERVICES ----- */

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 40px;
    padding: 92px 0 72px;
}

.home-copy h1 {
    margin: 0;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(3.4rem, 8vw, 6rem);
    line-height: 0.96;
    color: #fff6da;
}

.home-copy h2 {
    margin: 18px 0 18px;
    max-width: 13ch;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.08;
    color: var(--gold-light);
}

.home-copy p {
    max-width: 58ch;
    margin: 0;
    color: rgba(247, 241, 227, 0.82);
    line-height: 1.8;
    font-size: 1.03rem;
}

.home-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.home-primary,
.home-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-primary {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.24), rgba(143, 106, 18, 0.18));
    border: 1px solid rgba(255, 232, 163, 0.42);
    color: #fff7df;
}

.home-secondary {
    border: 1px solid rgba(255, 232, 163, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(247, 241, 227, 0.92);
}

.home-primary:hover,
.home-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.home-highlight {
    display: flex;
    justify-content: flex-end;
}

.highlight-card {
    position: relative;
    width: min(420px, 100%);
    padding: 32px;
    border: 1px solid rgba(255, 232, 163, 0.16);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(9, 9, 9, 0.98), rgba(20, 20, 20, 0.96));
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
}

.highlight-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(-5deg);
    box-shadow:
        0 28px 48px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.highlight-label {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.highlight-card h3 {
    margin: 0 0 14px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 2rem;
    line-height: 1.08;
    color: #fff7df;
}

.highlight-card p {
    margin: 0;
    color: rgba(247, 241, 227, 0.78);
    line-height: 1.7;
}

.highlight-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.highlight-metrics div {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 232, 163, 0.12);
}

.highlight-metrics strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light);
    font-size: 1.4rem;
    font-weight: 600;
}

.highlight-metrics span {
    color: rgba(247, 241, 227, 0.68);
    font-size: 0.92rem;
}

.services-section {
    min-height: calc(100vh - 110px);
    padding: 34px 0 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-intro {
    max-width: 720px;
    margin-bottom: 18px;
}

.section-intro h1,
.contact-card h2 {
    margin: 0 0 16px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.8rem, 3.8vw, 2.9rem);
    line-height: 1.08;
    color: #fff7df;
}

.section-intro p,
.contact-card p {
    margin: 0;
    color: rgba(247, 241, 227, 0.82);
    font-size: 0.98rem;
    line-height: 1.6;
}

.services-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.service-arrow {
    width: 54px;
    height: 54px;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.94), rgba(22, 22, 22, 0.92));
    color: var(--gold-light);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-arrow:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 232, 163, 0.45);
    color: #fff7df;
}

.services-track {
    position: relative;
    height: 470px;
    perspective: 1800px;
    transform-style: preserve-3d;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, black 10%, black 90%, transparent 100%);
}

.service-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(460px, 52vw);
    min-height: 390px;
    padding: 26px 30px;
    background:
        radial-gradient(circle at top right, rgba(var(--card-accent), 0.18), transparent 34%),
        linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(22, 22, 22, 0.96));
    border: 1px solid rgba(255, 232, 163, 0.16);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translate(-50%, -50%);
    transition:
        transform 0.65s ease,
        opacity 0.45s ease,
        filter 0.45s ease,
        box-shadow 0.45s ease;
    opacity: 0;
    pointer-events: none;
    filter: blur(10px);
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

.service-card:nth-child(1) {
    --card-accent: 212, 175, 55;
}

.service-card:nth-child(2) {
    --card-accent: 118, 164, 255;
}

.service-card:nth-child(3) {
    --card-accent: 112, 192, 145;
}

.service-card:nth-child(4) {
    --card-accent: 204, 129, 221;
}

.service-card:nth-child(5) {
    --card-accent: 95, 205, 214;
}

.service-card[data-position="0"] {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
    filter: blur(0);
    pointer-events: auto;
    box-shadow:
        0 28px 54px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(var(--card-accent), 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card[data-position="-1"] {
    transform: translate3d(calc(-50% - 320px), -50%, 20px) rotateY(36deg) scale(0.86);
    opacity: 0.66;
    z-index: 4;
    filter: blur(1.5px);
}

.service-card[data-position="1"] {
    transform: translate3d(calc(-50% + 320px), -50%, 20px) rotateY(-36deg) scale(0.86);
    opacity: 0.66;
    z-index: 4;
    filter: blur(1.5px);
}

.service-card[data-position="-2"] {
    transform: translate3d(calc(-50% - 470px), -50%, -120px) rotateY(44deg) scale(0.72);
    opacity: 0.24;
    z-index: 3;
    filter: blur(4px);
}

.service-card[data-position="2"] {
    transform: translate3d(calc(-50% + 470px), -50%, -120px) rotateY(-44deg) scale(0.72);
    opacity: 0.24;
    z-index: 3;
    filter: blur(4px);
}

.service-card:not([data-position="0"]):not([data-position="-1"]):not([data-position="1"]):not([data-position="-2"]):not([data-position="2"]) {
    transform: translate3d(-50%, -50%, -220px) scale(0.6);
    opacity: 0;
    z-index: 1;
}

.service-tag {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 232, 163, 0.18);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(var(--card-accent), 0.08);
}

.service-card h2 {
    margin: 0 0 18px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    color: #fff6da;
}

.service-card p {
    margin: 0 0 18px;
    color: rgba(247, 241, 227, 0.82);
    line-height: 1.6;
    font-size: 0.96rem;
}

.service-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-points li {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 232, 163, 0.12);
    color: rgba(247, 241, 227, 0.74);
    line-height: 1.5;
    font-size: 0.94rem;
}

/* ----- CONTACT ----- */

.contact-section {
    padding: 72px 0 96px;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.contact-intro {
    max-width: 620px;
}

.contact-intro h2 {
    margin: 0 0 16px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    color: #fff7df;
}

.contact-intro p,
.contact-lead {
    margin: 0;
    color: rgba(247, 241, 227, 0.82);
    line-height: 1.75;
    font-size: 1.02rem;
}

.contact-card {
    width: min(100%, 540px);
    justify-self: end;
    padding: 38px 40px;
    border: 1px solid rgba(255, 232, 163, 0.16);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.96), rgba(19, 19, 19, 0.94));
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.3),
        0 0 26px rgba(212, 175, 55, 0.06);
}

.contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.contact-points span {
    padding: 8px 14px;
    border: 1px solid rgba(255, 232, 163, 0.14);
    border-radius: 999px;
    color: rgba(247, 241, 227, 0.78);
    background: rgba(255, 255, 255, 0.02);
}

.contact-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    padding: 14px 24px;
    border: 1px solid rgba(255, 232, 163, 0.46);
    border-radius: 999px;
    color: #fff7df;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.2), rgba(143, 106, 18, 0.14));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-mail:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(212, 175, 55, 0.12);
}

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: start;
    padding: 76px 0 36px;
}

.about-copy {
    position: relative;
}

.about-copy h2 {
    margin: 0 0 20px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    color: #fff7df;
}

.about-copy p {
    margin: 0 0 16px;
    color: rgba(247, 241, 227, 0.8);
    line-height: 1.8;
}

.about-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.about-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px 0 12px;
    border: 1px solid rgba(255, 232, 163, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(247, 241, 227, 0.84);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 232, 163, 0.34);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.about-social-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.about-social-link path {
    fill: currentColor;
    stroke: none;
}

.about-social-link .social-dot {
    fill: currentColor;
    stroke: none;
}

.about-social-link span {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.about-map-panel h3 {
    margin: 0 0 12px;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 2rem;
    line-height: 1.1;
    color: #fff5d6;
}

.about-map-panel p {
    margin: 0 0 18px;
    color: rgba(247, 241, 227, 0.76);
    line-height: 1.65;
    font-size: 0.97rem;
}

.dr-map {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 10px;
    border: 1px solid rgba(255, 232, 163, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(255, 232, 163, 0.08), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    overflow: hidden;
}

.globe-wrap {
    position: relative;
    width: 100%;
    min-height: 280px;
}

#globe-map {
    width: 100%;
    min-height: 280px;
}

#globe-map canvas {
    display: block;
    width: 100%;
    height: 280px;
}

.globe-tag {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 232, 163, 0.24);
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.72);
    color: #ffe8a3;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: 0.04em;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.14);
}

.about-panel {
    padding: 26px;
    border: 1px solid rgba(255, 232, 163, 0.16);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.96), rgba(19, 19, 19, 0.92));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.site-footer {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto 26px;
    padding: 30px 0 10px;
    border-top: 1px solid rgba(255, 232, 163, 0.12);
}

.reveal-item {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-top,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand {
    margin: 0;
    color: rgba(247, 241, 227, 0.8);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-socials {
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px 0 12px;
    border: 1px solid rgba(255, 232, 163, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(247, 241, 227, 0.84);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 232, 163, 0.34);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.social-link .social-dot {
    fill: currentColor;
    stroke: none;
}

.social-link span {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.footer-links a,
.footer-bottom a,
.footer-bottom p {
    margin: 0;
    color: rgba(247, 241, 227, 0.68);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 232, 163, 0.08);
}

@media (max-width: 900px) {
    .home-hero,
    .about-section,
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .home-highlight {
        justify-content: flex-start;
    }

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

    .service-arrow {
        display: none;
    }

    .services-track {
        height: auto;
        perspective: none;
        mask-image: none;
        display: grid;
        gap: 18px;
        overflow: visible;
    }

    .service-card,
    .service-card[data-position],
    .service-card:not([data-position="0"]):not([data-position="-1"]):not([data-position="1"]):not([data-position="-2"]):not([data-position="2"]) {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        transform: none;
        opacity: 1;
        filter: none;
        pointer-events: auto;
        z-index: auto;
        aspect-ratio: auto;
    }

    .service-points {
        grid-template-columns: 1fr;
    }

    .contact-card {
        justify-self: stretch;
        width: 100%;
    }

    .about-section {
        gap: 24px;
    }

    .about-copy,
    .about-panel,
    .about-map-panel,
    .dr-map,
    .globe-wrap,
    #globe-map {
        min-width: 0;
        width: 100%;
    }

    .about-panel {
        padding: 24px;
    }

    .about-copy h2 {
        max-width: 12ch;
    }

    .dr-map {
        min-height: 260px;
    }

    .globe-wrap,
    #globe-map,
    #globe-map canvas {
        min-height: 240px;
        height: 240px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .section {
        width: min(100% - 28px, 1120px);
    }

    .services-section {
        min-height: auto;
        padding-top: 52px;
    }

    .service-card,
    .contact-card {
        padding: 28px 22px;
    }

    .service-card {
        width: 100%;
        min-height: auto;
    }

    .home-copy h2 {
        max-width: none;
    }

    .about-section {
        gap: 20px;
        padding-top: 56px;
    }

    .about-copy h2 {
        max-width: none;
        font-size: clamp(1.9rem, 10vw, 2.45rem);
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .about-copy p,
    .about-map-panel p {
        font-size: 0.95rem;
        line-height: 1.72;
        overflow-wrap: anywhere;
    }

    .about-panel {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .about-socials {
        gap: 10px;
    }

    .about-social-link {
        width: 100%;
        justify-content: center;
        padding: 0 14px;
    }

    .about-social-link span {
        overflow-wrap: anywhere;
    }

    .dr-map {
        min-height: 224px;
        padding: 8px;
        border-radius: 20px;
    }

    .globe-wrap,
    #globe-map,
    #globe-map canvas {
        min-height: 208px;
        height: 208px;
    }

    .globe-tag {
        right: 10px;
        bottom: 10px;
        padding: 7px 11px;
        font-size: 0.8rem;
    }

    .site-footer {
        width: min(100% - 28px, 1120px);
    }

    #header-placeholder {
        padding: 12px 14px 0;
    }

    body::before {
        background: url("../img/logo_negro_fondo.jpg") center 56% / cover no-repeat;
        opacity: 0.16;
    }
}
