:root{--ds-page:#fdfcfb}*{box-sizing:border-box}body{margin:0;background:#fdfcfb}a{color:inherit}.portable-card{max-width:1040px;margin:auto;padding:24px}.portable-card h1,.portable-card h2,.portable-card h3{font-weight:500}@media(min-width:768px){.portable-card{padding:36px}}html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }

/* ===== Mariano Escudero - presentacion comercial ===== */

.me-deck {
    font-family: Arial, sans-serif;
    color: #22232e;
    --petrol: #0e4f4a;
    --petrol-deep: #093834;
    --coral: #ff6a5c;
    --amber: #f2b441;
    --mint: #8fe3cf;
    --ink: #22232e;
    --ink-soft: #565a6b;
}

.me-bleed { margin: 0 -24px; }
@media (min-width: 768px) { .me-bleed { margin: 0 -36px; } }

.me-slide {
    position: relative;
    overflow: hidden;
    padding: 88px 28px;
}
@media (min-width: 768px) { .me-slide { padding: 120px 56px; } }

/* --- entrada animada: el estado base es el final; la animacion solo decora --- */
@keyframes meFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes meFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(24px, -30px, 0) scale(1.12); }
}
@keyframes meFloatAlt {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-30px, 22px, 0) scale(0.92); }
}
@keyframes mePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.045); }
}
.me-anim.in { animation: meFadeUp 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

@media (prefers-reduced-motion: reduce) {
    .me-anim.in, .me-blob, .me-cta { animation: none !important; }
}

/* --- blobs decorativos --- */
.me-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.5;
    pointer-events: none;
}

/* --- HERO --- */
.me-hero {
    margin-top: -24px;
    background: linear-gradient(135deg, var(--petrol-deep) 0%, var(--petrol) 55%, #14705e 100%);
    color: #f7f5f2;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) { .me-hero { margin-top: -36px; min-height: 620px; } }

.me-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mint);
    margin: 0 0 20px;
}

