/* Slan Group Main Stylesheet */
:root {
    --primary-red: #d9232a;
    --primary-darkred: #b31920;
    --navy-blue: #222e64;
    --navy-dark: #161c42;
    --light-blue: #00a0e3;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy-blue);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p.lead-text { font-size: 1.2rem; color: var(--navy-blue); font-weight: 500; }

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-center { align-items: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background-color: var(--navy-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--navy-blue);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-primary-nav {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.6rem 1.25rem;
}

.btn-primary-nav:hover {
    background-color: var(--primary-darkred);
}

.btn-full { width: 100%; }

/* Section Header */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Header & Nav */
.header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 6rem 0 7rem 0;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    border: 30px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    background: rgba(217, 35, 42, 0.2);
    color: #fca5a5;
    border: 1px solid var(--primary-red);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--white);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border-top: 4px solid var(--primary-red);
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Nosotros */
.nosotros-text p {
    color: var(--text-muted);
}

.features-list {
    margin-top: 1.5rem;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.feature-item i {
    color: var(--primary-red);
}

.nosotros-card {
    height: 100%;
}

.card-gradient {
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-dark));
    color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.card-gradient h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.card-gradient p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.red-accent {
    background-color: rgba(217, 35, 42, 0.1);
    color: var(--primary-red);
}

.blue-accent {
    background-color: rgba(34, 46, 100, 0.1);
    color: var(--navy-blue);
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.service-list i {
    color: var(--primary-red);
    font-size: 0.85rem;
}

.highlight-card {
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-dark));
    color: var(--white);
}

.highlight-card h3 { color: var(--white); }
.highlight-card p { color: #cbd5e1; }
.span-2 { grid-column: span 2; }

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.chip {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--white);
}

/* Productores */
.pas-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pas-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.pas-icon {
    background: rgba(217, 35, 42, 0.1);
    color: var(--primary-red);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pas-cta-card {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-darkred));
    color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.pas-cta-card h3 { color: var(--white); margin-bottom: 1rem; }
.pas-cta-card p { color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; font-size: 1.1rem; }

/* Gestion */
.gestion-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border-top: 3px solid var(--navy-blue);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.gestion-card:hover {
    transform: translateY(-3px);
}

.g-icon {
    font-size: 1.75rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.gestion-card h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.gestion-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Contacto */
.contacto-section {
    background: var(--navy-dark);
    color: var(--white);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.contact-info-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.contact-info-item h5 {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-item p {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-blue);
}

/* Footer */
.footer {
    background-color: #0d1127;
    color: #94a3b8;
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .span-2 { grid-column: span 1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-item { border-right: none; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.25rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    
    .mobile-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 1.5rem;
    }
    
    .nav.active { display: block; }
    .nav-list { flex-direction: column; align-items: flex-start; }
}
