/* Strategy Voilà (strategyvoila.com). Served only on the Strategy Voilà host. */
@font-face {
    font-family: "Playfair Display";
    src: url("/fonts/strategyvoila/playfair-display-latin.woff") format("woff");
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #d8261f;
    --red-deep: #a9141a; 
    --red-soft: #fbe9e7;
    --charcoal: #2b2b2b;
    --charcoal-2: #3d3d3d;
    --ink: #2f2f2f;
    --text: #4a4a4a;
    --muted: #6b6b6b;
    --line: #e7e4e1;
    --paper: #ffffff;
    --mist: #f6f5f3;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--text);
    font: 400 1.0625rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; line-height: 1.25; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 50; }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 700 1.7rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.brand img { width: 52px; height: 52px; flex: none; border-radius: 12px; }
.brand b { font-weight: inherit; }
.brand span { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-toggle { display: none; }
.languages { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .85rem; color: var(--muted); }
.languages a { text-decoration: none; color: var(--muted); padding: 4px 2px; }
.languages a[aria-current="true"] { color: var(--ink); border-bottom: 2px solid var(--red); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 96px; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 46%;
    background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    right: -6%;
    bottom: -140px;
    width: 34%;
    height: 300px;
    border-radius: 220px 0 0 0;
    background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
    z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); letter-spacing: -.015em; max-width: 14ch; }
.hero .lead { margin-top: 24px; font-size: 1.2rem; max-width: 34ch; color: var(--text); }
.hero .rule { width: 72px; height: 4px; background: var(--red); margin-top: 32px; border-radius: 2px; }

.form-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(40, 10, 10, .28);
}
.form-card h2 { font-size: 1.6rem; }
.form-card > p { margin-top: 6px; color: var(--muted); font-size: .98rem; }
.form-card form { margin-top: 20px; display: grid; gap: 14px; }
.form-card label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form-card label small { font-weight: 400; color: var(--muted); }
.form-card input, .form-card textarea {
    width: 100%;
    font: inherit;
    font-weight: 400;
    font-size: 1rem;
    color: var(--ink);
    border: 1px solid #d9d5d1;
    border-radius: 10px;
    padding: 11px 13px;
    background: #fff;
}
.form-card textarea { resize: vertical; min-height: 96px; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font: 600 1rem/1 var(--sans);
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    border: 0;
    border-radius: 10px;
    padding: 15px 26px;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--red-deep); }
