:root {
    --color-primary: #6d5ef8;
    --color-primary-dark: #5445ea;
    --color-primary-soft: rgba(109, 94, 248, 0.12);
    --color-primary-glow: rgba(109, 94, 248, 0.32);
    --color-dark: #1a1a1a;
    --color-body: #5f6472;
    --color-muted: #7f8491;
    --color-surface: #ffffff;
    --color-surface-alt: #f7f7fd;
    --color-surface-dark: #12131d;
    --color-border: rgba(26, 26, 26, 0.08);
    --color-success: #25d366;
    --color-danger: #d44b66;
    --shadow-soft: 0 24px 60px rgba(38, 34, 84, 0.1);
    --shadow-card: 0 20px 40px rgba(31, 31, 54, 0.08);
    --shadow-strong: 0 30px 80px rgba(18, 19, 29, 0.16);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --header-height: 92px;
    --container-max: 1320px;
    --transition: 240ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-dark);
    background:
        radial-gradient(circle at top left, rgba(109, 94, 248, 0.07), transparent 28%),
        radial-gradient(circle at bottom right, rgba(37, 211, 102, 0.05), transparent 24%),
        #fff;
    line-height: 1.7;
    margin: 0;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container-xxl {
    max-width: var(--container-max);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 2000;
    background: var(--color-dark);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1040;
    transition: var(--transition);
}

.site-header.is-scrolled {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(16, 17, 26, 0.06);
}

.navbar {
    min-height: var(--header-height);
}

.navbar-brand {
    color: var(--color-dark);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.brand-logo {
    width: 88px;
    height: auto;
    filter: drop-shadow(0 12px 22px rgba(64, 87, 255, 0.24));
}

.offcanvas-header .brand-logo {
    width: 74px;
}

.footer-brand .brand-logo {
    width: 96px;
}

.brand-text strong,
.footer-brand strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.1;
}

.brand-text small,
.footer-brand small {
    color: var(--color-muted);
    line-height: 1.2;
}

.nav-link {
    color: var(--color-body);
    font-weight: 500;
    padding: 0.7rem 1rem !important;
    border-radius: 999px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.7);
}

.mobile-nav-link {
    padding: 0.95rem 1rem !important;
    background: var(--color-surface-alt);
}

.nav-toggle {
    border: 0;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-card);
}

.btn {
    border-radius: 18px;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-pill {
    border-radius: 999px;
    padding: 0.9rem 1.45rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #8472ff);
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(109, 94, 248, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-color: transparent;
}

.btn-outline-dark {
    border-color: rgba(26, 26, 26, 0.14);
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.72);
}

.btn-light {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.96);
    color: var(--color-dark);
}

.btn-whatsapp {
    background: var(--color-success);
    color: #fff;
    border: 0;
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1fb858;
    color: #fff;
}

.mobile-menu {
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
}

.mobile-follow,
.mobile-menu-cta {
    display: block;
}

.floating-whatsapp {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 1030;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    background: var(--color-success);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.32);
    animation: pulse-whatsapp 2.8s infinite;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 72px) 0 96px;
}

.hero-home {
    min-height: 94vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 20%, rgba(109, 94, 248, 0.18), transparent 26%),
        radial-gradient(circle at 84% 20%, rgba(37, 211, 102, 0.12), transparent 20%),
        linear-gradient(180deg, #fff 0%, #fbfbff 100%);
}

.hero-home::before {
    content: '';
    position: absolute;
    right: 4%;
    top: 16%;
    width: min(460px, 36vw);
    height: min(580px, 54vh);
    border-radius: 36px;
    background:
        linear-gradient(180deg, rgba(16, 18, 32, 0.1), rgba(16, 18, 32, 0.55)),
        url('https://images.unsplash.com/photo-1613395752352-292cf623d389?auto=format&fit=crop&w=1200&q=80') center/cover;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.55);
    transform: rotate(6deg);
    opacity: 0.86;
}