.me-hero h1 {
    font-family: Georgia, serif;
    font-weight: 800;
    font-size: clamp(46px, 11vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 26px;
}

.me-tagline {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(24px, 5vw, 40px);
    line-height: 1.25;
    margin: 0 0 18px;
    max-width: 17em;
}
.me-tagline .me-kw {
    font-weight: 700;
    background: linear-gradient(100deg, var(--coral), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.me-sub {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(247, 245, 242, 0.78);
    max-width: 34em;
    margin: 0 0 36px;
}

.me-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    background: var(--coral);
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    padding: 16px 30px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 106, 92, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: mePulse 3.2s ease-in-out infinite;
}
.me-cta:hover { transform: translateY(-2px); background: #ff7a6d; box-shadow: 0 16px 36px rgba(255, 106, 92, 0.45); }
.me-cta .me-arrow { font-size: 19px; }
@media (max-width: 400px) { .me-cta { font-size: 15px; padding: 14px 22px; white-space: nowrap; } }

/* --- secciones claras --- */
.me-light { background: #f7f5f2; }
.me-white { background: #ffffff; }

.me-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--coral);
    margin: 0 0 14px;
}
.me-h2 {
    font-family: Georgia, serif;
    font-weight: 800;
    font-size: clamp(32px, 6.4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 0 0 14px;
    color: var(--ink);
}
.me-h2 .me-kw { color: var(--petrol); }
.me-lead { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 36em; margin: 0 0 44px; }

/* --- servicios --- */
.me-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 768px) { .me-services { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.me-service {
    background: #ffffff;
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: 0 2px 14px rgba(34, 35, 46, 0.06);
    border: 1px solid rgba(34, 35, 46, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.me-service:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(34, 35, 46, 0.12); }
.me-service .me-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.me-service h3 {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 10px;
    color: var(--ink);
}
.me-service p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.me-chip-teal { background: rgba(14, 79, 74, 0.1); color: var(--petrol); }
.me-chip-coral { background: rgba(255, 106, 92, 0.12); color: #d84a3d; }
.me-chip-amber { background: rgba(242, 180, 65, 0.16); color: #a9761a; }

/* --- trabajos --- */
.me-work {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
}
@media (min-width: 900px) {
    .me-work { grid-template-columns: 1.15fr 1fr; gap: 56px; }
    .me-work.me-flip > .me-work-media { order: 2; }
}

.me-work-media img {
    width: 100%;
    display: block;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(34, 35, 46, 0.18);
    transition: transform 0.35s ease;
}
.me-work-media img:hover { transform: scale(1.015); }
.me-credit { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

.me-work h3 {
    font-family: Georgia, serif;
    font-weight: 800;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.1;
    margin: 0 0 6px;
    color: var(--ink);
}
.me-work .me-place { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin: 0 0 18px; }
.me-work p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.me-work p strong { color: var(--ink); font-weight: 600; }
.me-work p .me-hl { color: var(--petrol); font-weight: 600; }

.me-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.me-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 15px;
    color: var(--petrol);
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(14, 79, 74, 0.35);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.me-link:hover { background: var(--petrol); color: #fff; transform: translateY(-2px); }

/* --- trayectoria --- */
.me-dark {
    background: linear-gradient(160deg, #1b1d2b 0%, #232a3f 100%);
    color: #f7f5f2;
}
.me-dark .me-kicker { color: var(--amber); }
.me-dark .me-h2 { color: #f7f5f2; }
.me-dark .me-h2 .me-kw { color: var(--mint); }

.me-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 40px 0 34px;
}
@media (min-width: 768px) { .me-stats { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.me-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.25s ease, background 0.25s ease;
}
.me-stat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.1); }
.me-stat .me-big {
    font-family: Georgia, serif;
    font-weight: 800;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.05;
    background: linear-gradient(100deg, var(--mint), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 10px;
}
.me-stat p { font-size: 14.5px; line-height: 1.55; color: rgba(247, 245, 242, 0.75); margin: 0; }

.me-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.me-tag {
    font-size: 14px;
    font-weight: 500;
    color: rgba(247, 245, 242, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 9px 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.me-tag:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* --- quien soy --- */
.me-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 768px) { .me-about { grid-template-columns: 280px 1fr; gap: 56px; } }
.me-about-photo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(34, 35, 46, 0.18);
}
.me-about p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; max-width: 34em; }
.me-about .me-kicker { color: var(--coral); font-size: 13px; line-height: 1.4; margin: 0 0 14px; }
.me-about p strong { color: var(--ink); font-weight: 600; }

/* --- cierre --- */
.me-final {
    margin-bottom: -24px;
    background: linear-gradient(135deg, var(--petrol-deep) 0%, var(--petrol) 60%, #14705e 100%);
    color: #f7f5f2;
    text-align: center;
}
@media (min-width: 768px) { .me-final { margin-bottom: -36px; } }
.me-final .me-h2 { color: #f7f5f2; margin-bottom: 18px; }
.me-final .me-h2 .me-kw {
    background: linear-gradient(100deg, var(--coral), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.me-final .me-lead { color: rgba(247, 245, 242, 0.78); margin-left: auto; margin-right: auto; }
.me-final .me-cta { align-self: center; }
.me-final-contacts {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    font-size: 15px;
}
.me-final-contacts a { color: var(--mint); font-weight: 600; text-decoration: none; }
.me-final-contacts a:hover { text-decoration: underline; }

/* Navegacion persistente entre pantallas */
.me-deck { min-width: 0; }
.me-hero, .me-final { margin-top: 0; margin-bottom: 0; }
.me-slide { padding-top: 64px; padding-bottom: 64px; }
@media(min-width:768px) { .me-hero { margin-top: 0; min-height: 540px; } .me-final { margin-bottom: 0; } .me-slide { padding-top: 72px; padding-bottom: 72px; } }
@media(max-width:400px) { .me-hero h1 { font-size: 42px; } .me-cta { font-size:14px; padding:14px 18px; white-space:nowrap; } }

.me-work-media img{height:auto;aspect-ratio:16/9;object-fit:cover}a:focus-visible{outline:3px solid #f2b441;outline-offset:4px}

html{scroll-behavior:smooth;scroll-padding-top:88px}.portable-card{padding-top:0}.me-slide{scroll-margin-top:82px}.me-hero{margin-top:0}.site-header{position:sticky;top:0;z-index:20;background:rgba(253,252,251,.98);border-bottom:1px solid #e7e4e0}.site-header-inner{max-width:1040px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 36px}.site-brand{font-family:Georgia,serif;font-size:21px;font-weight:bold;text-decoration:none;color:#0e4f4a;white-space:nowrap}.site-menu{display:flex;gap:17px;align-items:center;flex-wrap:wrap}.site-menu a{font:600 14px Arial,sans-serif;text-decoration:none;min-height:44px;display:flex;align-items:center;color:#33433e}.site-menu a:hover{color:#0e4f4a;text-decoration:underline}.menu-toggle{display:none;background:#0e4f4a;color:#fff;border:0;border-radius:8px;padding:13px 16px;font:600 14px Arial,sans-serif;min-height:44px}.site-footer{max-width:1040px;margin:auto;padding:24px 36px;color:#565a6b;font:13px Arial,sans-serif}.site-footer a{color:#0e4f4a} .me-bleed{margin-bottom:0}
@media(max-width:767px){html{scroll-padding-top:76px}.site-header-inner{padding:12px 24px;flex-wrap:wrap;gap:0;justify-content:space-between}.site-brand{font-size:19px}.menu-toggle{display:block}.site-menu{display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;padding-top:10px}.site-menu.open{display:flex}.site-menu a{padding:3px 0}.me-slide{scroll-margin-top:70px}.site-footer{padding:24px}.me-slide{padding-top:72px;padding-bottom:72px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
