/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-red: #CE1126;
    --primary-dark: #A00E1E;
    --accent-gold: #FFC72C;
    --accent-gold-hover: #E6B225;
    --accent-green: #006B3F;
    --text-main: #172B4D;
    --text-light: #5E6C84;
    --bg-body: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-light-red: #FFF0F0;
    --border-color: #DFE1E6;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 5rem 2rem;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--text-main);
}

.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

.nav {
    display: none;
}

@media (min-width: 968px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav a {
        font-weight: 500;
        color: var(--text-light);
        font-size: 0.95rem;
    }

    .nav a:hover {
        color: var(--primary-red);
    }

    .nav .btn-primary {
        color: white !important;
    }
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin-bottom: 5px;
    transition: var(--transition);
}

.mobile-toggle span:last-child {
    margin-bottom: 0;
}

@media (min-width: 968px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-menu.active {
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
    padding: calc(var(--header-height) + 4rem) 0 6rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-contact {
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-contact a {
    color: var(--accent-gold);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-badge::before {
    content: '✓';
    color: var(--accent-gold);
    font-weight: bold;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.about-content {
    flex: 1;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

@media (min-width: 968px) {
    .about-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--bg-body);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-card h3 {
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* ===== SERVICES ===== */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light-red);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '•';
    color: var(--accent-gold);
    font-size: 1.5rem;
    line-height: 0;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    padding: 2rem 1rem;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* ===== STATS STRIP ===== */
.stats {
    background-color: var(--primary-red);
    padding: 3rem 0;
    color: white;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--accent-gold);
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--section-padding);
    background-color: var(--bg-body);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(206, 17, 38, 0.1);
}

.contact-info-card {
    background-color: var(--bg-white);
    color: var(--text-main);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item:last-of-type {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.25rem;
    background-color: var(--bg-light-red);
    color: var(--primary-red);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content {
    padding-top: 0.25rem;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.info-content p,
.info-content a {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    display: block;
}

.info-content a:hover {
    color: var(--primary-red);
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    width: 100%;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #091E42;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.back-to-top {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.back-to-top:hover {
    text-decoration: underline;
}