.hero-premium-shell::after {
    content: '';
    position: absolute;
    width: min(860px, 72vw);
    height: 320px;
    left: 50%;
    bottom: 4%;
    transform: translateX(-50%);
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(109, 94, 248, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 60px rgba(47, 47, 74, 0.08);
    z-index: 0;
}

.hero-premium-shell .row,
.hero-premium-shell .hero-badge,
.hero-premium-shell .hero-title,
.hero-premium-shell .hero-copy,
.hero-premium-shell .hero-actions,
.hero-premium-shell .hero-trust-strip,
.hero-premium-shell .hero-metric-grid {
    position: relative;
    z-index: 1;
}

.hero-secondary {
    padding-bottom: 72px;
    background:
        radial-gradient(circle at 8% 16%, rgba(109, 94, 248, 0.16), transparent 22%),
        radial-gradient(circle at 92% 10%, rgba(109, 94, 248, 0.1), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f7f7fd 100%);
}

.hero-cover {
    min-height: 88vh;
    display: flex;
    align-items: end;
    color: #fff;
}

.hero-cover-media,
.hero-cover-overlay {
    position: absolute;
    inset: 0;
}

.hero-cover-media {
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-cover-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.26), rgba(8, 10, 18, 0.7));
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.72;
}

.hero-orb-one {
    width: 280px;
    height: 280px;
    background: rgba(109, 94, 248, 0.18);
    top: 0;
    left: 3%;
}

.hero-orb-two {
    width: 220px;
    height: 220px;
    background: rgba(37, 211, 102, 0.14);
    right: 6%;
    bottom: 10%;
}

.hero-badge,
.eyebrow,
.carousel-badge,
.card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(109, 94, 248, 0.14);
    box-shadow: 0 10px 20px rgba(41, 41, 60, 0.06);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.eyebrow {
    background: transparent;
    box-shadow: none;
    border: 0;
    color: var(--color-primary);
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.hero-title,
.section-title,
.cta-band h2,
.message-block h2,
.featured-project h2,
.social-showcase h2,
.whatsapp-immersive h2,
.payment-block h2 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin: 1rem 0 1.4rem;
    font-weight: 800;
}

.section-title,
.cta-band h2,
.message-block h2,
.social-showcase h2,
.whatsapp-immersive h2,
.payment-block h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy,
.section-copy,
.message-block p,
.form-summary p,
.story-copy p,
.payment-block p,
.social-showcase p,
.whatsapp-immersive p {
    color: var(--color-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 720px;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.82) !important;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-trust-strip,
.hero-service-pills,
.featured-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.hero-trust-strip span,
.hero-service-pills span,
.featured-project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(109, 94, 248, 0.12);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    color: var(--color-dark);
}

.hero-service-pills span {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}

.featured-project-meta span {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-metric-grid,
.story-metrics,
.summary-glance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-metric-grid article,
.story-metrics article,
.summary-glance article {
    padding: 1.2rem 1.1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(109, 94, 248, 0.1);
    box-shadow: var(--shadow-card);
    text-align: left;
}

.hero-metric-grid strong,
.story-metrics strong,
.summary-glance strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.hero-metric-grid span,
.story-metrics span,
.summary-glance span {
    color: var(--color-body);
    font-size: 0.94rem;
}

.section-shell {
    position: relative;
    padding: 90px 0;
}

.section-shell::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 6%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 94, 248, 0.09) 0%, rgba(109, 94, 248, 0) 70%);
    pointer-events: none;
}

.section-soft {
    background: linear-gradient(180deg, #fafaff 0%, #f6f7fc 100%);
}

.section-intro {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.section-intro::after {
    content: '';
    display: block;
    width: 86px;
    height: 4px;
    border-radius: 999px;
    margin-top: 1.35rem;
    background: linear-gradient(90deg, var(--color-primary), rgba(37, 211, 102, 0.8));
    box-shadow: 0 8px 18px rgba(109, 94, 248, 0.18);
}

.section-intro.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-intro.text-center {
    margin-left: auto;
    margin-right: auto;
}

.split-section,
.story-grid,
.form-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
}

.premium-card,
.legal-card,
.form-card,
.story-card,
.contact-card-grid .premium-card,
.message-block,
.payment-block,
.social-showcase,
.whatsapp-immersive,
.cta-band {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.premium-card,
.timeline-step,
.story-card,
.message-block,
.payment-block,
.social-showcase,
.whatsapp-immersive,
.cta-band,
.legal-card,
.form-card,
.featured-project,
.mockup-block,
.project-card {
    transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.premium-card:hover,
.timeline-step:hover,
.story-card:hover,
.message-block:hover,
.payment-block:hover,
.social-showcase:hover,
.whatsapp-immersive:hover,
.cta-band:hover,
.legal-card:hover,
.form-card:hover,
.featured-project:hover,
.mockup-block:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(22, 24, 42, 0.12);
    border-color: rgba(109, 94, 248, 0.18);
}

.grid-values,
.contact-card-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.premium-card {
    padding: 1.8rem;
}

.premium-card h3,
.project-card h3,
.timeline-step h3,
.story-card h3,
.featured-project h2 {
    font-size: 1.45rem;
    line-height: 1.1;
    margin: 1rem 0 0.8rem;
}

.premium-card p,
.timeline-step p,
.project-card p,
.story-card p,
.featured-project p,
.accordion-body,
.legal-card p,
.footer-links a,
.footer-contact {
    color: var(--color-body);
}

.timeline-shell {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.page-home .timeline-shell {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-step {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(109, 94, 248, 0.08);
    box-shadow: var(--shadow-card);
}

.timeline-step::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, var(--color-primary), rgba(37, 211, 102, 0.8));
}

.timeline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.timeline-number {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(26, 26, 26, 0.05);
    color: var(--color-dark);
}

.premium-carousel {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    padding: 0.5rem 0.2rem 1.5rem;
}

.carousel-slide {
    position: relative;
    flex: 0 0 min(78%, 460px);
    min-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: scale(0.94);
    transition: transform 360ms ease, opacity 360ms ease, box-shadow 360ms ease;
    opacity: 0.72;
}

.carousel-slide.is-active {
    transform: scale(1);
    opacity: 1;
}

.carousel-media,
.project-card-media,
.featured-project-media,
.mockup-block-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 500ms ease;
}

.carousel-slide:hover .carousel-media,
.project-card:hover .project-card-media,
.featured-project:hover .featured-project-media,
.mockup-block:hover .mockup-block-media {
    transform: scale(1.06);
}

.carousel-overlay,
.project-card-overlay,
.featured-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.16), rgba(10, 10, 18, 0.76));
}

