@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #111525;
    --ink-soft: #272d42;
    --muted: #687087;
    --paper: #f7f8fc;
    --paper-2: #eef1f9;
    --dark: #0c1020;
    --dark-2: #151a30;
    --white: #fff;
    --line: rgba(17, 21, 37, .11);
    --line-dark: rgba(255, 255, 255, .13);
    --blue: #5b7cff;
    --violet: #9a55f5;
    --cyan: #57d8f4;
    --gradient: linear-gradient(120deg, #547bff 0%, #9a55f5 54%, #e45fc4 100%);
    --display: "Space Grotesk", Arial, sans-serif;
    --body: "DM Sans", Arial, sans-serif;
    --container: 1180px;
    --ease: cubic-bezier(.2, .75, .2, 1);
    --shadow: 0 24px 70px rgba(23, 29, 58, .13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--display);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0 0 .65em;
}

p {
    margin: 0 0 1em;
    max-width: 65ch;
}

.container {
    width: min(100% - 3rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: 2rem 0;
    position: relative;
}

.section-sm {
    padding: 4.5rem 0;
    position: relative;
}

.dark {
    background: var(--dark);
    color: #f7f8ff;
}

.dark-alt {
    background: var(--dark-2);
    color: #f7f8ff;
}

.dark p,
.dark-alt p {
    color: #aeb5cd;
}

.dark .section-copy p,
.dark-alt .section-copy p {
    color: #aeb5cd;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--violet);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.dark .kicker {
    color: var(--cyan);
}

.kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--gradient);
}

.section-head {
    max-width: 680px;
    margin-bottom: 3rem;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.gtext {
    color: transparent;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

/* Navigation */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: box-shadow .3s ease;
}

/* Blur/background moved to a pseudo-element so .site-nav itself does NOT
   establish a containing block via backdrop-filter. Otherwise the mobile
   menu (position: fixed, nested inside .site-nav) gets trapped inside the
   navbar's own small height instead of covering the full screen. */
.site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(12, 16, 32, .84);
    backdrop-filter: blur(18px);
    transition: background .3s ease;
}

.site-nav.scrolled::before {
    background: rgba(12, 16, 32, .97);
}

.site-nav.scrolled {
    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}

.nav-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    flex: none;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    color: #bdc3d7;
    text-decoration: none;
    font-size: .93rem;
    font-weight: 600;
    padding: .35rem 0;
    transition: color .25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .mobile-cta {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .8rem 1.35rem;
    border: 1px solid transparent;
    color: #fff;
    background: var(--gradient);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease;
    white-space: nowrap;
}

.btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(112, 83, 239, .3);
}

.btn svg {
    width: 17px;
    flex: none;
    transition: transform .3s ease;
}

.btn:hover svg {
    transform: translate(3px, -2px);
}

.btn.outline {
    color: inherit;
    background: transparent;
    border-color: currentColor;
    box-shadow: none;
}

.btn.outline:hover {
    color: #fff;
    border-color: transparent;
    background: var(--gradient);
}

.btn.light {
    color: var(--ink);
    background: #fff;
}

.btn.light:hover {
    color: #fff;
    background: var(--gradient);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: #fff;
    flex: none;
}

.menu-toggle i,
.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
    content: "";
}

.menu-toggle.open i {
    opacity: 0;
}

.menu-toggle.open::before {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Background atmosphere + hero */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora::before,
.aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    opacity: .22;
    animation: float 14s ease-in-out infinite alternate;
}

.aurora::before {
    width: 440px;
    height: 440px;
    top: -220px;
    left: -100px;
    background: var(--blue);
}

.aurora::after {
    width: 420px;
    height: 420px;
    right: -130px;
    bottom: -250px;
    background: var(--violet);
    animation-delay: -5s;
}

