:root {
    --brand-blue: #2f70ad;
    --ink: #111214;
    --paper: #f8f8f7;
    --font-title: "Playfair Display", Georgia, serif;
    --font-text: "Inter", Arial, sans-serif;
    --font-ui: "Montserrat", "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 58px; color: var(--paper); background: #101112; font-family: var(--font-text); }
p { text-align: justify; }
section[id] { scroll-margin-top: 68px; }

.hero {
    position: relative;
    min-height: calc(100svh - 58px);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 42% 52%, rgba(255,255,255,.08), transparent 38%),
        linear-gradient(115deg, #171819 0%, #323435 55%, #151617 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

.hero-nav { position: fixed; z-index: 1050; top: 0; right: 0; left: 0; padding: .2rem 1.8vw .2rem 4.3vw; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(16,17,18,.88); box-shadow: 0 8px 26px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.hero-nav .container-fluid { min-height: 50px; }
.hero-content { position: relative; z-index: 2; width: min(64%, 820px); padding: max(19vh, 165px) 0 4rem 2.9vw; }

.brand { position: absolute; z-index: 2; top: .2rem; left: 4.3vw; width: clamp(135px, 10vw, 158px); text-decoration: none; filter: drop-shadow(0 9px 12px rgba(0,0,0,.5)); }
.brand img { display: block; width: 100%; aspect-ratio: 1 / .63; object-fit: cover; object-position: center; }
.hero-nav .navbar-nav { margin-right: 0; }
.nav-link { color: #f7f8fa; font-family: var(--font-ui); font-size: .96rem; font-weight: 600; text-shadow: 0 1px 5px rgba(0,0,0,.95); white-space: nowrap; }
.nav-link:hover, .nav-link:focus, .nav-link.active { color: #fff; text-shadow: 0 1px 6px #000; }
.search-button { border: 0; color: #fff; background: transparent; font-size: 1.6rem; text-shadow: 0 1px 5px rgba(0,0,0,.95); }
.hero-portrait { position: absolute; z-index: 0; top: 0; right: 0; width: 54%; height: 100%; margin: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%); }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,27,28,.2), transparent 28%, rgba(0,0,0,.08)); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-content h1 { margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.2); font-family: var(--font-title); font-size: clamp(2.8rem, 4.6vw, 4.35rem); font-style: italic; font-weight: 700; line-height: 1.02; }
.hero-content p { margin: 1.5rem 0 2.2rem; max-width: 760px; text-shadow: 0 2px 10px rgba(0,0,0,.35); font-family: var(--font-text); font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; line-height: 1.55; }
.hero-actions { display: flex; gap: 1rem; }
.hero-actions .btn { border: 0; border-radius: 2px; padding: 1rem 1.65rem; font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; }
.hero-actions .btn-primary { background: var(--brand-blue); }
.hero-actions .btn-dark { background: rgba(14,15,16,.85); }

.about-section {
    position: relative;
    padding: clamp(5rem, 9vw, 8rem) 0;
    color: #f0f1f2;
    background:
        radial-gradient(circle at 90% 16%, rgba(47,112,173,.08), transparent 28%),
        radial-gradient(circle at 35% 42%, rgba(255,255,255,.04), transparent 36%),
        linear-gradient(115deg, #171819 0%, #292b2d 55%, #131415 100%);
}
.about-container { width: min(92%, 1540px); margin: 0 auto; }
.about-heading { margin: 0 auto clamp(3.5rem, 6vw, 6rem); text-align: center; }
.section-eyebrow { margin-bottom: .75rem; color: #56bdf2; font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.about-heading h2,
.pillars-heading h2 { margin: 0; color: #fff; font-family: var(--font-title); font-weight: 700; line-height: 1.02; }
.about-heading h2 { font-size: clamp(2.8rem, 5.2vw, 5.2rem); }
.about-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.about-copy { font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.75; }
.about-copy p { margin: 0 0 1.65rem; color: #d2d5d8; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: #fff; font-weight: 700; }
.about-image { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; box-shadow: 0 22px 55px rgba(0,0,0,.38), 0 0 28px rgba(47,112,173,.08); }
.about-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 30px rgba(0,0,0,.2); pointer-events: none; }
.about-image img { display: block; width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; object-position: 60% center; }
.pillars { padding-top: clamp(6rem, 10vw, 10rem); }
.pillars-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); text-align: center; }
.pillars-heading h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.pillars-heading p { margin: .8rem 0 0; color: #a8adb3; font-size: clamp(1rem, 1.4vw, 1.3rem); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.pillar-card { min-height: 350px; padding: clamp(2rem, 3vw, 2.7rem); border: 1px solid rgba(255,255,255,.13); border-radius: 1.25rem; background: rgba(31,33,36,.94); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.pillar-card:hover { transform: translateY(-5px); border-color: #35afe9; box-shadow: 0 18px 38px rgba(0,0,0,.22); }
.pillar-icon { display: grid; width: 4.4rem; height: 4.4rem; margin-bottom: 2rem; place-items: center; border-radius: 1rem; color: #48bdf4; background: rgba(47,112,173,.24); font-size: 2rem; }
.pillar-card:hover .pillar-icon { color: #fff; background: #17a9e7; }
.pillar-card h3 { margin: 0 0 1rem; color: #fff; font-family: var(--font-title); font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 700; }
.pillar-card p { margin: 0; color: #aeb3b9; font-size: 1.02rem; line-height: 1.7; }
.about-quote { position: relative; margin: clamp(5rem, 9vw, 9rem) 0 0; padding: clamp(2.6rem, 5vw, 4.6rem); overflow: hidden; border-left: 5px solid #38bdf8; background: linear-gradient(110deg, #24272a, #181a1d); }
.about-quote::after { content: "“"; position: absolute; right: 3%; bottom: -2.5rem; color: rgba(255,255,255,.035); font-family: var(--font-title); font-size: 14rem; line-height: 1; }
.about-quote p { position: relative; z-index: 1; max-width: 1100px; margin: 0; color: #fff; font-family: var(--font-title); font-size: clamp(1.6rem, 2.6vw, 2.7rem); font-style: italic; line-height: 1.35; }
.about-quote footer { margin-top: 1.5rem; color: #38bdf8; font-family: var(--font-ui); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.testimonials-section { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; overflow: hidden; color: #f0f1f2; background: linear-gradient(115deg, #131415, #252729 55%, #171819); }
.testimonials-section::before { content: ""; position: absolute; inset: 0; opacity: .18; background: radial-gradient(circle at 12% 20%, rgba(56,189,248,.34), transparent 28%), radial-gradient(circle at 88% 80%, rgba(47,112,173,.2), transparent 25%); pointer-events: none; }
.testimonials-container { position: relative; width: min(92%, 1280px); margin: 0 auto; }
.testimonials-heading { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.testimonials-heading h2 { margin: 0; color: #fff; font-family: var(--font-title); font-size: clamp(2.4rem, 4.2vw, 4rem); font-weight: 700; line-height: 1.08; }
.testimonials-heading > p:last-child { margin: 1rem 0 0; color: #aeb3b9; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; }
.testimonials-carousel { padding: 0 clamp(2.2rem, 6vw, 5rem) 3.2rem; }
.testimonial-card { position: relative; width: min(100%, 940px); min-height: 320px; margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid rgba(255,255,255,.14); border-radius: 1.25rem; background: rgba(31,33,36,.9); box-shadow: 0 24px 55px rgba(0,0,0,.28); text-align: center; }
.testimonial-card::before { content: "“"; position: absolute; top: -.35rem; left: 1.5rem; color: rgba(56,189,248,.09); font-family: var(--font-title); font-size: 9rem; line-height: 1; }
.testimonial-stars { position: relative; z-index: 1; display: flex; margin-bottom: 1.5rem; justify-content: center; gap: .45rem; color: #f3bd45; font-size: 1.15rem; filter: drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
.testimonial-card blockquote { position: relative; z-index: 1; max-width: 780px; margin: 0 auto 1.8rem; color: #fff; font-family: var(--font-title); font-size: clamp(1.35rem, 2.2vw, 2rem); font-style: italic; line-height: 1.5; }
.testimonial-author { margin: 0; color: #fff; font-family: var(--font-ui); font-size: .92rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.testimonial-author span { display: block; margin-top: .45rem; color: #56bdf2; font-size: .75rem; font-weight: 600; }
.testimonials-carousel .carousel-indicators { margin-bottom: 0; }
.testimonials-carousel .carousel-indicators [data-bs-target] { width: 2rem; height: 3px; border: 0; background-color: #7d8287; }
.testimonials-carousel .carousel-indicators .active { background-color: #38bdf8; }
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next { width: 3rem; opacity: .8; }
.testimonials-carousel .carousel-control-prev:hover,
.testimonials-carousel .carousel-control-next:hover { opacity: 1; }

.team-section { padding: clamp(5rem, 9vw, 8rem) 0; color: #f0f1f2; background: #18191b; }
.team-container { width: min(92%, 1460px); margin: 0 auto; }
.team-heading { max-width: 760px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.team-heading h2 { margin: 0; color: #fff; font-family: var(--font-title); font-size: clamp(2.7rem, 4.5vw, 4.4rem); font-weight: 700; line-height: 1.05; }
.team-heading > p:last-child { margin: 1rem 0 0; color: #aeb3b9; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.team-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: #202225; box-shadow: 0 16px 36px rgba(0,0,0,.18); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(56,189,248,.7); box-shadow: 0 22px 44px rgba(0,0,0,.3); }
.team-photo,
.team-placeholder { height: clamp(330px, 31vw, 470px); margin: 0; background: #2a2c30; }
.team-photo { overflow: hidden; }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; filter: saturate(.82) contrast(1.04); transition: transform .4s ease, filter .4s ease; }
.team-card:hover .team-photo img { transform: scale(1.025); filter: saturate(1) contrast(1.04); }
.team-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.2); font-size: clamp(4rem, 8vw, 7rem); }
.team-card-body { padding: 1.6rem 1.4rem 1.9rem; text-align: center; }
.team-accent { display: block; width: 3.5rem; height: 3px; margin: 0 auto 1rem; background: #38bdf8; transition: width .25s ease; }
.team-card:hover .team-accent { width: 5rem; }
.team-card h3 { margin: 0; color: #fff; font-family: var(--font-title); font-size: clamp(1.35rem, 1.8vw, 1.8rem); font-weight: 700; }
.team-card p { margin: .55rem 0 0; color: #aeb3b9; font-family: var(--font-ui); font-size: .92rem; font-weight: 500; }
.founder-card { min-height: 650px; overflow: visible; border: 0; background: transparent; box-shadow: none; perspective: 1400px; }
.founder-card:hover { border-color: transparent; box-shadow: none; transform: none; }
.founder-card:focus-visible { border-radius: 1rem; outline: 3px solid rgba(56,189,248,.7); outline-offset: 4px; }
.founder-card-inner { position: relative; width: 100%; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .72s cubic-bezier(.2,.75,.25,1); }
.founder-card:hover .founder-card-inner,
.founder-card:focus .founder-card-inner { transform: rotateY(180deg); }
.founder-card-face { position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: #202225; box-shadow: 0 16px 36px rgba(0,0,0,.18); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.founder-card-front { display: flex; flex-direction: column; }
.founder-card-front .team-photo { height: auto; flex: 1 1 auto; }
.founder-card-front .team-card-body { flex: 0 0 auto; }
.founder-card-hint { display: block; margin-top: .8rem; color: #56bdf2; font-family: var(--font-ui); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.founder-card-hint i { margin-right: .3rem; }
.founder-card-back { display: flex; padding: clamp(1.6rem, 2.5vw, 2.5rem); overflow-y: auto; flex-direction: column; justify-content: center; background: radial-gradient(circle at 90% 10%, rgba(47,112,173,.2), transparent 35%), linear-gradient(145deg, #25282b, #17191b); transform: rotateY(180deg); }
.founder-back-icon { display: grid; width: 3.8rem; height: 3.8rem; margin-bottom: 1.25rem; place-items: center; border-radius: 1rem; color: #fff; background: linear-gradient(145deg, #2f70ad, #39b8ef); font-size: 1.5rem; }
.founder-card-back h3 { margin: 0; font-size: clamp(1.65rem, 2.2vw, 2.25rem); line-height: 1.12; }
.founder-card-back h4 { margin: .9rem 0 1.25rem; color: #56bdf2; font-family: var(--font-ui); font-size: clamp(.85rem, 1.15vw, 1rem); font-weight: 700; line-height: 1.5; }
.founder-card-back > p:not(.section-eyebrow) { margin: 0 0 1rem; color: #c3c8cd; font-family: var(--font-text); font-size: clamp(.84rem, 1vw, .96rem); font-weight: 400; line-height: 1.65; }
.founder-card-back > p:last-child { margin-bottom: 0; }
.founder-results { display: flex; padding: clamp(1.6rem, 3vw, 2.6rem); flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: linear-gradient(140deg, rgba(38,41,44,.98), rgba(27,29,32,.98)); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.results-total { display: flex; padding-bottom: clamp(1.5rem, 3vw, 2.3rem); align-items: center; gap: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.results-icon { display: grid; width: 4.4rem; height: 4.4rem; flex: 0 0 auto; place-items: center; border-radius: 1rem; color: #fff; background: linear-gradient(145deg, #2f70ad, #39b8ef); font-size: 1.8rem; box-shadow: 0 12px 26px rgba(47,112,173,.3); }
.results-total data { display: block; color: #fff; font-family: var(--font-title); font-size: clamp(3.2rem, 6vw, 5.6rem); font-weight: 700; line-height: .9; }
.results-total h3 { margin: .55rem 0 .25rem; color: #fff; font-family: var(--font-title); font-size: clamp(1.4rem, 2vw, 2rem); }
.results-total p { margin: 0; color: #aeb3b9; line-height: 1.55; }
.results-breakdown { display: grid; margin: clamp(1.4rem, 3vw, 2.2rem) 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.results-breakdown article { padding: 1.2rem .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: .75rem; background: rgba(255,255,255,.035); text-align: center; }
.results-breakdown strong,
.results-breakdown span { display: block; }
.results-breakdown strong { color: #56bdf2; font-family: var(--font-title); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; }
.results-breakdown span { margin-top: .55rem; color: #c6cacf; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.results-savings { display: flex; padding: 1.3rem; align-items: center; gap: 1.2rem; border-left: 4px solid #38bdf8; border-radius: .35rem .75rem .75rem .35rem; background: rgba(47,112,173,.13); }
.savings-value { flex: 0 0 auto; color: #fff; font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1; }
.results-savings h3 { margin: 0 0 .25rem; color: #fff; font-family: var(--font-title); font-size: 1.15rem; }
.results-savings p { margin: 0; color: #afb6bd; font-size: .84rem; line-height: 1.5; }
.results-disclaimer { margin: 1rem 0 0; color: #777e85; font-size: .7rem; line-height: 1.4; }

.services-section {
    position: relative;
    padding: clamp(5rem, 9vw, 8rem) 0;
    overflow: hidden;
    color: #f0f1f2;
    background:
        radial-gradient(circle at 12% 18%, rgba(47,112,173,.1), transparent 28%),
        linear-gradient(115deg, #171819 0%, #292b2d 55%, #131415 100%);
}
.services-container { width: min(92%, 1460px); margin: 0 auto; }
.services-heading { max-width: 780px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.services-heading h2 { margin: 0; color: #fff; font-family: var(--font-title); font-size: clamp(2.7rem, 4.5vw, 4.4rem); font-weight: 700; line-height: 1.05; }
.services-heading > p:last-child { margin: 1rem 0 0; color: #aeb3b9; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.service-card { position: relative; display: flex; min-height: 330px; padding: clamp(1.8rem, 3vw, 2.6rem); overflow: hidden; flex-direction: column; border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; background: rgba(31,33,36,.94); box-shadow: 0 14px 34px rgba(0,0,0,.16); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: #4a4d51; transition: height .28s ease, background .28s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(56,189,248,.68); background: #24272a; box-shadow: 0 24px 48px rgba(0,0,0,.3); }
.service-card:hover::before { height: 5px; background: #38bdf8; }
.service-card-primary { grid-column: span 2; min-height: 360px; }
.service-card-primary h3 { font-size: clamp(2rem, 3vw, 3rem); }
.service-card-primary p { max-width: 780px; }
.service-card-wide { grid-column: 1 / -1; min-height: auto; }
.service-card-top { display: flex; min-height: 4.2rem; margin-bottom: 1.6rem; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service-icon { display: grid; width: 4.15rem; height: 4.15rem; flex: 0 0 auto; place-items: center; border-radius: 1rem; color: #48bdf4; background: rgba(47,112,173,.22); font-size: 1.75rem; transition: color .25s ease, background .25s ease, transform .25s ease; }
.service-card:hover .service-icon { color: #fff; background: #17a9e7; transform: rotate(-4deg) scale(1.06); }
.service-badge { padding: .5rem .8rem; border: 1px solid rgba(56,189,248,.45); border-radius: 999px; color: #8bd8fb; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-card h3 { margin: 0 0 1rem; color: #fff; font-family: var(--font-title); font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 700; }
.service-card p { margin: 0 0 1.8rem; color: #aeb3b9; font-size: 1rem; line-height: 1.7; }
.service-subareas { display: grid; margin: auto 0 0; padding: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; list-style: none; }
.service-subareas li { position: relative; padding: .8rem .85rem .8rem 2.15rem; border: 1px solid rgba(255,255,255,.1); border-radius: .65rem; color: #d9dde1; background: rgba(255,255,255,.035); font-size: .88rem; font-weight: 600; line-height: 1.35; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.service-subareas li::before { content: "\f00c"; position: absolute; top: .82rem; left: .8rem; color: #48bdf4; font-family: "Font Awesome 6 Free"; font-size: .75rem; font-weight: 900; }
.service-card:hover .service-subareas li { border-color: rgba(56,189,248,.28); background: rgba(56,189,248,.07); }
.service-card:hover .service-subareas li:hover { transform: translateY(-2px); }
.service-card > a { display: inline-flex; width: fit-content; margin-top: auto; align-items: center; gap: .65rem; color: #d9dde1; font-family: var(--font-ui); font-size: .82rem; font-weight: 700; letter-spacing: .025em; text-decoration: none; text-transform: uppercase; }
.service-card > a i { color: #38bdf8; transition: transform .25s ease; }
.service-card:hover > a { color: #fff; }
.service-card:hover > a i { transform: translateX(5px); }

.blog-section { padding: clamp(5rem, 9vw, 8rem) 0; color: #f0f1f2; background: #18191b; }
.blog-container,
.contact-container { width: min(92%, 1460px); margin: 0 auto; }
.blog-heading { max-width: 760px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.blog-heading h2,
.contact-panel h2 { margin: 0; color: #fff; font-family: var(--font-title); font-size: clamp(2.7rem, 4.5vw, 4.4rem); font-weight: 700; line-height: 1.05; }
.blog-heading > p:last-child { margin: 1rem 0 0; color: #aeb3b9; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.blog-card { display: flex; min-height: 390px; padding: clamp(1.7rem, 2.7vw, 2.4rem); flex-direction: column; border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; background: #202225; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.blog-card-featured { grid-column: 1 / -1; min-height: 340px; border-color: rgba(56,189,248,.4); background: radial-gradient(circle at 88% 18%, rgba(56,189,248,.13), transparent 30%), linear-gradient(120deg, #202225, #24282c); }
.blog-card-featured h3 { max-width: 900px; font-size: clamp(2rem, 3vw, 3rem); }
.blog-card-featured > p { max-width: 980px; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(56,189,248,.7); box-shadow: 0 22px 44px rgba(0,0,0,.28); }
.blog-card-meta { display: flex; margin-bottom: 1.5rem; align-items: center; justify-content: space-between; gap: 1rem; color: #92989f; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.blog-card-meta span:first-child { color: #67c9f5; }
.blog-card-icon { display: grid; width: 3.8rem; height: 3.8rem; margin-bottom: 1.5rem; place-items: center; border-radius: .9rem; color: #48bdf4; background: rgba(47,112,173,.22); font-size: 1.55rem; transition: color .25s ease, background .25s ease, transform .25s ease; }
.blog-card:hover .blog-card-icon { color: #fff; background: #17a9e7; transform: rotate(-4deg) scale(1.05); }
.blog-card h3 { margin: 0 0 1rem; color: #fff; font-family: var(--font-title); font-size: clamp(1.5rem, 2vw, 1.95rem); font-weight: 700; line-height: 1.2; }
.blog-card > p { margin: 0 0 1.8rem; color: #aeb3b9; line-height: 1.7; }
.blog-card > button { display: inline-flex; width: fit-content; margin-top: auto; padding: 0; align-items: center; gap: .65rem; border: 0; color: #e4e6e8; background: transparent; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.blog-card > button i { color: #38bdf8; transition: transform .25s ease; }
.blog-card:hover > button i { transform: translateX(5px); }
.legal-modal .modal-content { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; color: #d8dbde; background: #202225; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.legal-modal .modal-header { padding: 1.7rem 2rem; align-items: flex-start; border-bottom-color: rgba(255,255,255,.1); }
.legal-modal .modal-kicker { display: block; margin-bottom: .45rem; color: #48bdf4; font-family: var(--font-ui); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-modal .modal-title { color: #fff; font-family: var(--font-title); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.legal-modal .modal-body { padding: 2rem; font-size: 1rem; line-height: 1.75; }
.legal-modal .modal-body h3 { margin: 1.8rem 0 .8rem; color: #fff; font-family: var(--font-title); }
.legal-modal .modal-body li { margin-bottom: .5rem; }
.legal-modal .modal-note { margin-top: 1.8rem; padding: 1rem; border-left: 3px solid #38bdf8; color: #aeb3b9; background: rgba(255,255,255,.04); font-size: .9rem; }
.modal-source { display: inline-flex; align-items: center; gap: .55rem; color: #59c8f7; font-weight: 600; text-decoration: none; }
.modal-source:hover { color: #fff; }

.contact-section { padding: clamp(5rem, 9vw, 8rem) 0; color: #f0f1f2; background: linear-gradient(115deg, #171819 0%, #292b2d 55%, #131415 100%); }
.contact-container { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: stretch; }
.contact-portrait { position: relative; min-height: 760px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; background: #111; box-shadow: 0 24px 58px rgba(0,0,0,.34); }
.contact-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.9) 100%); pointer-events: none; }
.contact-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-portrait figcaption { position: absolute; z-index: 1; right: 2rem; bottom: 2rem; left: 2rem; display: grid; }
.contact-portrait figcaption strong { color: #fff; font-family: var(--font-title); font-size: 1.7rem; }
.contact-portrait figcaption span { color: #60c9f5; font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-panel { align-self: center; }
.contact-intro { max-width: 680px; margin: 1.2rem 0 2rem; color: #b3b8bd; font-size: 1.05rem; line-height: 1.7; }
.contact-alert { display: flex; margin-bottom: 1.5rem; padding: 1rem 1.1rem; align-items: center; gap: .7rem; border-radius: .55rem; }
.contact-alert-success { border: 1px solid rgba(49,196,141,.42); color: #b9f6df; background: rgba(49,196,141,.1); }
.contact-alert-error { border: 1px solid rgba(237,91,91,.42); color: #ffd0d0; background: rgba(237,91,91,.1); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.form-field { display: grid; gap: .5rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: #e5e7e9; font-family: var(--font-ui); font-size: .78rem; font-weight: 600; }
.form-field label span { color: #8f959b; font-weight: 400; }
.form-field input,
.form-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.15); border-radius: .55rem; outline: 0; color: #fff; background: rgba(18,19,21,.78); font: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input { height: 3.35rem; padding: 0 1rem; }
.form-field textarea { min-height: 150px; padding: .9rem 1rem; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.13); }
.contact-consent { display: flex; align-items: flex-start; gap: .7rem; color: #aeb3b9; font-size: .85rem; line-height: 1.5; }
.contact-consent input { margin-top: .2rem; accent-color: #2f70ad; }
.contact-submit { display: inline-flex; width: fit-content; padding: 1rem 1.5rem; align-items: center; justify-content: center; gap: .65rem; border: 0; border-radius: .35rem; color: #fff; background: #2f70ad; font-family: var(--font-ui); font-size: .85rem; font-weight: 700; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.contact-submit:hover { transform: translateY(-2px); background: #3883c7; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.instagram-widget { position: fixed; z-index: 1039; right: clamp(1rem, 2.4vw, 2.2rem); bottom: calc(clamp(1rem, 2.4vw, 2.2rem) + 5rem); }
.instagram-float { position: relative; display: grid; width: 4rem; height: 4rem; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: radial-gradient(circle at 32% 105%, #feda75 0 18%, #fa7e1e 34%, #d62976 58%, #962fbf 76%, #4f5bd5 100%); box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: 2.05rem; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.instagram-float:hover,
.instagram-float:focus-visible { color: #fff; filter: saturate(1.12) brightness(1.06); box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 0 8px rgba(214,41,118,.14); transform: translateY(-4px) scale(1.04); outline: none; }
.instagram-tooltip { position: absolute; right: 0; bottom: calc(100% + .8rem); width: max-content; max-width: min(220px, calc(100vw - 7rem)); padding: .65rem .85rem; border: 1px solid rgba(255,255,255,.12); border-radius: .45rem; color: #fff; background: rgba(16,17,18,.96); box-shadow: 0 10px 26px rgba(0,0,0,.3); font-family: var(--font-ui); font-size: .76rem; font-weight: 600; line-height: 1.35; opacity: 0; pointer-events: none; transform: translateY(.4rem); transition: opacity .2s ease, transform .2s ease; }
.instagram-tooltip::after { content: ""; position: absolute; right: 1.55rem; bottom: -.38rem; width: .75rem; height: .75rem; background: rgba(16,17,18,.96); transform: rotate(45deg); }
.instagram-float:hover .instagram-tooltip,
.instagram-float:focus-visible .instagram-tooltip { opacity: 1; transform: translateY(0); }

.whatsapp-widget { position: fixed; z-index: 1040; right: clamp(1rem, 2.4vw, 2.2rem); bottom: clamp(1rem, 2.4vw, 2.2rem); }
.whatsapp-float { position: relative; display: grid; width: 4rem; height: 4rem; margin-left: auto; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.35); font-size: 2.15rem; cursor: pointer; transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease; animation: whatsapp-pulse 2.8s infinite; }
.whatsapp-float:hover,
.whatsapp-float:focus-visible { color: #fff; background: #1fbd59; box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 0 8px rgba(37,211,102,.14); transform: translateY(-4px) scale(1.04); outline: none; animation: none; }
.whatsapp-tooltip { position: absolute; right: calc(100% + .85rem); width: max-content; max-width: min(280px, calc(100vw - 7rem)); padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.12); border-radius: .45rem; color: #fff; background: rgba(16,17,18,.96); box-shadow: 0 10px 26px rgba(0,0,0,.3); font-family: var(--font-ui); font-size: .78rem; font-weight: 600; line-height: 1.35; opacity: 0; pointer-events: none; transform: translateX(.5rem); transition: opacity .2s ease, transform .2s ease; }
.whatsapp-tooltip::after { content: ""; position: absolute; top: 50%; right: -.42rem; width: .8rem; height: .8rem; background: rgba(16,17,18,.96); transform: translateY(-50%) rotate(45deg); }
.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-close-icon { display: none; font-size: 1.5rem; }
.whatsapp-widget.is-open .whatsapp-open-icon { display: none; }
.whatsapp-widget.is-open .whatsapp-close-icon { display: inline-block; }
.whatsapp-widget.is-open .whatsapp-float { background: #1d9f4c; animation: none; }
.whatsapp-widget.is-open .whatsapp-tooltip { display: none; }
.whatsapp-menu { position: absolute; right: 0; bottom: calc(100% + 1rem); width: min(355px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; color: #e9ecef; background: rgba(25,27,29,.98); box-shadow: 0 24px 60px rgba(0,0,0,.48); opacity: 0; pointer-events: none; transform: translateY(.8rem) scale(.97); transform-origin: bottom right; transition: opacity .22s ease, transform .22s ease; }
.whatsapp-widget.is-open .whatsapp-menu { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.whatsapp-menu-header { display: flex; padding: 1.15rem; align-items: center; gap: .85rem; background: linear-gradient(115deg, #168a45, #25b75c); }
.whatsapp-menu-icon { display: grid; width: 2.65rem; height: 2.65rem; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.16); font-size: 1.45rem; }
.whatsapp-menu-header strong,
.whatsapp-menu-header span { display: block; }
.whatsapp-menu-header strong { color: #fff; font-family: var(--font-ui); font-size: .94rem; }
.whatsapp-menu-header div > span { margin-top: .2rem; color: rgba(255,255,255,.82); font-size: .75rem; }
.whatsapp-menu-options { padding: .55rem; }
.whatsapp-menu-options a { display: grid; padding: .85rem .8rem; align-items: center; grid-template-columns: 1.8rem 1fr auto; gap: .55rem; border-radius: .55rem; color: #e4e7ea; font-family: var(--font-ui); font-size: .82rem; font-weight: 600; text-decoration: none; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.whatsapp-menu-options a > i:first-child { color: #3fd878; text-align: center; }
.whatsapp-menu-options a > i:last-child { color: #737980; font-size: .65rem; }
.whatsapp-menu-options a:hover,
.whatsapp-menu-options a:focus-visible { color: #fff; background: rgba(37,211,102,.11); transform: translateX(3px); outline: none; }
.whatsapp-menu-note { margin: 0; padding: .75rem 1rem; border-top: 1px solid rgba(255,255,255,.08); color: #8f969d; font-size: .7rem; text-align: center; }
.whatsapp-menu-note i { margin-right: .35rem; color: #38bdf8; }
@keyframes whatsapp-pulse { 0%, 70%, 100% { box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.28); } 85% { box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 12px rgba(37,211,102,0); } }

@media (min-width: 992px) {
    .hero-nav .navbar-collapse {
        position: absolute;
        top: .35rem;
        right: 4.3vw;
        width: auto;
        flex-grow: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .brand { width: 138px; }
    .nav-link { padding-right: .42rem !important; padding-left: .42rem !important; font-size: .79rem; }
    .search-button { font-size: 1.4rem; }
    .hero-content { width: 57%; padding-top: max(20vh, 170px); }
    .hero-content h1 { font-size: clamp(2.65rem, 4.7vw, 3.55rem); }
    .hero-content p { font-size: 1rem; }
    .hero-portrait { width: 52%; }
}

@media (max-width: 991.98px) {
    body { padding-top: 78px; }
    section[id] { scroll-margin-top: 88px; }
    .hero { min-height: max(calc(100svh - 78px), 542px); }
    .hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(9,10,11,.92) 0%, rgba(9,10,11,.65) 48%, rgba(9,10,11,.22) 100%); pointer-events: none; }
    .hero-nav { padding: 1rem 1.5rem; }
    .hero-nav .container-fluid { min-height: 46px; }
    .brand { top: .45rem; left: 1.5rem; width: 122px; }
    .navbar-toggler { margin-left: auto; }
    .navbar-toggler { border-color: rgba(255,255,255,.55); }
    .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(255,255,255,.18); }
    .navbar-collapse { margin-top: .75rem; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: .35rem; background: rgba(10,10,10,.94); backdrop-filter: blur(8px); }
    .nav-link { padding: .65rem .5rem; font-size: .92rem; }
    .search-button { padding: .35rem .5rem; }
    .hero-portrait { z-index: 0; width: 78%; opacity: .82; mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%); }
    .hero-portrait img { object-position: 58% top; }
    .hero-content { z-index: 2; width: 72%; padding: max(18vh, 145px) 0 3.5rem 2rem; }
    .hero-content h1 { font-size: clamp(2.7rem, 7vw, 4rem); }
    .hero-content p { font-size: 1.03rem; }
    .hero-actions { flex-wrap: wrap; }
    .about-story { grid-template-columns: 1fr; }
    .about-image { width: min(100%, 680px); margin: 0 auto; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-card { min-height: auto; }
    .team-grid { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); }
    .team-photo,
    .team-placeholder { height: 390px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card-primary { grid-column: span 2; }
    .service-subareas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { min-height: auto; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-portrait { width: min(100%, 620px); min-height: 680px; margin: 0 auto; }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: max(calc(100svh - 78px), 482px);
        background: linear-gradient(145deg, #101112, #2b2f32);
    }
    .hero::after { z-index: 1; background: linear-gradient(90deg, rgba(9,10,11,.94), rgba(9,10,11,.42)); }
    .hero-nav { padding: 1rem 1.25rem; }
    .brand { left: 1.25rem; width: 112px; }
    .hero-nav .navbar-nav { margin-right: 0; }
    .hero-portrait { z-index: 0; width: 100%; opacity: .7; mask-image: linear-gradient(90deg, transparent 0%, #000 36%, #000 100%); }
    .hero-portrait img { object-position: 58% center; }
    .hero-content { display: flex; z-index: 2; width: 100%; min-height: calc(100svh - 78px); padding: 110px 1.5rem 3rem; flex-direction: column; justify-content: center; }
    .hero-content h1 { font-size: clamp(2.35rem, 10.5vw, 3.5rem); }
    .hero-content p { font-size: 1rem; }
    .hero-actions { flex-wrap: wrap; }
    .about-section { padding: 4.5rem 0; }
    .about-container { width: min(90%, 640px); }
    .about-heading { margin-bottom: 3rem; }
    .about-heading h2 br { display: none; }
    .about-copy { font-size: 1rem; line-height: 1.7; }
    .about-image img { aspect-ratio: 4 / 3; }
    .pillars { padding-top: 5rem; }
    .pillars-grid { gap: 1.25rem; }
    .pillar-card { padding: 1.65rem; }
    .pillar-icon { width: 3.8rem; height: 3.8rem; margin-bottom: 1.4rem; }
    .about-quote { margin-top: 4rem; padding: 2.2rem 1.7rem; }
    .testimonials-section { padding: 4.5rem 0; }
    .testimonials-carousel { padding-right: 0; padding-left: 0; }
    .testimonial-card { min-height: 350px; padding: 2rem 1.4rem; }
    .testimonials-carousel .carousel-control-prev,
    .testimonials-carousel .carousel-control-next { display: none; }
    .team-section { padding: 4.5rem 0; }
    .team-container { width: min(90%, 560px); }
    .team-grid { grid-template-columns: 1fr; }
    .team-card { width: min(100%, 460px); margin: 0 auto; }
    .founder-card { width: min(100%, 520px); min-height: 680px; }
    .team-photo,
    .team-placeholder { height: clamp(340px, 110vw, 470px); }
    .results-breakdown { grid-template-columns: 1fr; }
    .results-breakdown article { display: flex; padding: 1rem; align-items: center; justify-content: space-between; text-align: left; }
    .results-breakdown span { margin-top: 0; text-align: right; }
    .results-savings { align-items: flex-start; flex-direction: column; }
    .services-section { padding: 4.5rem 0; }
    .services-container { width: min(90%, 560px); }
    .services-grid { grid-template-columns: 1fr; }
    .service-card,
    .service-card-primary { grid-column: auto; min-height: 310px; }
    .service-card-wide { min-height: auto; }
    .service-subareas { grid-template-columns: 1fr; }
    .service-card-primary h3 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
    .service-badge { max-width: 145px; text-align: center; }
    .blog-section,
    .contact-section { padding: 4.5rem 0; }
    .blog-container,
    .contact-container { width: min(90%, 560px); }
    .legal-modal .modal-header,
    .legal-modal .modal-body { padding: 1.35rem; }
    .contact-portrait { min-height: 540px; }
    .contact-form { grid-template-columns: 1fr; }
    .form-field-wide { grid-column: auto; }
    .contact-submit { width: 100%; }
}

@media (max-width: 479.98px) {
    body { padding-top: 69px; }
    section[id] { scroll-margin-top: 79px; }
    .hero-nav { padding: .8rem 1rem; }
    .brand { top: .35rem; left: 1rem; width: 102px; }
    .hero-content { padding-right: 1rem; padding-left: 1rem; }
    .hero-content h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
    .hero-content p { margin: 1.15rem 0 1.6rem; font-size: .95rem; line-height: 1.5; }
    .hero-actions { flex-direction: column; gap: .75rem; }
    .hero-actions .btn { width: 100%; padding: .9rem 1.15rem; }
    .hero-portrait { opacity: .58; }
    .whatsapp-float { width: 3.55rem; height: 3.55rem; font-size: 1.9rem; }
    .whatsapp-tooltip { font-size: .72rem; }
    .instagram-widget { right: 1rem; bottom: calc(1rem + 4.25rem); }
    .instagram-float { width: 3.55rem; height: 3.55rem; font-size: 1.8rem; }
    .instagram-tooltip { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .whatsapp-float { animation: none; }
    .founder-card-inner { transition: none; }
}

.welcome-celebration {
    position: fixed;
    z-index: 2000;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.welcome-particle {
    position: absolute;
    top: -2rem;
    left: 0;
    width: var(--particle-size);
    height: calc(var(--particle-size) * 1.8);
    border-radius: 2px;
    opacity: 0;
    background: var(--particle-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--particle-color) 55%, transparent);
    animation: welcome-confetti var(--particle-duration) cubic-bezier(.18,.72,.33,1) var(--particle-delay) forwards;
    transform: translate3d(var(--particle-x), -5vh, 0) rotate(0deg);
}

@keyframes welcome-confetti {
    0% {
        opacity: 0;
        transform: translate3d(var(--particle-x), -5vh, 0) rotate(0deg);
    }
    10% { opacity: .95; }
    82% { opacity: .88; }
    100% {
        opacity: 0;
        transform: translate3d(calc(var(--particle-x) + var(--particle-drift)), 108vh, 0) rotate(var(--particle-turn));
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-celebration { display: none; }
}
