/* =========================================================
   TRISTAR LOGISTICS PERU — Rediseño 2026
   Basado en el mockup aprobado. Paleta navy + dorado.
   ========================================================= */
:root {
    --navy: #0A192F;
    --navy-light: #112240;
    --navy-lighter: #1a2f4f;
    --gold: #C9A96E;
    --gold-light: #D4B87A;
    --gold-muted: rgba(201, 169, 110, 0.15);
    --cream: #F5F5F0;
    --white: #FFFFFF;
    --gray: #8892B0;
    --gray-light: #CCD6F6;
    --border: rgba(201, 169, 110, 0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 48px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; }
.nav-only-mobile { display: none; }
.nav-logo span { color: var(--gold); }
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    text-transform: uppercase;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-extranet {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}
.nav-extranet:hover {
    background: var(--gold);
    color: var(--navy);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 72px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--navy) 0%, #0d1b2a 40%, var(--navy-light) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
    top: 5%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}
.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.04) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float 12s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--gold);
    padding: 8px 24px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 500;
}
.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(201,169,110,0); }
}
.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
}
.hero h1 em {
    color: var(--gold);
    font-style: normal;
    display: block;
    margin-top: 8px;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 48px;
}
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 18px 44px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(201, 169, 110, 0.25);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 18px 44px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.4s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,169,110,0.05);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(201,169,110,0.2);
}
.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}
.stat-label {
    font-size: 10px;
    color: var(--gray);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 500;
}
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* SECTIONS */
.section {
    padding: 120px 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 80px; }
.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}
.section-divider { width: 60px; height: 2px; background: var(--gold); margin: 0 auto; }
.section-desc {
    font-size: 17px;
    color: var(--gray);
    max-width: 640px;
    margin: 24px auto 0;
    line-height: 1.8;
    font-weight: 300;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 300;
}
.about-text strong { color: var(--navy); font-weight: 600; }
.about-image {
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-image::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 2px;
}
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(201,169,110,0.03) 49%, rgba(201,169,110,0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(201,169,110,0.03) 49%, rgba(201,169,110,0.03) 51%, transparent 52%);
    background-size: 30px 30px;
}
.about-image-text {
    position: relative;
    z-index: 2;
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 72px;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}
.about-image-text small {
    display: block;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 16px;
    font-weight: 400;
}

/* SERVICES */
.services-section { background: var(--navy); padding: 120px 48px; }
.services-section .section-title { color: var(--white); }
.services-section .section-desc { color: var(--gray); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid var(--border);
    padding: 48px 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-12px);
    background: rgba(17, 34, 64, 0.85);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.service-icon {
    width: 56px;
    height: 56px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--gold);
    font-size: 22px;
    transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--gold); color: var(--navy); }
.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 14px;
    font-weight: 600;
}
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; font-weight: 300; }

/* TARIFAS */
.tarifas-section { background: var(--cream); padding: 120px 48px; }
.tarifas-badge-wrap { text-align: center; margin-bottom: 48px; }
.tarifas-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: var(--gold);
    padding: 12px 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.tarifas-badge .dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.tarifas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.tarifa-card {
    background: var(--white);
    border: 1px solid #E9ECEF;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.tarifa-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.tarifa-header {
    background: var(--navy);
    color: var(--white);
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tarifa-header h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 600; }
.tarifa-header .tipo {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1px solid rgba(201,169,110,0.3);
    padding: 5px 14px;
    font-weight: 600;
}
.tarifa-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.2s;
}
.tarifa-row:hover { background: #FAFAFA; }
.tarifa-row:last-child { border-bottom: none; }
.tarifa-row .concepto { font-size: 14px; color: var(--gray); font-weight: 400; }
.tarifa-row .precio-wrap { text-align: right; }
.tarifa-row .precio {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
}
.tarifa-row .unidad {
    font-size: 10px;
    color: var(--gray);
    margin-left: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tarifa-footer {
    background: #FAFAFA;
    padding: 18px 32px;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
    border-top: 1px solid #F0F0F0;
}
.tarifa-footer strong { color: var(--navy); font-weight: 600; }
.tarifas-legal {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 32px 40px;
    background: var(--white);
    border-left: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.tarifas-legal p { font-size: 13px; color: var(--gray); line-height: 1.9; margin: 0 0 16px; }
.tarifas-legal p:last-child { margin-bottom: 0; }
.tarifas-legal strong { color: var(--navy); font-weight: 600; }
.tarifas-legal .vigencia {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--navy);
    font-weight: 600;
    letter-spacing: 1px;
}
.tarifas-legal .vigencia-icon {
    width: 24px; height: 24px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 11px;
}

/* TESTIMONIALS */
.testimonials-section { background: var(--white); padding: 120px 48px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--cream);
    padding: 48px;
    position: relative;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 120px;
    color: rgba(201,169,110,0.12);
    position: absolute;
    top: -10px;
    left: 24px;
    line-height: 1;
}
.testimonial-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-info h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 2px;
}
.testimonial-info span { font-size: 12px; color: var(--gray); letter-spacing: 1px; }