@keyframes float {
    to {
        transform: translate(45px, 28px) scale(1.15);
    }
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero {
    min-height: 690px;
    padding: 7.5rem 0 6rem;
    display: flex;
    align-items: center;
}

.hero>.container,
.page-hero>.container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .45rem .8rem .45rem .5rem;
    border: 1px solid var(--line-dark);
    border-radius: 99px;
    background: rgba(255, 255, 255, .055);
    color: #c6cbe0;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.eyebrow img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
    object-fit: cover;
}

.hero h1 {
    max-width: 10ch;
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5.55rem);
}

.hero-copy {
    color: #b5bdd3;
    font-size: 1.12rem;
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.waveform {
    width: min(100%, 470px);
    height: 54px;
    margin-top: 1.3rem;
}

.waveform path {
    fill: none;
    stroke: url(#gradStroke);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    animation: draw 2s .4s var(--ease) forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-visual {
    position: relative;
    min-height: 455px;
}

.hero-image-frame {
    position: absolute;
    inset: 0 0 2rem 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #1b2442;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
    transform: rotate(3deg);
    transition: transform .5s var(--ease);
}

.hero-visual:hover .hero-image-frame {
    transform: rotate(0deg) scale(1.015);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(16, 26, 70, .1), rgba(120, 65, 210, .48));
    mix-blend-mode: multiply;
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: 1rem 1.15rem;
    background: rgba(21, 26, 48, .9);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
    animation: bob 5s ease-in-out infinite;
}

.float-card strong {
    color: #fff;
    font: 700 1.65rem var(--display);
}

.float-card span {
    color: #aeb6d2;
    font-size: .78rem;
}

.float-card.one {
    top: 2rem;
    left: -1.8rem;
}

.float-card.two {
    right: -1.4rem;
    bottom: 0;
    animation-delay: -2.3s;
}

@keyframes bob {
    50% {
        transform: translateY(-9px);
    }
}

.angle {
    height: 70px;
    margin-top: -1px;
    background: var(--paper);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.angle.dark {
    background: var(--dark);
}

/* Marquee + stats */
.marquee {
    overflow: hidden;
    padding: .9rem 0;
    background: var(--gradient);
    color: #fff;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    min-width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee span {
    display: inline-flex;
    align-items: center;
    gap: 1.8rem;
    padding: 0 1.7rem;
    font: 700 1rem var(--display);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.marquee span::after {
    content: "✦";
    color: rgba(255, 255, 255, .7);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    padding-left: 1.2rem;
    border-left: 2px solid var(--line);
}

.dark .stat,
.dark-alt .stat {
    border-left: 2px solid var(--line-dark);
}

.stat strong {
    display: block;
    font: 700 clamp(2.1rem, 4vw, 3.3rem) var(--display);
}

.stat span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.dark .stat span,
.dark-alt .stat span {
    color: #aeb5cd;
}

/* Cards + image treatments */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-card {
    min-height: 220px;
    padding: 1.7rem;
    color: #eef0fa;
    text-decoration: none;
    background: rgba(255, 255, 255, .055);
    border: 1px solid var(--line-dark);
    transition: transform .45s var(--ease), background .35s ease, box-shadow .35s ease;
}

.service-card.big {
    grid-column: span 2;
    min-height: 270px;
}

.service-card:nth-child(2) {
    transform: translateY(1.4rem);
}

.service-card:nth-child(4) {
    transform: translateY(-1.2rem);
}

.service-card:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-7px) !important;
    box-shadow: 0 25px 55px rgba(0, 0, 0, .25);
}

.icon-box {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 2.1rem;
    border-radius: 13px;
    color: #fff;
    background: var(--gradient);
    font-size: 1.3rem;
}

.icon-box svg {
    width: 23px;
}

.service-card h3 {
    color: #fff;
    font-size: 1.2rem;
}

.service-card p {
    color: #aeb5cd;
    font-size: .92rem;
    margin: 0;
}

.process {
    max-width: 880px;
}

.process-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-top: 1px solid var(--line-dark);
}

.process-item:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.step {
    font: 700 1.75rem var(--display);
    color: var(--cyan);
}

.process-item h3 {
    color: #fff;
    font-size: 1.3rem;
}

.process-item p {
    margin: 0;
}

