@charset "UTF-8";

:root {
    --navy-950: #041426;
    --navy-900: #061b33;
    --navy-800: #0b2a49;
    --gold-600: #b77a16;
    --gold-500: #d39a32;
    --gold-300: #edc66f;
    --cream: #f5f1e8;
    --paper: #fbfaf7;
    --white: #ffffff;
    --ink: #10243a;
    --muted: #637083;
    --line: #dcd8ce;
    --success: #17623c;
    --error: #9d2f2f;
    --container: 1180px;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --shadow: 0 28px 70px rgba(4, 20, 38, 0.17);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
address { font-style: normal; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--gold-500);
    color: var(--navy-950);
    font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: var(--gold-600);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.3;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-300); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 710px; color: var(--white); font-size: clamp(3.1rem, 4.65vw, 4.75rem); }
h1 em { color: var(--gold-300); font-style: italic; }
h2 { font-size: clamp(2.35rem, 4vw, 4rem); }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(16, 36, 58, .1);
    background: rgba(251, 250, 247, .94);
    backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; width: 205px; height: 64px; align-items: center; overflow: hidden; }
.brand img { width: 196px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .86rem; font-weight: 600; }
.site-nav > a:not(.nav-cta) { position: relative; padding: 30px 0; }
.site-nav > a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 1px;
    background: var(--gold-600);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 20px; border: 1px solid var(--navy-900); color: var(--navy-900); transition: .2s ease; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--navy-900); color: var(--white); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--navy-900); transition: .25s ease; }

.hero { overflow: hidden; background: var(--navy-900); }
.hero-grid { display: grid; min-height: calc(100vh - 86px); grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 90px 68px 90px 0; }
.hero-copy::after { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 50vw; background: radial-gradient(circle at 8% 48%, rgba(211,154,50,.09), transparent 40%); content: ""; }
.hero-lead { max-width: 640px; margin: 30px 0 0; color: #c6d0da; font-size: clamp(1.03rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 14px 22px; border: 0; border-radius: 0; cursor: pointer; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-500); color: var(--navy-950); }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-300); }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.32); color: var(--white); font-size: .9rem; font-weight: 600; }
.text-link:hover, .text-link:focus-visible { border-color: var(--gold-300); color: var(--gold-300); }
.text-link.dark { border-color: rgba(16,36,58,.3); color: var(--navy-900); }
.text-link.dark:hover, .text-link.dark:focus-visible { border-color: var(--gold-600); color: var(--gold-600); }
.hero-proof { display: flex; gap: 28px; margin-top: 60px; color: #aebdca; font-size: .78rem; letter-spacing: .04em; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof span::before { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); content: ""; }
.hero-visual { position: relative; min-height: 620px; margin-right: calc((100vw - min(100vw - 48px, var(--container))) / -2); overflow: hidden; }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,27,51,.6) 0%, transparent 27%), linear-gradient(0deg, rgba(4,20,38,.25), transparent 48%); content: ""; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.hero-note { position: absolute; z-index: 2; right: 34px; bottom: 34px; display: flex; width: min(360px, calc(100% - 68px)); align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid rgba(237,198,111,.7); background: rgba(4,20,38,.9); color: var(--white); }
.hero-note p { margin: 0; font-size: .91rem; line-height: 1.45; }
.hero-note strong { color: var(--gold-300); font-weight: 600; }
.hero-note-mark { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border: 1px solid var(--gold-500); color: var(--gold-300); font-family: var(--serif); font-size: 1.35rem; }

