/* ========================================
   RGV Health Insurance - Brand Styles
   ======================================== */

:root {
    --color-burgundy: #7B2D3B;
    --color-burgundy-dark: #5A1F2A;
    --color-blush: #F4C2C2;
    --color-blush-light: #FDE8E8;
    --color-white: #FFFFFF;
    --color-off-white: #FAFAFA;
    --color-text: #1A1A1A;
    --color-text-light: #4A4A4A;
    --color-bg-pattern: #F5F0F0;
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 8px 24px rgba(123, 45, 59, 0.12);
    --shadow-lg: 0 16px 48px rgba(123, 45, 59, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-pattern);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-burgundy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-burgundy);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.btn-secondary:hover {
    background-color: var(--color-blush-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.btn-outline:hover {
    background-color: var(--color-burgundy);
    color: var(--color-white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Background Shapes */
.bg-shape {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-blush) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    opacity: 0.4;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-blush-light) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    opacity: 0.5;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-blush);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-burgundy);
    background: var(--color-blush);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-burgundy);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-burgundy);
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-blush-light) 0%, var(--color-bg-pattern) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero-title .accent {
    color: var(--color-burgundy);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-main {
    width: 320px;
    height: 420px;
    top: 20px;
    right: 0;
}

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

.card-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

.card-accent {
    width: 180px;
    height: 180px;
    bottom: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-blush);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-burgundy);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 600;
}

.card-info {
    width: 220px;
    padding: 20px;
    bottom: 0;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-info svg {
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.card-title {
    font-weight: 700;
    color: var(--color-text);
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--color-bg-pattern);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-blush);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: var(--color-burgundy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--color-bg-pattern);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.about-content .lead {
    font-size: 1.25rem;
    color: var(--color-burgundy);
    font-weight: 600;
    margin-bottom: 16px;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-weight: 500;
}

.feature-list svg {
    color: var(--color-burgundy);
    flex-shrink: 0;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: var(--color-burgundy);
    color: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-blush);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--color-blush-light);
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content .section-subtitle {
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

.footer-info h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--color-blush);
}

.footer-contact a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-blush);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .card-main {
        width: 260px;
        height: 340px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container,
    .cta-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-badge {
        right: 20px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-visual {
        height: 320px;
    }
    
    .card-accent {
        width: 140px;
        height: 140px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .card-info {
        width: 180px;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
    }
}