/* INFO / ACCORDION */
.info-section { background: var(--navy); padding: 120px 48px; }
.info-section .section-title { color: var(--white); }
.info-section .section-desc { color: var(--gray); }
.accordion { max-width: 900px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
}
.accordion-header:hover { color: var(--gold); }
.accordion-header .arrow {
    width: 32px; height: 32px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 12px;
    transition: all 0.3s;
    flex-shrink: 0;
}
.accordion-item.active .accordion-header .arrow {
    transform: rotate(180deg);
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s;
}
.accordion-item.active .accordion-body { max-height: 1200px; padding: 0 0 32px 0; }
.accordion-body ul { list-style: none; padding: 0; }
.accordion-body li {
    padding: 10px 0 10px 28px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    position: relative;
    font-weight: 300;
}
.accordion-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 1px;
    background: var(--gold);
}
.accordion-body li ol { margin-top: 8px; padding-left: 20px; }
.accordion-body li ol li { padding-left: 0; }
.accordion-body li ol li::before { display: none; }
.accordion-body li ol li::marker { color: var(--gold); }
.accordion-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,169,110,0.4); }
.accordion-body a:hover { color: var(--gold-light); }
.accordion-table-wrap { overflow-x: auto; margin-top: 16px; }
.accordion-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.accordion-table th {
    background: var(--navy-lighter);
    color: var(--gold);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 10px;
    border-bottom: 1px solid var(--border);
}
.accordion-table td {
    padding: 14px 16px;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
    font-weight: 300;
}
.accordion-table tr:hover td { background: rgba(201,169,110,0.03); }

/* POLITICA */
.politica-section { background: var(--cream); padding: 120px 48px; }
.politica-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 64px;
    border: 1px solid #E9ECEF;
    position: relative;
}
.politica-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--navy));
}
.politica-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 8px;
}
.politica-content .subtitle {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 32px;
}
.politica-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 24px;
    font-weight: 300;
}
.politica-content ul { list-style: none; padding: 0; margin-bottom: 32px; }
.politica-content li {
    padding: 12px 0 12px 32px;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    position: relative;
    border-bottom: 1px solid #F5F5F5;
    font-weight: 300;
}
.politica-content li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
}
.politica-firma { margin-top: 40px; padding-top: 32px; border-top: 1px solid #E9ECEF; }
.politica-firma .meta { font-size: 12px; color: var(--gray); margin-bottom: 16px; line-height: 1.8; }
.politica-firma .nombre {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--navy);
    font-weight: 700;
}

/* CERTIFICACIONES */
.cert-section { background: var(--white); padding: 100px 48px; text-align: center; }
.cert-grid { display: flex; justify-content: center; gap: 100px; margin-top: 56px; flex-wrap: wrap; }
.cert-item { text-align: center; }
.cert-logo {
    height: 120px;
    width: auto;
    margin: 0 auto 20px;
    object-fit: contain;
    transition: transform 0.4s;
}
.cert-item:hover .cert-logo { transform: scale(1.05); }
.cert-item h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 6px;
}
.cert-item p {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* MAP */
.map-section {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #1a2f4f, var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.map-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(201,169,110,0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(201,169,110,0.03) 0%, transparent 40%);
}
.map-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.25) contrast(1.05);
}
.map-placeholder { position: relative; z-index: 2; text-align: center; }
.map-placeholder .pin {
    width: 60px; height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--gold);
    font-size: 24px;
    animation: pin-bounce 2s infinite;
}
@keyframes pin-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.map-placeholder h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 8px;
}
.map-placeholder p { color: var(--gray); font-size: 15px; margin-bottom: 20px; }
.map-placeholder a {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: all 0.3s;
}
.map-placeholder a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.map-card {
    position: absolute;
    bottom: 40px;
    left: 48px;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    padding: 32px;
    border: 1px solid var(--border);
    max-width: 320px;
    z-index: 3;
}
.map-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 12px;
}
.map-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }
.map-card a {
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    transition: color 0.3s;
}
.map-card a:hover { color: var(--gold-light); }

