:root {
    --navy: #274060;
    --blue: #335C81;
    --sky: #65AFFF;
    --dark: #1B2845;
    --accent: #5899E2;
    --white: #f7faff;
    --muted: #aab9ca;
    --line: rgba(255, 255, 255, .10);
    --surface: rgba(255, 255, 255, .045);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 9999;
    background: var(--sky);
    color: var(--dark);
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(27, 40, 69, .72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: .3s ease;
}

.site-header.scrolled {
    border-color: var(--line);
    background: rgba(27, 40, 69, .92);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(101, 175, 255, .55);
    border-radius: 10px;
    color: var(--sky);
    background: rgba(101, 175, 255, .08);
}

.brand-accent {
    color: var(--sky);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: .9rem;
    color: #dce7f2;
}

.nav-menu a {
    transition: color .2s ease;
}

.nav-menu a:hover {
    color: var(--sky);
}

.nav-menu .nav-prices,
.nav-menu .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.nav-menu .nav-prices {
    color: #dce7f2;
    border: 1px solid rgba(220, 231, 242, .3);
    background: transparent;
}

.nav-menu .nav-prices:hover {
    color: var(--sky);
    border-color: rgba(101, 175, 255, .7);
    background: rgba(101, 175, 255, .08);
}

.nav-cta {
    color: #10213a;
    background: var(--sky);
    border: 1px solid var(--sky);
}

.nav-menu .nav-cta:hover {
    color: #10213a;
    background: #8bc3ff;
    border-color: #8bc3ff;
}

.nav-cta i {
    transition: transform .2s ease;
}

.nav-menu .nav-cta:hover i {
    transform: translate(2px, -2px);
}

.nav-menu .nav-prices:focus-visible,
.nav-cta:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    color: white;
    font-size: 1.7rem;
}

.hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-overlay,
.hero-grid {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.4s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(27, 40, 69, .96) 0%, rgba(27, 40, 69, .79) 48%, rgba(27, 40, 69, .52) 100%);
}

.hero-grid {
    opacity: .14;
    background-image: linear-gradient(rgba(101, 175, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 175, 255, .25) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-block: 150px 100px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sky);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.eyebrow span {
    width: 30px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3 {
    line-height: 1.08;
    letter-spacing: -.025em;
}

h1 {
    max-width: 900px;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.hero-text {
    max-width: 670px;
    margin-top: 25px;
    color: #cfdae6;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 19px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 750;
    font-size: .9rem;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #10213a;
    background: var(--sky);
    box-shadow: 0 10px 28px rgba(101, 175, 255, .18);
}

.btn-primary:hover {
    background: #83bdff;
    box-shadow: 0 14px 34px rgba(101, 175, 255, .28);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
}

.btn-ghost:hover {
    border-color: rgba(101, 175, 255, .6);
    background: rgba(101, 175, 255, .08);
}

.btn:disabled {
    opacity: .38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
    color: #b9c9d9;
    font-size: .82rem;
}

.hero-trust i {
    color: var(--sky);
    margin-right: 6px;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    right: 30px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9db0c4;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hero-scroll i {
    color: var(--sky);
}

.section {
    padding: 120px 0;
}

.services-section,
.gallery-section,
.faq-section {
    background: #1d2d49;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading h2,
.benefits-copy h2,
.about-copy h2,
.contact-info h2,
.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-heading>p:last-child,
.benefits-copy>p,
.about-copy>p,
.contact-info>p {
    color: var(--muted);
    margin-top: 18px;
    max-width: 650px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    padding: 34px;
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .025);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(101, 175, 255, .45);
    background: rgba(101, 175, 255, .055);
}

.service-card.featured {
    border-color: rgba(101, 175, 255, .35);
    background: linear-gradient(145deg, rgba(101, 175, 255, .08), rgba(255, 255, 255, .02));
}

.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--sky);
    border: 1px solid rgba(101, 175, 255, .28);
    border-radius: 14px;
    background: rgba(101, 175, 255, .07);
    font-size: 1.5rem;
    margin-bottom: 55px;
    transition: transform .3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.06);
}

.card-number {
    position: absolute;
    top: 35px;
    right: 34px;
    color: rgba(255, 255, 255, .25);
    font-size: .75rem;
    font-weight: 800;
}

.service-card h3 {
    font-size: 1.55rem;
}

.service-card p {
    color: var(--muted);
    margin-top: 13px;
    font-size: .92rem;
}

.service-card>a {
    position: absolute;
    bottom: 30px;
    display: inline-flex;
    gap: 8px;
    color: var(--sky);
    font-size: .85rem;
    font-weight: 750;
}

.benefits-section {
    background: #1B2845;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--sky);
    font-weight: 750;
    margin-top: 26px;
}

.benefits-list {
    display: grid;
    gap: 12px;
}

.benefit {
    display: flex;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
    transition: transform .25s ease;
}

.benefit:hover {
    transform: translateX(5px);
}

.benefit>div {
    flex: 0 0 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--sky);
    background: rgba(101, 175, 255, .08);
    border-radius: 10px;
}

