/* ============================================
   FONTIBER INDUSTRIAL PARTNERS — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Colors — Deep Blue + Copper */
    --color-dark: #0c1932;
    --color-dark-alt: #142850;
    --color-accent: #c75b39;
    --color-accent-hover: #b04e30;
    --color-light: #f5f3ef;
    --color-light-alt: #eae7e0;
    --color-white: #ffffff;
    --color-text-dark: #0c1932;
    --color-text-light: #f5f3ef;
    --color-text-muted: #5a6478;
    --color-border: rgba(12, 25, 50, 0.1);
    --color-border-light: rgba(245, 243, 239, 0.15);
    --color-whatsapp: #25D366;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Sizes */
    --container-max: 1200px;
    --navbar-height: 72px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.text-accent {
    color: var(--color-accent);
}

.text-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    letter-spacing: 0.02em;
}

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

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 91, 57, 0.3);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.btn--large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-color: var(--color-whatsapp);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    width: 100%;
}

.btn--whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar--scrolled {
    background: rgba(12, 25, 50, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar__logo {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    z-index: 1001;
    line-height: 1;
}

.logo-fontiber {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    line-height: 1;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    align-self: center;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    top: -1px;
}

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

.navbar__menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    position: relative;
}

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

.navbar__menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.navbar__menu a:hover::after {
    width: 100%;
}

.navbar__cta {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600 !important;
}

.navbar__cta::after {
    display: none !important;
}

.navbar__cta:hover {
    background: var(--color-accent-hover) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(12, 25, 50, 0.88) 0%, rgba(20, 40, 75, 0.85) 50%, rgba(12, 25, 50, 0.90) 100%),
        url('../assets/images/AdobeStock_1.jpeg') center/cover no-repeat fixed;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(199, 91, 57, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(20, 40, 75, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-xl);
    max-width: 900px;
}

.hero__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(199, 91, 57, 0.3);
    border-radius: 50px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   SECTIONS — Common
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
}

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

.section--dark {
    background-color: var(--color-dark);
}

.section--cta {
    background:
        linear-gradient(135deg, rgba(199, 91, 57, 0.95) 0%, rgba(176, 78, 48, 0.95) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
}

.section--cta .section__tag {
    color: rgba(255, 255, 255, 0.8);
}

.section--cta .section__title {
    color: var(--color-white);
}

.section--cta .section__title .text-accent {
    color: var(--color-white);
}

.section--cta .section__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section__tag {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section__tag--light {
    color: var(--color-accent);
}

.section__title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section__title--light {
    color: var(--color-white);
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   PROYECTO
   ============================================ */
.proyecto__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.proyecto__text p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
    font-size: 1.02rem;
}

.proyecto__text .text-lead {
    color: var(--color-text-dark);
    font-weight: 500;
}

.proyecto__vision {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.vision-card {
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
    border-color: rgba(199, 91, 57, 0.2);
}

.vision-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 91, 57, 0.08);
    border-radius: 12px;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.vision-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.vision-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   BENEFITS (Por Qué)
   ============================================ */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(199, 91, 57, 0.3);
    transform: translateY(-4px);
}

.benefit-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 91, 57, 0.12);
    border-radius: 14px;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   TIMELINE (Proceso)
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), rgba(199, 91, 57, 0.15));
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__number {
    position: absolute;
    left: -80px;
    top: -2px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    z-index: 1;
    line-height: 1;
    padding-bottom: 3px;
}

.timeline__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.timeline__duration {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(199, 91, 57, 0.1);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline__content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   TEAM
   ============================================ */
.team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.team-card__photo {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(199, 91, 57, 0.3);
    background: var(--color-light);
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.team-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 91, 57, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

.team-card__info h3 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.team-card__bio {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.team-card__linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.team-card__linkedin:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ============================================
   PARALLAX DIVIDERS
   ============================================ */
.parallax-divider {
    height: 350px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12, 25, 50, 0.3) 0%, rgba(12, 25, 50, 0.15) 50%, rgba(12, 25, 50, 0.3) 100%);
}

.parallax-divider--1 {
    background-image: url('../assets/images/AdobeStock_2.jpeg');
}

.parallax-divider--2 {
    background-image: url('../assets/images/AdobeStock_5.jpeg');
}

.parallax-divider--3 {
    background-image: url('../assets/images/AdobeStock_3.jpeg');
}

.parallax-divider--4 {
    background-image: url('../assets/images/AdobeStock_7.jpeg');
}

/* Disable fixed attachment on mobile (not supported on iOS) */
@media (max-width: 768px) {
    .parallax-divider {
        background-attachment: scroll;
        height: 250px;
    }
    .hero {
        background-attachment: scroll !important;
    }
}

/* ============================================
   PROYECTO IMAGE
   ============================================ */
.proyecto__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.proyecto__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: var(--space-3xl) 0;
    background:
        linear-gradient(135deg, rgba(199, 91, 57, 0.95) 0%, rgba(176, 78, 48, 0.95) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
}

.cta-banner__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.cta-banner .btn--primary {
    background: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-white);
}

.cta-banner .btn--primary:hover {
    background: var(--color-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTACT
   ============================================ */
.contacto__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-form {
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

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

.form-group .optional {
    font-weight: 400;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: var(--color-light);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.1);
    background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: var(--space-xs);
}

.form-disclaimer {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Contact info sidebar */
.contacto__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contacto__direct h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.contacto__direct > p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.contacto__method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.contacto__method svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.contacto__method a {
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contacto__method a:hover {
    color: var(--color-accent);
}

.contacto__whatsapp {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.contacto__whatsapp-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    text-align: center;
}

.contacto__trust {
    padding: var(--space-md);
    background: rgba(199, 91, 57, 0.04);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-dark);
}

.trust-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .navbar__logo {
    margin-bottom: var(--space-sm);
}

.footer__brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 350px;
}

.footer__links,
.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links h4,
.footer__legal h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.footer__links a,
.footer__legal a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer__links a:hover,
.footer__legal a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.benefits__grid .benefit-card:nth-child(1) { transition-delay: 0s; }
.benefits__grid .benefit-card:nth-child(2) { transition-delay: 0.1s; }
.benefits__grid .benefit-card:nth-child(3) { transition-delay: 0.2s; }
.benefits__grid .benefit-card:nth-child(4) { transition-delay: 0.3s; }
.benefits__grid .benefit-card:nth-child(5) { transition-delay: 0.4s; }
.benefits__grid .benefit-card:nth-child(6) { transition-delay: 0.5s; }

.proyecto__vision .vision-card:nth-child(1) { transition-delay: 0s; }
.proyecto__vision .vision-card:nth-child(2) { transition-delay: 0.15s; }
.proyecto__vision .vision-card:nth-child(3) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .proyecto__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 3.5rem;
    }

    /* Mobile nav */
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--navbar-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        background: rgba(12, 25, 50, 0.98);
        backdrop-filter: blur(16px);
        transition: right var(--transition-base);
        gap: var(--space-md);
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__menu a {
        font-size: 1.1rem;
    }

    .navbar__cta {
        margin-top: var(--space-sm);
    }

    /* Hero */
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Benefits */
    .benefits__grid {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline {
        padding-left: 60px;
    }

    .timeline::before {
        left: 19px;
    }

    .timeline__number {
        left: -60px;
        top: -2px;
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    /* Team */
    .team__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* Contact form */
    .contact-form {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
    }

    /* Footer */
    .footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .section__title {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }
}