.work-block {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.8rem;
    align-items: center;
    padding: 3.3rem 0;
    border-top: 1px solid var(--line);
}

.work-block.reverse {
    direction: rtl;
}

.work-block.reverse>* {
    direction: ltr;
}

.image-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: var(--gradient);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.image-card svg {
    width: 34%;
    height: 34%;
    color: #fff;
    opacity: .95;
    z-index: 1;
    transition: transform .5s var(--ease);
}

.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(18, 25, 65, .1), rgba(40, 11, 85, .58));
}

.image-card:hover img {
    transform: scale(1.08);
}

.image-card:hover svg {
    transform: scale(1.1) rotate(-3deg);
}

.tag {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    padding: .35rem .65rem;
    color: #fff;
    background: rgba(11, 14, 29, .68);
    border-radius: 7px;
    font-size: .76rem;
    font-weight: 700;
}

.work-copy h3 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.work-copy p {
    color: var(--muted);
}

.result {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.result strong {
    display: block;
    font: 700 1.65rem var(--display);
}

.result span {
    color: var(--muted);
    font-size: .78rem;
}

.testimonial {
    max-width: 840px;
}

.testi-slide {
    display: none;
}

.testi-slide.active {
    display: block;
    animation: fade-up .6s var(--ease);
}

.testi-slide blockquote {
    margin: 0 0 1.3rem;
    color: #fff;
    font: 600 clamp(1.45rem, 3vw, 2.3rem)/1.35 var(--display);
}

.testi-slide cite {
    color: #abb3cc;
    font-size: .92rem;
    font-style: normal;
}

.testi-dots {
    display: flex;
    gap: .45rem;
    margin-top: 1.7rem;
}

.testi-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #59617a;
    transition: width .3s ease, background .3s ease;
}

.testi-dots button.active {
    width: 28px;
    background: var(--gradient);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta {
    overflow: hidden;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta h2 {
    max-width: 14ch;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

/* Interior pages */
.page-hero {
    padding: 6.7rem 0 5.5rem;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 4rem;
    align-items: center;
}

.page-hero h1 {
    max-width: 16ch;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.page-hero p {
    color: #afb6cb;
    font-size: 1.08rem;
}

.page-art {
    position: relative;
    aspect-ratio: 1.05;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    background: var(--dark-2);
}

.page-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
}

.page-art svg {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 40%;
    height: 40%;
    color: #fff;
    opacity: .9;
    z-index: 2;
}

.page-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 47, 130, .15), rgba(128, 46, 195, .55));
}

.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.split-image {
    position: relative;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    background: var(--gradient);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    z-index: 2;
    padding: .8rem 1rem;
    color: #fff;
    background: rgba(11, 14, 29, .72);
    backdrop-filter: blur(8px);
    font-size: .82rem;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 1.5rem 0 0;
    border-top: 2px solid;
    border-image: var(--gradient) 1;
}

.value-card h3 {
    font-size: 1.25rem;
}

.value-card p {
    color: var(--muted);
    font-size: .92rem;
}

.timeline {
    position: relative;
    max-width: 840px;
    margin-left: 1rem;
    padding-left: 2.1rem;
    border-left: 1px solid var(--line-dark);
}

.timeline-item {
    position: relative;
    padding: 0 0 2.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2.48rem;
    top: .25rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 0 5px rgba(91, 124, 255, .14);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    color: var(--cyan);
    font: 700 .85rem var(--display);
    letter-spacing: .08em;
}

.timeline-item h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: .35rem 0;
}

.timeline-item p {
    margin: 0;
}

.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    text-align: center;
}

.avatar {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--gradient);
    transition: transform .4s var(--ease);
}

.team-card:hover .avatar {
    transform: translateY(-6px);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.05rem;
    margin-bottom: .15rem;
}

.team-card p {
    color: var(--muted);
    font-size: .85rem;
    margin: 0;
}

/* Services */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2.5rem;
}

