/*
Theme Name: Durbar
Theme URI: https://example.com/durbar
Author: Durbar Studio
Description: A dark, conversion-focused landing page theme converted from the provided static design.
Version: 1.0.0
Text Domain: durbar
*/

:root {
    --bg-page: #151515;
    --bg-elevated: #171717;
    --bg-dark: #000000;
    --surface: #111111;
    --surface-strong: #0f0f0f;
    --accent: #dc2626;
    --accent-soft: rgb(220 38 38 / 0.14);
    --border-soft: rgb(255 255 255 / 0.08);
    --text-strong: rgb(255 255 255 / 0.95);
    --text-muted: rgb(255 255 255 / 0.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--bg-page);
    color: var(--text-strong);
    font-family: "Hind Siliguri", ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
}

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

img,
svg {
    display: block;
}

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

.container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 18px 32px;
    transition: 200ms ease;
}

.site-header.is-scrolled {
    padding-block: 10px;
    background: var(--bg-dark);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}

.nav-shell {
    position: relative;
    display: flex;
    min-height: 70px;
    max-width: 1320px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgb(255 255 255 / 0.05);
    background: rgb(0 0 0 / 0.7);
    padding: 0 18px;
}

.site-header.is-scrolled .nav-shell {
    border-color: transparent;
    background: transparent;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
}

.brand-mark svg {
    width: 28px;
    fill: none;
    stroke: #fff;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 2;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.primary-nav {
    position: absolute;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
}

.primary-nav ul,
.footer-top nav ul,
.primary-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav li,
.footer-top nav li {
    margin: 0;
}

.primary-nav a {
    padding: 12px 15px;
    display: block;
    color: rgb(255 255 255 / 0.7);
    font-weight: 500;
    transition: 180ms ease;
}

.primary-nav a:hover {
    background: rgb(255 255 255 / 0.1);
    color: var(--text-strong);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.menu-btn svg {
    width: 24px;
    margin: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    padding: 10px 24px;
    cursor: pointer;
    font-weight: 700;
    transition:
        color 200ms ease,
        background 200ms ease,
        transform 200ms ease,
        box-shadow 200ms ease;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn.primary {
    background: var(--accent);
    color: var(--text-strong);
}

.btn.secondary {
    background: var(--text-strong);
    color: var(--bg-dark);
}

.btn:hover {
    box-shadow: 5px 5px 0 rgb(255 255 255 / 0.14);
    transform: translate(-2px, -2px);
}

.btn::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgb(255 255 255 / 0.22) 50%,
        transparent 70%
    );
    content: "";
    transform: translateX(-120%);
    transition: transform 550ms ease;
}

.btn:hover::after {
    transform: translateX(120%);
}

.hero-stage {
    position: relative;
    display: grid;
    min-height: 760px;
    place-items: center;
    overflow: hidden;
    background: #000;
    padding: 128px 20px 32px;
}

.hero-stage::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-stage::after {
    position: absolute;
    top: 18%;
    left: 50%;
    width: min(820px, 90vw);
    height: 440px;
    border-radius: 50%;
    background: rgb(220 38 38 / 0.12);
    content: "";
    filter: blur(110px);
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 920px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: rgb(255 255 255 / 0.6);
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 24px;
    height: 24px;
    border: 1px solid #fff;
    margin-left: -8px;
    object-fit: cover;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 7vw, 82px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.98;
}

.hero-content p {
    max-width: 620px;
    margin: 28px 0 0;
    color: rgb(255 255 255 / 0.55);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgb(220 38 38 / 0.18);
    animation: orbit-drift 10s ease-in-out infinite;
}

.hero-orbit-one {
    top: 22%;
    left: 8%;
    width: 130px;
    height: 130px;
}

.hero-orbit-two {
    right: 7%;
    bottom: 14%;
    width: 80px;
    height: 80px;
    border-color: rgb(255 255 255 / 0.12);
    animation-delay: -4s;
}

