:root {
    --color-navy: #0c1f5c;
    --color-navy-deep: #071338;
    --color-steel: #365f9d;
    --color-cyan: #80c6ff;
    --color-ice: #f3f8ff;
    --color-white: #ffffff;
    --color-ink: #163252;
    --color-body: #52627a;
    --color-line: rgba(12, 31, 92, 0.1);
    --shadow-soft: 0 20px 50px rgba(11, 27, 79, 0.12);
    --shadow-strong: 0 35px 80px rgba(6, 16, 48, 0.22);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --nav-height: 86px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--color-body);
    background:
        radial-gradient(circle at top left, rgba(128, 198, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    margin: 0;
}

h1,
h2,
h3,
h4,
.navbar-brand,
.btn,
.hero-eyebrow,
.section-kicker,
.language-pill,
.training-duration,
.sales-pill {
    font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4 {
    color: var(--color-ink);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

section,
footer {
    scroll-margin-top: calc(var(--nav-height) + 16px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(20px);
    background: rgba(248, 251, 255, 0.88);
    border-bottom: 1px solid rgba(12, 31, 92, 0.08);
}

.navbar {
    min-height: var(--nav-height);
}

.brand-logo {
    width: clamp(172px, 18vw, 248px);
}

.nav-link {
    color: var(--color-ink);
    font-weight: 600;
    padding: 0.85rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-steel), var(--color-cyan));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.language-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(12, 31, 92, 0.12);
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.language-pill:hover,
.language-pill:focus-visible,
.language-pill.is-active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5.75rem 0 4.5rem;
    background:
        linear-gradient(135deg, rgba(7, 19, 56, 0.98), rgba(15, 48, 112, 0.92)),
        url("../img/quality-pattern.svg") center/cover no-repeat;
    color: var(--color-white);
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p {
    color: var(--color-white);
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.hero-orbit-left {
    width: 340px;
    height: 340px;
    top: -90px;
    left: -120px;
    animation: floatOrbit 12s ease-in-out infinite;
}

.hero-orbit-right {
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: -180px;
    animation: floatOrbit 16s ease-in-out infinite reverse;
}

.hero-copy {
    max-width: 700px;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-eyebrow::before,
.section-kicker::before {
    content: "";
    width: 48px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.55;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 4.3vw, 4rem);
    line-height: 1.06;
    margin-bottom: 1.35rem;
}

.hero-description {
    max-width: 620px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    border-width: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #74c5ff, #2f77d2);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(66, 147, 234, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, #89d0ff, #3f88df);
}

.btn-outline-light {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    color: var(--color-ink);
    background: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-primary {
    color: var(--color-navy);
    border-color: rgba(12, 31, 92, 0.22);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    color: var(--color-white);
    background: var(--color-navy);
    border-color: var(--color-navy);
}

.hero-stats {
    margin-top: 0.75rem;
}

.stat-card,
.hero-panel,
.content-card,
.mini-card,
.measurement-card,
.service-card,
.training-card,
.contact-card,
.form-card,
.legal-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    height: 100%;
    padding: 1.35rem 1.2rem;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
}

.stat-card strong {
    display: block;
    font-size: 1.35rem;
    color: var(--color-white);
}

.stat-card span {
    display: block;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.74);
    margin-top: 0.35rem;
}

.hero-visual {
    position: relative;
    max-width: 560px;
    margin-inline: auto;
}

.hero-photo-layout {
    display: block;
}

.hero-photo,
.about-photo,
.measurement-photo,
.sales-photo {
    display: block;
    margin: 0;
    padding: 0.85rem;
    border-radius: calc(var(--radius-lg) - 2px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
}

.hero-photo img,
.about-photo img,
.measurement-photo img,
.sales-photo img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 8px);
}

.hero-panel {
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(15px);
}

.hero-highlight + .hero-highlight {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlight h2 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.hero-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.section-block {
    padding: 5.4rem 0;
}

.section-muted {
    background: rgba(255, 255, 255, 0.68);
}

.section-deep {
    background:
        linear-gradient(180deg, rgba(7, 19, 56, 0.98), rgba(12, 31, 92, 0.96));
}

.section-deep h2,
.section-deep h3,
.section-deep p,
.section-deep .section-kicker {
    color: var(--color-white);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-heading.text-start {
    margin-left: 0;
    margin-right: 0;
}

.section-heading h2,
.legal-container h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

.section-heading p,
.legal-container > p {
    font-size: 1.08rem;
}

.about-panel,
.sales-panel,
.about-showcase,
.measurement-showcase {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(180deg, var(--color-white), #eaf3ff);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-line);
}

.about-showcase {
    display: block;
}

.measurement-showcase {
    padding: 1.25rem;
}

.measurement-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.content-card,
.form-card,
.legal-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-line);
    padding: 2rem;
}

.mini-card {
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
    border: 1px solid var(--color-line);
    padding: 1.35rem;
    height: 100%;
}

.mini-card h3,
.measurement-card h3,
.service-card h3,
.training-card h3,
.contact-card h3,
.sales-note h3,
.legal-card h2 {
    font-size: 1.16rem;
    margin-bottom: 0.65rem;
}

.capability-list {
    display: grid;
    gap: 1rem;
}

.capability-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-soft);
}

.capability-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(54, 95, 157, 0.14), rgba(128, 198, 255, 0.22));
    color: var(--color-steel);
    font-size: 1.2rem;
}