.benefit span {
    display: grid;
    gap: 3px;
}

.benefit small {
    color: var(--muted);
}

.process-section {
    background: #203553;
}

.pc-results-section {
    background: #1B2845;
}

.pc-results-section .section-heading>p:last-child {
    margin-inline: auto;
}

.pc-slider {
    position: relative;
    min-height: 440px;
}

.pc-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: .45s ease;
}

.pc-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.pc-result-card {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .035);
}

.pc-result-after {
    border-color: rgba(101, 175, 255, .3);
}

.pc-result-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #142238;
    text-align: left;
}

.pc-result-image:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: -5px;
}

.pc-result-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter .3s ease;
}

.pc-result-image:hover img {
    filter: brightness(1.08);
}

.pc-result-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: linear-gradient(180deg, rgba(10, 19, 32, .55), transparent 38%, rgba(10, 19, 32, .94));
    color: var(--white);
}

.pc-result-label {
    align-self: flex-start;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(15, 25, 43, .65);
    color: var(--white);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-result-after .pc-result-label {
    border-color: rgba(101, 175, 255, .55);
    color: #b9dcff;
}

.pc-result-copy {
    display: grid;
    gap: 8px;
}

.pc-result-title {
    font-size: clamp(1.25rem, 2.3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
}

.pc-result-description {
    max-width: 480px;
    color: #e0e8f2;
    font-size: .92rem;
}

.pc-result-tag {
    color: var(--sky);
    font-size: .76rem;
    font-weight: 750;
}

.pc-result-arrow {
    display: grid;
    place-items: center;
    align-self: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(101, 175, 255, .3);
    border-radius: 50%;
    background: #203553;
    color: var(--sky);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(101, 175, 255, .22);
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 18px;
}

.process-step>span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    border: 1px solid rgba(101, 175, 255, .5);
    border-radius: 50%;
    background: #203553;
    color: var(--sky);
    font-size: .78rem;
    font-weight: 800;
}

.process-step>i {
    display: block;
    color: var(--sky);
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.1rem;
}

.process-step p {
    color: var(--muted);
    font-size: .86rem;
    margin-top: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: 250px;
    gap: 14px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    min-height: 0;
    background: #121f34;
}

.gallery-expand {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-expand:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: -5px;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    height: 100%;
    object-fit: contain;
    transition: filter .3s ease;
}

.gallery-item:hover img {
    filter: brightness(1.08);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(15, 25, 43, .92));
}

.gallery-item figcaption {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 20px;
    display: grid;
    gap: 3px;
    pointer-events: none;
}

.gallery-item figcaption span {
    color: var(--sky);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.gallery-item figcaption strong {
    font-size: 1rem;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: min(92vw, 1200px);
    max-width: none;
    max-height: 92vh;
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background: transparent;
}

.gallery-lightbox::backdrop {
    background: rgba(8, 14, 25, .9);
    backdrop-filter: blur(5px);
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 14px;
}

.gallery-lightbox-close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(15, 25, 43, .78);
    color: var(--white);
    font-size: 1.1rem;
}

.projects-section {
    background: #1B2845;
}

.project-slider {
    position: relative;
    min-height: 470px;
}

.project-slide {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: .45s ease;
}

.project-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.project-image {
    overflow: hidden;
    border-radius: 18px 0 0 18px;
}

.project-image img {
    height: 100%;
}

.project-content {
    align-self: center;
    padding: 55px;
    background: #203553;
    border-radius: 0 18px 18px 0;
    min-height: 80%;
}

.project-content>span {
    color: var(--sky);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    font-weight: 800;
}

.project-content h3 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    margin-top: 15px;
}

.project-content p {
    color: var(--muted);
    margin-top: 16px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: white;
    background: transparent;
    transition: .2s ease;
}

.slider-btn:hover {
    border-color: var(--sky);
    color: var(--sky);
}

.slider-dots {
    display: flex;
    gap: 7px;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
}