.hero-enter {
    opacity: 0;
    animation: hero-enter 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-enter-1 {
    animation-delay: 120ms;
}
.hero-enter-2 {
    animation-delay: 220ms;
}
.hero-enter-3 {
    animation-delay: 360ms;
}
.hero-enter-4 {
    animation-delay: 480ms;
}

.brand-section {
    background: #000;
    padding: 0 0 48px;
	display: none;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.brand-tile {
    display: grid;
    min-height: 112px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 0.1);
    padding: 24px;
    transition: 250ms ease;
}

.brand-tile:hover {
    background: rgb(255 255 255 / 0.05);
}

.brand-tile img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: 250ms ease;
}

.brand-tile:hover img {
    opacity: 1;
    transform: scale(1.08);
}

.section {
    overflow: hidden;
    padding: 112px 0 80px;
}

.services,
.portfolio,
.contact-section,
.reviews {
    background: var(--bg-elevated);
}

.service-detail-page .portfolio {
    background: var(--bg-dark);
}

.process-section,
.blog-section {
    background: var(--bg-dark);
}

.section-heading h2,
.offer-heading h2,
.contact-info h2 {
    margin: 0;
    font-size: clamp(44px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.98;
}

.section-heading > p:not(.eyebrow),
.contact-info > p:not(.eyebrow) {
    max-width: 500px;
    margin: 24px 0 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: rgb(239 68 68);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow span {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.eyebrow.light {
    color: rgb(255 255 255 / 0.75);
}

.eyebrow.light span {
    background: rgb(255 255 255 / 0.7);
}

.centered {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.centered p:not(.eyebrow) {
    margin-inline: auto;
}

.centered-line {
    justify-content: center;
}

.narrow {
    max-width: 560px;
}

.narrow .btn {
    margin-top: 28px;
}

.services-layout {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
}

.services-heading {
    grid-column: span 5;
    padding-bottom: 32px;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.1);
    background: #111;
    padding: 32px;
    transition: 300ms ease;
}

.service-card-link {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.service-card-link:hover {
    color: inherit;
}

.service-detail-page {
    background: var(--bg-dark);
}

.service-detail-stage {
    min-height: auto;
    padding-bottom: 96px;
}

.service-detail-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 36px;
    padding: 128px 0 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.service-back-link {
    align-self: start;
    width: fit-content;
}

.service-hero-copy {
    display: grid;
    max-width: 700px;
    gap: 0;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
}

.service-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 700;
    line-height: 0.96;
}

.service-detail-intro {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgb(255 255 255 / 0.62);
    font-size: 18px;
    line-height: 1.8;
}

.service-detail-meta {
    justify-content: center;
    margin-top: 20px;
}

.service-detail-actions {
    justify-content: center;
    margin-top: 30px;
}

.service-detail-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
}

.service-card-showcase {
    margin-top: 72px;
}

.service-card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-grid .service-preview-card {
    min-width: 0;
}

.service-preview-card {
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.08);
    background: #121212;
}

.service-preview-copy {
    padding: 22px;
}

.service-preview-index {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.service-preview-copy h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.service-preview-copy p:last-child {
    margin: 14px 0 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-detail-article {
    max-width: 760px;
    margin-top: 56px;
    margin-inline: auto;
}

.service-card:hover {
    background: #171717;
}

.service-card::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #dc2626;
    content: "";
    transition: 500ms ease;
}

.service-card:hover::after {
    width: 100%;
}

.service-tall {
    grid-column: span 3;
    grid-row: span 2;
    min-height: 650px;
}

.service-package {
    grid-column: span 5;
    grid-row-start: 2;
    min-height: 340px;
}

.service-stack {
    display: grid;
    grid-column: span 4;
    grid-row: span 2;
    gap: 20px;
}

.card-number {
    position: absolute;
    top: -40px;
    right: -16px;
    color: rgb(220 38 38 / 0.3);
    font-size: 190px;
    font-weight: 700;
    line-height: 1;
}

.service-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    background: #dc2626;
    font-size: 28px;
    transition: 300ms ease;
}

.service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-card div:last-child {
    position: relative;
    margin-top: auto;
    padding-top: 48px;
}

.service-card h3 {
    max-width: 310px;
    margin: 0;
    font-size: 32px;
    letter-spacing: 0;
    line-height: 1.08;
}

.service-card p {
    max-width: 380px;
    margin: 16px 0 0;
    color: rgb(255 255 255 / 0.5);
    font-size: 14px;
    line-height: 1.7;
}

.process-flow {
    position: relative;
    display: block;
    min-height: 560px;
}

.process-flow svg {
    position: absolute;
    inset: 56px 0 auto;
    width: 100%;
    height: 360px;
    overflow: visible;
}

.process-line {
    fill: none;
    stroke: #dc2626;
    stroke-linecap: square;
    stroke-width: 4;
}

.process-card {
    position: absolute;
    width: 270px;
    background: #0f0f0f;
    padding: 32px;
    border: 1px solid rgb(255 255 255 / 0.06);
    box-shadow: 0 30px 80px rgb(0 0 0 / 0.32);
}

.process-card .process-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    background: #dc2626;
}

