:root {
    color-scheme: light;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #202a33;
    background-color: #f3f7f8;
    --text: #202a33;
    --muted: #55606d;
    --background: #f3f7f8;
    --surface: #ffffff;
    --surface-strong: #e7eff2;
    --accent: #35cccc;
    --accent-dark: #1d9c9c;
    --border: #d7e0e5;
    --shadow: 0 24px 60px rgba(43, 57, 71, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(53, 204, 204, 0.08), transparent 38%), linear-gradient(180deg, #f7fbfc 0%, #f2f7f9 100%);
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
a {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: #ffffff;
    border-bottom: 1px solid rgba(41, 59, 72, 0.08);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 60px;
    height: auto;
    border-radius: 12px;
    background: #fff;
    padding: 0.25rem;
    box-shadow: 0 18px 40px rgba(13, 35, 54, 0.08);
}

.brand-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5f6c78;
}

.brand-subtitle {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1f3544;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a,
.nav-cta {
    color: #35cccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-transform: none;
}

.nav-list a:hover,
.nav-list a.active,
.nav-list a[aria-current="page"] {
    color: #35cccc;
    border-bottom: 2px solid #35cccc;
    padding-bottom: 4px;
}

.nav.nav-open {
    display: block;
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.4rem 1.2rem 1.8rem;
    border-bottom: 1px solid rgba(41, 59, 72, 0.08);
    box-shadow: 0 20px 80px rgba(35, 45, 57, 0.12);
}

.nav.nav-open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-cta {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: #173044;
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover,
.btn:hover {
    background: #1f5f70;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text);
    margin: 8px 0;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 92vh;
    padding: 0;
    overflow: hidden;
    display: grid;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(7, 29, 45, 0.62) 0%, rgba(19, 53, 73, 0.68) 100%), url('../images/DSC_3435-HDR.jpg');
    background-size: cover;
    background-position: top center;
    filter: saturate(1.02) contrast(0.98);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2rem;
    align-items: start;
    min-height: 92vh;
    padding: 5rem 0 6rem;
}

.hero-copy {
    color: #fff;
    padding: 0 1rem;
}

.hero-copy h1 {
    font-size: clamp(3.4rem, 6vw, 6.2rem);
    max-width: 11ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-panel {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
}

.hero-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.4rem;
}

.hero-card h4 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    color: #f8fcff;
}

.hero-card p,
.hero-card a {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    line-height: 1.45;
}

.hero-card-strong {
    background: rgba(53, 204, 204, 0.14);
    border-color: rgba(53, 204, 204, 0.28);
}

/* =====================  WELCOME  ===================== */
.welcome {
    padding: 5rem 0 2.5rem;
    background: #ffffff;
    text-align: center;
}

.welcome-inner {
    max-width: 900px;
}

.welcome-inner .section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.welcome-inner h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text);
    margin: 0 0 1.5rem;
    line-height: 1.25;
}

.welcome-inner p {
    color: #4f626f;
    font-size: 1.05rem;
    margin: 0 0 1.2rem;
    line-height: 1.7;
}

/* =====================  STATS  ===================== */
.stats {
    padding: 2.5rem 0 3rem;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.stat-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #1f78b4;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(31, 120, 180, 0.22);
}

.stat-circle svg,
.stat-circle img {
    width: 72px;
    height: 72px;
}

.stat-circle img {
    /* Inverte il nero dell'SVG in bianco per allinearsi alle altre icone */
    filter: brightness(0) invert(1);
    /* Ingrandisce leggermente l'icona impianto rispetto alle SVG inline */
    width: 88px;
    height: 88px;
}

/* Ingrandisce l'icona smile (terzo stat-card) per coerenza visiva */
.stat-card:nth-child(3) .stat-circle svg {
    width: 88px;
    height: 88px;
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.stat-prefix {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #55606d;
    font-weight: 400;
}

.stat-value {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Lato', sans-serif;
}

.stat-card p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 400;
}

/* =====================  INFO CARDS  ===================== */
.info-cards {
    padding: 0 0 4rem;
    background: #ffffff;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 260px;
    justify-content: center;
    border-radius: 6px;
}

.info-card h4 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0.5rem 0 1rem;
}

