/* ===================================
   Grupo Aryant de Mexico - Landing Page
   Lightweight, Fast Loading
   =================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d2d2d;
    background: #fff;
    overflow-x: hidden;
}
img { max-width: 50%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }

/* Variables */
:root {
    --orange: #f47216;
    --orange-light: #fb923c;
    --orange-dark: #ea580c;
    --gray-900: #1f1f1f;
    --gray-700: #404040;
    --gray-500: #6b6b6b;
    --gray-300: #d4d4d4;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-gradient {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .875rem 1.75rem;
    font-size: .9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244,114,22,.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-white {
    background: var(--white);
    color: var(--orange);
    border-color: var(--white);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-full { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-300);
    padding: 1rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .9375rem; font-weight: 500; color: var(--gray-700); }
.nav a:hover { color: var(--orange); }
.btn-nav {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white) !important;
    padding: .625rem 1.25rem;
    border-radius: 6px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all .3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, #2d2d2d 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f47216' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(244,114,22,.15);
    color: var(--orange-light);
    padding: .375rem 1rem;
    border-radius: 50px;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-text h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo-img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(244,114,22,.25));
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    padding: 3rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: .9375rem;
    color: rgba(255,255,255,.85);
    margin-top: .5rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-dark .section-tag { background: rgba(244,114,22,.15); color: var(--orange-light); }
.section-dark h2 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--orange);
    padding: .375rem 1rem;
    border-radius: 50px;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    max-width: 700px;
    margin: 0 auto;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 4rem;
    align-items: center;
}
.about-lead {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}
.about-content p { color: var(--gray-500); margin-bottom: 1rem; }
.about-highlights { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.highlight {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 500;
    color: var(--gray-700);
}
.highlight svg {
    width: 20px;
    height: 20px;
    color: var(--orange);
    flex-shrink: 0;
}
.about-visual { display: flex; justify-content: center; }
.about-card {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.about-icon svg { width: 48px; height: 48px; margin-bottom: 1rem; }
.about-year { display: block; font-size: 3rem; font-weight: 800; line-height: 1; }
.about-milestone { display: block; font-size: .9375rem; opacity: .9; margin-top: .5rem; }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all .3s;
}
.service-card:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-4px);
    border-color: var(--orange);
}
.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; color: var(--white); }
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .75rem; }
.service-card p { font-size: .9375rem; color: var(--gray-300); line-height: 1.6; }

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.why-card {
    padding: 2rem;
    border-left: 3px solid var(--orange);
    background: var(--gray-100);
    border-radius: 0 8px 8px 0;
}
.why-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    opacity: .3;
    line-height: 1;
    margin-bottom: .5rem;
}
.why-card h3 { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: .5rem; }
.why-card p { font-size: .875rem; color: var(--gray-500); }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    padding: 4rem 0;
    text-align: center;
}
.cta-inner h2 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.cta-inner p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; font-size: 1.0625rem; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .25rem; }
.contact-tagline { color: var(--orange-light); margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(244,114,22,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--orange-light); }
.contact-label { display: block; font-size: .8125rem; color: var(--gray-500); }
.contact-item a, .contact-item span { font-weight: 500; color: var(--white); }
.contact-item a:hover { color: var(--orange-light); }

/* Form */
.contact-form {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group-full { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .5rem;
    color: var(--gray-300);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: .875rem 1rem;
    font-size: .9375rem;
    font-family: inherit;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: var(--white);
    transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

/* Footer */
.footer {
    background: #111;
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand img { margin: 0 auto 1rem; }
.footer-brand p { font-size: .875rem; color: var(--gray-500); }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.footer-links a { font-size: .9375rem; font-weight: 500; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .8125rem; color: var(--gray-500); }
.footer-bottom p + p { margin-top: .25rem; }

/* Mobile Nav */
@media (max-width: 768px) {
    .nav { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }
    .nav.active { display: flex; }
    .nav a { color: var(--gray-700); }
    .nav-toggle { display: flex; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-logo { display: none; }
    .hero-buttons { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 1.75rem; }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .stat-number, .about-year { animation: countUp 1s ease-out; }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