.slider-dot.is-active {
    background: var(--sky);
    width: 24px;
    border-radius: 10px;
}

.testimonials-section {
    background: #203553;
}

.testimonial-slider {
    min-height: 310px;
    position: relative;
}

.testimonial {
    position: absolute;
    inset: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .4s ease;
}

.testimonial.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.quote-icon {
    color: var(--sky);
    font-size: 2.4rem;
}

.testimonial blockquote {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.35;
    font-weight: 500;
    margin: 12px auto 28px;
    max-width: 720px;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: var(--sky);
    font-weight: 800;
}

.testimonial-author span {
    display: grid;
}

.testimonial-author small {
    color: var(--muted);
}

.cta-section {
    padding: 45px 0;
    background: #1B2845;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 40px;
    border: 1px solid rgba(101, 175, 255, .25);
    border-radius: var(--radius);
    background: linear-gradient(110deg, rgba(51, 92, 129, .5), rgba(101, 175, 255, .06));
}

.cta-box .eyebrow {
    margin-bottom: 8px;
}

.cta-box h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.faq-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 90px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 9px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 21px 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--sky);
    font-size: 1.3rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    color: var(--muted);
    padding: 0 24px 21px;
    font-size: .9rem;
}

.about-section {
    background: #203553;
}

.about-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image>img {
    height: 560px;
    border-radius: 18px;
}

.about-badge {
    position: absolute;
    right: -25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #1B2845;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.about-badge>i {
    color: var(--sky);
    font-size: 1.5rem;
}

.about-badge span {
    display: grid;
    font-size: .8rem;
    font-weight: 800;
}

.about-badge small {
    color: var(--muted);
    font-weight: 400;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .82rem;
}

.about-stats span {
    display: grid;
    gap: 4px;
}

.about-stats strong {
    color: var(--sky);
    font-size: 1.2rem;
}

.contact-section {
    background: #1B2845;
}

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 13px;
    margin-top: 35px;
}

.contact-detail {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.detail-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--sky);
    border-radius: 10px;
    background: rgba(101, 175, 255, .08);
}

.contact-detail span:last-child {
    display: grid;
    gap: 2px;
}

.contact-detail small {
    color: var(--muted);
    font-size: .72rem;
}

.contact-detail strong {
    font-size: .9rem;
}

.contact-form-wrap {
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .035);
}

.form-field {
    margin-bottom: 18px;
}

.form-field label,
.label-row {
    font-size: .78rem;
    font-weight: 750;
}

.form-field label span {
    color: var(--sky);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    outline: none;
    border-radius: 10px;
    background: #18263f;
    color: white;
    padding: 13px 14px;
    transition: .2s ease;
}

.form-field select {
    appearance: auto;
}

.form-field textarea {
    resize: vertical;
    min-height: 145px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #708196;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(101, 175, 255, .08);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
    border-color: #e47b7b;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#char-count {
    color: var(--muted);
    font-size: .7rem;
}

.field-error {
    display: block;
    min-height: 16px;
    color: #ff9b9b;
    font-size: .72rem;
    margin-top: 5px;
}

.form-submit {
    width: 100%;
}

.form-note {
    color: #7f91a6;
    font-size: .7rem;
    margin-top: 12px;
    text-align: center;
}

.form-status {
    min-height: 20px;
    text-align: center;
    color: var(--sky);
    font-size: .8rem;
    margin-top: 10px;
}

.final-cta {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(101, 175, 255, .15), transparent 45%), #1B2845;
    border-top: 1px solid var(--line);
}

.final-cta-inner {
    max-width: 800px;
}

.final-cta .eyebrow {
    justify-content: center;
}

.final-cta p:not(.eyebrow) {
    color: var(--muted);
    margin: 16px auto 0;
    max-width: 570px;
}

.final-cta .hero-actions {
    justify-content: center;
}

.site-footer {
    background: #142139;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-grid h3 {
    font-size: .8rem;
    color: var(--sky);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 17px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    color: #8fa1b6;
    font-size: .8rem;
}

.footer-brand p {
    max-width: 260px;
    margin-top: 15px;
}

