@import 'variables.css';

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

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

/* -------------
   HEADER
   ------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--primary-color); /* solid aerowise style */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scrolled state */
.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.logo-container {
    height: 45px;
}

.logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Nav */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-item {
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    color: #e0e0e0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width var(--transition-speed) ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link i {
    font-size: 0.8rem;
}

/* Dropdown */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-speed) ease;
    border-top: 3px solid var(--accent-blue);
}

.nav-item.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    display: block;
    padding: 15px 20px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 300;
    font-family: var(--font-base);
    text-transform: none;
    letter-spacing: normal;
}

.submenu li a:hover {
    background-color: var(--primary-light);
    color: white;
}

/* Lang Switch */
.lang-switcher button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #aaa;
    padding: 5px 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 2px;
    transition: all var(--transition-speed);
}
.lang-switcher button:hover, .lang-switcher button.active {
    background: white;
    color: var(--primary-color);
}

/* -------------
   HERO SECTION
   ------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    background-image: url('../images/fotos_aeronaves_web/jet_airplane.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Lighter overlay */
    z-index: 1;
}

/* Capas de fondo apiladas para crossfade del hero dinamico */
.hero-bg-layer {
    will-change: opacity;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 4%;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 35px;
    max-width: 700px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-blue);
    color: black;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #cccccc;
    color: black;
    transform: translateY(-2px);
}

/* Secondary CTA (outline) */
.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Hero CTAs container */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: stretch;
}

/* Tablet: que ambos CTA tengan el mismo ancho aunque el texto sea distinto */
@media (max-width: 768px) {
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary,
    .hero-ctas .btn-discreet,
    .hero-ctas .btn-discreet-dark {
        flex: 1 1 0;
        text-align: center;
        padding: 14px 18px;
        min-width: 0;
    }
}

/* Mobile: stackeados, ambos al 100% del ancho disponible */
@media (max-width: 600px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary,
    .hero-ctas .btn-discreet,
    .hero-ctas .btn-discreet-dark {
        width: 100%;
        flex: 0 0 auto;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.85rem;
    }
}

/* -------------
   FEATURED CAROUSEL (home - compact, 3 visibles, 10 slides)
   ------------- */
.featured-section {
    background: var(--primary-color);
    padding: 40px 4% 50px;
}

.featured-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* espacio para botones prev/next */
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 6px;
    box-sizing: border-box;
}

.carousel-slide .slide-inner {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Fallback for aspect-ratio 4/3 */
    overflow: hidden;
    border-radius: 6px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@supports (aspect-ratio: 4 / 3) {
    .carousel-slide .slide-inner {
        padding-top: 0;
        aspect-ratio: 4 / 3;
    }
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.04);
}

.carousel-slide .slide-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Placeholder (espacio destacado) */
.carousel-slide-placeholder .slide-inner {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.carousel-slide-placeholder .slide-inner::after {
    display: none;
}

.carousel-slide-placeholder .placeholder-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #555;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-slide-placeholder .placeholder-content i {
    font-size: 1.5rem;
    opacity: 0.4;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
    left: 5px;
}

.carousel-next {
    right: 5px;
}

/* CTAs debajo del carrusel */
.carousel-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Botones pequeños */
.btn-sm {
    padding: 10px 22px;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
    .featured-carousel {
        padding: 0 42px;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    .featured-section {
        padding: 30px 4% 40px;
    }
    .carousel-caption {
        font-size: 0.75rem;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    .carousel-ctas .btn-sm {
        width: 100%;
        text-align: center;
    }
}

/* -------------
   PARTNERS TIMELINE (Plan de Vuelo)
   ------------- */
.partners-timeline {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
}

.partners-heads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.partner-head {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.partner-head.revealed {
    opacity: 1;
    transform: translateY(0);
}

.partner-head.partner-left.revealed {
    transition-delay: 0.1s;
}

.partner-head.partner-right.revealed {
    transition-delay: 0.3s;
}

.partner-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 18px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.partner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.partner-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3rem;
    z-index: 1;
}

.partner-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partner-origin {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Merge en forma de Y: las dos ramas convergen */
.timeline-merge {
    width: 100%;
    height: 90px;
    position: relative;
    margin-top: -1px;
}

.timeline-merge svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.timeline-merge .merge-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.2s ease;
}

.partners-timeline.timeline-active .timeline-merge .merge-line-left {
    stroke-dashoffset: 0;
    transition-delay: 0.4s;
}

.partners-timeline.timeline-active .timeline-merge .merge-line-right {
    stroke-dashoffset: 0;
    transition-delay: 0.5s;
}

/* Track vertical con hitos */
.timeline-track {
    position: relative;
    padding: 30px 0 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-50%);
    overflow: hidden;
}

.timeline-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 100%);
    transform: translateY(-100%);
}

