@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-red: #A02C2C;
    --brand-red-rgb: 160, 44, 44;
    --brand-red-dark: #7E2222;
    --brand-black: #111111;
    --brand-white: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.font-bold {
    font-weight: 800;
}

.text-6xl, .text-7xl {
    font-weight: 900;
    letter-spacing: -0.03em;
}

.text-brand-red { color: var(--brand-red); }
.bg-brand-red { background-color: var(--brand-red); }
.bg-brand-red-soft { background-color: rgba(var(--brand-red-rgb), 0.8); }
.text-brand-black { color: var(--brand-black); }
.bg-brand-black { background-color: var(--brand-black); }
.border-brand-red { border-color: var(--brand-red); }

/* Responsive Design */
@media (max-width: 640px) {
    .text-6xl { font-size: 2rem; }
    .text-7xl { font-size: 2.5rem; }
    .text-5xl { font-size: 1.75rem; }
    .text-4xl { font-size: 1.5rem; }
    .text-3xl { font-size: 1.25rem; }
    .text-2xl { font-size: 1.125rem; }
    .text-xl { font-size: 1rem; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .text-6xl { font-size: 2.5rem; }
    .text-7xl { font-size: 3rem; }
    .text-5xl { font-size: 2rem; }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .text-6xl { font-size: 3rem; }
    .text-7xl { font-size: 3.5rem; }
    .text-5xl { font-size: 2.25rem; }
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .text-6xl { font-size: 3.5rem; }
    .text-7xl { font-size: 4rem; }
    .text-5xl { font-size: 2.5rem; }
}

@media (min-width: 1921px) {
    .text-6xl { font-size: 4rem; }
    .text-7xl { font-size: 4.5rem; }
    .text-5xl { font-size: 3rem; }
}

/* Container responsive */
.container-responsive {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-responsive { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .container-responsive { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
    .container-responsive { padding-left: 2.5rem; padding-right: 2.5rem; }
}

@media (min-width: 1280px) {
    .container-responsive {
        max-width: 1280px;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1536px) {
    .container-responsive {
        max-width: 1400px;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}


.btn-primary {
    background: rgba(var(--brand-red-rgb), 0.85);
    transition: all 0.3s ease;
    color: var(--brand-white);
    backdrop-filter: blur(4px);
}

.btn-primary:hover {
    background: rgba(var(--brand-red-rgb), 0.95);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--brand-white);
    color: var(--brand-black);
    border: 2px solid var(--brand-white);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--brand-white);
    border-color: var(--brand-white);
    transform: translateY(-2px);
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.section-divider {
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    height: 2px;
    margin: 3rem 0;
}

/* Standardized background color */
.bg-standard {
    background-color: #FAFAFA;
}

.bg-gradient-standard {
    background: linear-gradient(135deg, #FAFAFA, #F3F4F6);
}

/* Logo text scroll effect */
.logo-text {
    color: white;
    font-weight: 800;
    transition: color 0.3s ease;
}

.logo-text.scrolled {
    color: black;
    font-weight: 800;
}

/* Scroll reveal animations — bidirectional (in & out on scroll) */
.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition:
        opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.reveal-fade {
    transform: scale(0.99);
}

.reveal.reveal-left {
    transform: translateX(-36px) scale(0.98);
}

.reveal.reveal-right {
    transform: translateX(36px) scale(0.98);
}

.reveal.reveal-up {
    transform: translateY(36px) scale(0.98);
}

.reveal.reveal-scale {
    transform: translateY(24px) scale(0.94);
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile-safe helpers */
@media (max-width: 767px) {
    .wa-tooltip {
        display: none !important;
    }

    .hero-section {
        min-height: 70vh !important;
    }
}