.tab {
    padding: .7rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--muted);
    background: transparent;
    font-size: .84rem;
    font-weight: 700;
    transition: all .3s ease;
}

.tab:hover {
    color: var(--ink);
    border-color: var(--violet);
}

.tab.active {
    color: #fff;
    border-color: transparent;
    background: var(--gradient);
    box-shadow: 0 10px 24px rgba(112, 83, 239, .28);
}

.panel {
    display: none;
}

.panel.active {
    display: block;
    animation: fade-up .5s var(--ease);
}

.panel-inner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 3rem;
    padding: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.panel-visual {
    position: relative;
    aspect-ratio: 1.25;
    overflow: hidden;
    border-radius: 16px;
    background: var(--gradient);
    box-shadow: 0 18px 40px rgba(23, 29, 58, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.panel-visual:hover img {
    transform: scale(1.06);
}

.panel-visual svg {
    width: 38%;
    height: 38%;
    color: #fff;
    stroke: currentColor;
    opacity: .95;
    transition: transform .5s var(--ease);
}

.panel-visual:hover svg {
    transform: scale(1.08) rotate(-3deg);
}

.panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.panel p {
    color: var(--muted);
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem 1.5rem;
    align-content: center;
    list-style: none;
    margin: 0;
    padding: 1rem 0 0;
}

.service-list li {
    display: flex;
    gap: .6rem;
    align-items: center;
    font-size: .93rem;
    padding: .5rem .6rem;
    border-radius: 10px;
    transition: background .25s ease, transform .25s ease;
}

.service-list li:hover {
    background: var(--paper-2);
    transform: translateX(4px);
}

.service-list li::before {
    content: "↗";
    display: grid;
    place-items: center;
    flex: 0 0 21px;
    height: 21px;
    border-radius: 50%;
    color: #fff;
    background: var(--gradient);
    font-size: .75rem;
}

.faq {
    max-width: 800px;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.35rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-weight: 700;
    gap: 1rem;
}

.faq-question span {
    color: var(--violet);
    font-size: 1.5rem;
    transition: transform .3s ease;
    flex: none;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.faq-answer p {
    padding-bottom: 1.3rem;
    color: var(--muted);
}

/* Blog */
.featured-post {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
    align-items: center;
    padding-bottom: 4rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}

.featured-post h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.featured-post p {
    color: var(--muted);
}

.post-cat {
    display: block;
    margin-bottom: .45rem;
    color: var(--violet);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.post-meta {
    color: var(--muted);
    font-size: .8rem;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2rem;
}

.filter button {
    padding: .55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: transparent;
    color: var(--muted);
    font-size: .83rem;
    font-weight: 700;
}

.filter button.active,
.filter button:hover {
    color: #fff;
    border-color: transparent;
    background: var(--gradient);
    box-shadow: 0 10px 24px rgba(112, 83, 239, .28);
}

.posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease);
}

.post-card:hover {
    transform: translateY(-7px);
}

.post-card .image-card {
    margin-bottom: 1rem;
    aspect-ratio: 1.4;
}

.post-card h3 {
    font-size: 1.25rem;
}

.post-card p {
    color: var(--muted);
    font-size: .91rem;
}

.post-card .post-meta {
    margin-top: auto;
    padding-top: .6rem;
}

.post-card.hidden {
    display: none;
}

/* Contact + footer */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 5rem;
    align-items: start;
}

.quick-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.quick-card {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 1.7rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(23, 29, 58, .16);
}

.quick-card .icon-box {
    margin-bottom: 0;
}

.quick-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ink);
}

.quick-card p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
}

.form-field {
    margin-bottom: 1.1rem;
}

.form-field label {
    display: block;
    margin-bottom: .4rem;
    font-size: .86rem;
    font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    color: var(--ink);
    background: var(--paper-2);
    transition: border .25s ease, box-shadow .25s ease, background .25s ease;
}

.form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--violet);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(154, 85, 245, .12);
}

.form-field.error input,
.form-field.error textarea {
    border-color: #e34f71;
}

.field-error {
    display: none;
    color: #d9365d;
    font-size: .76rem;
}