.partners-timeline.timeline-active .timeline-line::before {
    animation: timeline-pulse 3.5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes timeline-pulse {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.timeline-milestone {
    position: relative;
    width: 50%;
    padding: 25px 45px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-milestone.revealed {
    opacity: 1;
    transform: translateY(0);
}

.timeline-milestone:nth-child(odd) {
    /* A la derecha (nth-child contando timeline-line como 1 = hitos pares son hijos impares partiendo del segundo)
       Realmente: primer hito = nth-child(2), segundo = nth-child(3), etc.
       Abajo manejamos con reglas más específicas. */
}

/* Alternar lados */
.timeline-track > .timeline-milestone:nth-of-type(odd) {
    margin-left: 50%;
    text-align: left;
}

.timeline-track > .timeline-milestone:nth-of-type(even) {
    margin-left: 0;
    text-align: right;
}

.milestone-dot {
    position: absolute;
    top: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    z-index: 2;
    transition: border-color 0.6s ease, box-shadow 0.6s ease, transform 0.6s ease;
}

.timeline-milestone.revealed .milestone-dot {
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 22px rgba(255, 255, 255, 0.25);
}

/* Posicionar el dot sobre la línea central (centro de la pista) */
.timeline-track > .timeline-milestone:nth-of-type(odd) .milestone-dot {
    left: -23px;
}

.timeline-track > .timeline-milestone:nth-of-type(even) .milestone-dot {
    right: -23px;
}

.milestone-content {
    background: #0f0f0f;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    position: relative;
}

.milestone-content::before {
    content: '';
    position: absolute;
    top: 22px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-track > .timeline-milestone:nth-of-type(odd) .milestone-content::before {
    left: -8px;
    border-width: 8px 8px 8px 0;
    border-color: transparent #0f0f0f transparent transparent;
}

.timeline-track > .timeline-milestone:nth-of-type(even) .milestone-content::before {
    right: -8px;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #0f0f0f;
}

.milestone-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.milestone-content h4 {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.milestone-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive: apilar todo al centro en mobile */
@media (max-width: 768px) {
    .partners-heads {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .timeline-merge {
        display: none;
    }
    .timeline-line {
        left: 22px;
    }
    .timeline-track > .timeline-milestone:nth-of-type(odd),
    .timeline-track > .timeline-milestone:nth-of-type(even) {
        width: 100%;
        margin-left: 0;
        padding: 20px 0 20px 60px;
        text-align: left;
    }
    .timeline-track > .timeline-milestone:nth-of-type(odd) .milestone-dot,
    .timeline-track > .timeline-milestone:nth-of-type(even) .milestone-dot {
        left: 0;
        right: auto;
    }
    .timeline-track > .timeline-milestone:nth-of-type(odd) .milestone-content::before,
    .timeline-track > .timeline-milestone:nth-of-type(even) .milestone-content::before {
        left: -8px;
        right: auto;
        border-width: 8px 8px 8px 0;
        border-color: transparent #0f0f0f transparent transparent;
    }
}

/* -------------
   PAGE SECTIONS
   ------------- */
.page-header {
    background: var(--primary-color);
    padding: calc(var(--header-height) + 40px) 4% 0px;
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

/* Page header con imagen de fondo (para paginas de servicio) */
.page-header-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 100px) 4% 100px;
    background: var(--primary-color);
}

.page-header-hero .page-header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: grayscale(15%);
}

/* Solo animamos si el fondo es imagen (el video ya se mueve solo) */
.page-header-hero img.page-header-bg {
    transform: scale(1.02);
    animation: slow-pan 20s ease-in-out infinite alternate;
}

@keyframes slow-pan {
    0% {
        transform: scale(1.02) translateX(0);
    }
    100% {
        transform: scale(1.05) translateX(-2%);
    }
}

.page-header-hero .page-header-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}

.page-header-hero .page-header-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.page-header-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.page-header-hero p {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .page-header-hero {
        padding: calc(var(--header-height) + 60px) 4% 60px;
    }
    .page-header-hero h1 {
        font-size: 2.2rem;
    }
    .page-header-hero p {
        font-size: 1rem;
    }
}

.section {
    padding: 80px 4%;
}
.section-light {
    background-color: var(--bg-main);
}
.section-gray {
    background-color: var(--bg-light);
}

/* Section pale: fondo gris claro / texto oscuro (alternancia con section-light) */
.section-pale {
    background-color: #f5f7fa;
    color: #1a2b3c;
}
.section-pale h1,
.section-pale h2,
.section-pale h3,
.section-pale h4,
.section-pale h5,
.section-pale h6,
.section-pale .rich-text h2,
.section-pale .rich-text h3 {
    color: #1a2b3c;
}
.section-pale p,
.section-pale .rich-text p {
    color: #4a5568;
}
.section-pale li,
.section-pale .rich-text li {
    color: #2d3748;
}
.section-pale strong {
    color: #1a2b3c;
}
.section-pale em {
    color: #2d3748;
}
.section-pale a:not(.btn-primary):not(.btn-secondary):not(.btn-card):not(.btn-discreet) {
    color: #1a73e8;
}
/* Creds-box dentro de section-pale */
.section-pale .creds-box {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid var(--accent-blue);
}
.section-pale .creds-box h4 {
    color: #1a2b3c;
}
.section-pale .creds-list li {
    color: #4a5568;
}
.section-pale .creds-list strong {
    color: #1a2b3c;
}
.section-pale .creds-list li > i {
    color: #1a2b3c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography elements for rich text (like aerobrazil) */
.rich-text {
    max-width: 900px;
    margin: 0 auto;
}
.rich-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}
.rich-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-muted);
}
.rich-text ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.rich-text li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

/* -------------
   AIRCRAFT CAROUSEL (Jetcraft Style)
   ------------- */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.aircraft-card {
    background: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.aircraft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* elevated premium feel */
}

.aircraft-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #111111;
}