.capability-item p,
.measurement-card p,
.service-card p,
.training-card p,
.contact-card p,
.sales-note p,
.legal-card p {
    margin: 0;
}

.measurement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.measurement-card {
    height: 100%;
    padding: 1.6rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 243, 255, 0.98));
    border: 1px solid var(--color-line);
}

.measurement-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 1rem;
    color: var(--color-navy);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(128, 198, 255, 0.24), rgba(54, 95, 157, 0.18));
}

.video-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-strong);
}

.media-shell {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 241, 255, 0.98));
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-soft);
}

.media-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.media-copy .section-kicker,
.media-copy h2,
.media-copy p {
    margin: 0;
}

.media-copy h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.media-library {
    max-height: 700px;
    overflow: auto;
    padding-right: 0.35rem;
    display: grid;
    gap: 1.1rem;
}

.media-library::-webkit-scrollbar {
    width: 9px;
}

.media-library::-webkit-scrollbar-thumb {
    background: rgba(54, 95, 157, 0.32);
    border-radius: 999px;
}

.media-group {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(12, 31, 92, 0.08);
}

.media-group-heading {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    margin-bottom: 1rem;
}

.media-group-heading h3,
.media-group-heading p {
    margin: 0;
}

.media-group-heading h3 {
    font-size: 1.08rem;
}

.media-group-heading p {
    margin-top: 0.2rem;
    color: var(--color-body);
}

.media-group-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--color-steel);
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(128, 198, 255, 0.2), rgba(54, 95, 157, 0.16));
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.media-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(12, 31, 92, 0.12);
    box-shadow: 0 18px 34px rgba(11, 27, 79, 0.1);
    scroll-snap-align: start;
}

.media-card[data-media-type="video"] {
    grid-column: span 6;
}

.media-asset {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: linear-gradient(180deg, #dce7f8, #edf4ff);
}

.service-card,
.training-card {
    height: 100%;
    padding: 1.7rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon,
.training-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-size: 1.45rem;
}

.service-icon {
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(128, 198, 255, 0.22), rgba(255, 255, 255, 0.14));
}

.training-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-line);
}

.training-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.training-icon {
    color: var(--color-steel);
    background: linear-gradient(135deg, rgba(128, 198, 255, 0.22), rgba(54, 95, 157, 0.15));
}

.training-duration {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--color-ice);
    color: var(--color-navy);
    font-size: 0.82rem;
    font-weight: 700;
}