.carousel-content,
.project-card-body,
.featured-project-content {
    position: absolute;
    inset: auto 0 0;
    padding: 2rem;
    color: #fff;
    z-index: 1;
}

.carousel-content,
.project-card-body {
    background: linear-gradient(180deg, rgba(8, 10, 18, 0) 0%, rgba(8, 10, 18, 0.1) 20%, rgba(8, 10, 18, 0.42) 100%);
}

.carousel-floating-icon,
.project-card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    color: #fff;
    box-shadow: 0 16px 30px rgba(8, 10, 18, 0.18);
}

.carousel-content p,
.project-card-body p,
.featured-project-content p {
    color: rgba(255, 255, 255, 0.82);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.65rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.92);
}

.feature-list i {
    color: #fff;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.6rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(26, 26, 26, 0.16);
    transition: width var(--transition), background-color var(--transition), transform var(--transition);
}

.carousel-dot.is-active {
    width: 42px;
    background: var(--color-primary);
}

.featured-project,
.mockup-block,
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
}

.project-card::after,
.featured-project::after,
.mockup-block::after,
.story-photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: inherit;
    pointer-events: none;
}

.featured-project {
    min-height: 560px;
}

.featured-project-content {
    max-width: 620px;
    padding: 2.5rem;
}

.mockup-block {
    min-height: 520px;
    box-shadow: var(--shadow-strong);
}

.mockup-caption {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    font-weight: 600;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.before-after.before {
    background: linear-gradient(180deg, #fff, #f8f4f6);
}

.before-after.after {
    background: linear-gradient(180deg, #fff, #f4f5ff);
}

.message-block,
.social-showcase,
.whatsapp-immersive,
.payment-block,
.legal-card,
.cta-band {
    padding: 2.25rem;
}

.social-showcase,
.payment-block,
.cta-band,
.footer-social-callout,
.whatsapp-immersive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.contact-card-grid .premium-card {
    min-height: 100%;
}

.card-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 1.3rem;
}

.card-icon-inline {
    margin-bottom: 0.9rem;
}

.metric-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.metric-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(109, 94, 248, 0.12);
}

.metric-head strong {
    margin: 0;
}

.story-visual {
    display: grid;
    gap: 1rem;
}

.about-story-visual {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: stretch;
    gap: 1.1rem;
}

.story-side-stack {
    display: grid;
    gap: 1rem;
}

.story-card {
    position: relative;
    overflow: hidden;
    padding: 1.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 255, 0.96));
    border: 1px solid rgba(24, 28, 44, 0.08);
    box-shadow: 0 24px 55px rgba(20, 24, 38, 0.08);
}

.story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    border-radius: 32px 32px 0 0;
    background: linear-gradient(90deg, var(--color-primary), rgba(37, 211, 102, 0.92));
    pointer-events: none;
}

.story-card > * {
    position: relative;
    z-index: 1;
}

.story-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.story-card-label {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: rgba(109, 94, 248, 0.08);
    border: 1px solid rgba(109, 94, 248, 0.12);
}