.aircraft-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.aircraft-card:hover .aircraft-image-wrapper img {
    transform: scale(1.05); /* zoom effect */
}

/* Dual-image hover: segunda foto aparece al pasar el mouse */
.aircraft-image-wrapper .img-primary,
.aircraft-image-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aircraft-image-wrapper .img-hover {
    opacity: 0;
    z-index: 1;
}

.aircraft-card:hover .aircraft-image-wrapper .img-hover {
    opacity: 1;
}

.aircraft-card:hover .aircraft-image-wrapper .img-primary {
    opacity: 0;
}

/* Jet spec icons row (piloto, pasajeros, velocidad, range) */
.jet-specs-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 15px 0;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jet-spec-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 6px;
}

.jet-spec-icon i {
    font-size: 1.25rem;
    color: var(--accent-blue);
    opacity: 0.9;
}

.jet-spec-icon .jet-spec-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    line-height: 1;
}

.jet-spec-icon .jet-spec-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

/* Versión grande para ficha de detalle */
.jet-specs-icons.jet-specs-icons-lg {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 25px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 20px 0 30px;
}

.jet-specs-icons.jet-specs-icons-lg .jet-spec-icon i {
    font-size: 1.8rem;
}

.jet-specs-icons.jet-specs-icons-lg .jet-spec-value {
    font-size: 1.2rem;
}

.jet-specs-icons.jet-specs-icons-lg .jet-spec-label {
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .jet-specs-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.aircraft-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.aircraft-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.aircraft-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 3px;
}

.spec-value {
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
}

.btn-card {
    display: inline-block;
    width: auto;
    align-self: flex-start;
    text-align: center;
    padding: 5px 11px;
    background: transparent;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--accent-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
    white-space: normal;
    max-width: 50%;
}

.btn-card:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

@media (max-width: 480px) {
    .btn-card {
        max-width: 70%;
        padding: 5px 10px;
        font-size: 0.62rem;
    }
}


/* -------------
   FOOTER
   ------------- */
.footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 70px 4% 30px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1.2rem;
    transition: background 0.3s;
}
.social-links a:hover {
    background: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* -------------
   WHATSAPP FLOAT
   ------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-speed);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--whatsapp-hover);
    color: white;
}

/* -------------
   MOBILE
   ------------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
}
.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-item.dropdown .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        display: none; /* simple toggle in js */
    }
    
    .nav-item.dropdown.open .submenu {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .rich-text h2 {
        font-size: 1.8rem;
    }
}

/* -----------------------
   JETCRAFT INVENTORY LAYOUT
   ----------------------- */
.inventory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.inventory-sidebar {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: calc(var(--header-height) + 30px);
}

.inventory-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    color: white;
    border: 1px solid #333;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.filter-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .inventory-layout {
        grid-template-columns: 1fr;
    }
    .inventory-sidebar {
        position: relative;
        top: 0;
    }
}

/* -------------
   ADMINISTRACIÓN (página administracion.html)
   ------------- */
.admin-section {
    padding: 80px 4%;
}

.admin-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.admin-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 14px;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
}

