/* Jorge González Coach — sitio estático */

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/rubik-500.ttf) format('truetype');
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/karla-400.ttf) format('truetype');
}

:root {
    --ink: #333333;
    --text: #555555;
    --muted: #7a7a7a;
    --line: #e2e2e2;
    --bg: #ffffff;
    --bg-soft: #f4f4f4;
    --sage: #e3ece9;
    --sage-light: #f5f8f7;
    --blue: #1e3a8a;
    --blue-deep: #13235a;
    --footer: #3a3a3a;
    --font-head: 'Rubik', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
    --container: 1140px;
    --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 16px;
}

p { margin: 0 0 16px; }

a { color: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.narrow { max-width: 780px; text-align: center; }

.section { padding: 96px 0; }

.eyebrow {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 12px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: #fff;
    color: var(--ink);
    padding: 8px 16px;
}
.skip-link:focus { left: 8px; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 12px; height: 12px; fill: currentColor; }
.btn-small { padding: 10px 20px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 88px;
    max-width: 1320px;
}
.brand img { width: 56px; height: auto; }
.main-nav { display: flex; gap: 28px; margin-right: auto; }
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .9;
}
.main-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero {
    position: relative;
    min-height: min(85vh, 760px);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: #fff;
    background: var(--blue-deep) url(../img/hero.webp) center / cover no-repeat;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(19,35,90,.75) 0%, rgba(19,35,90,.45) 40%, rgba(0,0,0,0) 65%);
}
.hero-inner { position: relative; max-width: 1320px; }
.hero h1 {
    color: #fff;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.12;
    margin-bottom: 24px;
}
.hero p { max-width: 460px; font-size: 18px; line-height: 1.5; margin-bottom: 36px; }

/* Intro + video */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.intro-title { font-size: 22px; line-height: 1.4; }
.video-frame { box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}
.feature svg { width: 30px; height: 30px; fill: var(--ink); margin-bottom: 20px; }
.feature h3 { font-size: 21px; margin-bottom: 12px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

/* Tu viaje personal */
.journey { position: relative; overflow: hidden; }
.journey::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    border-radius: 80px 0 0 80px;
    background: linear-gradient(180deg, var(--sage) 0%, var(--sage-light) 100%);
}
.journey-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.journey-text h2 { font-size: 36px; }
.journey-text p { font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.journey-photo { margin: 0; }
.journey-photo img { width: 100%; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }

.services { list-style: none; margin: 0; padding: 0; }
.services li { padding: 32px 0; border-top: 1px solid rgba(0,0,0,.12); }
.services li:first-child { padding-top: 24px; }
.services .num { font-family: var(--font-head); font-size: 13px; color: var(--ink); }
.services h3 { font-size: 21px; margin: 12px 0 10px; }
.services p { font-size: 15px; color: var(--muted); margin: 0; }

/* CTA */
.cta-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
.cta p:not(.eyebrow) { color: var(--muted); margin-bottom: 32px; }

/* Testimonio */
.testimonial { background: var(--bg-soft); }
.quote-mark { width: 40px; height: 30px; fill: #2f5d50; margin: 0 auto 24px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
    font-family: var(--font-head);
    font-size: 21px;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 28px;
}
.testimonial cite {
    display: block;
    font-family: var(--font-head);
    font-style: normal;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink);
}
.testimonial footer span { font-size: 14px; color: var(--muted); }

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info h2 { font-size: 34px; }
.contact-info > p { font-size: 15px; color: var(--muted); margin-bottom: 40px; }
.contact-item { display: flex; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-item svg { width: 18px; height: 18px; fill: var(--ink); flex-shrink: 0; margin-top: 3px; }
.contact-item h3 { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.contact-item a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--ink); text-decoration: underline; }

.contact-form { border-top: 2px solid var(--ink); padding-top: 32px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.field label span { color: #c0392b; }
.field input {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    background: #fafafa;
    border: 1px solid #d6d6d6;
    border-radius: 0;
}
.field input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.form-status { font-size: 14px; margin: 16px 0 0; min-height: 1.5em; }
.form-status.error { color: #c0392b; }
.form-status.ok { color: #2f5d50; }

/* Footer */
.site-footer { background: var(--footer); color: #cfcfcf; padding: 64px 0 40px; font-size: 15px; }
.site-footer img { width: 56px; margin-bottom: 20px; }
.site-footer .copyright { font-size: 13px; color: #9a9a9a; margin: 48px 0 0; }

/* Responsive */
@media (max-width: 1024px) {
    .journey-grid { grid-template-columns: 1fr 1fr; }
    .journey::before { left: 0; border-radius: 0; }
    .services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .services li, .services li:first-child { padding: 24px 0 0; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 72px 0; }
    .header-inner { min-height: 72px; gap: 16px; justify-content: space-between; }
    .main-nav { display: none; }
    .hero {
        min-height: 88vh;
        text-align: center;
        background-image: url(../img/jorge-retrato.webp);
        background-position: center top;
    }
    .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%); }
    .hero p { margin-left: auto; margin-right: auto; }
    .features { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
    .journey-grid { grid-template-columns: 1fr; gap: 40px; }
    .journey-photo { max-width: 360px; }
    .services { grid-template-columns: 1fr; gap: 0; }
    .services li { padding: 24px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .testimonial blockquote p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