.form-card .fine { font-size: .82rem; color: var(--muted); }
.form-card .fine a { color: var(--ink); }
.notice { border-radius: 10px; padding: 12px 14px; font-size: .95rem; }
.notice.ok { background: #e8f5ec; color: #1d5b33; }
.notice.error { background: var(--red-soft); color: #8a1215; }
.field-error { color: #a9141a; font-size: .85rem; font-weight: 400; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* How it works */
.steps {
    background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
    color: #fff;
    padding: 88px 0 96px;
    clip-path: polygon(0 0, 100% 48px, 100% 100%, 0 100%);
    margin-top: -48px;
}
.steps h2 { color: #fff; }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid rgba(255,255,255,.4); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font: 700 3.4rem/1 var(--serif); color: rgba(255,255,255,.9); margin-bottom: 14px; }
.steps h3 { color: #fff; font-size: 1.5rem; }
.steps p { margin-top: 10px; color: rgba(255,255,255,.92); }

/* Services */
.services { padding: 104px 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 56px; }
.service { padding: 30px 0 34px; }
.service::before { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin-bottom: 18px; }
.service p { margin-top: 10px; }

/* About */
.about { background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal)); color: #e9e9e9; position: relative; overflow: hidden; }
.about .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.about figure { position: relative; }
.about figure::before {
    content: "";
    position: absolute;
    left: -28px;
    bottom: -28px;
    width: 72%;
    height: 72%;
    background: linear-gradient(160deg, var(--red), var(--red-deep));
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}
.about img { position: relative; border-radius: 0 120px 0 0; filter: grayscale(1); width: 100%; }
.about h2 { color: #fff; }
.about p { margin-top: 20px; font-size: 1.15rem; line-height: 1.75; max-width: 54ch; }
.about p.about-name { margin-top: 14px; font-size: 1rem; letter-spacing: .02em; color: #cfcfcf; }
.about p.about-name strong { color: #fff; font-weight: 600; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.button-outline, .button-outline:hover { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.button-outline:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255, 255, 255, .1); }

/* Footer */
.site-footer { background: #1f1f1f; color: #bdbdbd; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.site-footer .social-links a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .social-links .icon { width: 18px; height: 18px; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Legal */
.legal-hero { padding: 48px 0 56px; background: var(--mist); border-top: 4px solid var(--red); }
.legal-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.legal-hero p { margin-top: 12px; }
.legal-hero .fine { font-size: .88rem; color: var(--muted); }
.legal { padding: 56px 0 96px; }
.legal ol { list-style: none; counter-reset: legal; max-width: 820px; }
.legal li { counter-increment: legal; display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal li::before { content: counter(legal); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red-deep); font-weight: 600; font-size: .9rem; }
.legal h2 { font-size: 1.3rem; }
.legal p { margin-top: 8px; }
.legal li a { color: var(--red-deep); display: inline-block; margin-top: 8px; }

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    z-index: 40;
}
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }

@media (max-width: 960px) {
    .site-nav { gap: 12px; }
    .languages { order: 1; }
    .nav-toggle {
        order: 2;
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        color: var(--ink);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 10px;
        cursor: pointer;
    }
    .nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
    .nav-toggle .icon-close, .nav-toggle.is-open .icon-open { display: none; }
    .nav-toggle.is-open .icon-close { display: block; }
    .nav-toggle:hover { border-color: var(--red); color: var(--red); }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% - 10px);
        left: 24px;
        right: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 18px 44px rgba(40, 10, 10, .24);
        z-index: 10;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
    .nav-links a:hover { background: var(--mist); }
    .hero { padding: 24px 0 72px; }
    .hero::before { width: 100%; top: auto; height: 62%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
    .hero::after { display: none; }
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero h1, .hero .lead { max-width: none; }
    .steps ol, .service-grid { grid-template-columns: 1fr; }
    .steps ol { gap: 32px; }
    .about .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
    .about figure { max-width: 440px; margin-left: 24px; }
}
@media (max-width: 520px) {
    .site-header .wrap { gap: 12px; }
    .site-nav { gap: 8px; }
    .brand { font-size: 1.35rem; gap: 10px; }
    .brand img { width: 40px; height: 40px; border-radius: 9px; }
    .nav-toggle { width: 40px; height: 40px; }
    .form-card { padding: 24px 20px; }
    .services { padding: 72px 0; }
    .steps { padding: 72px 0 80px; }
}
@media (max-width: 380px) {
    .brand { font-size: 1.15rem; }
    .brand img { width: 34px; height: 34px; border-radius: 8px; }
}
@media (max-width: 340px) {
    .site-header .wrap { gap: 8px; }
    .brand { font-size: 1rem; gap: 8px; }
    .brand img { width: 30px; height: 30px; border-radius: 7px; }
    .nav-toggle { width: 36px; height: 36px; }
    .languages { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Page not found (404) */
.not-found { padding-bottom: 112px; }
.not-found h1 { max-width: 15ch; }
.not-found h1 span { color: var(--red); }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button-ghost { background: transparent; color: var(--red-deep); box-shadow: inset 0 0 0 2px var(--red); }
.button-ghost:hover { background: var(--red-soft); color: var(--red-deep); }
.not-found-card { text-align: center; padding: 48px 32px 44px; max-width: 420px; justify-self: center; width: 100%; }
.not-found-code { font: 700 clamp(5rem, 10vw, 8rem)/1 var(--serif); color: var(--red); letter-spacing: -.02em; }
.not-found-caption { margin-top: 14px; font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) {
    .not-found { padding-bottom: 72px; }
    .not-found-card { padding: 36px 24px 32px; }
}

/* Cross-link to AIO Presence: a raster mark alongside the inline SVG icons.
   Overrides ".about img" (the founder photo rule: width:100%, grayscale). */
.about-actions .aio-mark {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
    filter: none;
    position: static;
}

/* About page (/en/about/, /es/about/): Marcelo's full story. */
.eyebrow { font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

.profile-hero { position: relative; overflow: hidden; padding: 48px 0 104px; }
.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 42%;
    background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}
.profile-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.profile-hero h1 { margin-top: 18px; font-size: clamp(2.8rem, 5.6vw, 4.6rem); letter-spacing: -.02em; }
.profile-role { margin-top: 18px; font-size: 1.2rem; color: var(--text); }
.profile-hero .rule { width: 72px; height: 4px; background: var(--red); margin-top: 28px; border-radius: 2px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.profile-photo { position: relative; max-width: 480px; justify-self: end; width: 100%; }
.profile-photo::before {
    content: "";
    position: absolute;
    left: -28px;
    bottom: -28px;
    width: 72%;
    height: 72%;
    background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}
.profile-photo img { position: relative; width: 100%; border-radius: 0 120px 0 0; filter: grayscale(1); box-shadow: 0 24px 60px rgba(40, 10, 10, .28); }

.story { padding: 96px 0 104px; background: var(--mist); }
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 56px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--red), rgba(216, 38, 31, .15)); }
.milestone { position: relative; padding-bottom: 64px; }
.milestone:last-child { padding-bottom: 0; }
.milestone::before {
    content: "";
    position: absolute;
    left: -56px;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: inset 0 0 0 5px var(--red);
}
.milestone-mark { font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--red); letter-spacing: -.01em; }
.milestone h2 { margin-top: 10px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.milestone p:not(.milestone-mark) { margin-top: 18px; font-size: 1.1rem; line-height: 1.8; max-width: 65ch; }

.story-quote { margin: 0 0 64px; padding: 28px 0 28px 32px; border-left: 4px solid var(--red); }
.story-quote p { font: italic 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.2 var(--serif); color: var(--ink); max-width: 22ch; }

.reflection { background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal)); color: #fff; padding: 96px 0; text-align: center; }
.reflection-text { margin: 0 auto; max-width: 30ch; font: 700 clamp(1.7rem, 3.2vw, 2.4rem)/1.3 var(--serif); color: #fff; }
.reflection .about-actions { justify-content: center; margin-top: 40px; }

@media (max-width: 960px) {
    .profile-hero { padding: 24px 0 72px; }
    .profile-hero::before { width: 100%; top: auto; height: 48%; clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); }
    .profile-hero .wrap { grid-template-columns: 1fr; gap: 48px; }
    .profile-photo { justify-self: start; max-width: 420px; margin-left: 24px; }
    .story { padding: 72px 0 80px; }
    .reflection { padding: 72px 0; }
}
@media (max-width: 520px) {
    .timeline { padding-left: 40px; }
    .timeline::before { left: 7px; }
    .milestone::before { left: -40px; width: 16px; height: 16px; box-shadow: inset 0 0 0 4px var(--red); }
    .milestone p:not(.milestone-mark) { font-size: 1.05rem; line-height: 1.75; }
    .story-quote { padding-left: 20px; margin-bottom: 48px; }
}
.site-nav .nav-link[aria-current="page"] { color: var(--red); }