.form-field.error .field-error {
    display: block;
    margin-top: .25rem;
}

.form-note {
    color: var(--muted);
    font-size: .78rem;
    margin-top: 1rem;
}

.success-banner {
    display: none;
    gap: .7rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    color: #146a4b;
    background: #e3f8ef;
    border: 1px solid #a6e7cb;
    border-radius: 12px;
}

.success-banner.show {
    display: flex;
}

.info-card {
    padding: 2.25rem;
    color: #eff1fa;
    background: var(--dark-2);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.info-card h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
}

.info-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .9rem;
    align-items: center;
    margin: 1.2rem 0;
    padding: .6rem;
    border-radius: 12px;
    transition: background .25s ease;
}

.info-row:hover {
    background: rgba(255, 255, 255, .06);
}

.info-row svg {
    width: 20px;
}

.info-row .icon-box {
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    border-radius: 11px;
}

.info-row .icon-box svg {
    width: 19px;
    color: #fff;
}

.info-row strong,
.info-row span {
    display: block;
}

.info-row strong {
    color: #fff;
    font-size: .87rem;
}

.info-row span {
    color: #abb3ca;
    font-size: .88rem;
}

.map-art {
    min-height: 190px;
    margin-top: 1.7rem;
    overflow: hidden;
    border-radius: 14px;
    background: var(--gradient);
    opacity: .95;
}

.map-art iframe {
    width: 100%;
    height: 190px;
    display: block;
    border: 0;
}

.footer {
    padding: 5rem 0 1rem;
    color: #aeb5cd;
    background: var(--dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .75fr .85fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line-dark);
}

.footer p {
    max-width: 32ch;
    color: #aeb5cd;
    font-size: .9rem;
}

.footer h4 {
    color: #fff;
    font: 700 .88rem var(--body);
    letter-spacing: 0;
}

.footer ul {
    display: grid;
    gap: .55rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .88rem;
}

.footer a {
    color: #aeb5cd;
    text-decoration: none;
    transition: color .25s ease;
}

.footer a:hover {
    color: #fff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font: 700 1rem var(--display);
}

.footer-brand img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #fff;
    padding: 2px;
    object-fit: cover;
}

.newsletter {
    display: flex;
    max-width: 330px;
    margin-top: 1.25rem;
}

