:root {
    --navy: #07111f;
    --navy-soft: #0d1b2d;
    --paper: #fcfaf6;
    --sand: #f4ede2;
    --gold: #c79a45;
    --teal: #79b8b0;
    --text: #112033;
    --muted: #667487;
    --line: rgba(17, 32, 51, 0.1);
    --shadow: 0 24px 80px rgba(7, 17, 31, 0.16);
}

html { scroll-behavior: smooth; }

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(199, 154, 69, 0.15), transparent 25%),
        linear-gradient(180deg, #fbf8f2 0%, #f4ede2 42%, #fcfaf6 100%);
}

h1, h2, h3, h4, .navbar-brand { font-family: "Syne", sans-serif; letter-spacing: -0.04em; }

.navbar {
    background: rgba(252, 250, 246, 0.88);
    backdrop-filter: blur(18px);
    transition: all 0.25s ease;
}

.navbar.scrolled {
    box-shadow: 0 14px 40px rgba(7, 17, 31, 0.08);
    border-bottom: 1px solid rgba(17, 32, 51, 0.06);
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(17, 32, 51, 0.14) !important;
    background: rgba(255, 255, 255, 0.74);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(199, 154, 69, 0.2) !important;
}

.navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
    display: block;
    margin: 0;
    background-position: center;
    background-size: 1.05em;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-text-wrap {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.92;
    color: var(--navy);
}

.footer-col { height: 100%; }

.footer-brand { display: inline-block; }
.footer-brand-text {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #fff;
}

.footer-copy-text {
    max-width: 28rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
}

.footer-title {
    margin: 0 0 0.85rem;
    font-family: "Syne", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list li,
.footer-list a,
.footer-list span {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.footer-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-status {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
}

.footer-rights {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-crafted {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer-crafted a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.58);
}

.footer-crafted a:hover {
    color: #f5d7a0;
    text-decoration-color: #f5d7a0;
}

.lang-switch {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.06);
    border: 1px solid rgba(17, 32, 51, 0.08);
}

.order-lg-3 {
    flex-shrink: 0;
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.lang-btn.active {
    background: linear-gradient(145deg, var(--navy), #122844);
    color: #fff;
}

.flag-icon {
    width: 18px;
    height: 12px;
    border-radius: 3px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px rgba(17, 32, 51, 0.08);
}

.nav-link {
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    position: relative;
}

.nav-link.active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.15rem;
    height: 2px;
    width: 2.4em;
    border-radius: 999px;
    background: var(--gold);
}

.nav-actions {
    margin-left: auto;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 17, 31, 0.94) 12%, rgba(7, 17, 31, 0.72) 52%, rgba(7, 17, 31, 0.86) 100%),
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(252, 250, 246, 0), var(--paper));
}

.hero > .container,
.hero-panel,
.hero-metrics { position: relative; z-index: 1; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.86);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.92;
    max-width: 11ch;
    margin: 1.25rem 0 1.4rem;
}

.hero .lead {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    line-height: 1.8;
}

.btn-brand, .btn-outline-brand {
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    font-weight: 800;
}

.btn-brand {
    background: linear-gradient(135deg, var(--gold), #e0be7d);
    color: #241809;
    border: none;
}

.btn-brand:hover { color: #241809; filter: brightness(1.03); }

.btn-outline-brand {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-brand:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    font-weight: 800;
    color: #25d366;
    background: #fff;
    border: 1px solid rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
    color: #1fb857;
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.7);
}

.hero-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2rem;
    padding: 1.7rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.panel-label,
.section-label,
.intro-band .label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 800;
}

.panel-label { color: rgba(255, 255, 255, 0.56); }
.section-label { color: var(--teal); }
.intro-band .label { color: rgba(255, 255, 255, 0.58); }

