/* ════════════════════════════════════════════════
   PREGIALI — Landing Page
   Paleta: Obsidiana + Oro mate + Blanco limpio
   ════════════════════════════════════════════════ */

:root {
    --black:      #080808;
    --black-2:    #0e0e0e;
    --black-3:    #141414;
    --black-4:    #1c1c1c;
    --gold:       #b8952a;
    --gold-light: #d4af5a;
    --gold-dim:   rgba(184, 149, 42, 0.18);
    --white:      #f4f2ed;
    --gray-light: #c8c4b8;
    --gray:       #8a8a8a;
    --gray-dark:  #484848;

    --serif:  'Cormorant Garamond', Georgia, serif;
    --sans:   'Montserrat', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --pad-x: clamp(1.5rem, 5vw, 3rem);
    --pad-y: clamp(80px, 10vw, 140px);
    --max-w: 1280px;
}

/* ── PRELOADER ───────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader__logo {
    width: clamp(180px, 30vw, 280px);
    height: auto;
    animation: preloaderFade 0.6s var(--ease) forwards;
}
@keyframes preloaderFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.preloader__bar {
    width: clamp(120px, 20vw, 200px);
    height: 1px;
    background: rgba(184, 149, 42, 0.15);
    position: relative;
    overflow: hidden;
}
.preloader__bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    animation: preloaderBar 1.4s var(--ease) forwards;
}
@keyframes preloaderBar {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── SHARED TYPOGRAPHY ───────────────────────── */
.section-eyebrow {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 1.1rem;
}
.section-subtitle {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.85;
}
.section-header { text-align: center; }
.section-header .section-subtitle { max-width: 520px; margin: 0 auto; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.2rem;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.35s var(--ease),
                border-color 0.35s var(--ease),
                color 0.35s var(--ease),
                transform 0.35s var(--ease),
                box-shadow 0.35s var(--ease);
}
.btn--gold {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
}
.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(184, 149, 42, 0.28);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(244, 242, 237, 0.35);
}
.btn--outline:hover {
    border-color: var(--white);
    background: rgba(244, 242, 237, 0.06);
}
.btn--outline-gold {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid rgba(184, 149, 42, 0.45);
}
.btn--outline-gold:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── NAV ─────────────────────────────────────── */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    padding: 1.6rem var(--pad-x);
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1rem var(--pad-x);
    border-bottom-color: var(--gold-dim);
}
.nav__container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav__links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
    transition: color 0.3s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
    border: 1px solid var(--gold-dim) !important;
    padding: 0.55rem 1.3rem !important;
    color: var(--gold-light) !important;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s, border-color 0.3s !important;
}
.nav__cta:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    border-color: var(--gold) !important;
}
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav__burger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}
.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(8,8,8,0.97);
    border-top: 1px solid var(--gold-dim);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.nav__mobile.open { max-height: 300px; }
.nav__mobile a {
    display: block;
    padding: 1rem var(--pad-x);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s, background 0.2s;
}
.nav__mobile a:hover { color: var(--gold-light); background: rgba(184,149,42,0.04); }

/* ── HERO ────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.01); }
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.55) 55%, rgba(8,8,8,0.2) 100%),
        linear-gradient(to top, rgba(8,8,8,0.75) 0%, transparent 45%);
}
.hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    width: 100%;
    padding: 0 var(--pad-x);
    margin: 4rem auto 0;
}
.hero__eyebrow {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s var(--ease) forwards;
}
.hero__title {
    font-family: var(--serif);
    font-size: clamp(3rem, 7.5vw, 6.8rem);
    font-weight: 300;
    line-height: 1.04;
    color: var(--white);
    margin-bottom: 1.6rem;
    max-width: 720px;
    opacity: 0;
    animation: fadeUp 0.9s 0.6s var(--ease) forwards;
}
.hero__subtitle {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 2.8rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.8s var(--ease) forwards;
}
.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s 1s var(--ease) forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { opacity: 0; transform: translateX(-50%) scaleY(0); transform-origin: top; }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) scaleY(1); transform-origin: top; }
}

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
    background: var(--black-3);
    border-top: 1px solid var(--gold-dim);
    border-bottom: 1px solid var(--gold-dim);
    padding: 2.2rem var(--pad-x);
}
.stats-bar__container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__number {
    display: block;
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}
.stat__label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
}
.stat__divider {
    width: 1px;
    height: 44px;
    background: var(--gold-dim);
    flex-shrink: 0;
}

/* ── FLEET ───────────────────────────────────── */
.fleet {
    padding: var(--pad-y) var(--pad-x);
    background: var(--black);
}
.fleet__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.fleet__inner .section-header { margin-bottom: 4rem; }
.fleet__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.fleet__card {
    background: var(--black-3);
    border: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
    position: relative;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.fleet__card:hover { border-color: var(--gold-dim); transform: translateY(-5px); }
.fleet__card--featured { border-color: var(--gold-dim); }
.fleet__img-wrap { overflow: hidden; background: #0a0a0a; }
.fleet__img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.fleet__card--featured .fleet__img-wrap img { height: 310px; }
.fleet__card:hover .fleet__img-wrap img { transform: scale(1.04); }
.fleet__info { padding: 1.8rem; }
.fleet__category {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.65rem;
}
.fleet__desc {
    font-size: 0.83rem;
    color: var(--gray);
    line-height: 1.75;
}
.fleet__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--black);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.32rem 0.8rem;
}

