/*
Theme Name: Bolivian Servers
Theme URI: https://bolivianservers.com/
Author: Bolivian Servers
Description: Theme corporativo, editable y responsive para servicios digitales, catálogos y soluciones SaaS.
Version: 1.8.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: bolivianservers
*/

:root {
  --bs-primary: #0878ef;
  --bs-primary-dark: #005ec9;
  --bs-navy: #061e3a;
  --bs-navy-2: #0a2b50;
  --bs-green: #1fbe63;
  --bs-text: #132033;
  --bs-muted: #627084;
  --bs-soft: #f5f8fc;
  --bs-line: #e5ebf2;
  --bs-white: #fff;
  --bs-radius: 16px;
  --bs-shadow: 0 12px 40px rgba(9, 39, 75, .10);
  --bs-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--bs-text); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--bs-container)); margin-inline: auto; }
.section { padding: 76px 0; }
.section--soft { background: var(--bs-soft); }
.section-heading { max-width: 690px; margin: 0 auto 38px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--bs-primary); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
.section-heading p { margin: 14px auto 0; color: var(--bs-muted); font-size: 1.05rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; border: 0; overflow: hidden; }
.skip-link:focus { top: 8px; left: 8px; z-index: 9999; width: auto; height: auto; margin: 0; padding: 10px 14px; clip: auto; background: #fff; color: #111; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; background: var(--bs-primary); color: #fff; font-weight: 750; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); background: var(--bs-primary-dark); box-shadow: 0 9px 24px rgba(8,120,239,.22); }
.btn--outline { border-color: rgba(58, 213, 110, .75); background: transparent; color: #fff; }
.btn--outline:hover { background: rgba(31,190,99,.12); }
.btn--whatsapp { background: var(--bs-green); }
.btn--whatsapp:hover { background: #159d50; }
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn .bs-icon { flex: 0 0 19px; fill: none; }
.bs-icon { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -.2em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(229,235,242,.8); background: rgba(255,255,255,.95); backdrop-filter: blur(15px); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--bs-primary); font-size: 1.45rem; font-weight: 850; line-height: .8; letter-spacing: -.045em; }
.brand img { max-height: 48px; width: auto; }
.brand small { display: block; margin-top: 6px; color: #8b99aa; font-size: .48rem; font-weight: 700; letter-spacing: .38em; text-align: center; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; display: block; padding: 27px 0; font-size: .92rem; font-weight: 650; }
.site-nav a::after { position: absolute; right: 0; bottom: 17px; left: 0; height: 2px; content: ""; background: var(--bs-primary); transform: scaleX(0); transition: transform .2s; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
.header-cta { min-height: 42px; padding-inline: 17px; border-radius: 22px; font-size: .86rem; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 9px; background: #edf5ff; color: var(--bs-navy); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 22px; height: 2px; margin: 5px auto; content: ""; background: currentColor; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 78px; color: #fff; background: radial-gradient(circle at 72% 22%, #123f68 0, transparent 28%), linear-gradient(110deg, #051b35 0%, #082747 58%, #03182f 100%); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 48px; }
.hero-copy h1 { max-width: 650px; font-size: clamp(2.55rem, 5vw, 4.35rem); }
.hero-copy h1 span { color: #168cff; }
.hero-copy > p { max-width: 620px; margin: 22px 0 26px; color: #d7e3f0; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.hero-copy > p strong { color: #31d978; }
.benefits { display: flex; flex-wrap: wrap; gap: 12px 23px; margin: 0 0 30px; padding: 0; list-style: none; color: #d9e7f6; font-size: .88rem; }
.benefits li { display: flex; align-items: center; gap: 8px; }
.check { display: grid; flex: 0 0 19px; width: 19px; height: 19px; place-items: center; border: 1px solid #8fa5ba; border-radius: 4px; color: #55dc8d; font-size: .75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.devices { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-custom-image { width: 112%; max-width: none; height: auto; margin-right: -8%; object-fit: contain; filter: drop-shadow(0 26px 32px rgba(0,0,0,.32)); }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; overflow: hidden; padding: 32px; border: 1px solid #e3eefb; border-radius: var(--bs-radius); background: linear-gradient(145deg, #f2f8ff, #fff); transition: transform .25s, box-shadow .25s; }
.service-card:nth-child(2) { border-color: #dff3e6; background: linear-gradient(145deg, #effcf4, #fff); }
.service-card:nth-child(3) { border-color: #ece5fb; background: linear-gradient(145deg, #f6f1ff, #fff); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--bs-shadow); }
.service-icon { display: grid; width: 54px; height: 54px; margin-bottom: 20px; place-items: center; border-radius: 13px; color: var(--bs-primary); background: #e0efff; }
.service-icon .bs-icon { width: 31px; height: 31px; }
.service-card:nth-child(2) .service-icon { color: #18aa55; background: #dcf7e7; }
.service-card:nth-child(3) .service-icon { color: #7753db; background: #eae2ff; }
.service-card h3 { font-size: 1.3rem; }
.service-card > p { min-height: 76px; color: var(--bs-muted); font-size: .93rem; }
.service-card ul { margin: 20px 0 24px; padding: 0; list-style: none; }
.service-card li { position: relative; margin: 8px 0; padding-left: 23px; color: #405069; font-size: .86rem; }
.service-card li::before { position: absolute; left: 0; color: #20ae5a; content: "✓"; font-weight: 900; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--bs-primary); font-weight: 750; font-size: .9rem; }
.quote-trigger { padding: 0; border: 0; background: transparent; cursor: pointer; }
.quote-trigger:hover { color: var(--bs-primary-dark); }
.coming { display: inline-block; padding: 5px 9px; border-radius: 20px; color: #7753db; background: #ebe3ff; font-size: .73rem; font-weight: 700; }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.problem-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 15px; place-items: center; border: 1px solid #d8e9fb; border-radius: 50%; color: var(--bs-primary); background: #f6fbff; }
.problem-icon .bs-icon { width: 29px; height: 29px; }
.problem h3 { margin-bottom: 7px; font-size: .98rem; }
.problem p { margin: 0; color: var(--bs-muted); font-size: .81rem; }
.mini-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding: 22px 30px; border-radius: 13px; background: linear-gradient(90deg, #eff6ff, #fafcff); box-shadow: inset 0 0 0 1px #e6eef7; }
.mini-cta strong { color: var(--bs-primary-dark); font-size: 1.06rem; }
.mini-cta strong .bs-icon { width: 25px; height: 25px; margin-right: 7px; vertical-align: middle; }
.mini-cta p { margin: 3px 0 0; color: var(--bs-muted); font-size: .85rem; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--bs-line); border-radius: 11px; background: #fff; box-shadow: 0 6px 20px rgba(15,43,77,.08); transition: .2s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--bs-shadow); }
.portfolio-image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bs-soft); }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-link { display: flex; flex-direction: column; height: 100%; }
.portfolio-card-link:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: -3px; border-radius: 11px; }
.portfolio-placeholder { display: grid; height: 100%; place-items: center; color: var(--bs-primary); }
.portfolio-placeholder .bs-icon { width: 48px; height: 48px; }
.portfolio-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.portfolio-type { margin-bottom: 10px; color: var(--bs-primary); font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.portfolio-body h3 { margin-bottom: 10px; font-size: 1.1rem; }
.portfolio-body p { margin: 0 0 18px; color: var(--bs-muted); font-size: .86rem; }
.portfolio-link { margin-top: auto; color: var(--bs-primary); font-size: .84rem; font-weight: 750; }
.portfolio-empty { grid-column: 1 / -1; text-align: center; color: var(--bs-muted); }
.project-header { padding: 46px 0 54px; }
.project-back { display: inline-block; margin-bottom: 32px; color: var(--bs-primary); font-size: .9rem; }
.project-header h1 { max-width: 920px; font-size: clamp(2.2rem, 5vw, 4rem); }
.project-intro { max-width: 780px; margin: 22px 0; color: var(--bs-muted); font-size: 1.15rem; }
.project-demo-label { display: inline-block; padding: 6px 12px; border: 1px solid var(--bs-line); border-radius: 30px; background: #fff; color: var(--bs-muted); font-size: .78rem; }
.project-details { padding-block: 38px 76px; }
.project-cover { margin: 0 0 44px; overflow: hidden; border: 1px solid var(--bs-line); border-radius: var(--bs-radius); }
.project-cover img { width: 100%; height: auto; }
.project-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; align-items: start; }
.project-content h2 { font-size: 1.7rem; }
.project-content > :first-child { margin-top: 0; }
.project-contact { display: grid; gap: 22px; padding: 28px; border: 1px solid var(--bs-line); border-radius: var(--bs-radius); background: var(--bs-soft); }
.project-contact h2 { font-size: 1.4rem; }
.project-contact .btn { padding-inline: 12px; }
.project-contact .project-whatsapp { background: #15803d; color: #fff; font-size: .9rem; }
.project-contact .project-whatsapp:hover { background: #11632f; }
.project-external { color: var(--bs-primary); text-align: center; font-weight: 700; }

/* Steps & trust */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.step:not(:last-child)::after { position: absolute; top: 23px; right: -43px; width: 28px; height: 1px; content: ""; background: #aebbc9; }
.step-number { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: var(--bs-primary); font-weight: 850; }
.step h3 { margin: 3px 0 6px; font-size: .98rem; }
.step p { margin: 0; color: var(--bs-muted); font-size: .8rem; }
.trust-bar { padding: 28px 0; color: #fff; background: linear-gradient(90deg, #061e3a, #0b315a); }
.trust-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; }
.trust-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-point { text-align: center; }
.trust-point .bs-icon { width: 25px; height: 25px; margin-bottom: 5px; color: #8ebdea; }
.trust-point b { display: block; color: #fff; font-size: .8rem; }
.trust-point span { color: #aabdd2; font-size: .68rem; }
.trust-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.trust-cta h2 { font-size: 1.35rem; }
.trust-cta p { margin: 5px 0 0; color: #b8c8d8; font-size: .85rem; }

/* Testimonials & partners */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { padding: 28px; border: 1px solid var(--bs-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(20,40,70,.06); }
.quote { color: var(--bs-primary); font-family: Georgia, serif; font-size: 3rem; line-height: .6; }
.testimonial p { min-height: 90px; color: #445166; font-size: .9rem; }
.testimonial cite { color: #152238; font-size: .8rem; font-style: normal; font-weight: 800; }

/* About page */
.about-hero { position: relative; overflow: hidden; padding: 82px 0; color: #fff; background: radial-gradient(circle at 77% 45%, #174e7d 0, transparent 27%), linear-gradient(115deg, #041a33, #0a3158); }
.about-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.about-hero__copy h1 { max-width: 760px; font-size: clamp(2.7rem, 5.5vw, 4.6rem); }
.about-hero__copy > p:not(.eyebrow) { max-width: 690px; margin: 20px 0 28px; color: #c9d9e9; font-size: 1.08rem; }
.about-visual { position: relative; width: 360px; height: 360px; margin: auto; }
.about-visual::before, .about-visual::after, .about-visual__orbit { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; content: ""; }
.about-visual::before { inset: 45px; }
.about-visual::after { inset: 90px; }
.about-visual__center { position: absolute; inset: 108px; z-index: 2; display: grid; align-content: center; border-radius: 50%; color: var(--bs-primary); background: #fff; box-shadow: 0 25px 60px rgba(0,0,0,.25); text-align: center; }
.about-visual__center strong { font-size: 1.45rem; letter-spacing: -.05em; }
.about-visual__center small { color: #8a98a8; font-size: .54rem; font-weight: 800; letter-spacing: .32em; }
.about-visual__orbit span { position: absolute; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 15px; color: #fff; background: rgba(8,120,239,.9); box-shadow: 0 13px 30px rgba(0,0,0,.22); }
.about-visual__orbit span .bs-icon { width: 29px; height: 29px; }
.about-visual__orbit span:nth-child(1) { top: 24px; left: 42px; }
.about-visual__orbit span:nth-child(2) { top: 136px; right: -5px; color: #14324d; background: #55df8c; }
.about-visual__orbit span:nth-child(3) { bottom: 4px; left: 82px; color: #4729a8; background: #bcaaff; }
.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.about-story h2 { max-width: 500px; }
.about-story__text p { margin: 0 0 18px; color: var(--bs-muted); font-size: 1.02rem; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border: 1px solid #e2e9f0; border-radius: 15px; background: #fff; box-shadow: 0 10px 35px rgba(12,42,75,.07); }
.about-stats div { padding: 27px; text-align: center; }
.about-stats div:not(:last-child) { border-right: 1px solid #e7edf3; }
.about-stats strong, .about-stats span { display: block; }
.about-stats strong { color: var(--bs-primary); font-size: 1.75rem; }
.about-stats span { color: var(--bs-muted); font-size: .78rem; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-values article { padding: 27px; border: 1px solid #e2e9f1; border-radius: 14px; background: #fff; }
.about-values article > span { display: grid; width: 48px; height: 48px; margin-bottom: 18px; place-items: center; border-radius: 11px; color: var(--bs-primary); background: #e9f4ff; }
.about-values article > span .bs-icon { width: 25px; height: 25px; }
.about-values h3 { font-size: 1.05rem; }
.about-values p { margin: 9px 0 0; color: var(--bs-muted); font-size: .84rem; }
.about-cta { padding: 48px 0; color: #fff; background: linear-gradient(105deg, #061e3a, #0a3865); }
.about-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.about-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.about-cta p:not(.eyebrow) { margin: 9px 0 0; color: #b9cbdd; }

/* Content */
.content-area { min-height: 55vh; padding: 70px 0; }
.entry-card { max-width: 850px; margin: 0 auto; }
.entry-title { margin-bottom: 25px; font-size: clamp(2rem, 5vw, 3.2rem); }
.entry-content { color: #36445a; }
.entry-content a { color: var(--bs-primary); text-decoration: underline; }
.entry-content img { border-radius: 12px; }

/* Contact page */
.contact-hero { position: relative; overflow: hidden; padding: 68px 0; color: #fff; background: radial-gradient(circle at 80% 20%, #174d7c 0, transparent 30%), linear-gradient(110deg, #051b35, #0a3158); }
.contact-hero::after { position: absolute; top: -120px; right: -80px; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
.contact-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.contact-hero p:not(.eyebrow) { max-width: 650px; margin: 16px 0 0; color: #c9d8e7; font-size: 1.08rem; }
.contact-hero__badge { display: flex; align-items: center; flex: 0 0 auto; gap: 14px; padding: 19px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.contact-hero__badge .bs-icon { width: 32px; height: 32px; color: #52d989; }
.contact-hero__badge span, .contact-hero__badge strong { display: block; }
.contact-hero__badge span { color: #bfd0e0; font-size: .78rem; }
.contact-hero__badge strong { margin-bottom: 2px; color: #fff; font-size: .92rem; }
.contact-main { background: #f6f9fc; }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 54px; }
.contact-details { padding: 24px 0; }
.contact-details h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.contact-details__intro { margin: 15px 0 28px; color: var(--bs-muted); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid #e2e9f1; border-radius: 12px; background: #fff; transition: .2s; }
a.contact-card:hover { border-color: #bbd9f8; transform: translateX(3px); }
.contact-card__icon { display: grid; flex: 0 0 45px; width: 45px; height: 45px; place-items: center; border-radius: 10px; color: var(--bs-primary); background: #e9f4ff; }
.contact-card__icon .bs-icon { width: 23px; height: 23px; }
.contact-card small, .contact-card strong { display: block; overflow-wrap: anywhere; }
.contact-card small { margin-bottom: 2px; color: var(--bs-muted); font-size: .73rem; }
.contact-card strong { color: #26364a; font-size: .88rem; }
.contact-whatsapp { width: 100%; margin-top: 16px; }
.contact-note { display: flex; gap: 12px; margin-top: 24px; padding: 17px; border-radius: 11px; color: #3c4d62; background: #edf3f9; }
.contact-note > span { color: var(--bs-primary); }
.contact-note .bs-icon { width: 23px; height: 23px; }
.contact-note p { margin: 0; font-size: .8rem; }
.contact-form-card { padding: 34px; border: 1px solid #e1e8f0; border-radius: 18px; background: #fff; box-shadow: var(--bs-shadow); }
.contact-form-card h2 { font-size: clamp(1.7rem, 4vw, 2.25rem); }
.contact-form__success { min-height: 470px; align-content: center; }
.contact-form__success:not([hidden]) { display: grid; }

/* Footer */
.site-footer { color: #b5c3d2; background: #061a31; }
.footer-main { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); padding: 58px 0 42px; gap: 45px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 290px; font-size: .83rem; }
.footer-column h2 { margin: 0 0 17px; color: #fff; font-size: .92rem; letter-spacing: 0; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { margin: 8px 0; font-size: .79rem; }
.footer-column li .bs-icon { width: 16px; height: 16px; margin-right: 7px; color: #78a9d7; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; width: 58px; height: 58px; place-items: center; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: var(--bs-green); box-shadow: 0 10px 30px rgba(0,0,0,.22); transition: .2s; }
.floating-whatsapp:hover { transform: scale(1.07); }
.floating-whatsapp svg { width: 28px; fill: currentColor; }

/* Quote popup */
body.quote-open { overflow: hidden; }
.quote-modal[hidden] { display: none; }
.quote-modal { position: fixed; inset: 0; z-index: 1000; display: grid; padding: 24px; place-items: center; }
.quote-modal__backdrop { position: absolute; inset: 0; background: rgba(2, 15, 31, .74); backdrop-filter: blur(6px); }
.quote-modal__dialog { position: relative; z-index: 1; width: min(100%, 720px); max-height: calc(100vh - 48px); overflow-y: auto; padding: 38px; border-radius: 20px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.quote-modal__close { position: absolute; top: 15px; right: 15px; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #536176; background: #edf2f7; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.quote-modal__close:hover { color: #fff; background: var(--bs-primary); }
.quote-modal h2 { padding-right: 35px; font-size: clamp(1.65rem, 4vw, 2.15rem); }
.quote-modal__intro { margin: 10px 0 24px; color: var(--bs-muted); }
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.quote-form label { display: block; }
.quote-form label > span { display: block; margin-bottom: 6px; color: #27364a; font-size: .83rem; font-weight: 750; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #d8e0ea; border-radius: 9px; outline: 0; color: var(--bs-text); background: #fff; transition: border-color .2s, box-shadow .2s; }
.quote-form input, .quote-form select { height: 46px; padding: 0 12px; }
.quote-form textarea { min-height: 105px; padding: 11px 12px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(8,120,239,.12); }
.quote-form input:user-invalid, .quote-form select:user-invalid, .quote-form textarea:user-invalid { border-color: #dc3545; }
.quote-form__wide { grid-column: 1 / -1; }
.quote-form__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.quote-form__status { min-height: 22px; margin: 13px 0 6px; color: #c92d3e; font-size: .84rem; font-weight: 650; }
.quote-form__submit { width: 100%; }
.quote-form__submit[disabled] { opacity: .65; pointer-events: none; }
.quote-form__privacy { margin: 10px 0 0; color: #7a8798; font-size: .73rem; text-align: center; }
.quote-modal__success { padding: 34px 10px 18px; text-align: center; }
.quote-success__icon { display: grid; width: 70px; height: 70px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: var(--bs-green); background: #e8faef; }
.quote-success__icon .bs-icon { width: 38px; height: 38px; }
.quote-modal__success h2 { padding: 0; }
.quote-success__message { max-width: 470px; margin: 14px auto 25px; color: var(--bs-muted); }
.quote-success__whatsapp { min-width: 250px; }
.quote-success__close { display: block; margin: 18px auto 0; padding: 5px 15px; border: 0; color: var(--bs-muted); background: transparent; text-decoration: underline; cursor: pointer; }

@media (max-width: 1024px) {
  .header-cta { display: none; }
  .site-nav ul { gap: 18px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 25px; }
  .services { gap: 16px; }
  .service-card { padding: 25px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-inner { grid-template-columns: 1.2fr 1fr; }
  .trust-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .project-content-layout { grid-template-columns: 1fr; gap: 30px; }
  .admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; top: 69px; right: 0; bottom: 0; left: 0; padding: 24px; visibility: hidden; pointer-events: none; background: #fff; transform: translateX(100%); transition: transform .25s, visibility .25s; }
  .admin-bar .site-nav { top: 115px; }
  .site-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
  .site-nav ul { display: block; }
  .site-nav a { padding: 15px 7px; border-bottom: 1px solid var(--bs-line); font-size: 1rem; }
  .site-nav a::after { display: none; }
  .header-cta { display: none; }
  .hero { padding-top: 55px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .benefits, .hero-actions { justify-content: center; }
  .devices { width: min(100%, 640px); margin: 12px auto 0; }
  .hero-custom-image { width: 105%; margin-right: 0; }
  .services { grid-template-columns: 1fr; }
  .service-card > p { min-height: 0; }
  .problems { grid-template-columns: repeat(2, 1fr); }
  .problem:last-child { grid-column: 1 / -1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child)::after { display: none; }
  .trust-inner { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial p { min-height: 0; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .contact-hero__inner { align-items: flex-start; flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-details { padding-top: 0; }
  .about-hero__inner, .about-story { grid-template-columns: 1fr; gap: 45px; }
  .about-visual { width: 320px; height: 320px; }
  .about-visual__center { inset: 96px; }
  .about-stats, .about-values { grid-template-columns: repeat(2, 1fr); }
  .about-stats div:nth-child(2) { border-right: 0; }
  .about-stats div:nth-child(-n+2) { border-bottom: 1px solid #e7edf3; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--bs-container)); }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 58px; }
  .hero-copy h1 { font-size: 2.55rem; }
  .hero-actions .btn { width: 100%; }
  .benefits { align-items: flex-start; flex-direction: column; width: fit-content; margin-inline: auto; }
  .hero-custom-image { width: 110%; margin-inline: -5%; }
  .problems, .portfolio-grid { grid-template-columns: 1fr; }
  .problem:last-child { grid-column: auto; }
  .mini-cta, .trust-cta { align-items: stretch; flex-direction: column; text-align: center; }
  .trust-points { gap: 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .quote-modal { align-items: end; padding: 0; }
  .quote-modal__dialog { width: 100%; max-height: 92vh; padding: 30px 20px 24px; border-radius: 20px 20px 0 0; }
  .quote-form__grid { grid-template-columns: 1fr; gap: 14px; }
  .quote-form__wide { grid-column: auto; }
  .contact-hero { padding: 52px 0; }
  .contact-hero__badge { width: 100%; }
  .contact-form-card { padding: 26px 18px; }
  .about-hero { padding: 60px 0; }
  .about-visual { width: 280px; height: 280px; }
  .about-visual__center { inset: 84px; }
  .about-visual__orbit span:nth-child(2) { right: 0; }
  .about-stats, .about-values { grid-template-columns: 1fr; }
  .about-stats div { border-right: 0 !important; border-bottom: 1px solid #e7edf3; }
  .about-stats div:last-child { border-bottom: 0; }
  .about-cta__inner { align-items: stretch; flex-direction: column; text-align: center; }
  @keyframes bs-partner-scroll { to { transform: translateX(calc(-50% - 12px)); } }
}

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