.process-card .process-icon img {
    width: 20px;
    height: 20px;
}

.process-card .step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    margin: 0;
    color: rgb(255 255 255 / 0.08);
    font-size: 84px;
    font-weight: 700;
    line-height: 1;
}

.process-card h3,
.mobile-process h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.process-card p,
.mobile-process p {
    margin: 18px 0 0;
    color: rgb(255 255 255 / 0.68);
    font-size: 15px;
    line-height: 1.85;
}

.pc-1 {
    left: 48px;
    top: 48%;
}
.pc-2 {
    left: 366px;
    top: 32%;
}
.pc-3 {
    left: 684px;
    top: 22%;
}
.pc-4 {
    left: 1002px;
    top: 0%;
}

.mobile-process {
    display: none;
}

.project-grid {
    columns: 3;
    column-gap: 20px;
}

.project-card {
    position: relative;
    break-inside: avoid;
    overflow: hidden;
    margin-bottom: 20px;
    background: #111;
}

.project-card::after {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    content: "";
    pointer-events: none;
    transition: 300ms ease;
}

.project-card:hover::after {
    border-color: rgb(220 38 38 / 0.75);
}

.project-card a {
    position: absolute;
    inset: 0;
}

.h340 {
    height: 340px;
}
.h350 {
    height: 350px;
}
.h390 {
    height: 390px;
}
.h440 {
    height: 440px;
}
.h470 {
    height: 470px;
}
.h520 {
    height: 520px;
}

.visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    overflow: hidden;
    transition: 700ms ease;
}

.blog-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.blog-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(
        135deg,
        rgb(220 38 38 / 0.28),
        rgb(255 255 255 / 0.06)
    );
    color: var(--text-strong);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-detail-page {
    padding-top: 88px;
}

.portfolio-detail-page .blog-detail-meta {
    gap: 12px 18px;
}

.blog-detail-hero {
    padding: 24px 0 18px;
}

.blog-detail-shell {
    padding: 0;
    border: 0;
    background: transparent;
}

.blog-back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-detail-grid {
    display: block;
}