.footer-grid>div:not(.footer-brand) {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-grid a:hover {
    color: var(--sky);
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.socials a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #687b91;
    font-size: .7rem;
}

.reveal {
    opacity: 1;
}

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 34px), var(--container));
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 15px 17px 25px;
        background: rgba(27, 40, 69, .98);
        border-bottom: 1px solid var(--line);
        transform: translateY(-130%);
        transition: transform .35s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px 8px;
        border-bottom: 1px solid var(--line);
    }

    .nav-menu .nav-prices,
    .nav-menu .nav-cta {
        margin-top: 12px;
        justify-content: center;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(101, 175, 255, .5);
    }

    .services-grid,
    .benefits-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 15px;
    }

    .process-grid::before {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .gallery-large {
        grid-row: span 2;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-image>img {
        height: 480px;
    }

    .about-badge {
        right: 15px;
    }
}

@media (max-width: 650px) {
    .section {
        padding: 82px 0;
    }

    .hero-content {
        padding-block: 130px 90px;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .hero-scroll {
        display: none;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        row-gap: 50px;
    }

    .gallery-large {
        grid-row: auto;
    }

    .gallery-item {
        height: 280px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pc-slider {
        min-height: 960px;
    }

    .pc-slide {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: 10px;
    }

    .pc-result-card {
        min-height: 410px;
    }

    .pc-result-overlay {
        padding: 20px;
    }

    .pc-result-title {
        font-size: 1.3rem;
    }

    .pc-result-description {
        font-size: .85rem;
    }

    .pc-result-tag {
        font-size: .68rem;
    }

    .pc-result-arrow {
        width: 32px;
        height: 32px;
        justify-self: center;
        transform: rotate(90deg);
    }

    .process-grid::before {
        display: block;
        top: 27px;
        right: auto;
        bottom: 27px;
        left: 26px;
        width: 1px;
        height: auto;
    }

    .process-step {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        column-gap: 18px;
        text-align: left;
        padding: 0;
    }

    .process-step>span {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 0;
    }

    .process-step>i {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 8px;
    }

    .process-step h3 {
        grid-column: 2;
        grid-row: 2;
    }

    .process-step p {
        grid-column: 2;
        grid-row: 3;
    }

    .project-slider {
        min-height: 650px;
    }

    .project-slide {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 270px;
        border-radius: 18px 18px 0 0;
    }

    .project-content {
        min-height: 300px;
        padding: 32px;
        border-radius: 0 0 18px 18px;
    }

    .testimonial-slider {
        min-height: 380px;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .contact-form-wrap {
        padding: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }

    .footer-bottom {
        flex-direction: column;
        margin-top: 40px;
    }
}

@media (max-width: 420px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================
   PÁGINA DE PRECIOS
========================================= */

.prices-hero {
    padding: 170px 0 90px;
    background:
        radial-gradient(circle at 80% 20%,
            rgba(101, 175, 255, 0.12),
            transparent 35%),
        #1B2845;
    border-bottom: 1px solid var(--line);
}

.prices-hero h1 {
    max-width: 800px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.prices-intro {
    max-width: 680px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1rem;
}

.prices-section {
    background: #1d2d49;
}

.prices-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.prices-sort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(101, 175, 255, .45);
    border-radius: 10px;
    background: rgba(101, 175, 255, .08);
    color: #dceeff;
    font-size: .88rem;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.prices-sort:hover {
    border-color: var(--sky);
    background: rgba(101, 175, 255, .16);
    color: #fff;
}

.prices-sort:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.prices-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.prices-table thead {
    background: #274060;
}

.prices-table th {
    padding: 20px 25px;
    color: #ffffff;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.prices-table th:last-child {
    width: 190px;
    text-align: right;
}

.prices-table td {
    padding: 25px;
    border-top: 1px solid var(--line);
    vertical-align: middle;
}

.prices-table tbody tr {
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.prices-table tbody tr:hover {
    background: rgba(101, 175, 255, 0.035);
}

.price-service {
    max-width: 760px;
}

.price-service-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.price-service h3 {
    font-size: 1rem;
    font-weight: 750;
}

.price-service p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.price-value {
    color: var(--sky);
    font-size: 1.05rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

/* Badge general */

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.61rem;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.05em;
}

/* Más vendido */

.price-best {
    color: #102b22;
    background: #65d6a0;
    box-shadow: 0 4px 15px rgba(101, 214, 160, 0.12);
}

/* Emergencia */

.price-emergency {
    background: rgba(190, 48, 48, 0.055);
}

.price-emergency td {
    border-top-color: rgba(220, 75, 75, 0.22);
}

.price-emergency .price-value {
    color: #ff7777;
}

.price-danger {
    color: #ffffff;
    background: #b93636;
    box-shadow: 0 4px 15px rgba(185, 54, 54, 0.18);
}

/* Fila destacada */

.price-featured {
    background: rgba(101, 175, 255, 0.035);
}

.price-featured .price-service h3 {
    color: #ffffff;
}

/* Nota de precios */

.prices-notes {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 2px solid var(--accent);
    background: rgba(255, 255, 255, 0.025);
    border-radius: 0 10px 10px 0;
}

.prices-notes p {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #91a3b8;
    font-size: 0.78rem;
    line-height: 1.6;
}

.prices-notes i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--sky);
}

/* Contacto debajo del tarifario */

.prices-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 26px 30px;
    border: 1px solid rgba(101, 175, 255, .2);
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(101, 175, 255, .09), rgba(255, 255, 255, .025) 60%);
}

.prices-contact-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(101, 175, 255, .24);
    border-radius: 14px;
    background: rgba(101, 175, 255, .12);
    color: var(--sky);
    font-size: 1.35rem;
}

.prices-contact-copy {
    flex: 1;
}

.prices-contact-copy p {
    margin: 0;
}

.prices-contact-eyebrow {
    margin-bottom: 4px;
    color: var(--sky);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.prices-contact-copy h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.prices-contact-copy p:last-child {
    margin-top: 6px;
    color: #aab9ca;
    font-size: .86rem;
}

.prices-contact-button {
    flex: 0 0 auto;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border: 1px solid #25d366;
    border-radius: 9px;
    background: #25d366;
    color: #102b1b;
    font-size: .84rem;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.prices-contact-button:hover {
    transform: translateY(-1px);
    border-color: #43e17d;
    background: #43e17d;
}

.prices-contact-button:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.prices-contact-button i:last-child {
    transition: transform .2s ease;
}

.prices-contact-button:hover i:last-child {
    transform: translate(2px, -2px);
}

/* Mobile */

@media (max-width: 700px) {

    .prices-hero {
        padding: 135px 0 70px;
    }

    .prices-table-wrapper {
        border: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .prices-table,
    .prices-table tbody,
    .prices-table tr,
    .prices-table td {
        display: block;
        width: 100%;
    }

    .prices-table {
        min-width: 0;
    }

    .prices-table thead {
        display: none;
    }

    .prices-table tbody {
        display: grid;
        gap: 12px;
    }

    .prices-table tr {
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.025);
    }

    .prices-table td {
        padding: 0;
        border: 0;
    }

    .prices-table td:first-child {
        margin-bottom: 17px;
    }

    .price-value {
        padding-top: 15px !important;
        border-top: 1px solid var(--line) !important;
        text-align: left;
        font-size: 1rem;
    }

    .prices-table td::before {
        display: none;
    }

    .price-service-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .prices-notes p {
        font-size: 0.74rem;
    }

    .prices-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 22px;
    }

    .prices-contact-button {
        width: 100%;
    }

    .prices-controls {
        justify-content: flex-start;
    }
}

/* =========================================================
   BOTONES FLOTANTES
   ========================================================= */

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Botón base */
.floating-action {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    text-decoration: none;

    font-size: 22px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.floating-whatsapp {
    background: #25D366;
}

.floating-whatsapp:hover {
    color: #fff;
    background: #20bd5a;

    transform: translateY(-5px) scale(1.08);

    box-shadow:
        0 10px 25px rgba(37, 211, 102, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

.floating-instagram {
    background: linear-gradient(135deg,
            #833AB4 0%,
            #C13584 35%,
            #E1306C 60%,
            #F56040 78%,
            #FCAF45 100%);
}

.floating-instagram:hover {
    color: #fff;

    transform: translateY(-5px) scale(1.08);

    box-shadow:
        0 10px 25px rgba(225, 48, 108, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   VOLVER ARRIBA
   ========================================================= */

.floating-top {
    background: #335C81;
    border: 1px solid rgba(101, 175, 255, 0.25);
}

.floating-top:hover {
    color: #fff;
    background: #5899E2;

    transform: translateY(-5px) scale(1.08);

    box-shadow:
        0 10px 25px rgba(88, 153, 226, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   EFECTO DE BRILLO
   ========================================================= */

.floating-action::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    opacity: 0;
    transform: scale(0.7);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    pointer-events: none;
}

.floating-action {
    position: relative;
    overflow: hidden;
}

.floating-action:hover::after {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .floating-actions {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .floating-action {
        width: 48px;
        height: 48px;

        font-size: 20px;
    }
}

@media (max-width: 480px) {

    .floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .floating-action {
        width: 44px;
        height: 44px;

        font-size: 18px;
    }
}