.info-card p {
    margin: 0.15rem 0;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-card .info-strong {
    font-weight: 700;
    font-size: 1.05rem;
}

.info-card .info-phone {
    margin-top: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.info-card .info-phone a {
    color: #fff;
    text-decoration: none;
}

.info-card .info-phone a:hover {
    color: #e6f9f9;
}

.info-dark { background: #1f78b4; }
.info-cyan { background: var(--accent); }

.info-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #fff;
}

.info-icon svg {
    width: 48px;
    height: 48px;
}

.section-heading h2 {
    margin-top: 0.5rem;
}

.section-tag {
    color: #1f606d;
}

.section-subtitle {
    margin-top: 0.85rem;
    color: #55606d;
    font-size: 1rem;
    max-width: 800px;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: -1;
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card .info-phone {
        font-size: 1.6rem;
    }

    .stats { padding: 2.5rem 0 2rem; }
    .info-cards { padding-bottom: 3rem; }
}

@media (max-width: 480px) {
    .stat-circle {
        width: 110px;
        height: 110px;
    }
    .stat-circle svg,
    .stat-circle img {
        width: 56px;
        height: 56px;
    }
    .stat-circle img {
        /* Mantiene il rapporto maggiorato anche su mobile */
        width: 68px;
        height: 68px;
    }
    .stat-card:nth-child(3) .stat-circle svg {
        width: 68px;
        height: 68px;
    }
}

.hero .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
    font-size: clamp(3rem, 4.8vw, 5.8rem);
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.hero p {
    max-width: 720px;
    font-size: 1.05rem;
    margin: 1.5rem 0 2rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #35cccc 0%, #1fa9a9 100%);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #f4fbff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.section {
    padding: 6rem 0;
}

.section-inner {
    display: grid;
    gap: 2.5rem;
}

.section-heading {
    max-width: 700px;
}

.section-heading.center {
    text-align: center;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.section h2 {
    margin: 0;
    font-size: clamp(2.25rem, 3vw, 3.5rem);
    line-height: 1.03;
}

.section p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.3rem;
}

.feature-cards {
    display: grid;
    gap: 1rem;
}

.feature-card {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(53, 204, 204, 0.16);
    color: var(--accent-dark);
    font-size: 1.35rem;
}

.about-media {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-section {
    background: rgba(53, 204, 204, 0.08);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(53, 204, 204, 0.15);
    box-shadow: 0 20px 50px rgba(53, 204, 204, 0.07);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-badge {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(53, 204, 204, 0.2), rgba(53, 204, 204, 0.08));
    font-size: 1.35rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin: 0;
}

.service-card p {
    color: var(--muted);
    margin: 0;
    flex: 1;
}

.service-link {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.team-card {
    display: grid;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(32, 42, 51, 0.08);
    box-shadow: 0 28px 60px rgba(32, 42, 51, 0.08);
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
}

.team-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.team-card span {
    color: var(--accent-dark);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.4rem 1.5rem;
    background: #fff;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
}

.faq-item summary h3 {
    font-size: 1.15rem;
    margin: 0;
}

.faq-item p {
    margin: 1rem 0 0;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(53, 204, 204, 0.12);
    border-radius: 24px;
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(53, 204, 204, 0.06);
}

.contact-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(53, 204, 204, 0.16);
    font-size: 1.45rem;
}

.contact-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.contact-card p,
.contact-card a {
    margin: 0;
    color: var(--muted);
    text-decoration: none;
}

.contact-form {
    background: #fff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(32, 42, 51, 0.08);
}

.form-row {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.form-row label {
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    font-size: 1rem;
    color: var(--text);
    background: #fdfdfd;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn,
.btn-primary {
    border: none;
}

/* Banner di feedback form (success / error) — ben visibili */
.form-feedback {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.45;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    animation: feedbackSlideIn 0.35s ease;
}

.form-feedback[hidden] { display: none; }

.form-feedback-success {
    background: #e6f7ef;
    border-color: #1e8a5f;
    color: #0e5b3d;
}

.form-feedback-error {
    background: #fdecee;
    border-color: #b00020;
    color: #7a0014;
}

.form-feedback strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.form-feedback p {
    margin: 0;
    color: inherit;
    font-size: 0.95rem;
}

.form-feedback a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.form-feedback-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.form-feedback-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 0.2rem;
}

.form-feedback-close:hover { opacity: 1; }

@keyframes feedbackSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Credit Kardup nel footer */
.footer-credit {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

.footer-credit a {
    color: #00bcd4;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover { text-decoration: underline; }

.footer {
    padding: 4rem 0 2rem;
    background: #1f2d38;
    color: #c8d6dd;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-block h3,
.footer-block h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-block p,
.footer-block a,
.footer-block li {
    color: #c8d6dd;
}

.footer-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-block a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-block a:hover {
    color: #fff;
}

.social-row {
    display: flex;
    gap: 0.75rem;
}

.footer-bottom {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .about-grid,
    .service-grid,
    .team-grid,
    .gallery-grid,
    .contact-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .header-grid {
        grid-template-columns: 1fr auto;
    }

    .nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 80vh;
    }
}

@media (max-width: 640px) {
    .header {
        background: rgba(255, 255, 255, 0.94);
    }

    .hero {
        padding-top: 4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.7rem;
    }

    .hero-copy {
        padding: 0 0.5rem;
    }

    .about-grid,
    .contact-grid {
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* ========================================
   NAVBAR + HERO + VIDEO
   Stile ripreso da tepedino160526 — appeso in coda così
   sovrascrive le vecchie regole .header/.hero/.btn esistenti
   ======================================== */

:root {
    /* Variabili necessarie al nuovo blocco navbar/hero */
    --primary-color: #00bcd4;
    --primary-dark: #0097a7;
    --primary-light: #b2ebf2;
    --text-dark: #212121;
    --white: #ffffff;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --transition-normal: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
}

/* Neutralizza il vecchio header per evitare doppia barra */
.header { display: none !important; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
    text-decoration: none;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.navbar .logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: center;
}

.navbar .logo-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-title {
    color: var(--text-dark);
}

.navbar .logo-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition-normal);
    text-align: center;
}

.navbar.scrolled .logo-subtitle {
    color: var(--primary-color);
}

.navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar .nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: var(--transition-normal);
    text-decoration: none;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar .cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-block;
}

.navbar .cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.navbar .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

/* Hero con video */
.hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    background: none;
}

.hero::before,
.hero::after {
    content: none;
}

.hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.4) 0%, rgba(26, 35, 126, 0.5) 100%);
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: heroFadeInUp 1s ease;
}

@keyframes heroFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero .hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
    color: var(--white);
}

.hero .hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Responsive navbar/hero */
@media (max-width: 968px) {
    .navbar .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }

    .navbar .nav-menu.active {
        right: 0;
    }

    .navbar .nav-link {
        color: var(--text-dark);
    }

    .navbar .hamburger {
        display: flex;
    }

    .hero .hero-title {
        font-size: 2.5rem;
    }

    .hero .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .hero .hero-title {
        font-size: 2rem;
    }

    .hero .hero-buttons {
        flex-direction: column;
    }

    .hero .btn {
        width: 100%;
        justify-content: center;
    }
}