.blog-detail-title {
    margin: 18px 0 0;
    font-size: clamp(2.75rem, 5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-detail-visual {
    float: right;
    width: min(48%, 620px);
    height: auto;
    margin: 4px 0 18px 32px;
    overflow: visible;
}

.blog-detail-visual .blog-image-wrap {
    width: 100%;
    height: auto;
}

.blog-detail-visual img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.blog-detail-placeholder {
    font-size: 22px;
    letter-spacing: 0.08em;
}

.blog-article {
    max-width: 100%;
    padding: 0;
    margin-top: 24px;
    color: rgb(255 255 255 / 0.86);
    line-height: 1.95;
    overflow: hidden;
}

.blog-article > *:first-child {
    margin-top: 0;
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
    margin-top: 2em;
    line-height: 1.25;
}

.blog-article img {
    max-width: 100%;
    height: auto;
}

.blog-article a {
    color: var(--text-strong);
    text-decoration: underline;
}

.contact-detail-page .contact-detail-main {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.contact-detail-page .contact-detail-row {
    display: grid;
    gap: 8px;
}

.contact-detail-page .contact-detail-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 700;
}

.contact-detail-page .contact-detail-value {
    color: var(--text-strong);
    font-size: 18px;
    line-height: 1.7;
    word-break: break-word;
}

.contact-detail-page .contact-detail-message {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--text-strong);
    line-height: 1.8;
    white-space: pre-wrap;
}

.related-posts {
    background: #0b0b0b;
}

.blog-grid .project-card {
    height: auto;
    min-height: 0;
}

.blog-grid .project-card a {
    position: relative;
    inset: auto;
    display: block;
}

.blog-grid .project-card .visual {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: auto;
}

.blog-grid .project-card .visual img {
    width: 100%;
    height: auto;
}

.portfolio .project-card {
    height: auto;
    min-height: 0;
}

.portfolio .project-card a {
    position: relative;
    inset: auto;
    display: block;
}

.portfolio .project-card .visual {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: auto;
}

.portfolio .project-card .visual img {
    width: 100%;
    height: auto;
}

.blog-index-page {
    padding-top: 0;
    background: #000;
}

body.blog-index-template {
    background: #000;
}

body.blog-index-template .site-header,
body.blog-index-template .site-header.is-scrolled,
body.blog-index-template .nav-shell {
    background: #000;
}

body.blog-index-template .blog-index-page,
body.blog-index-template .blog-index-hero,
body.blog-index-template .blog-index-list,
body.blog-index-template .site-footer {
    background: #050505;
}

.blog-index-hero {
    padding-bottom: 12px;
    background: #050505;
}

.blog-index-list {
    padding-top: 0;
}

.blog-index-empty {
    padding: 48px;
    border: 1px solid var(--border-soft);
    background: var(--surface);
}

.blog-pagination {
    margin-top: 28px;
}

.blog-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    padding: 0 14px;
    background: var(--surface);
    color: var(--text-strong);
}

.blog-pagination .current {
    background: var(--accent);
    border-color: var(--accent);
}

.project-card:hover .visual {
    transform: scale(1.025);
}

.blog-grid .project-card:hover .visual {
    transform: none;
}

.project-meta {
    position: absolute;
    inset: auto 0 0;
    padding: 80px 24px 24px;
    background: linear-gradient(to top, #000, rgb(0 0 0 / 0.75), transparent);
}

.blog-meta {
    padding: 24px;
}
.project-meta p,
.blog-meta p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 8px;
    color: rgb(255 255 255 / 0.5);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-meta h3,
.blog-meta h3 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0;
    line-height: 1.25;
}

.project-meta small,
.blog-meta small {
    display: block;
    margin-top: 12px;
    color: rgb(255 255 255 / 0.55);
    font-size: 14px;
    line-height: 1.6;
}