.training-audience {
    color: var(--color-ink);
}

.sales-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.sales-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-line);
    color: var(--color-navy);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.sales-note {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sales-note article {
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--color-line);
}

.cta-band {
    padding-top: 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.2rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, #103476, #3b82d5);
    color: var(--color-white);
    box-shadow: var(--shadow-strong);
}

.cta-panel h2,
.cta-panel p,
.cta-panel .section-kicker {
    color: var(--color-white);
}

.contact-card {
    height: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-line);
}

.contact-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--color-steel);
    background: linear-gradient(135deg, rgba(128, 198, 255, 0.24), rgba(54, 95, 157, 0.16));
}

.contact-checks {
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.contact-checks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-ink);
    font-weight: 600;
}

.contact-checks li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-steel), var(--color-cyan));
    box-shadow: 0 0 0 6px rgba(128, 198, 255, 0.18);
}

.form-card .form-control,
.form-card .form-select {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(22, 50, 82, 0.14);
    background: #fbfdff;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: rgba(54, 95, 157, 0.45);
    box-shadow: 0 0 0 0.22rem rgba(54, 95, 157, 0.12);
}

.form-note {
    color: var(--color-body);
}

.form-feedback {
    display: none;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font-weight: 600;
}

.form-feedback.is-visible {
    display: block;
}

.form-feedback.is-success {
    background: rgba(30, 160, 86, 0.1);
    color: #0e7a42;
    border: 1px solid rgba(30, 160, 86, 0.2);
}

.form-feedback.is-error {
    background: rgba(210, 54, 87, 0.1);
    color: #ab1d42;
    border: 1px solid rgba(210, 54, 87, 0.2);
}

.site-footer {
    padding: 4.2rem 0 2.4rem;
    background: var(--color-navy-deep);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer h2 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.15rem;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 34px rgba(3, 10, 30, 0.18);
}

.site-footer .footer-brand .brand-logo {
    width: clamp(180px, 17vw, 250px);
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--color-white);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    z-index: 1000;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #14a34a);
    color: var(--color-white);
    box-shadow: 0 18px 36px rgba(20, 163, 74, 0.32);
    font-size: 1.9rem;
    animation: pulseWhatsApp 2.8s ease-in-out infinite;
}

.legal-page {
    min-height: 100vh;
}

.legal-container {
    max-width: 960px;
}

.legal-card + .legal-card {
    margin-top: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes pulseWhatsApp {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 18px 36px rgba(20, 163, 74, 0.32);
    }
    50% {
        transform: translateY(-4px);
        box-shadow: 0 22px 44px rgba(20, 163, 74, 0.38);
    }
}

@keyframes floatOrbit {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(18px, -12px, 0);
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        padding: 1rem 0 0.4rem;
    }

    .nav-link {
        padding-inline: 0 !important;
    }

    .nav-link::after {
        left: 0;
        right: auto;
        width: 28px;
    }

    .media-card,
    .media-card[data-media-type="video"] {
        grid-column: span 6;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 4.5rem;
    }

    .hero-panel {
        margin-top: 1rem;
    }

    .measurement-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .measurement-grid {
        grid-template-columns: 1fr 1fr;
    }

    .media-shell {
        grid-template-columns: 1fr;
    }

    .media-library {
        max-height: 620px;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .section-block {
        padding: 4.2rem 0;
    }

    .measurement-gallery {
        grid-template-columns: 1fr;
    }

    .measurement-grid {
        grid-template-columns: 1fr;
    }

    .media-shell {
        padding: 1.25rem;
    }

    .media-gallery {
        grid-template-columns: 1fr;
    }

    .media-card,
    .media-card[data-media-type="video"] {
        grid-column: 1 / -1;
    }

    .media-library {
        max-height: 560px;
        padding-right: 0.15rem;
    }

    .cta-panel,
    .content-card,
    .form-card,
    .legal-card {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 1rem;
        bottom: 1rem;
        font-size: 1.65rem;
    }
}