/* Pale = fondo claro: usar texto oscuro */
.section-pale .admin-eyebrow {
    color: #1a2b3c;
    border-color: rgba(0,0,0,0.12);
}

.admin-section-head h2 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 18px;
}

.admin-lead {
    font-size: 1.05rem;
    color: #d0d0d0;
    line-height: 1.6;
}

.section-pale .admin-lead { color: #4a5568; }

/* Diagrama propiedad compartida (3 owners → 1 aeronave) */
.ownership-diagram {
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 35px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

.ownership-owners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.ownership-owner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.ownership-icon,
.ownership-aircraft-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.ownership-aircraft-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    color: var(--primary-color);
    font-size: 1.7rem;
    border-color: transparent;
}

.ownership-owner span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
}

.ownership-owner small {
    font-size: 0.78rem;
    color: #888;
}

.ownership-merge {
    height: 70px;
    margin: 0 -10px;
}

.ownership-merge svg {
    width: 100%;
    height: 100%;
}

.ownership-merge svg path {
    fill: none;
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    opacity: 0.55;
}

.ownership-aircraft {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.ownership-aircraft span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    margin-top: 4px;
}

.ownership-aircraft small {
    font-size: 0.82rem;
    color: #999;
    max-width: 360px;
}

/* Steps numerados */
.admin-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.admin-step {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 28px 28px 26px;
    position: relative;
}

.admin-step-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    opacity: 0.55;
    margin-bottom: 12px;
}

.admin-step h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.admin-step p {
    color: #bbb;
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

/* Grid 3 columnas (por qué turboprops) */
.admin-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.admin-feature {
    text-align: left;
    padding: 28px 26px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.admin-feature i {
    color: var(--accent-blue);
    font-size: 1.6rem;
    margin-bottom: 14px;
    display: block;
}

.admin-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #1a2b3c;
}

.admin-feature p {
    color: #4a5568;
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

/* Flota: cards grandes */
.admin-fleet {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.admin-fleet-card {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.admin-fleet-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.admin-fleet-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: #1a1a1a;
    overflow: hidden;
}

.admin-fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-fleet-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #555;
    background: linear-gradient(135deg, #1f1f1f, #0e0e0e);
}

.admin-fleet-placeholder i {
    font-size: 3rem;
}

.admin-fleet-placeholder span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-fleet-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
}

.admin-fleet-body {
    padding: 26px 28px 28px;
}

.admin-fleet-body h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.admin-fleet-tagline {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.admin-fleet-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.admin-fleet-specs > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-fleet-specs span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

.admin-fleet-specs strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-main);
}

/* Beneficios grid */
.admin-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.admin-benefit {
    flex: 1 1 250px;
    max-width: 320px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admin-benefit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.admin-benefit i {
    color: var(--accent-blue);
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

.admin-benefit h4 {
    font-size: 1.02rem;
    margin-bottom: 6px;
    color: #1a2b3c;
}

.admin-benefit p {
    color: #4a5568;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* FAQ */
.admin-faq {
    max-width: 820px;
    margin: 0 auto;
}

.admin-faq details {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.admin-faq details[open] {
    border-color: var(--accent-blue);
}

.admin-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #1a2b3c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.admin-faq summary::-webkit-details-marker { display: none; }

.admin-faq summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--accent-blue);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.admin-faq details[open] summary::after {
    content: '−';
}

.admin-faq details p {
    padding: 0 22px 20px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* CTA box final */
.admin-cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #f5f7fa, #ffffff);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
}

.admin-cta-box h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #1a2b3c;
}

.admin-cta-box p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive admin */
@media (max-width: 992px) {
    .admin-grid-3,
    .admin-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-fleet {
        grid-template-columns: 1fr;
    }
    .admin-fleet-image {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .admin-section { padding: 60px 4%; }
    .admin-section-head h2 { font-size: 1.7rem; }
    .admin-grid-3,
    .admin-benefits,
    .admin-steps {
        grid-template-columns: 1fr;
    }
    .ownership-owners {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ownership-merge { display: none; }
    .ownership-aircraft { margin-top: 20px; }
    .admin-fleet-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-cta-box {
        padding: 38px 22px;
    }
    .admin-cta-box h2 { font-size: 1.6rem; }
}

/* -------------
   CREDS BOX (importacion - credenciales)
   ------------- */
.creds-box {
    margin-top: 35px;
    padding: 30px 32px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--accent-blue);
    border-radius: 6px;
}

.creds-box h4 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 18px;
}

.creds-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creds-list li {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    color: #ddd;
    font-size: 0.96rem;
    line-height: 1.5;
    padding-left: 0 !important;
}

.creds-list li::before {
    content: none !important;
}

.creds-list li > i {
    flex-shrink: 0;
    width: 22px;
    color: var(--accent-blue);
    font-size: 0.95rem;
    margin-top: 4px;
    text-align: center;
}

.creds-list li > span {
    flex: 1;
}

@media (max-width: 600px) {
    .creds-box {
        padding: 22px 20px;
    }
}

/* -------------
   VENDER (Sell your aircraft)
   ------------- */
.vender-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.vender-pitch h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.vender-pitch > p {
    color: #bbb;
    margin-bottom: 30px;
}

.vender-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vender-benefits li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.vender-benefits li > i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.vender-benefits li > div strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.02rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.vender-benefits li > div p {
    color: #999;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.btn-wa-alt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: #e0e0e0;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.btn-wa-alt i {
    color: #25D366;
    font-size: 1.2rem;
}

.btn-wa-alt:hover {
    background: rgba(37,211,102,0.08);
    border-color: rgba(37,211,102,0.5);
    color: #fff;
}

/* Form side */
.vender-form-wrapper {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 40px;
}

.vender-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.vender-form-sub {
    color: #999;
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.vender-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #aaa;
}

.form-group input,
.form-group textarea {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: #0f0f0f;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--accent-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: #bbb;
    cursor: pointer;
    line-height: 1.5;
}

.vender-form .btn-primary {
    margin-top: 10px;
    align-self: flex-start;
}

.form-note {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

/* Vender banner (for aeronaves.html) */
.vender-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 28px 36px;
    margin-bottom: 40px;
}

.vender-banner-text h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.vender-banner-text p {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0;
}

.vender-banner .btn-primary {
    flex-shrink: 0;
}

/* CTAs gemelos del banner: mismo tamaño, distintos colores */
.vender-banner-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: stretch;
    flex-shrink: 0;
}

.vb-cta {
    flex: 1 1 240px;
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.4px;
    padding: 12px 18px;
    min-height: 46px;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26,43,60,0.10);
}

.vb-cta:hover {
    transform: translateY(-2px);
}

/* Outline claro: secundario (Vende) — para fondo oscuro del banner */
.vb-cta-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.55);
}