.newsletter input {
    min-width: 0;
    flex: 1;
    padding: .7rem .85rem;
    border: 1px solid var(--line-dark);
    border-right: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.newsletter button {
    width: 48px;
    flex: none;
    border: 0;
    color: #fff;
    background: var(--gradient);
    font-weight: 700;
}

.socials {
    display: flex;
    gap: .55rem;
    margin-top: 1.1rem;
}

.socials a {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.socials svg {
    width: 16px;
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.3rem 0;
    font-size: .77rem;
}

.whatsapp,
.to-top {
    position: fixed;
    z-index: 80;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.whatsapp {
    right: 1.35rem;
    bottom: 1.35rem;
    width: 60px;
    height: 60px;
    background: #16bd70;
    font-size: 1.4rem;
    text-decoration: none;
}

.whatsapp:hover{
color: white;
}
.whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #16bd70;
    animation: pulse 2.2s ease-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.whatsapp svg {
    width: 25px;
}

.to-top {
    right: 1.45rem;
    bottom: 5.6rem;
    width: 39px;
    height: 39px;
    color: var(--ink);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
    border: 0;
    font-size: 1.1rem;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.to-top svg {
    width: 17px;
}

/* Motion helpers */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.stagger>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.stagger>*:hover{
    text-decoration: none;
}


.stagger.in>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger.in>*:nth-child(1) {
    transition-delay: .05s;
}

.stagger.in>*:nth-child(2) {
    transition-delay: .12s;
}

.stagger.in>*:nth-child(3) {
    transition-delay: .19s;
}

.stagger.in>*:nth-child(4) {
    transition-delay: .26s;
}

.stagger.in>*:nth-child(5) {
    transition-delay: .33s;
}

.stagger.in>*:nth-child(6) {
    transition-delay: .4s;
}

.is-loading .btn-text {
    opacity: .5;
}

.spin {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.is-loading .spin {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============ Responsive ============ */

@media (max-width: 1080px) {
    .bento {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card.big {
        grid-column: span 3;
    }

    .service-card:nth-child(2),
    .service-card:nth-child(4) {
        transform: none;
    }
}

@media (max-width: 980px) {

    .hero-grid,
    .page-hero-grid {
        gap: 3rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .nav-inner {
        gap: .8rem;
    }

    .nav-links {
        gap: 1.1rem;
    }

    .nav-actions {
        gap: .7rem;
    }

    .nav-actions .btn {
        padding: .7rem 1rem;
        font-size: .82rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid,
    .split {
        gap: 3rem;
    }

    .quick-contact {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.big {
        grid-column: span 2;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 2.25rem, var(--container));
    }

    .section {
        padding: 5rem 0;
    }

    .nav-inner {
        height: 70px;
    }

    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 70px 0 0;
        z-index: 99;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
        padding: 2.4rem 1.5rem 2rem;
        background: rgba(12, 16, 32, .98);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease, transform .3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-links .mobile-cta {
        display: block;
        width: 100%;
        margin-top: .6rem;
        padding-top: 1.4rem;
        border-top: 1px solid var(--line-dark);
    }

    .nav-links .mobile-cta .btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }

    .hero-grid,
    .page-hero-grid,
    .split,
    .contact-grid,
    .featured-post {
        grid-template-columns: 1fr;
    }

    .quick-contact {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 390px;
        max-width: 590px;
    }

    .page-hero-grid .page-art {
        max-width: 530px;
    }

    .work-block,
    .work-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .work-block.reverse>* {
        direction: ltr;
    }

    .values {
        grid-template-columns: 1fr 1fr;
    }

    .team {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem;
    }

    .panel-visual {
        max-width: 610px;
    }

    .posts {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }
}

@media (max-width: 640px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .service-card.big {
        grid-column: span 1;
    }

    .service-card {
        transform: none !important;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 1.5rem, var(--container));
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
        padding: 4.8rem 0 4rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .hero-visual {
        min-height: 320px;
        margin-top: 1rem;
    }

    .hero-image-frame {
        inset: 0 0 1rem .6rem;
    }

    .float-card.one {
        left: -.35rem;
        top: 1rem;
    }

    .float-card.two {
        right: -.35rem;
    }

    .float-card {
        padding: .7rem .8rem;
    }

    .float-card strong {
        font-size: 1.25rem;
    }

    .stats,
    .values,
    .posts {
        grid-template-columns: 1fr;
    }

    .process-item {
        grid-template-columns: 48px 1fr;
        gap: .7rem;
    }

    .result {
        gap: 1.2rem;
    }

    .page-hero {
        padding: 4.8rem 0 4rem;
    }

    .page-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.6rem);
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }

    .footer-grid> :first-child {
        grid-column: span 2;
    }

    .cta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta h2 {
        max-width: 17ch;
    }

    .whatsapp {
        right: .8rem;
        bottom: .8rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp svg {
        width: 22px;
    }

    .to-top {
        right: .85rem;
        bottom: 4.5rem;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .btn {
        font-size: .84rem;
        padding: .75rem 1.1rem;
    }

    .stat strong {
        font-size: 1.7rem;
    }

    .tab {
        padding: .55rem .85rem;
        font-size: .78rem;
    }

    .nav-inner {
        height: 62px;
    }

    .brand {
        font-size: 1rem;
        gap: .4rem;
    }

    .brand img {
        width: 30px;
        height: 30px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 7px;
    }

    .nav-links {
        inset: 62px 0 0;
        padding: 1.6rem 1.1rem 1.6rem;
        gap: 1.1rem;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .eyebrow {
        font-size: .74rem;
        padding: .4rem .7rem .4rem .4rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .faq-question {
        font-size: .95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}