@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #15314b;
    --muted: #52667a;
    --navy: #163a5a;
    --navy-light: #234b6c;
    --teal: #248f9b;
    --blue: #3278b3;
    --paper: #f3f6fa;
    --white: #fff;
    --line: #e5ebed;
    font-family: 'DM Sans', Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #dfe7ed;
    background: rgb(255 255 255 / 92%);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand img { display: block; width: 232px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 37px; color: #435b70; font-size: 13px; font-weight: 500; }
.site-nav > a:not(.nav-cta) { transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: #153a5a; }
.site-nav .nav-cta { padding: 12px 19px; color: #fff; border: 1px solid #173e60; border-radius: 7px; background: #173e60; transition: background .2s ease, border-color .2s ease; }
.site-nav .nav-cta:hover { background: #24577f; border-color: #24577f; }
.nav-cta span { margin-left: 10px; color: var(--teal); }
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: 730px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 122px 0 91px;
    color: #15314b;
    background:
        radial-gradient(ellipse at 75% 49%, rgb(199 222 235 / 43%), transparent 41%),
        linear-gradient(113deg, #f8fafc 0%, #f0f5f9 57%, #e9f1f6 100%);
}
.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, rgb(50 120 179 / 35%), transparent);
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.hero-glow-one { top: 150px; right: 10%; width: 350px; height: 350px; background: radial-gradient(circle, rgb(44 128 166 / 10%), transparent 72%); }
.hero-glow-two { bottom: 0; left: 28%; width: 360px; height: 180px; background: radial-gradient(ellipse, rgb(32 113 156 / 9%), transparent 70%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 30px; }
.hero-copy { max-width: 550px; padding-bottom: 8px; }
.eyebrow { margin: 0 0 23px; color: #55748b; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.status-dot, .note-pulse { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgb(56 205 183 / 12%); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Manrope', 'DM Sans', sans-serif; }
.hero h1 { max-width: 540px; margin-bottom: 21px; font-size: clamp(45px, 5.1vw, 68px); font-weight: 600; letter-spacing: -.065em; line-height: 1.09; }
.hero h1 span, .technology h2 span { color: #247d91; }
.hero-description { max-width: 455px; margin-bottom: 31px; color: #50677b; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 17px; padding: 0 20px; border-radius: 7px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: #1e718a; box-shadow: 0 9px 26px rgb(36 105 140 / 17%); }
.button-primary:hover { background: #195e76; box-shadow: 0 12px 30px rgb(36 105 140 / 25%); }
.button-primary span, .button-dark span, .button-light span { font-size: 17px; font-weight: 400; }
.text-link { color: #38546b; font-size: 12px; font-weight: 600; }
.text-link span { margin-left: 6px; color: #248f9b; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 52px; }
.proof-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgb(68 212 190 / 26%); border-radius: 50%; color: var(--teal); background: rgb(68 212 190 / 6%); }
.proof-icon svg { width: 20px; height: 20px; }
.hero-proof strong, .hero-proof small { display: block; }
.hero-proof strong { margin-bottom: 4px; font-size: 11px; font-weight: 600; }
.hero-proof small { color: #627a8c; font-size: 10px; }
.hero-visual { position: relative; display: flex; min-height: 474px; align-items: center; justify-content: center; }
.network-art { position: relative; z-index: 1; width: min(100%, 555px); overflow: visible; }
.visual-orbit { position: absolute; border: 1px solid rgb(51 112 146 / 12%); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; }
.orbit-two { width: 485px; height: 485px; }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; padding: 12px 15px; border: 1px solid #dbe6ec; border-radius: 9px; color: #35536a; background: rgb(255 255 255 / 94%); box-shadow: 0 12px 34px rgb(29 62 82 / 11%); font-size: 10px; }
.note-top { top: 68px; right: 21px; }
.note-top .note-pulse { width: 6px; height: 6px; }
.note-bottom { bottom: 42px; left: 14px; gap: 8px; }
.sparkle { color: #52a5f1; font-size: 17px; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); color: #728a97; font-size: 8px; font-weight: 600; letter-spacing: .16em; }
.scroll-cue span { position: relative; display: block; width: 14px; height: 20px; border: 1px solid #6c8693; border-radius: 9px; }
.scroll-cue span::after { position: absolute; top: 4px; left: 5px; width: 2px; height: 4px; content: ''; border-radius: 2px; background: var(--teal); animation: scroll-dot 1.3s infinite; }
@keyframes scroll-dot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(5px); } }

.services { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 47px; }
.eyebrow-dark { margin-bottom: 14px; color: #328e86; }
.section-heading h2, .about-copy h2 { max-width: 570px; margin-bottom: 0; font-size: clamp(33px, 4.1vw, 48px); font-weight: 600; letter-spacing: -.055em; line-height: 1.16; }
.section-heading h2 span, .about-copy h2 span { color: #268f87; }
.section-intro { max-width: 355px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 270px; padding: 24px 21px 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #c8e5e0; box-shadow: 0 16px 36px rgb(20 56 68 / 7%); }
.service-icon { display: grid; width: 43px; height: 43px; margin-bottom: 25px; place-items: center; border-radius: 10px; background: #e9f8f5; color: #248f84; }
.service-icon svg { width: 22px; height: 22px; }
.icon-network { color: #327cbd; background: #edf5fc; }
.icon-system { color: #98772d; background: #fbf5e7; }
.icon-ai { color: #805bb3; background: #f3eefb; }
.card-number { position: absolute; top: 27px; right: 22px; color: #b5c2c8; font: 600 10px/1 'Manrope', sans-serif; letter-spacing: .08em; }
.service-card h3 { margin-bottom: 10px; color: #142b39; font: 700 14px/1.4 'Manrope', sans-serif; letter-spacing: -.02em; }
.service-card p { min-height: 57px; margin-bottom: 17px; color: #697984; font-size: 11px; line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: #267f79; font-size: 10px; font-weight: 700; }
.card-link span { font-size: 15px; transition: transform .2s ease; }
.card-link:hover span { transform: translate(2px, -2px); }

.project-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.project-card { display: grid; grid-template-columns: minmax(260px, 42%) minmax(0, 1fr); align-items: center; gap: 0; overflow: hidden; border: 1px solid #e7edf0; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgb(14 38 51 / 6%); transition: transform .24s ease, box-shadow .24s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgb(20 56 68 / 8%); }
.project-media-column { align-self: stretch; padding: 18px; background: #f4f7f8; }
.project-image { display: block; width: 100%; height: 190px; border-radius: 9px; object-fit: cover; }
.project-details { align-self: stretch; padding: 30px 34px; color: #172f3e; }
.project-details h3 { margin: 0 0 4px; color: #142b39; font: 700 15px/1.4 'Manrope', sans-serif; }
.project-client { margin: 0; color: #71808a; font-size: 11px; }
.project-description { margin-top: 14px; padding: 13px 14px; border: 1px solid #e1e9ec; border-radius: 8px; background: #fff; }
.project-description-label { display: block; margin-bottom: 6px; color: #247f7c; font: 700 9px/1.4 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.project-description p { margin: 0; color: #566b76; font-size: 11px; line-height: 1.65; }
.empty-state { grid-column: 1 / -1; padding: 40px 0; color: var(--muted); font-style: italic; text-align: center; }

.about { overflow: hidden; background: #fff; }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 100px; }
.about-art { position: relative; min-height: 413px; display: grid; place-items: center; }
.about-frame { position: relative; width: min(100%, 440px); height: 345px; overflow: hidden; border: 1px solid #e1e9ef; border-radius: 12px; background: linear-gradient(140deg, #f4f8fb, #eaf2f7 70%); }
.about-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(130deg, transparent 32%, rgb(35 125 145 / 7%), transparent 68%); }
.about-grid { position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgb(52 103 136 / 12%) 1px, transparent 1px), linear-gradient(90deg, rgb(52 103 136 / 12%) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(130deg, transparent, #000 38%, #000); }
.about-logo { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(260px, 72%); height: auto; transform: translate(-50%, -54%); }
.about-orbit { position: absolute; z-index: 1; border: 1px solid rgb(44 117 153 / 21%); border-radius: 50%; }
.orbit-a { top: 76px; left: 94px; width: 257px; height: 257px; }
.orbit-b { top: 40px; left: 58px; width: 329px; height: 329px; border-color: rgb(94 158 208 / 15%); }
.about-caption { position: absolute; z-index: 2; bottom: 26px; left: 26px; display: flex; align-items: center; gap: 9px; color: #45657b; font-size: 8px; font-weight: 600; letter-spacing: .16em; }
.caption-line { width: 20px; height: 1px; background: #2794a0; }
.about-badge { position: absolute; right: 0; bottom: 24px; z-index: 3; display: flex; width: 144px; min-height: 85px; flex-direction: column; justify-content: center; padding: 17px; border: 1px solid #e8efef; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgb(13 38 49 / 11%); }
.about-badge strong { margin-bottom: 3px; color: #102b3a; font: 700 12px/1.4 'Manrope', sans-serif; }
.about-badge > span:not(.badge-arrow) { color: #6a7e88; font-size: 10px; }
.badge-arrow { position: absolute; top: 15px; right: 15px; color: #299c8e; font-size: 15px; }
.about-copy h2 { max-width: 510px; margin-bottom: 19px; }
.about-description { max-width: 475px; margin-bottom: 25px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.value-list { display: grid; gap: 17px; margin-bottom: 28px; }
.value-item { display: flex; align-items: start; gap: 11px; }
.value-check { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; color: #268f83; background: #e9f7f4; font-size: 11px; font-weight: 700; }
.value-item strong, .value-item div > span { display: block; }
.value-item strong { margin: 1px 0 4px; color: #193342; font-size: 11px; font-weight: 700; }
.value-item div > span { color: #6c7d86; font-size: 10px; }
.button-dark { color: #fff; background: #102b3b; }
.button-dark:hover { background: #1b3f50; }

.technology { position: relative; overflow: hidden; padding: 82px 0 98px; color: #173a57; background: #edf3f7; }
.technology-layout { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.technology .eyebrow { color: #247f91; }
.technology h2 { margin-bottom: 0; font-size: clamp(31px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.05em; line-height: 1.25; }
.technology h2 span { color: #52738a; }
.technology-copy { max-width: 453px; }
.technology-copy > p { margin-bottom: 21px; color: #536c80; font-size: 12px; line-height: 1.8; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span { padding: 9px 12px; border: 1px solid #d9e4eb; border-radius: 5px; color: #33536b; background: rgb(255 255 255 / 84%); font-size: 10px; font-weight: 500; }
.tech-decoration { position: absolute; right: -20px; bottom: 7px; color: rgb(30 77 106 / 4%); font: 800 53px/1 'Manrope', sans-serif; letter-spacing: .02em; white-space: nowrap; pointer-events: none; }

.contact { padding: 104px 0; background: var(--paper); }
.contact-panel { position: relative; display: flex; min-height: 302px; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; padding: 57px 70px; border: 1px solid #dce7ee; border-radius: 13px; color: #173a57; background: linear-gradient(110deg, #eaf2f7, #e2edf4 62%, #eaf2f7); }
.contact-panel::before, .contact-panel::after { position: absolute; content: ''; border: 1px solid rgb(47 115 151 / 16%); border-radius: 50%; pointer-events: none; }
.contact-panel::before { top: -200px; right: 120px; width: 490px; height: 490px; }
.contact-panel::after { top: -145px; right: 175px; width: 380px; height: 380px; }
.contact-glow { position: absolute; top: 16px; right: 177px; width: 320px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgb(49 131 159 / 10%), transparent 69%); }
.contact-copy { position: relative; z-index: 1; max-width: 575px; }
.contact-copy .eyebrow { margin-bottom: 15px; color: #277d8d; }
.contact-copy h2 { margin-bottom: 12px; font-size: clamp(34px, 4vw, 47px); font-weight: 600; letter-spacing: -.055em; line-height: 1.13; }
.contact-copy h2 span { color: #287e92; }
.contact-copy > p:last-child { max-width: 410px; margin-bottom: 0; color: #516c80; font-size: 12px; line-height: 1.75; }
.button-light { position: relative; z-index: 1; flex: 0 0 auto; color: #fff; background: #173e60; }
.button-light:hover { background: #24577f; }
.contact-bottom { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 20px; padding: 16px 70px; border-top: 1px solid rgb(44 91 122 / 12%); color: #597387; font-size: 9px; }

.site-footer { background: #fff; border-top: 1px solid #e3eaf0; }
.footer-inner { display: flex; min-height: 89px; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand img { width: 195px; height: auto; }
.footer-inner > p { margin: 0; color: #607488; font-size: 10px; }
.copyright { color: #607488; font-size: 10px; }

@media (max-width: 980px) {
    .hero { min-height: 680px; }
    .hero-layout { grid-template-columns: 1fr 1fr; gap: 6px; }
    .hero h1 { font-size: clamp(42px, 6.4vw, 58px); }
    .hero-visual { min-height: 400px; }
    .note-top { right: 0; }
    .note-bottom { left: 0; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { min-height: 250px; }
    .project-grid { grid-template-columns: 1fr; }
    .about-layout { gap: 52px; }
    .contact-panel { padding-right: 48px; padding-left: 48px; }
    .contact-bottom { padding-right: 48px; padding-left: 48px; }
}

@media (max-width: 720px) {
    :root { scroll-padding-top: 72px; }
    .container { width: min(100% - 36px, 560px); }
    .section { padding: 78px 0; }
    .site-header { position: sticky; }
    .header-inner { height: 78px; }
    .brand img { width: min(192px, 57vw); }
    .menu-toggle { display: grid; width: 42px; height: 42px; align-content: center; justify-items: center; gap: 6px; border: 1px solid #c8d5df; border-radius: 7px; background: #fff; cursor: pointer; }
    .project-card { grid-template-columns: 1fr; }
    .project-media-column { padding: 15px; }
    .project-image { height: 190px; }
    .project-details { padding: 20px 22px 22px; }
    .menu-toggle span { width: 18px; height: 1.5px; background: #244763; transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
    .site-nav { position: absolute; top: 64px; right: 18px; left: 18px; display: none; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #e0e8ed; border-radius: 9px; color: #435b70; background: #fff; box-shadow: 0 16px 30px rgb(30 60 80 / 12%); }
    .site-nav.is-open { display: flex; flex-direction: column; }
    .site-nav > a:not(.nav-cta) { padding: 13px 12px; }
    .site-nav .nav-cta { margin-top: 4px; padding: 13px 12px; border-color: #173e60; }
    .hero { min-height: auto; padding: 132px 0 70px; }
    .hero-layout { grid-template-columns: 1fr; gap: 15px; }
    .hero-copy { padding: 0; }
    .eyebrow { margin-bottom: 18px; font-size: 9px; }
    .hero h1 { max-width: 470px; margin-bottom: 17px; font-size: clamp(43px, 11vw, 61px); }
    .hero-description { max-width: 470px; margin-bottom: 25px; font-size: 14px; }
    .hero-actions { flex-wrap: wrap; gap: 16px; }
    .button { min-height: 47px; padding: 0 15px; font-size: 11px; }
    .hero-proof { margin-top: 28px; }
    .hero-visual { min-height: 320px; margin: -9px -8px -8px; }
    .network-art { width: min(100%, 425px); }
    .orbit-one { width: 265px; height: 265px; }
    .orbit-two { width: 340px; height: 340px; }
    .note-top { top: 35px; right: 4px; }
    .note-bottom { bottom: 17px; left: 4px; }
    .scroll-cue { display: none; }
    .section-heading { display: block; margin-bottom: 31px; }
    .section-heading h2, .about-copy h2 { font-size: clamp(32px, 8vw, 43px); }
    .section-intro { margin-top: 15px; font-size: 12px; }
    .service-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { min-height: 0; padding: 20px; }
    .service-icon { margin-bottom: 17px; }
    .service-card p { min-height: 0; margin-bottom: 16px; }
    .about-layout { grid-template-columns: 1fr; gap: 31px; }
    .about-art { min-height: 322px; }
    .about-frame { height: 280px; }
    .orbit-a { top: 52px; left: 69px; width: 220px; height: 220px; }
    .orbit-b { top: 24px; left: 42px; width: 274px; height: 274px; }
    .about-badge { right: -1px; bottom: 7px; }
    .about-copy h2 { margin-bottom: 15px; }
    .about-description { font-size: 12px; }
    .value-list { gap: 15px; }
    .technology { padding: 67px 0 79px; }
    .technology-layout { display: grid; gap: 27px; }
    .technology h2 { font-size: clamp(30px, 8vw, 40px); }
    .technology-copy > p { font-size: 11px; }
    .tech-decoration { right: -30px; font-size: 34px; }
    .contact { padding: 66px 0; }
    .contact-panel { min-height: 400px; align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 22px; padding: 40px 25px 78px; }
    .contact-panel::before { top: -87px; right: -200px; }
    .contact-panel::after { top: -40px; right: -130px; }
    .contact-glow { top: 40px; right: -89px; }
    .contact-copy h2 { font-size: 40px; }
    .contact-bottom { flex-direction: column; gap: 7px; padding: 13px 25px; font-size: 8px; }
    .footer-inner { min-height: 145px; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 20px; padding-bottom: 20px; }
    .footer-brand img { width: 165px; }
    .footer-inner > p { order: 3; width: 100%; }
    .copyright { font-size: 9px; }
}

@media (max-width: 380px) {
    .container { width: calc(100% - 28px); }
    .hero h1 { font-size: 41px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-visual { min-height: 280px; }
    .floating-note { padding: 9px 11px; font-size: 9px; }
    .contact-copy h2 { font-size: 36px; }
}

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

/* ============ Asistente virtual "Mila" ============ */
.mila-widget { position: fixed; z-index: 80; right: 22px; bottom: 22px; font-family: inherit; }
.mila-launch {
    display: flex; align-items: center; gap: 10px;
    border: 0; cursor: pointer; padding: 10px 18px 10px 12px;
    border-radius: 999px; background: var(--navy); color: #fff;
    box-shadow: 0 12px 28px rgb(21 49 75 / 28%);
    font-weight: 600; font-size: 15px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mila-launch:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgb(21 49 75 / 34%); }
.mila-launch img { width: 44px; height: 44px; }
.mila-launch .mila-status { width: 9px; height: 9px; border-radius: 50%; background: #35d1a0; box-shadow: 0 0 0 0 rgb(53 209 160 / 50%); animation: mila-pulse 2.2s infinite; }
@keyframes mila-pulse {
    0% { box-shadow: 0 0 0 0 rgb(53 209 160 / 55%); }
    70% { box-shadow: 0 0 0 9px rgb(53 209 160 / 0%); }
    100% { box-shadow: 0 0 0 0 rgb(53 209 160 / 0%); }
}

.mila-panel {
    position: absolute; right: 0; bottom: calc(100% + 14px);
    width: min(360px, calc(100vw - 40px));
    background: var(--white); border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgb(21 49 75 / 22%);
    display: none; flex-direction: column; overflow: hidden;
    transform-origin: bottom right;
}
.mila-widget.is-open .mila-panel { display: flex; animation: mila-pop .25s ease; }
@keyframes mila-pop { from { opacity: 0; transform: scale(.9) translateY(8px); } to { opacity: 1; transform: scale(1); } }

.mila-head-panel {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; background: linear-gradient(120deg, var(--navy), var(--teal)); color: #fff;
}
.mila-head-panel img { width: 46px; height: 46px; filter: drop-shadow(0 4px 8px rgb(0 0 0 / 25%)); animation: mila-float 4s ease-in-out infinite; }
@keyframes mila-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.mila-head-panel strong { display: block; font-size: 16px; }
.mila-head-panel small { opacity: .85; }
.mila-close { margin-left: auto; border: 0; background: rgb(255 255 255 / 14%); color: #fff; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.mila-close:hover { background: rgb(255 255 255 / 26%); }

.mila-chat { padding: 14px; display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow-y: auto; background: var(--paper); }
.mila-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: mila-msg-in .25s ease; }
@keyframes mila-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mila-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.mila-msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.mila-msg a { text-decoration: underline; font-weight: 600; }

.mila-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; background: var(--paper); }
.mila-quick button {
    border: 1px solid var(--teal); color: var(--teal); background: var(--white);
    border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.mila-quick button:hover { background: var(--teal); color: #fff; }

.mila-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.mila-form input {
    flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
    font: inherit; font-size: 14.5px; outline: none; background: var(--paper);
}
.mila-form input:focus { border-color: var(--teal); }
.mila-form button {
    border: 0; width: 42px; height: 42px; flex: none; border-radius: 50%;
    background: var(--teal); color: #fff; font-size: 17px; cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.mila-form button:hover { transform: scale(1.06); background: var(--blue); }

@media (max-width: 720px) {
    .mila-widget { right: 14px; bottom: 14px; }
    .mila-launch { padding: 10px 14px 10px 10px; font-size: 14px; }
    .mila-panel { bottom: calc(100% + 10px); }
}

/* opciones interactivas dentro del chat de Mila */
.mila-options { display: flex; flex-wrap: wrap; gap: 8px; background: transparent; border: 0; padding: 0; max-width: 95%; }
.mila-options button {
    border: 1.5px solid var(--teal); color: var(--teal); background: var(--white);
    border-radius: 999px; padding: 8px 15px; font: inherit; font-size: 13.5px; font-weight: 600;
    cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s ease;
    animation: mila-msg-in .25s ease;
}
.mila-options button:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* imagen en tarjetas de servicio */
.service-image { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; margin-bottom: 4px; }


/* Tienda en linea */
.store { background: #f3f7f8; }
.store .section-heading { margin-bottom: 42px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid #e0e9eb; border-radius: 15px; background: #fff; box-shadow: 0 9px 28px rgb(22 49 67 / 5%); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-5px); border-color: #c6dcd9; box-shadow: 0 18px 36px rgb(22 49 67 / 10%); }
.product-photo { position: relative; display: grid; height: 225px; overflow: hidden; place-items: center; background: linear-gradient(145deg, #e9f2f4, #dce9ed); }
.product-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-photo > img { transform: scale(1.035); }
.product-category, .product-featured { position: absolute; top: 14px; border-radius: 999px; padding: 7px 11px; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.product-category { left: 14px; color: #365767; background: rgb(255 255 255 / 92%); }
.product-featured { right: 14px; color: #fff; background: #208d83; }
.product-placeholder { position: relative; width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgb(48 128 143 / 20%); border-radius: 28px; color: #258b8d; background: rgb(255 255 255 / 70%); box-shadow: 0 16px 34px rgb(44 104 120 / 10%); }
.product-placeholder span { font: 700 54px/1 'Manrope', sans-serif; letter-spacing: -.1em; transform: translateX(-3px); }
.product-placeholder i, .product-placeholder b { position: absolute; display: block; width: 9px; height: 9px; border-radius: 50%; background: #55bcae; }
.product-placeholder i { top: 17px; right: 19px; }
.product-placeholder b { bottom: 19px; left: 18px; width: 6px; height: 6px; background: #6ca8d0; }
.product-info { padding: 20px 21px 19px; }
.product-info h3 { margin: 0 0 9px; color: #183747; font: 700 15px/1.4 'Manrope', sans-serif; letter-spacing: -.025em; }
.product-info > p { min-height: 45px; margin: 0 0 16px; color: #6b7d85; font-size: 11px; line-height: 1.65; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 15px; }
.product-price { color: #1d514f; font-size: 13px; font-weight: 700; }
.product-meta > span { color: #687f82; font-size: 9px; }
.product-cta { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid #edf1f2; color: #247e79; font-size: 10px; font-weight: 700; }
.product-cta span { font-size: 16px; transition: transform .2s ease; }
.product-cta:hover span { transform: translate(2px, -2px); }
.store-empty { grid-column: 1 / -1; display: grid; justify-items: center; padding: 50px 24px; border: 1px dashed #c9d9dc; border-radius: 15px; text-align: center; background: rgb(255 255 255 / 62%); }
.store-empty-mark { display: grid; width: 48px; height: 48px; margin-bottom: 16px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #173b50, #299b91); font: 700 24px 'Manrope', sans-serif; }
.store-empty h3 { margin: 0 0 8px; color: #193a4a; font: 700 16px 'Manrope', sans-serif; }
.store-empty p { max-width: 440px; margin: 0; color: #6b7d85; font-size: 11px; line-height: 1.7; }
.about-copy h2 { max-width: 540px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: 1fr; gap: 15px; } .product-photo { height: 215px; } .product-info { padding: 18px; } }


/* Formulario de consultas */
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); align-items: center; gap: 42px; min-height: 460px; padding: 48px 54px 76px; }
.contact-copy > p { max-width: 410px; margin-bottom: 15px; color: #516c80; font-size: 12px; line-height: 1.75; }
.contact-email { color: #247d88; font-size: 11px; font-weight: 700; }
.contact-form { position: relative; z-index: 2; display: grid; gap: 11px; width: 100%; padding: 20px; border: 1px solid rgb(220 231 238 / 90%); border-radius: 13px; background: rgb(255 255 255 / 91%); box-shadow: 0 14px 38px rgb(25 59 78 / 8%); }
.contact-form label { display: grid; gap: 6px; color: #315268; font-size: 10px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #dce6e9; border-radius: 7px; padding: 10px 11px; outline: none; color: #173a4c; background: #fbfdfd; font: 400 11px/1.5 'Manrope', sans-serif; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #47a69d; box-shadow: 0 0 0 3px rgb(71 166 157 / 12%); }
.contact-form textarea { resize: vertical; min-height: 72px; }
.contact-form .button { width: 100%; min-height: 44px; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.contact-form .button:disabled { opacity: .65; cursor: wait; }
.contact-form-status { min-height: 14px; margin: 0; color: #287a65; font-size: 10px; line-height: 1.5; }
.contact-form-status.is-error { color: #b53b43; }
.contact-panel .contact-bottom { padding-right: 54px; padding-left: 54px; }
@media (max-width: 720px) {
    .contact-panel { display: grid; grid-template-columns: 1fr; gap: 22px; min-height: 0; padding: 36px 20px 80px; }
    .contact-form { padding: 16px; }
    .contact-panel .contact-bottom { padding-right: 20px; padding-left: 20px; }
}


/* WhatsApp contact options */
.whatsapp-contact{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:12px 18px;border:1px solid rgba(37,211,102,.42);border-radius:999px;color:#dfffea;font-weight:700;text-decoration:none;transition:background .2s ease,transform .2s ease}
.whatsapp-contact:hover{background:rgba(37,211,102,.14);transform:translateY(-2px)}
.whatsapp-float{position:fixed;left:24px;bottom:24px;z-index:40;display:flex;align-items:center;gap:10px;padding:12px 17px;border-radius:999px;background:#128c50;color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.24);font-size:14px;font-weight:750;text-decoration:none;transition:background .2s ease,transform .2s ease}
.whatsapp-float:hover{background:#0c7541;transform:translateY(-3px)}
.whatsapp-float-icon{display:grid;width:28px;height:28px;place-items:center;border:1px solid rgba(255,255,255,.65);border-radius:50%;font-size:18px}
@media(max-width:640px){.whatsapp-float{left:14px;bottom:14px;padding:10px 13px}.whatsapp-contact{font-size:14px}}


/* Busqueda y filtros del catalogo */
.store-tools{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:13px 20px;margin:0 0 23px}
.store-search{display:grid;gap:7px;color:#415d6b;font-size:11px;font-weight:700}
.store-search input{width:100%;min-height:44px;padding:0 14px;border:1px solid #d5e1e4;border-radius:9px;background:#fff;color:#183747;font:inherit;font-weight:500;outline:none}
.store-search input:focus{border-color:#328f88;box-shadow:0 0 0 3px rgb(50 143 136 / 13%)}
.store-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.store-filter{min-height:37px;padding:0 13px;border:1px solid #d7e3e5;border-radius:999px;background:#fff;color:#44606c;font:inherit;font-size:10px;font-weight:700;cursor:pointer;transition:all .18s ease}
.store-filter:hover,.store-filter.is-active{border-color:#207f78;background:#207f78;color:#fff}
.store-result-count{grid-column:1/-1;margin:0;color:#758892;font-size:10px}
.product-card[hidden],.store-no-results[hidden]{display:none}
.store-no-results{grid-column:1/-1;padding:30px 16px;border:1px dashed #c9d9dc;border-radius:12px;color:#607680;text-align:center;font-size:12px}
@media(max-width:720px){.store-tools{grid-template-columns:1fr}.store-filters{justify-content:flex-start}.store-result-count{grid-column:auto}}


/* Pagina independiente de tienda */
.store-page-main{min-height:65vh;padding:54px 0 20px;background:#f3f7f8}
.store-page-intro{padding:20px 0 24px}
.store-page-intro .eyebrow{margin-bottom:12px}
.store-page-intro h1{max-width:760px;margin:0 0 12px;color:#173747;font:700 clamp(34px,5vw,54px)/1.08 'Manrope',sans-serif;letter-spacing:-.055em}
.store-page-intro h1 span{color:#27877f}
.store-page-intro>p:last-child{max-width:620px;margin:0;color:#607985;font-size:14px;line-height:1.7}
.store-page-main .store{padding:22px 0 70px}
.store-page-main .store .section-heading{display:none}
.store-page-nav{display:flex;align-items:center;gap:24px;font-size:12px;font-weight:700}
.store-page-nav a{color:#244763;text-decoration:none}
.store-page-nav a:hover{color:#208d83}
.store-page-nav .nav-cta{padding:12px 16px;border-radius:7px;background:#203e55;color:#fff}
@media(max-width:720px){.store-page-main{padding-top:35px}.store-page-intro{padding-top:10px}.store-page-nav{gap:12px;font-size:10px}.store-page-nav .nav-cta{padding:10px}}


.public-page-main{min-height:65vh;padding-top:24px}
.site-nav>[aria-current="page"]:not(.nav-cta){color:#14867f;font-weight:700}
.site-nav .nav-cta[aria-current="page"]{background:#24577f;border-color:#24577f}


/* Footer configurado desde el administrador */
.site-footer{background:#f4f7f7;border-top:1px solid #e1e8e8}
.footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px;padding:42px 0 35px}
.footer-column h2{margin:0 0 17px;color:#18364b;font:700 14px/1.3 'Manrope',sans-serif;letter-spacing:-.015em}
.footer-column ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.footer-column a{display:flex;align-items:flex-start;gap:10px;color:#536a77;font-size:11px;line-height:1.55;transition:color .18s ease}
.footer-column a:hover{color:#13877f}
.footer-link-mark{flex:0 0 17px;color:#278e88;font-size:14px;line-height:1.1}
.footer-bottom{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dfe7e7}
.footer-bottom>p{margin:0;color:#607488;font-size:10px}
.footer-admin-groups{display:grid;gap:16px;margin:20px 0}
.footer-admin-group{padding:18px;border:1px solid #e0e8eb;border-radius:11px;background:#fbfcfd}
.footer-admin-group-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.footer-admin-group-head .field{flex:1}
.footer-admin-links{display:grid;gap:10px;margin-bottom:12px}
.footer-admin-link{display:grid;grid-template-columns:minmax(150px,1fr) minmax(220px,1.5fr) auto;align-items:end;gap:12px;padding:12px;border:1px solid #e6ecee;border-radius:8px;background:#fff}
.footer-admin-actions{display:flex;justify-content:space-between;gap:12px}
@media(max-width:800px){.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.footer-admin-link{grid-template-columns:1fr 1fr}.footer-admin-link button{justify-self:start}}
@media(max-width:520px){.footer-columns{gap:24px 18px;padding:32px 0}.footer-column h2{font-size:12px}.footer-column a{font-size:10px}.footer-bottom{flex-wrap:wrap;justify-content:flex-start;padding:18px 0}.footer-admin-group-head{align-items:start;flex-direction:column}.footer-admin-link{grid-template-columns:1fr}.footer-admin-actions{align-items:stretch;flex-direction:column}}