/* ── FEATURES ────────────────────────────────── */
.features {
    padding: var(--pad-y) var(--pad-x);
    background: var(--black-2);
}
.features__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.features__inner .section-header { margin-bottom: 4rem; }
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.feature {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.feature:hover { border-color: var(--gold-dim); background: rgba(184,149,42,0.02); }
.feature--featured {
    border-color: var(--gold-dim);
    background: rgba(184,149,42,0.03);
}
.feature__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.6rem;
    color: var(--gold);
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__title {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}
.feature__desc {
    font-size: 0.83rem;
    color: var(--gray);
    line-height: 1.82;
}
.features__extras {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-left: 1px solid rgba(255,255,255,0.05);
}
.feature-extra {
    padding: 2.5rem;
    border-right: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.35s var(--ease);
}
.feature-extra:hover { background: rgba(184,149,42,0.03); }
.feature-extra__num {
    display: block;
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 300;
    color: rgba(184,149,42,0.18);
    line-height: 1;
    margin-bottom: 1rem;
}
.feature-extra h4 {
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.feature-extra p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.78;
}

/* ── QUOTE ───────────────────────────────────── */
.quote-section {
    padding: clamp(80px, 14vw, 180px) var(--pad-x);
    background: var(--black-3);
    text-align: center;
    overflow: hidden;
    position: relative;
}
.quote-section::before {
    content: '\201C';
    position: absolute;
    top: -0.2em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--serif);
    font-size: 24rem;
    line-height: 1;
    color: rgba(184,149,42,0.04);
    pointer-events: none;
    user-select: none;
}
.quote-section__inner { position: relative; z-index: 1; }
blockquote p {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    line-height: 1.28;
    margin-bottom: 2rem;
}
blockquote cite {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}

/* ── CONTACT ─────────────────────────────────── */
.contact {
    padding: var(--pad-y) var(--pad-x);
    background: var(--black);
}
.contact__container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact__info .section-title { margin-bottom: 1.2rem; }
.contact__info > p {
    font-size: 0.87rem;
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 2.2rem;
}
.contact__benefits li {
    font-size: 0.83rem;
    color: var(--gray-light);
    padding: 0.72rem 0 0.72rem 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.contact__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--gold);
}
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
}
.form-group input,
.form-group textarea {
    background: var(--black-3);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    padding: 0.9rem 1.1rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    border-radius: 2px;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    resize: vertical;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,138,138,0.45); }
.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(184,149,42,0.45);
    background: var(--black-4);
}
.form__feedback {
    font-size: 0.8rem;
    min-height: 1.2em;
    text-align: center;
    transition: color 0.3s;
}
.form__feedback.success { color: var(--gold-light); }
.form__feedback.error   { color: #e07070; }
.form__note {
    font-size: 0.68rem;
    color: var(--gray-dark);
    text-align: center;
}

/* ── AMBASSADOR ──────────────────────────────── */
.ambassador {
    padding: var(--pad-y) var(--pad-x);
    background: var(--black-2);
}
.ambassador__container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.ambassador__content .section-title { margin-bottom: 1.2rem; }
.ambassador__content > p {
    font-size: 0.87rem;
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 2rem;
}
.ambassador__benefits { margin-bottom: 2.5rem; }
.ambassador__benefits li {
    font-size: 0.83rem;
    color: var(--gray-light);
    padding: 0.72rem 0 0.72rem 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.ambassador__benefits li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 1px;
    background: var(--gold);
}
.ambassador__visual { position: relative; }
.ambassador__img-frame {
    position: relative;
    z-index: 1;
    border: 1px solid var(--gold-dim);
    overflow: hidden;
}
.ambassador__img-frame img { width: 100%; display: block; }
.ambassador__visual::after {
    content: '';
    position: absolute;
    top: 18px; left: 18px;
    right: -18px; bottom: -18px;
    border: 1px solid var(--gold-dim);
    z-index: 0;
    pointer-events: none;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
    background: var(--black-3);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4.5rem var(--pad-x) 3rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 5rem;
}
.footer__logo { margin-bottom: 1rem; opacity: 0.9; height: 80px; width: auto; }
.footer__tagline {
    font-family: var(--serif);
    font-size: 0.88rem;
    font-style: italic;
    color: var(--gray);
}
.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer__col h5 {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.3rem;
}
.footer__col a {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.6rem var(--pad-x);
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__bottom p {
    font-size: 0.7rem;
    color: var(--gray-dark);
    letter-spacing: 0.06em;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
    .fleet__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .features__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto 1.5rem; }
    .features__extras { grid-template-columns: repeat(2, 1fr); }
    .contact__container,
    .ambassador__container { grid-template-columns: 1fr; gap: 3.5rem; }
    .ambassador__visual { order: -1; max-width: 480px; }
    .footer__container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav__links  { display: none; }
    .nav__burger { display: flex; }
    .nav__mobile { display: flex; }

    .hero__title { font-size: clamp(2.6rem, 11vw, 4rem); }
    .hero__ctas  { flex-direction: column; align-items: flex-start; }
    .hero__ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

    .stats-bar__container { gap: 1.5rem; }
    .stat__divider { display: none; }

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

    .form-row { grid-template-columns: 1fr; }

    .footer__links { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .quote-section::before { font-size: 14rem; }
}

@media (max-width: 480px) {
    .footer__links { grid-template-columns: 1fr; }
    .ambassador__visual::after { display: none; }
}