.vb-cta-outline:hover {
    background-color: rgba(255,255,255,0.10);
    border-color: #ffffff;
    color: #ffffff;
}

/* Solid blanco: principal (Catálogo a importar) — alto contraste sobre el banner oscuro */
.vb-cta-solid {
    background-color: #ffffff;
    color: #1a2b3c;
    border: 1.5px solid #ffffff;
}

.vb-cta-solid:hover {
    background-color: #e6e9ee;
    border-color: #e6e9ee;
    color: #1a2b3c;
}

@media (max-width: 600px) {
    .vb-cta {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .vender-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .vender-form-wrapper {
        padding: 28px;
    }
    .vender-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .vender-pitch h2 {
        font-size: 1.6rem;
    }
    .vender-form-wrapper {
        padding: 22px;
    }
}


/* Generic Reveal Animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Offset for anchored sections to not overlap with fixed header */
#servicio-venta, #servicio-importacion, #servicio-administracion, #servicios {
    scroll-margin-top: 120px;
}

/* Discreet Buttons */
.btn-discreet {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-base);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(5px);
}
.btn-discreet:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Dark Discreet Buttons for Light Backgrounds */
.btn-discreet-dark {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-base);
    color: #1a2b3c;
    background: transparent;
    border: 1px solid rgba(26, 43, 60, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-discreet-dark:hover {
    background: rgba(26, 43, 60, 0.05);
    border-color: rgba(26, 43, 60, 0.6);
}

/* Text Links with Plus Icon */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-base);
    color: #1a2b3c;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s, opacity 0.3s;
    margin-top: 15px;
}
.service-link i {
    font-size: 0.85rem;
    color: #1a2b3c;
    transition: transform 0.3s ease;
}
.service-link:hover {
    opacity: 0.7;
}
.service-link:hover i {
    transform: translateX(3px);
}

/* Promo Text */
.promo-text {
    font-family: var(--font-base);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* -------------
   PARALLAX WINDOWS
   ------------- */
.parallax-window {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Fix for mobile parallax (iOS Safari bug) and Mobile Backgrounds */
@media (max-width: 768px) {
    .parallax-window, .hero {
        background-attachment: scroll !important;
    }
    
    .hero {
        /* Mobile specific background */
        background-image: url('../images/fotos_aeronaves_web/aviacion_privada.jpg');
        background-position: center center;
    }
}