.dashboard {
    background:
        linear-gradient(#111 0 0) 23% 50% / 42% 54% no-repeat,
        linear-gradient(
                90deg,
                rgb(220 38 38) 0 30%,
                rgb(255 255 255 / 0.08) 30% 100%
            )
            64% 39% / 35% 18% no-repeat,
        #d8d7d2;
    box-shadow: inset 0 0 0 60px rgb(17 17 17 / 0.06);
}

.mobile {
    background:
        linear-gradient(#111 0 0) 50% 50% / 38% 76% no-repeat,
        radial-gradient(
            circle at 85% 4%,
            transparent 0 70px,
            rgb(255 255 255 / 0.1) 72px 100px,
            transparent 102px
        ),
        #dc2626;
}

.brand-visual {
    background:
        linear-gradient(
                45deg,
                transparent 35%,
                #111 35% 47%,
                transparent 47% 53%,
                #111 53% 65%,
                transparent 65%
            )
            center / 170px 170px no-repeat,
        linear-gradient(#dc2626 0 0) 50% 50% / 38px 38px no-repeat,
        #d8d7d2;
}

.commerce {
    background:
        linear-gradient(#111 0 0) 18% 17% / 67% 75% no-repeat,
        linear-gradient(#d8d7d2 0 0) 28% 42% / 26% 23% no-repeat,
        linear-gradient(#dc2626 0 0) 62% 42% / 26% 23% no-repeat,
        #222;
}

.campaign {
    background:
        linear-gradient(#d8d7d2 0 0) center / 68% 48% no-repeat,
        linear-gradient(90deg, transparent 0 46%, #111 46% 54%, transparent 54%)
            center / 68% 48% no-repeat,
        #dc2626;
}

.learning {
    background:
        linear-gradient(#111 0 0) center / 72% 48% no-repeat,
        radial-gradient(
            circle at 100% 100%,
            transparent 0 80px,
            rgb(220 38 38 / 0.2) 82px 110px,
            transparent 112px
        ),
        #d8d7d2;
}

.offer-section {
    position: relative;
    overflow: hidden;
    background: #dc2626;
    padding: 112px 0;
}

.offer-word {
    position: absolute;
    top: -40px;
    right: 0;
    color: rgb(0 0 0 / 0.08);
    font-size: clamp(180px, 25vw, 430px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    animation: offer-word-drift 8s ease-in-out infinite;
}

.offer-heading {
    position: relative;
    max-width: 790px;
    margin-bottom: 48px;
}

.offer-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 0;
}

.offer-card {
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 48px;
    color: #000;
    box-shadow: 0 25px 70px rgb(70 0 0 / 0.25);
}

.offer-kicker {
    margin: 0;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.price-block {
    margin-top: 20px;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
    padding-bottom: 28px;
}

.price-block > span {
    color: rgb(0 0 0 / 0.4);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.offer-price {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin-top: 4px;
}

.offer-price strong {
    font-size: clamp(58px, 7vw, 78px);
    line-height: 1;
}

.offer-price em {
    padding-bottom: 8px;
    color: #dc2626;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}

.offer-card ul {
    display: grid;
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.offer-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgb(0 0 0 / 0.65);
    font-size: 14px;
    font-weight: 600;
}

.offer-card li span {
    display: grid;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    place-items: center;
    background: #dc2626;
    color: #fff;
}

.offer-card .btn {
    align-self: flex-start;
    margin-top: 36px;
}

.offer-visual {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.2);
    background: #090909;
    box-shadow: 0 25px 70px rgb(70 0 0 / 0.25);
}

.offer-visual::after {
    position: absolute;
    inset: -20% auto -20% 0;
    width: 28%;
    background: linear-gradient(
        90deg,
        transparent,
        rgb(255 255 255 / 0.18),
        transparent
    );
    content: "";
    transform: translateX(-130%) skewX(-15deg);
}

.offer-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-caption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 32px;
    background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent);
}

.offer-caption p {
    max-width: 380px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
}

.offer-caption span {
    flex-shrink: 0;
    border: 1px solid rgb(255 255 255 / 0.2);
    background: rgb(0 0 0 / 0.6);
    padding: 8px 16px;
    color: rgb(255 255 255 / 0.7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.review-intro {
    display: grid;
    align-items: end;
    gap: 40px;
    grid-template-columns: 0.8fr 1fr;
    margin-bottom: 56px;
}

.review-count {
    margin: 0 0 8px;
    color: #dc2626;
    font-size: clamp(52px, 7vw, 72px);
    font-weight: 700;
    line-height: 1;
}

.review-intro h2 {
    max-width: 540px;
    margin: 0;
    font-size: 36px;
    line-height: 1.15;
}

.review-trust {
    justify-self: end;
}

.mini-avatars {
    display: flex;
}

.mini-avatars img,
.mini-avatars span,
.reviewer > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.mini-avatars img,
.mini-avatars span {
    width: 36px;
    height: 36px;
    border: 2px solid #000;
    margin-left: -8px;
}

.mini-avatars img {
    object-fit: cover;
    background: #111;
}

.mini-avatars img:first-child,
.mini-avatars span:first-child {
    margin-left: 0;
}

.review-trust p {
    max-width: 230px;
    margin: 12px 0 24px;
    color: rgb(255 255 255 / 0.6);
    line-height: 1.5;
}

.review-trust strong {
    color: #fff;
}

.review-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.35fr;
    gap: 20px;
}

.review-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.review-card {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    background: #111;
    padding: 24px;
    transition: 300ms ease;
}

.review-card.featured {
    min-height: 470px;
    padding: 32px;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rating span {
    color: #ef4444;
    letter-spacing: 0.12em;
}

.rating small {
    color: rgb(255 255 255 / 0.25);
}

blockquote {
    margin: 24px 0 0;
    color: rgb(255 255 255 / 0.75);
    font-size: 16px;
    line-height: 1.7;
}

.featured blockquote {
    font-size: 24px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 32px;
}

.reviewer img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex: 0 0 40px;
}

.reviewer p {
    margin: 0;
}

.reviewer small {
    display: block;
    margin-top: 2px;
    color: rgb(255 255 255 / 0.35);
    font-size: 12px;
}

.tone-red {
    background: var(--accent);
}
.tone-amber {
    background: #f59e0b;
}
.tone-fuchsia {
    background: #c026d3;
}
.tone-cyan {
    background: #0891b2;
}
.tone-emerald {
    background: #059669;
}

.review-typing-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 3px;
    background: var(--accent);
    vertical-align: -0.12em;
    animation: blink-caret 700ms step-end infinite;
}

.centered .btn {
    margin-top: 28px;
}

.contact-shell {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    box-shadow: 0 28px 80px rgb(0 0 0 / 0.28);
}

.contact-info {
    position: relative;
    overflow: hidden;
    background: rgb(220 38 38 / 0.85);
    padding: 48px;
}

.contact-info > *:not(.contact-pin) {
    position: relative;
}

.contact-pin {
    position: absolute;
    right: -48px;
    bottom: -80px;
    width: 300px;
    opacity: 0.1;
    object-fit: contain;
    animation: contact-pin-float 6s ease-in-out infinite;
}

.contact-details {
    margin-top: 48px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    padding: 20px 0;
}

.contact-detail > span {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    background: rgb(0 0 0 / 0.18);
    border: 1px solid rgb(255 255 255 / 0.85);
    font-weight: 700;
}

.contact-detail > span img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.contact-icon-mail {
    background: rgb(0 0 0 / 0.2);
}

.contact-icon-call {
    background: rgb(0 0 0 / 0.2);
}

.contact-icon-calendar {
    background: rgb(0 0 0 / 0.2);
}

.contact-detail p {
    margin: 0;
}

.contact-detail small {
    display: block;
    color: rgb(255 255 255 / 0.55);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-detail strong {
    display: block;
    margin-top: 4px;
}

.contact-form {
    background: #0f0f0f;
    padding: 48px;
}

.contact-form h3 {
    margin: 12px 0 40px;
    font-size: 38px;
    line-height: 1.2;
}

.form-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.form-grid label {
    display: grid;
    gap: 8px;
    color: rgb(255 255 255 / 0.6);
    font-size: 14px;
    font-weight: 700;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.contact-input {
    min-height: 52px;
    width: 100%;
    border: 1px solid rgb(255 255 255 / 0.1);
    background: rgb(255 255 255 / 0.035);
    padding: 0 16px;
    color: #fff;
    outline: none;
    transition: 200ms ease;
}

.contact-input::placeholder {
    color: rgb(255 255 255 / 0.25);
}

.contact-input:focus {
    border-color: #dc2626;
    background: rgb(255 255 255 / 0.055);
    box-shadow: 0 0 0 3px rgb(220 38 38 / 0.14);
    transform: translateY(-2px);
}

textarea.contact-input {
    min-height: 220px;
    resize: vertical;
    padding: 16px;
}

.date-picker-wrap {
    position: relative;
}

.hidden-date-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

#appointmentDateDisplay {
    cursor: pointer;
}

select.contact-input {
    color: #fff;
}

select.contact-input option {
    background: #111;
    color: #fff;
}

select.contact-input:focus {
    border-color: #dc2626;
    background: rgb(255 255 255 / 0.055);
}

.form-status {
    min-height: 20px;
    margin: 20px 0 0;
    color: #34d399;
    font-size: 14px;
}

.contact-form .btn {
    margin-top: 8px;
}

.site-footer {
    background: #111;
    padding: 32px 0;
}

.footer-top {
    display: grid;
    align-items: center;
    gap: 32px;
    grid-template-columns: 1fr auto 1fr;
    padding: 24px 0;
}

.footer-top nav {
    display: flex;
    flex-wrap: wrap;
    color: rgb(255 255 255 / 0.65);
}

.footer-top nav a {
    padding: 6px 12px;
}

.footer-top nav a:hover {
    color: #dc2626;
}

.socials {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-self: end;
    border: 1px solid rgb(255 255 255 / 0.05);
}

.socials span {
    padding: 0 16px;
    color: rgb(255 255 255 / 0.55);
}

.socials a {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-left: 1px solid rgb(255 255 255 / 0.05);
    color: rgb(255 255 255 / 0.75);
    font-size: 12px;
    font-weight: 700;
}

.socials a:hover {
    background: rgb(255 255 255 / 0.05);
}

/* Make footer social icons smaller while keeping a comfortable click area */
.socials a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgb(255 255 255 / 0.05);
    padding-top: 28px;
    color: rgb(255 255 255 / 0.35);
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    color: rgb(255 255 255 / 0.5);
}

.footer-bottom p {
    margin: 0;
}

.motion-ready [data-reveal] {
    opacity: 0;
    transform: translate(var(--reveal-x, 0), var(--reveal-y, 34px));
    transition:
        opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.service-card-1 {
    --reveal-y: 72px;
}
.service-card-2,
.service-card-3 {
    --reveal-x: 72px;
    --reveal-y: 0;
}
.service-card-4 {
    --reveal-x: -72px;
    --reveal-y: 0;
}

.motion-ready .project-grid[data-reveal] {
    opacity: 1;
    transform: none;
}

.motion-ready .project-grid .project-card {
    opacity: 0;
    transform: translateY(72px);
    transition:
        opacity 650ms var(--project-delay, 0ms) ease,
        transform 650ms var(--project-delay, 0ms) cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-grid .project-card:nth-child(1) {
    --project-delay: 120ms;
}

.blog-grid .project-card:nth-child(2) {
    --project-delay: 260ms;
}

.blog-grid .project-card:nth-child(3) {
    --project-delay: 400ms;
}

.motion-ready .project-grid.is-visible .project-card {
    opacity: 1;
    transform: none;
}

.motion-ready .process-line {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
}

.motion-ready .is-visible .process-line {
    animation: draw-line 1.4s 150ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.motion-ready .process-card {
    opacity: 0;
    transform: translateX(-48px);
    transition:
        opacity 560ms var(--step-delay) ease,
        transform 560ms var(--step-delay) cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready .is-visible .process-card {
    opacity: 1;
    transform: none;
}

.motion-ready .offer-card .offer-price,
.motion-ready .offer-card li {
    opacity: 0;
}

.motion-ready .offer-card.is-visible .offer-price {
    animation: offer-price-pop 700ms 350ms cubic-bezier(0.16, 1, 0.3, 1)
        forwards;
}

.motion-ready .offer-card.is-visible li {
    animation: offer-feature-in 500ms var(--feature-delay)
        cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.motion-ready .offer-visual.is-visible::after {
    animation: offer-scan 1.2s 650ms ease-in-out forwards;
}

.motion-ready .contact-info .contact-detail,
.motion-ready .contact-form label {
    opacity: 0;
    transform: translateY(24px);
}

.motion-ready .contact-info.is-visible .contact-detail {
    animation: contact-item-in 550ms var(--contact-delay)
        cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.motion-ready .contact-form.is-visible label {
    animation: contact-item-in 550ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.motion-ready .contact-form.is-visible label:nth-child(1) {
    animation-delay: 350ms;
}
.motion-ready .contact-form.is-visible label:nth-child(2) {
    animation-delay: 450ms;
}
.motion-ready .contact-form.is-visible label:nth-child(3) {
    animation-delay: 550ms;
}
.motion-ready .contact-form.is-visible label:nth-child(4) {
    animation-delay: 650ms;
}
.motion-ready .contact-form.is-visible label:nth-child(5) {
    animation-delay: 750ms;
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes orbit-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(28px, -18px, 0) rotate(9deg);
    }
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes blink-caret {
    50% {
        opacity: 0;
    }
}

@keyframes offer-word-drift {
    50% {
        transform: translateX(-28px);
    }
}

@keyframes offer-price-pop {
    from {
        opacity: 0;
        transform: scale(0.84) translateY(18px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes offer-feature-in {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes offer-scan {
    from {
        transform: translateX(-130%) skewX(-15deg);
    }
    to {
        transform: translateX(230%) skewX(-15deg);
    }
}

@keyframes contact-pin-float {
    50% {
        transform: translateY(-16px) rotate(5deg);
    }
}

@keyframes contact-item-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-layout,
    .offer-layout,
    .review-intro,
    .review-grid,
    .contact-shell,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .services-heading,
    .service-card,
    .service-stack {
        grid-column: auto;
        grid-row: auto;
    }

    .service-tall,
    .service-package {
        min-height: 300px;
    }

    /* Reorder service cards for mobile so card 1 appears first */
    .service-card-1 {
        order: 1;
    }

    .service-stack {
        order: 2;
    }

    .service-card-4 {
        order: 3;
    }

    /* Make process-flow responsive for mobile */
    .process-flow {
        position: static;
        min-height: auto;
        margin-top: 48px;
    }

    .process-flow svg {
        display: none;
    }

    .process-flow .process-card {
        position: relative !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 40px;
    }

    .process-flow .process-card .step-number {
        font-size: 68px;
    }

    .pc-1,
    .pc-2,
    .pc-3,
    .pc-4 {
        left: auto !important;
        top: auto !important;
    }

    .project-grid {
        columns: 2;
    }

    .review-trust,
    .socials {
        justify-self: start;
    }

    .offer-visual {
        min-height: 390px;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 12px;
    }

    .nav-shell {
        min-height: 62px;
        padding-inline: 12px;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: -1px;
        left: -1px;
        display: none;
        transform: none;
        border: 1px solid rgb(255 255 255 / 0.1);
        background: #000;
        padding: 10px;
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav ul {
        display: grid;
        gap: 4px;
    }

    .primary-nav a {
        padding: 13px 12px;
    }

    .menu-btn {
        display: block;
    }

    .section {
        padding-top: 96px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    /* Make process-flow responsive for mobile */
    .process-flow {
        position: static;
        min-height: auto;
    }

    .process-flow svg {
        display: none;
    }

    .process-flow .process-card {
        position: relative !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 24px;
    }

    .pc-1,
    .pc-2,
    .pc-3,
    .pc-4 {
        left: auto !important;
        top: auto !important;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1320px);
    }

    .hide-mobile {
        display: none;
    }

    .hero-stage {
        min-height: 700px;
        padding-top: 112px;
    }

    .hero-badge {
        flex-direction: column;
    }

    .brand-grid,
    .project-grid,
    .review-list,
    .form-grid {
        grid-template-columns: 1fr;
        columns: 1;
    }

    .motion-ready .process-card {
        transition:
            opacity 420ms ease,
            transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .motion-ready .process-flow .pc-1 {
        transition-delay: 120ms !important;
    }

    .motion-ready .process-flow .pc-2 {
        transition-delay: 200ms !important;
    }

    .motion-ready .process-flow .pc-3 {
        transition-delay: 280ms !important;
    }

    .motion-ready .process-flow .pc-4 {
        transition-delay: 360ms !important;
    }

    .brand-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-card,
    .contact-info,
    .contact-form {
        padding: 28px;
    }

    .offer-caption {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .featured blockquote {
        font-size: 20px;
    }

    .blog-detail-visual {
        float: none;
        width: 100%;
        margin: 18px 0 24px;
    }

    .blog-detail-visual .blog-image-wrap,
    .blog-detail-visual img {
        width: 100%;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .motion-ready [data-reveal],
    .motion-ready .process-card,
    .motion-ready .project-grid .project-card,
    .motion-ready .offer-card .offer-price,
    .motion-ready .offer-card li,
    .motion-ready .contact-info .contact-detail,
    .motion-ready .contact-form label {
        opacity: 1;
        transform: none;
    }

    .review-typing-caret {
        display: none;
    }
}