.story-card-symbol {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 16px 34px rgba(84, 69, 234, 0.22);
}

.story-card-featured {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.1rem;
    padding: 2rem;
}

.story-card-featured h3 {
    max-width: 12ch;
    font-size: clamp(1.9rem, 2.6vw, 2.7rem);
    line-height: 1.02;
    margin-top: 0;
    margin-bottom: 0.95rem;
}

.story-card-compact {
    min-height: 220px;
}

.story-card-compact h3 {
    margin-top: 0;
}

.story-card-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.3rem;
}

.story-card-points span {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    color: var(--color-dark);
    background: rgba(109, 94, 248, 0.07);
    border: 1px solid rgba(109, 94, 248, 0.1);
    font-weight: 600;
    line-height: 1.3;
}

.story-card p {
    max-width: 34ch;
    font-size: 1.03rem;
    line-height: 1.85;
    color: #586074;
}

.story-photo-card {
    position: relative;
    min-height: 220px;
    border-radius: 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.story-card-primary {
    background:
        radial-gradient(circle at top right, rgba(109, 94, 248, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 248, 255, 0.97));
}

.story-card-secondary {
    background:
        radial-gradient(circle at top right, rgba(37, 211, 102, 0.15), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 252, 248, 0.97));
}

.about-story-photo {
    min-height: 250px;
}

.story-photo-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.55rem;
}

.story-photo-copy strong {
    display: block;
    max-width: 18ch;
    font-size: 1.15rem;
    line-height: 1.2;
    color: #fff;
}

.form-card,
.form-summary {
    padding: 2rem;
}

.form-summary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #171828, #2a2754);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.form-summary::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -70px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 94, 248, 0.45) 0%, rgba(109, 94, 248, 0) 70%);
}

.form-summary .section-copy,
.form-summary p,
.summary-points li {
    color: rgba(255, 255, 255, 0.8);
}

.summary-points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.8rem;
}

.summary-glance {
    position: relative;
    z-index: 1;
}

.summary-glance article {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.summary-glance strong,
.summary-glance span {
    color: rgba(255, 255, 255, 0.92);
}

.summary-glance-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-points li,
.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 253, 0.98));
}

.form-panel + .form-panel {
    margin-top: 1.25rem;
}

.form-panel {
    padding: 1.3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(26, 26, 26, 0.06);
}

.form-panel-head h3 {
    font-size: 1.2rem;
    margin: 0.35rem 0 0.4rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.field-group label {
    font-weight: 600;
}

.field-group input,
.field-group select,
.field-group textarea {
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    background: #fff;
    color: var(--color-dark);
    outline: 0;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: rgba(109, 94, 248, 0.4);
    box-shadow: 0 0 0 4px rgba(109, 94, 248, 0.1);
}

.field-group.is-invalid input,
.field-group.is-invalid select,
.field-group.is-invalid textarea {
    border-color: rgba(212, 75, 102, 0.5);
    box-shadow: 0 0 0 4px rgba(212, 75, 102, 0.08);
}

.field-error {
    min-height: 1.2rem;
    color: var(--color-danger);
    font-size: 0.86rem;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.submit-btn.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    font-weight: 500;
}

.form-feedback.is-success {
    background: rgba(37, 211, 102, 0.1);
    color: #0d6b35;
}

.form-feedback.is-error {
    background: rgba(212, 75, 102, 0.08);
    color: #9e2844;
}

.form-feedback .feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-stack,
.social-showcase-actions,
.footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn-icon {
    width: 52px;
    padding: 0;
}

.social-btn-mixed span {
    display: inline-flex;
}

.social-btn-whatsapp {
    color: #119749;
}

.social-btn-facebook {
    color: #1c66f2;
}

.social-btn-tiktok {
    color: var(--color-dark);
}

.social-btn-email {
    color: #b6385c;
}

.social-btn-phone {
    color: #d97706;
}

.premium-accordion .accordion-item {
    border: 0;
    margin-bottom: 1rem;
    background: transparent;
}

.premium-accordion .accordion-button {
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 26, 26, 0.06);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    padding: 1.2rem 1.35rem;
}

.premium-accordion .accordion-button:not(.collapsed) {
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
}

.premium-accordion .accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(109, 94, 248, 0.08);
}

.premium-accordion .accordion-body {
    padding: 1rem 1.35rem 0.2rem;
}

.site-footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, #141523 0%, #0e0f19 100%);
    color: #fff;
}