/* CONTACT */
.contact-section { background: var(--navy); padding: 120px 48px; }
.contact-section .section-title { color: var(--white); }
.contact-section .section-desc { color: var(--gray); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}
.contact-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 40px;
}
.contact-item { display: flex; gap: 20px; margin-bottom: 32px; }
.contact-item-icon {
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s;
}
.contact-item:hover .contact-item-icon { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.contact-item-text { font-size: 14px; color: var(--gray); line-height: 1.7; }
.contact-item-text strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.contact-item-text a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.contact-item-text a:hover { color: var(--gold); }
.contact-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.contact-actions .btn-small { padding: 12px 24px; font-size: 11px; }

/* CONTACT FORM (estructura real #frmrec) */
.contact-form {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid var(--border);
    padding: 48px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 10px;
    color: var(--gray);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}
.form-text {
    width: 100%;
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(136, 146, 176, 0.15);
    padding: 16px 18px;
    color: var(--white);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}
.form-text:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(10, 25, 47, 0.8);
}
.form-text::placeholder { color: rgba(136, 146, 176, 0.4); }
textarea.form-text { resize: vertical; min-height: 120px; }
select.form-text {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892B0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
select.form-text option { background: var(--navy); color: var(--white); }
.form-submit { width: 100%; margin-top: 8px; }
#mensaje {
    margin-top: 20px;
    border: 1px solid var(--gold);
    background: rgba(201, 169, 110, 0.1);
    padding: 18px 20px;
    color: var(--gray-light);
    font-size: 13px;
    line-height: 1.7;
    display: none;
}

/* FOOTER */
.footer {
    background: #070f1e;
    border-top: 1px solid var(--border);
    padding: 48px;
    text-align: center;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 32px;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: var(--white);
    letter-spacing: 3px;
}
.footer-logo img { height: 34px; width: auto; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-divider { width: 100%; height: 1px; background: var(--border); max-width: 1200px; margin: 0 auto 24px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { font-size: 12px; color: var(--gray); letter-spacing: 0.5px; }
.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-legal a:hover { color: var(--gold); }

/* COOKIE BANNER */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    max-width: 720px;
    margin: 0 auto;
    background: var(--navy-light);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1 1 320px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-light);
    font-weight: 300;
}
.cookie-text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,169,110,0.4); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
    padding: 11px 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--gold);
    transition: all 0.3s;
}
.cookie-reject { background: transparent; color: var(--gold); }
.cookie-reject:hover { background: rgba(201,169,110,0.1); }
.cookie-accept { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.cookie-accept:hover { background: var(--gold-light); }
@media (max-width: 600px) {
    .cookie-banner { padding: 18px; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; }
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4); }

/* REVEAL ON SCROLL — solo se oculta si el JS cargó (html.js).
   Si el JS falla, el contenido queda visible igual. */
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .hero-stats { gap: 48px; }
    .stat-item:not(:last-child)::after { display: none; }
    .about-grid { gap: 48px; }
}
@media (max-width: 960px) {
    .navbar { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: var(--navy);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open .nav-only-mobile { display: block; }
    .nav-links.open .nav-only-mobile a { color: var(--gold); }
    .mobile-toggle { display: block; }
    .nav-extranet { display: none; }
}
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .hero { min-height: auto; padding: 120px 24px 80px; }
    .hero h1 { font-size: 34px; }
    .hero-stats { gap: 32px; }
    .section { padding: 80px 24px; }
    .about-grid,
    .contact-grid,
    .tarifas-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .services-section,
    .tarifas-section,
    .testimonials-section,
    .info-section,
    .politica-section,
    .contact-section { padding: 80px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .map-card { left: 24px; right: 24px; max-width: none; }
    .politica-content { padding: 40px 24px; }
    .cert-grid { gap: 48px; }
    .footer-top,
    .footer-bottom { flex-direction: column; text-align: center; }
    .scroll-indicator { display: none; }
}