.trust-bar { border-bottom: 1px solid var(--line); background: var(--cream); }
.trust-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 40px; }
.trust-inner p { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.trust-inner strong { color: var(--gold-600); font-weight: 600; }
.trust-inner ul { display: flex; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.trust-inner li { padding: 0 24px; border-left: 1px solid var(--line); }

.services { background: var(--paper); }
.services-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.section-intro { position: sticky; top: 132px; }
.section-intro h2 { max-width: 470px; color: var(--navy-900); }
.section-intro > p:not(.eyebrow) { max-width: 500px; margin: 26px 0 30px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 28px 16px 28px 4px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.service-item:hover { padding-right: 20px; padding-left: 20px; background: var(--cream); }
.service-number { padding-top: 3px; color: var(--gold-600); font-family: var(--serif); font-size: .85rem; }
.service-item h3 { margin: 0 0 5px; color: var(--navy-900); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.service-item p { margin: 0; color: var(--muted); font-size: .91rem; }
.service-featured h3::after { margin-left: 12px; color: var(--gold-600); content: "Servicio principal"; font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.about { background: var(--navy-900); color: var(--white); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; }
.about-statement h2 { max-width: 540px; }
.about-copy > p { max-width: 630px; margin: 0 0 20px; color: #c6d0da; font-size: 1.03rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid rgba(255,255,255,.16); }
.principles > div { display: flex; flex-direction: column; min-height: 150px; padding: 24px 20px 10px 0; border-right: 1px solid rgba(255,255,255,.16); }
.principles > div + div { padding-left: 22px; }
.principles > div:last-child { border-right: 0; }
.principles span { margin-bottom: 22px; color: var(--gold-300); font-family: var(--serif); font-size: .8rem; }
.principles strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.principles small { margin-top: 4px; color: #9eafbe; font-size: .73rem; }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-info h2 { max-width: 550px; color: var(--navy-900); font-size: clamp(2.25rem, 3.5vw, 3.55rem); }
.contact-info > p:not(.eyebrow) { max-width: 530px; margin: 25px 0 36px; color: var(--muted); }
.contact-details { border-top: 1px solid #cfc9bd; }
.contact-details a { display: grid; grid-template-columns: 142px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #cfc9bd; }
.contact-details span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.contact-details strong { color: var(--navy-900); font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-details a:hover strong, .contact-details a:focus-visible strong { color: var(--gold-600); }
.social-links { display: flex; gap: 28px; margin-top: 28px; }
.social-links a { border-bottom: 1px solid var(--navy-900); font-size: .85rem; font-weight: 700; }
.form-card { padding: 44px; background: var(--white); box-shadow: var(--shadow); }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading span { color: var(--navy-900); font-family: var(--serif); font-size: 1.35rem; }
.form-heading p { margin: 0; color: var(--muted); font-size: .7rem; }
.form-alert { margin-bottom: 22px; padding: 14px 16px; border: 1px solid currentColor; font-size: .86rem; }
.form-alert.success { color: var(--success); background: #edf7f1; }
.form-alert.error { color: var(--error); background: #fff1f1; }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--navy-900); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #bdb7aa;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: .94rem;
    font-weight: 400;
}
.contact-form input, .contact-form select { min-height: 48px; }
.contact-form textarea { min-height: 110px; padding: 12px 0; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold-600); box-shadow: 0 1px 0 var(--gold-600); }
.contact-form ::placeholder { color: #9b9b98; }
.form-submit { width: 100%; margin-top: 8px; }
.privacy-note { margin: -6px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { background: var(--navy-950); color: #98a9b9; }
.footer-inner { display: grid; min-height: 112px; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; font-size: .75rem; }
.footer-inner p { margin: 0; }
.footer-brand { color: var(--white); font-size: .75rem; letter-spacing: .28em; }
.footer-brand strong { display: block; margin-top: -3px; color: var(--gold-300); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .08em; }
.floating-whatsapp { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; background: #25d366; box-shadow: 0 12px 30px rgba(4,20,38,.25); transition: transform .2s ease; }
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { transform: translateY(-3px) scale(1.03); }
.floating-whatsapp svg { width: 28px; fill: var(--white); }

:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 4px; }

@media (max-width: 980px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .section { padding: 88px 0; }
    .site-nav { gap: 20px; }
    .site-nav > a:not(.nav-cta) { display: none; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; }
    .hero-copy { min-height: 630px; padding: 80px 0; }
    .hero-visual { height: 620px; min-height: 0; margin: 0 calc((100vw - (100vw - 40px)) / -2); }
    .services-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 58px; }
    .section-intro { position: static; }
    .section-intro h2 { max-width: 650px; }
    .about-statement h2, .contact-info h2 { max-width: 680px; }
    .footer-inner { grid-template-columns: 1fr 1fr; padding: 28px 0; }
    .footer-inner p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    html { scroll-padding-top: 74px; }
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 72px 0; }
    .header-inner { min-height: 74px; }
    .brand { width: 164px; height: 56px; }
    .brand img { width: 158px; }
    .menu-toggle { display: block; }
    .site-nav {
        position: fixed;
        z-index: 99;
        inset: 74px 0 auto;
        display: flex;
        max-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        background: var(--paper);
        box-shadow: 0 20px 30px rgba(4,20,38,.12);
        transition: max-height .3s ease;
    }
    .site-nav.is-open { max-height: 360px; border-top: 1px solid var(--line); }
    .site-nav > a:not(.nav-cta) { display: block; padding: 17px 24px; border-bottom: 1px solid var(--line); }
    .site-nav > a:not(.nav-cta)::after { display: none; }
    .nav-cta { margin: 18px 24px 24px; text-align: center; }
    .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
    .hero-copy { min-height: auto; padding: 78px 0 68px; }
    h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
    .hero-lead { margin-top: 24px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 30px; }
    .hero-proof { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 42px; }
    .hero-visual { height: 470px; margin-inline: -16px; }
    .hero-visual > img { object-position: 59% center; }
    .hero-note { right: 16px; bottom: 16px; width: calc(100% - 32px); }
    .trust-inner { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px 0; }
    .trust-inner ul { width: 100%; justify-content: space-between; }
    .trust-inner li { padding: 0; border: 0; font-size: .68rem; }
    .service-item { grid-template-columns: 38px 1fr; gap: 12px; padding-block: 23px; }
    .service-featured h3::after { display: block; margin: 5px 0 0; }
    .about-grid { gap: 40px; }
    .principles { grid-template-columns: 1fr; }
    .principles > div { min-height: auto; padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .principles > div + div { padding-left: 0; }
    .principles span { margin-bottom: 9px; }
    .field-row { grid-template-columns: 1fr; }
    .form-card { padding: 30px 22px; }
    .form-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .contact-details a { grid-template-columns: 1fr; gap: 6px; }
    .footer-inner { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 360px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .hero-visual { margin-inline: -12px; }
    .button { width: 100%; }
    .trust-inner ul { flex-wrap: wrap; gap: 10px 18px; justify-content: flex-start; }
    .social-links { flex-direction: column; align-items: flex-start; gap: 16px; }
    .floating-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