.footer-social-callout {
    transform: translateY(-40px);
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(109, 94, 248, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-strong);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1rem;
}

.footer-main h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span,
.site-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.page-services .hero-cover::after,
.page-projects .hero-secondary::after,
.page-about .hero-secondary::after,
.page-quote .hero-secondary::after,
.page-contact .hero-secondary::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -120px;
    top: 60px;
    background: radial-gradient(circle, rgba(109, 94, 248, 0.16) 0%, rgba(109, 94, 248, 0) 72%);
    pointer-events: none;
}

.hero-page-showcase {
    isolation: isolate;
}

.hero-page-showcase .container-xxl {
    position: relative;
    z-index: 1;
}

.hero-page-showcase-media {
    position: absolute;
    inset: 22% 6% auto auto;
    width: min(420px, 34vw);
    height: min(460px, 44vh);
    border-radius: 34px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.58);
    opacity: 0.96;
    transform: rotate(7deg);
}

.hero-page-showcase-dark .hero-page-showcase-media {
    filter: saturate(0.96) contrast(1.04);
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-mini-stats article {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(109, 94, 248, 0.1);
    box-shadow: var(--shadow-card);
    text-align: left;
}

.hero-mini-stats strong {
    display: block;
    margin-bottom: 0.3rem;
}

.hero-mini-stats span {
    color: var(--color-body);
    font-size: 0.95rem;
}

.hero-mini-stats-wide {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.immersive-signal-block {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(18, 19, 29, 0.98), rgba(45, 39, 88, 0.98));
    color: #fff;
    box-shadow: var(--shadow-strong);
}

.immersive-signal-block p,
.immersive-signal-block h2,
.immersive-signal-block .eyebrow {
    color: #fff;
}

.signal-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.signal-points article {
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-points i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
}

.signal-points strong {
    display: block;
    margin-bottom: 0.3rem;
}

.signal-points span {
    color: rgba(255, 255, 255, 0.76);
}

.legal-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.legal-summary {
    position: sticky;
    top: 120px;
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(109, 94, 248, 0.1);
    box-shadow: var(--shadow-card);
}

.legal-summary-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.legal-summary-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.legal-summary-list i {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.legal-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.legal-card h2 {
    font-size: 1.3rem;
    margin: 1.6rem 0 0.6rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal[data-reveal='fade-left'] {
    transform: translateX(28px);
}

.reveal[data-reveal='fade-right'] {
    transform: translateX(-28px);
}

.reveal[data-reveal='scale-in'] {
    transform: scale(0.95);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 1199.98px) {
    .split-section,
    .story-grid,
    .form-layout,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero-metric-grid,
    .story-metrics,
    .summary-glance {
        grid-template-columns: 1fr;
    }

    .footer-social-callout,
    .payment-block,
    .social-showcase,
    .whatsapp-immersive,
    .cta-band,
    .immersive-signal-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-page-showcase-media {
        display: none;
    }

    .hero-mini-stats,
    .signal-points,
    .legal-pillars,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        position: static;
    }

    .about-story-visual {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 82px;
    }

    .grid-values,
    .contact-card-grid,
    .project-grid,
    .timeline-shell,
    .page-home .timeline-shell,
    .before-after-grid,
    .two-columns,
    .summary-glance-compact,
    .hero-mini-stats,
    .signal-points,
    .legal-pillars {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex-basis: 88%;
        min-height: 480px;
    }

    .hero-home,
    .hero-cover {
        min-height: auto;
    }

    .hero-home::before {
        display: none;
    }

    .hero-premium-shell::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: calc(var(--header-height) + 42px);
        padding-bottom: 72px;
    }

    .hero-actions,
    .cta-actions,
    .social-showcase-actions,
    .footer-social-grid,
    .hero-trust-strip,
    .hero-service-pills,
    .featured-project-meta {
        width: 100%;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .submit-btn,
    .social-showcase-actions .social-btn,
    .footer-social-grid .social-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust-strip span,
    .hero-service-pills span,
    .featured-project-meta span {
        width: 100%;
        justify-content: center;
    }

    .social-btn-mixed {
        width: 52px !important;
        padding-left: 0;
        padding-right: 0;
    }

    .social-btn-mixed span {
        display: none;
    }

    .carousel-slide {
        flex-basis: 92%;
        min-height: 420px;
    }

    .message-block,
    .social-showcase,
    .whatsapp-immersive,
    .payment-block,
    .legal-card,
    .form-card,
    .form-summary,
    .featured-project-content,
    .cta-band,
    .footer-social-callout,
    .premium-card {
        padding: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