.hero-metrics {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.metric span { color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; }

.section-shell { position: relative; margin-top: -4.5rem; z-index: 3; }
.intro-band {
    background: linear-gradient(135deg, var(--navy), #10213a);
    color: #fff;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

.section-padding { padding: 6rem 0; }
.section-title { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1rem; color: var(--navy); }
.section-copy { color: var(--muted); max-width: 42rem; line-height: 1.8; }

.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 1rem; }
.kpi-card, .service-card, .value-card, .contact-card, .statement-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 1.8rem;
    box-shadow: 0 16px 40px rgba(7, 17, 31, 0.06);
}

.kpi-card { padding: 1.5rem; }
.kpi-card strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.kpi-card span { color: var(--muted); font-size: 0.92rem; }
.kpi-card strong,
.kpi-card span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.service-card, .value-card, .statement-card, .contact-card { padding: 2rem; height: 100%; }
.service-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(7, 17, 31, 0.11); }
.service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--navy), #13263f);
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.service-card p, .value-card p, .contact-card p, .statement-card p, .contact-list a, .contact-list span { color: var(--muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.service-tags span {
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-soft);
    background: #f4ecde;
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
}

.showcase {
    border-radius: 2rem;
    overflow: hidden;
    min-height: 560px;
    box-shadow: var(--shadow);
    position: relative;
}

.showcase img { width: 100%; height: 100%; object-fit: cover; }

.showcase-badge {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    max-width: 18rem;
    background: rgba(252, 250, 246, 0.92);
    border-radius: 1.4rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 45px rgba(7, 17, 31, 0.18);
}

.dark-block {
    background: linear-gradient(145deg, var(--navy), #10213a);
    color: #fff;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-list i { color: var(--gold); font-size: 1.05rem; margin-top: 0.2rem; }

.form-control {
    min-height: 3.4rem;
    border-radius: 1rem;
    border: 1px solid rgba(17, 32, 51, 0.12);
    padding-inline: 1rem;
    background: rgba(255, 255, 255, 0.88);
}

textarea.form-control { min-height: 140px; resize: vertical; }
.form-control:focus { border-color: rgba(199, 154, 69, 0.45); box-shadow: 0 0 0 0.25rem rgba(199, 154, 69, 0.12); }
.map-frame { width: 100%; min-height: 320px; border: 0; border-radius: 1.6rem; }

.footer {
    padding: 2rem 0 2.5rem;
    background: linear-gradient(145deg, var(--navy), #10213a);
    color: #fff;
    margin-top: 2rem;
}

.footer-panel {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #f5d7a0; }

.back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 3.4rem;
    height: 3.4rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8efd9, #e9cd93);
    color: #0a1b31;
    border: 1px solid rgba(10, 27, 49, 0.16);
    box-shadow: 0 14px 35px rgba(7, 17, 31, 0.24), 0 0 0 3px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1050;
}

.floating-whatsapp {
    position: fixed;
    right: 1.4rem;
    bottom: 5.3rem;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #1fb857);
    border: 1px solid rgba(20, 134, 58, 0.38);
    box-shadow: 0 16px 40px rgba(10, 87, 36, 0.28);
    transition: transform 0.22s ease, filter 0.22s ease;
    z-index: 1049;
}

.floating-whatsapp:hover {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: #07111f;
    background: linear-gradient(145deg, #f4e1b7, #dfbd78);
    transform: translateY(-2px);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1199.98px) {
    .kpi-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
    .hero-metrics { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar > .container {
        row-gap: 0.75rem;
    }
    .navbar-brand {
        width: auto;
        justify-content: flex-start;
        text-align: left;
    }
    .hero h1 {
        max-width: 13ch;
        margin-left: auto;
        margin-right: auto;
    }
    .hero .lead,
    .section-copy,
    .footer-copy-text {
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-panel,
    .intro-band,
    .dark-block {
        padding: 2rem;
    }
    .service-card,
    .value-card,
    .contact-card,
    .statement-card {
        padding: 1.75rem;
    }
    .showcase {
        min-height: 480px;
    }
    .footer-bottom {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .hero { min-height: auto; padding-top: 7rem; padding-bottom: 7rem; }
    .section-shell { margin-top: -1.5rem; }
    .navbar-brand { margin-right: 0; }
    .navbar {
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
    .navbar-collapse {
        margin-top: 0.8rem;
        padding: 0.85rem;
        border-radius: 1rem;
        border: 1px solid rgba(17, 32, 51, 0.1);
        background: rgba(252, 250, 246, 0.96);
        box-shadow: 0 18px 40px rgba(7, 17, 31, 0.09);
    }
    .navbar-nav {
        gap: 0.35rem;
    }
    .navbar-nav .nav-link {
        display: inline-block;
        width: auto;
        margin-left: auto;
        padding: 0.85rem 0.95rem;
        border-radius: 0.8rem;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: none;
        text-align: right;
    }
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        background: rgba(7, 17, 31, 0.08);
    }
    .navbar-nav .nav-item {
        text-align: right;
    }
    .nav-link.active::after,
    .nav-link:hover::after {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0.35rem;
        width: 2.2em;
    }
    .hero .btn-brand,
    .hero .btn-outline-brand {
        min-width: 184px;
    }
    .hero .row,
    .section-shell .row,
    #services .row,
    #about .row,
    #contact .row,
    .footer .row {
        text-align: center;
    }
    .hero .d-flex,
    .section-shell .d-flex,
    #contact .d-flex,
    .footer .d-flex {
        justify-content: center !important;
    }
    .section-copy,
    .footer-copy-text {
        margin-left: auto;
        margin-right: auto;
    }
    .contact-list li {
        justify-content: center;
        text-align: left;
    }
    .showcase-badge {
        left: 1.25rem;
        right: 1.25rem;
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .brand-text { font-size: 1.1rem; }
    .hero h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
    .hero .lead {
        font-size: 0.98rem;
        line-height: 1.65;
    }
    .section-padding { padding: 4.5rem 0; }
    .intro-band, .service-card, .value-card, .contact-card, .statement-card, .showcase, .dark-block { border-radius: 1.4rem; }
    .kpi-grid { grid-template-columns: 1fr; }
    .footer-list {
        gap: 0.55rem;
    }
    .footer-panel { padding: 1.5rem; }
    .footer-bottom { align-items: flex-start; }
    .navbar > .container {
        justify-content: space-between;
        gap: 0.75rem;
        align-items: center;
    }
    .navbar-brand {
        width: auto;
        justify-content: flex-start;
        text-align: left;
        flex: 1 1 auto;
        min-width: 0;
    }
    .brand-text-wrap {
        align-items: flex-start;
    }
    .lang-switch {
        margin-inline: 0;
    }
    .nav-actions {
        gap: 0.5rem !important;
    }
    .lang-btn {
        padding: 0.36rem 0.62rem;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    .flag-icon {
        width: 15px;
        height: 10px;
    }
    .navbar-toggler {
        width: 40px;
        height: 40px;
    }
    .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.85rem;
        border-radius: 0.95rem;
    }
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.92rem 1rem;
    }
    .hero .d-flex {
        gap: 0.7rem !important;
    }
    .hero .btn-brand,
    .hero .btn-outline-brand {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .hero-panel {
        padding: 1.25rem;
    }
    .hero-metrics {
        gap: 0.8rem;
    }
    .section-title {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
    }
    .hero-panel,
    .contact-card,
    .service-card,
    .value-card,
    .statement-card {
        text-align: center;
    }
    #contactForm {
        text-align: left;
    }
    #contactForm .col-md-6,
    #contactForm .col-12 {
        text-align: left !important;
    }
    #contactForm .form-label,
    #contactForm .form-control,
    #contactForm textarea,
    #contactForm .text-secondary {
        text-align: left !important;
        justify-content: flex-start;
        display: block;
    }
    .hero-actions,
    .service-tags {
        justify-content: center;
    }
    .contact-list li {
        flex-direction: row;
        align-items: flex-start;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col {
        text-align: center;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    .order-lg-3 {
        margin-left: 0 !important;
    }
    .map-frame {
        min-height: 260px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .section-padding {
        padding: 3.8rem 0;
    }
    .hero {
        padding-top: 6.5rem;
        padding-bottom: 5.5rem;
    }
    .hero h1 {
        max-width: 100%;
    }
    .eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.1em;
        padding: 0.44rem 0.72rem;
    }
    .service-card,
    .value-card,
    .contact-card,
    .statement-card {
        padding: 1.3rem;
    }
    .showcase {
        min-height: 360px;
    }
    .showcase-badge {
        padding: 0.85rem 0.95rem;
    }
    .footer {
        padding-top: 1.4rem;
    }
    .footer-panel {
        padding: 1.2rem;
    }
    .footer-title {
        font-size: 1rem;
    }
    .back-to-top {
        width: 3rem;
        height: 3rem;
        right: 1rem;
        bottom: 1rem;
        box-shadow: 0 12px 28px rgba(7, 17, 31, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.7);
    }
    .floating-whatsapp {
        width: 3rem;
        height: 3rem;
        right: 1rem;
        bottom: 4.9rem;
        font-size: 1.25rem;
    }
}

@media (min-width: 992px) {
    .footer-col {
        text-align: left;
    }
}
