:root {
    --primary: #B80018;
    --accent: #FFE135;
    --accent-dark: #e6c800;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-dark);
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: 0;
    left: -9999px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.navbar.scrolled .nav-container {
    padding: 1rem 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: font-size 0.3s ease;
}

.navbar.scrolled .logo {
    font-size: 1.35rem;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 48px;
    height: 48px;
    display: block;
    transition: all 0.3s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.navbar.scrolled .logo-icon img {
    width: 38px;
    height: 38px;
}

.logo-name {
    display: flex;
    align-items: center;
}

.logo-name-img {
    height: 34px;
    display: block;
    transition: all 0.3s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.navbar.scrolled .logo-name-img {
    height: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: #0a0a0a !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Video Section */
.hero-video {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 2rem;
    padding-left: max(4.5rem, calc((100% - 1260px) / 2 + 4.5rem));
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-title-logo {
    margin-bottom: 1rem;
}

.hero-logo-img {
    height: 80px;
    display: block;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 600px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-cta {
    background: var(--primary);
    color: #0a0a0a;
    padding: 16px 40px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Container */
.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 2.2rem;
}

section {
    position: relative;
    overflow: hidden;
    background-color: inherit;
}

main {
    background: var(--bg-dark);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Wellhub Section */
.wellhub-section {
    padding: 5rem 0;
    background: var(--primary);
}

.wellhub-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.wellhub-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.wellhub-divider {
    width: 80px;
    height: 4px;
    margin: 0 auto 2rem;
    background: var(--accent);
    border-radius: 2px;
}

.wellhub-text p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.wellhub-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #0a0a0a;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.wellhub-cta:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

.wellhub-cta svg {
    width: 24px;
    height: 24px;
}

/* Contacts Section */
.contacts-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card--location:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(253, 53, 50, 0.2);
}

.contact-card--phone:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(255, 225, 53, 0.2);
}

.contact-card--whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.contact-card--instagram:hover {
    border-color: #E4405F;
    box-shadow: 0 8px 24px rgba(228, 64, 95, 0.2);
}

.contact-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-card--location .contact-card__icon {
    background: rgba(253, 53, 50, 0.15);
    color: var(--primary);
}

.contact-card--phone .contact-card__icon {
    background: rgba(255, 225, 53, 0.15);
    color: var(--accent);
}

.contact-card--whatsapp .contact-card__icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.contact-card--instagram .contact-card__icon {
    background: rgba(228, 64, 95, 0.15);
    color: #E4405F;
}

.contact-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-card__info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.contact-card__action {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: color 0.2s ease;
}

.contact-card--location .contact-card__action {
    color: var(--primary);
}

.contact-card--phone .contact-card__action {
    color: var(--accent);
}

.contact-card--whatsapp .contact-card__action {
    color: #25D366;
}

.contact-card--instagram .contact-card__action {
    color: #E4405F;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Footer */
.footer {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-video {
        height: 60vh;
        min-height: 400px;
    }

    .hero-overlay {
        padding-left: 4.5rem;
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-icon img {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-link:hover {
        color: var(--primary);
        padding-left: 0.5rem;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-video {
        height: 70vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo-img {
        height: 50px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .hero-overlay {
        padding-left: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .wellhub-section {
        padding: 3rem 0;
    }

    .wellhub-text h2 {
        font-size: 2rem;
    }

    .wellhub-text p {
        font-size: 1rem;
    }

    .contacts-section {
        padding: 3rem 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .map-container {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        padding: 10px;
    }
}
