:root {
    --bg: #1b2c47;
    --surface: rgba(255, 255, 255, 0.14);
    --surface-strong: rgba(255, 255, 255, 0.18);
    --surface-alt: rgba(200, 220, 255, 0.16);
    --text: #f4f8ff;
    --muted: #dbe6f3;
    --primary: #93c5fd;
    --primary-dark: #60a5fa;
    --accent: #a5f3fc;
    --gold: #f59e0b;
    --gold-soft: rgba(245, 158, 11, 0.16);
    --accent-soft: rgba(165, 243, 252, 0.14);
    --border: rgba(219, 234, 254, 0.22);
    --success-bg: rgba(20, 83, 45, 0.24);
    --success-text: #dcfce7;
    --error-bg: rgba(127, 29, 29, 0.24);
    --error-text: #fee2e2;
    --shadow: 0 24px 60px rgba(2, 6, 23, 0.16);
    --shadow-soft: 0 14px 30px rgba(2, 6, 23, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(147, 197, 253, 0.24), transparent 0 30%),
        radial-gradient(circle at 85% 0%, rgba(165, 243, 252, 0.20), transparent 0 26%),
        radial-gradient(circle at 50% 18%, rgba(245, 158, 11, 0.08), transparent 0 22%),
        linear-gradient(135deg, #223858 0%, #2b4469 45%, #35527b 100%);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    color: #fff;
    background: linear-gradient(90deg, rgba(6, 12, 24, 0.98), rgba(12, 22, 40, 0.96), rgba(18, 34, 58, 0.94));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.10);
    box-shadow: 0 16px 38px rgba(2, 6, 23, 0.38);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 98px;
    padding: 0.2rem 0.35rem 0.2rem 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-logo {
    display: block;
    height: 86px;
    width: auto;
    background: transparent;
}

.brand-text {
    color: #f8fbff;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: none;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(8, 17, 32, 0.25);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(12, 22, 40, 0.96), rgba(17, 34, 64, 0.90));
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.20);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #f8fbff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
    position: relative;
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(245, 158, 11, 0.08);
    border-radius: 999px;
    color: #f8fbff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    font-size: 1.04rem;
    font-weight: 600;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.95), rgba(245, 158, 11, 0));
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(59, 130, 246, 0.24));
    border-color: rgba(245, 158, 11, 0.26);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.32);
}

.nav-link-cta {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(59, 130, 246, 0.26));
    border-color: rgba(245, 158, 11, 0.34);
    color: #fff;
    box-shadow: 0 14px 26px rgba(2, 6, 23, 0.26);
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.38), rgba(59, 130, 246, 0.30));
    border-color: rgba(245, 158, 11, 0.42);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-link-cta::after {
    opacity: 1;
    transform: scaleX(1);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 5.6rem;
    background:
        linear-gradient(135deg, rgba(37, 60, 96, 0.72), rgba(52, 82, 126, 0.64)),
        linear-gradient(120deg, #294268 0%, #35527b 48%, #41618d 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
}

.page-hero::before {
    width: 320px;
    height: 320px;
    top: -95px;
    right: 4%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.02) 70%);
}

.page-hero::after {
    width: 240px;
    height: 240px;
    bottom: -85px;
    left: 1%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16), rgba(14, 165, 233, 0.04) 70%);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 800;
}

.page-hero h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #f8fbff;
}

.lead {
    margin: 0;
    max-width: 700px;
    font-size: 1.05rem;
    color: #c6d4eb;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f8ff;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.badge-pill:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(245, 158, 11, 0.32);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.stat-chip {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-chip:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
}

.stat-chip strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #f8fbff;
    font-size: 0.95rem;
}

.stat-chip span {
    display: block;
    color: #b7c7df;
    font-size: 0.82rem;
}

.hero-panel {
    position: relative;
    padding: 1.45rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
        rgba(12, 26, 48, 0.48);
    color: #dbeafe;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 54px rgba(2, 6, 23, 0.22);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), transparent 35%, rgba(14, 165, 233, 0.12));
    pointer-events: none;
}

.hero-panel::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
    pointer-events: none;
}

.hero-panel:hover {
    transform: translateY(-6px) rotateX(1deg);
    border-color: rgba(245, 158, 11, 0.28);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.30);
}

.hero-panel h2 {
    position: relative;
    margin: 0 0 0.5rem;
    color: #fef3c7;
    font-size: 1.15rem;
}

.hero-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.7rem;
}

.hero-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.hero-list li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    color: #08111f;
    font-size: 0.8rem;
    font-weight: 800;
}

.content-wrap {
    position: relative;
    z-index: 2;
    margin-top: -2rem;
    padding: 0 0 3.2rem;
}

.content-wrap-no-hero {
    margin-top: 1rem;
}

.grid {
    display: grid;
    gap: 1.4rem;
    margin-bottom: 1.4rem;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold));
}

.card::after {
    content: "";
    position: absolute;
    inset: auto -30% -55% auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 68%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 56px rgba(37, 99, 235, 0.16);
    border-color: rgba(59, 130, 246, 0.24);
}

.accent-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.96) 0%, rgba(20, 44, 80, 0.92) 100%);
}

.card h2,
.card h3 {
    margin-top: 0;
    line-height: 1.2;
    transition: color 0.25s ease, transform 0.25s ease;
}

.card:hover h2,
.card:hover h3 {
    color: #fcd34d;
    transform: translateX(2px);
}

.card p {
    color: #bfd0e8;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.55rem;
}

.check-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: #d7e4f7;
}

.check-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
}

.tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.75rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(56, 189, 248, 0.12));
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.10);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-showcase {
    padding: 1.25rem;
}

.project-slider {
    position: relative;
}

.project-slides {
    position: relative;
    min-height: 420px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1424, #12203a);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.28);
}

.project-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.project-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.project-slide img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 17, 32, 0.72), rgba(8, 17, 32, 0.88));
    color: #f8fbff;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

.slide-caption h3 {
    margin: 0.2rem 0 0.35rem;
    color: #fff;
}

.slide-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(29, 78, 216, 0.82));
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.slider-arrow:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.24);
    filter: saturate(1.08);
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex: 1;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.slider-dot.is-active,
.slider-dot:hover {
    width: 28px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scale(1.02);
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.92rem 1.28rem;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb 45%, #38bdf8 100%);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    overflow: hidden;
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.45s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.32);
    filter: saturate(1.08);
}

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

.button-secondary {
    background: linear-gradient(135deg, rgba(12, 22, 40, 0.96), rgba(17, 34, 64, 0.90));
    color: #f8fbff;
    border: 1px solid rgba(245, 158, 11, 0.20);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.20);
}

.button-secondary:hover {
    background: linear-gradient(135deg, rgba(18, 34, 58, 0.98), rgba(22, 49, 88, 0.92));
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.24);
}

.form-stack {
    display: grid;
    gap: 1rem;
}

.form-stack label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
    color: #dbe7f8;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font: inherit;
    color: #f8fbff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
    background: rgba(8, 17, 32, 0.9);
}

input::placeholder,
textarea::placeholder {
    color: #93a9c9;
}

textarea {
    resize: vertical;
}

.alert {
    margin-bottom: 1rem;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: #b7ebc6;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error-text);
    border-color: #fecdd3;
}

.site-footer {
    background: linear-gradient(180deg, rgba(32, 51, 80, 0.88) 0%, rgba(25, 40, 63, 0.84) 100%);
    color: #eef4ff;
    padding: 1.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-intro,
.about-highlight,
.feature-card,
.service-card,
.service-summary {
    min-height: 100%;
}

.service-overview .card,
.service-detail-card {
    display: flex;
    flex-direction: column;
}

.service-visual-showcase {
    padding: 0;
    overflow: hidden;
}

.service-page-heading {
    align-items: flex-start;
    margin-top: 0.95rem;
    margin-bottom: 1.05rem;
    padding-top: 0.55rem;
}

.service-page-heading h1 {
    position: relative;
    display: inline-block;
    margin: 0.45rem 0 calc(0.55rem + 5px);
    padding: 0 0.12rem 0.08rem 0;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(2.3rem, 3.3vw, 3.05rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff7d6 0%, #f5d77a 34%, #e7b451 68%, #fff0bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}

.service-page-heading h1::after {
    content: "";
    position: absolute;
    left: 0.15rem;
    right: 0.15rem;
    bottom: -0.32rem;
    height: 14px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.30) 0%, rgba(245, 158, 11, 0.14) 48%, transparent 80%);
    filter: blur(9px);
    opacity: 0.95;
    pointer-events: none;
}

.service-page-heading .lead {
    max-width: 820px;
    font-size: 1.1rem;
    color: #d9e7f8;
}

.service-showcase-slider {
    position: relative;
    min-height: 300px;
    max-height: 300px;
    background:
        linear-gradient(90deg, rgba(6, 12, 24, 0.70) 0%, rgba(8, 17, 32, 0.42) 38%, rgba(8, 17, 32, 0.20) 100%),
        url("../images/service-automation-showcase.jpeg") center 38% / cover no-repeat;
}

.service-showcase-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 0.06), transparent 46%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 92px);
    pointer-events: none;
    z-index: 0;
}

.service-slider-track {
    position: relative;
    height: 300px;
}

.service-showcase-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(10px) scale(0.995);
    transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
    filter: blur(3px);
    pointer-events: none;
    padding: 1.05rem 1rem 3.1rem;
    z-index: 1;
}

.service-showcase-slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.service-showcase-slide .service-banner-content {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: min(780px, calc(100% - 1rem));
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 18, 35, 0.18), rgba(10, 18, 35, 0.06));
    border: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: none;
}

.service-showcase-slide .tag {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffe6a3;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(255, 245, 214, 0.10));
    border-color: rgba(245, 158, 11, 0.24);
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.10);
}

.service-slider-title {
    position: relative;
    display: inline-block;
    margin: 0.18rem 0 0.42rem;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.34rem, 2vw, 1.72rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
    background: linear-gradient(135deg, #fff7d6 0%, #f6da86 36%, #e7b451 70%, #fff0bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(8, 17, 32, 0.22);
}

.service-slider-title::after {
    content: "";
    position: absolute;
    left: 0.1rem;
    right: 0.1rem;
    bottom: -0.28rem;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.34) 0%, rgba(245, 158, 11, 0.16) 42%, transparent 78%);
    filter: blur(7px);
    opacity: 0.9;
    pointer-events: none;
}

.service-slider-description {
    margin: 0;
    color: rgba(239, 246, 255, 0.99);
    font-size: 1.08rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-slider-controls {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.55rem;
    z-index: 2;
    margin: 0;
    gap: 0.75rem;
}

.service-slider-controls .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
}

.service-slider-controls .slider-dots {
    justify-content: center;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
}

.service-card-header .tag {
    margin-bottom: 0.45rem;
}

.service-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(11, 22, 40, 0.88), rgba(16, 31, 56, 0.76)),
        linear-gradient(90deg, rgba(147, 197, 253, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(147, 197, 253, 0.08) 1px, transparent 1px);
    background-size: auto, 10px 10px, 10px 10px;
    border: 1px solid rgba(125, 233, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 10px 20px rgba(2, 6, 23, 0.12);
    color: #dff4ff;
    line-height: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.service-icon::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(165, 243, 252, 0.12);
    border-radius: 8px;
    pointer-events: none;
}

.service-icon::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(165, 243, 252, 0.9);
    box-shadow: 0 0 0 4px rgba(165, 243, 252, 0.08);
}

.service-icon svg {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.65;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-detail-card p {
    margin-bottom: 0.7rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.service-list li {
    position: relative;
    padding-left: 1.1rem;
    color: #e8f1ff;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.10);
}

.about-page-heading,
.contact-page-heading,
.project-page-heading {
    margin-top: 0.95rem;
}

.contact-summary,
.contact-direct-card,
.contact-form-card,
.contact-process-card,
.project-summary,
.project-highlight,
.project-summary-card,
.project-card,
.about-summary-card {
    min-height: 100%;
}

.contact-direct-list {
    display: grid;
    gap: 0.55rem;
    margin: 0.85rem 0 1rem;
}

.contact-direct-list p {
    margin: 0;
    color: #e5eefb;
}

.contact-direct-list strong {
    color: #ffffff;
}

.contact-direct-list a {
    color: #f8fbff;
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-form-card h2,
.contact-process-card h2 {
    margin-bottom: 0.55rem;
}

.contact-process-card p {
    margin-top: 0;
}

.contact-specialties {
    padding: 1.35rem;
}

.contact-topic-grid {
    margin-top: 1rem;
}

.contact-topic-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-topic-card h3 {
    margin: 0.15rem 0 0;
    color: #f8fbff;
}

.contact-topic-card p {
    margin: 0;
    color: #d7e4f7;
}

.about-hero-card {
    margin-bottom: 1.4rem;
}

.about-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: stretch;
}

.about-hero-copy h2 {
    margin: 0.25rem 0 0.55rem;
}

.about-hero-copy p {
    margin: 0 0 0.8rem;
    color: #dce8f8;
    font-size: 1.02rem;
}

.about-hero-copy p:last-child {
    margin-bottom: 0;
}

.about-hero-side {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.about-hero-side .check-list {
    margin-bottom: 1rem;
}

.about-showcase {
    margin-bottom: 1.4rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.project-card h2 {
    margin: 0.2rem 0 0;
}

.project-card p {
    margin: 0;
    color: #d7e4f7;
}

.footer-cta-strip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.1rem 1.2rem;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(10, 18, 35, 0.92), rgba(18, 34, 58, 0.88)),
        linear-gradient(90deg, rgba(245, 158, 11, 0.10), rgba(56, 189, 248, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.22);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
    overflow: hidden;
}

.footer-cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.10), transparent 38%, rgba(56, 189, 248, 0.08));
    pointer-events: none;
}

.footer-cta-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.footer-cta-copy strong {
    display: block;
    margin: 0.18rem 0 0.3rem;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff7d6 0%, #f6da86 40%, #e7b451 72%, #fff0bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.footer-cta-copy p {
    margin: 0;
    color: #dbe7f8;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand-block,
.footer-meta {
    max-width: 480px;
}

.footer-grid strong {
    color: #fff;
    display: block;
    margin-bottom: 0.35rem;
}

.footer-grid p {
    margin: 0.25rem 0;
    color: #9fb0c9;
}

@media (max-width: 960px) {
    .hero-layout,
    .two-columns,
    .three-columns,
    .hero-stats,
    .service-visual-layout,
    .about-hero-layout {
        grid-template-columns: 1fr;
    }

    .project-slides {
        min-height: 360px;
    }

    .service-showcase-slider,
    .service-slider-track {
        min-height: 250px;
        max-height: 250px;
        height: 250px;
    }

    .content-wrap {
        margin-top: -1.2rem;
    }

    .content-wrap-no-hero {
        margin-top: 0.85rem;
    }
}

@media (max-width: 800px) {
    .header-bar,
    .footer-grid,
    .footer-cta-strip,
    .section-heading,
    .slider-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-bar {
        gap: 0.75rem;
    }

    .brand {
        gap: 0.5rem;
    }

    .brand-badge {
        min-height: 68px;
        padding: 0.22rem 0.55rem;
    }

    .brand-logo {
        height: 56px;
    }

    .brand-text {
        display: none;
    }

    .hero-badges,
    .hero-actions,
    .hero-stats,
    .contact-quick-actions {
        width: 100%;
    }

    .hero-actions .button,
    .contact-quick-actions .button,
    .footer-cta-strip .button {
        width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        gap: 0.55rem;
        justify-content: flex-start;
        padding-top: 0.35rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.82rem 1rem;
        text-align: center;
        font-size: 0.96rem;
    }

    .slider-dots {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .project-slides,
    .project-slide img {
        min-height: 300px;
    }

    .service-showcase-slider,
    .service-slider-track {
        min-height: 220px;
        max-height: 220px;
        height: 220px;
    }

    .service-showcase-slide {
        padding: 0.75rem 0.75rem 2.65rem;
    }

    .service-showcase-slide .service-banner-content {
        max-width: none;
        padding: 0.6rem 0.72rem;
    }

    .service-slider-title {
        font-size: 1.08rem;
    }

    .service-slider-description {
        font-size: 0.9rem;
    }

    .service-slider-controls {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.45rem;
    }

    .service-slider-controls .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }

    .slide-caption {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.85rem 0.9rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1140px, calc(100% - 1rem));
    }

    .site-header {
        position: sticky;
    }

    .header-bar {
        padding: 0.72rem 0;
    }

    .page-hero {
        padding: 2.8rem 0 3.2rem;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 7vw, 2.45rem);
    }

    .lead,
    .service-page-heading .lead,
    .footer-cta-copy p {
        font-size: 0.96rem;
    }

    .card,
    .project-showcase,
    .contact-specialties {
        padding: 1rem;
        border-radius: 18px;
    }

    .project-slides,
    .project-slide img {
        min-height: 250px;
    }

    .slide-caption {
        padding: 0.75rem 0.8rem;
    }

    .slide-caption h3 {
        font-size: 1rem;
    }

    .slide-caption p {
        font-size: 0.85rem;
    }

    .footer-cta-strip {
        padding: 0.95rem 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        width: min(1140px, calc(100% - 0.75rem));
    }

    .page-hero {
        padding: 2.35rem 0 2.8rem;
    }

    .eyebrow,
    .tag,
    .badge-pill {
        font-size: 0.72rem;
    }

    .nav-link {
        padding: 0.76rem 0.85rem;
        font-size: 0.92rem;
    }

    .button {
        padding: 0.82rem 1rem;
    }

    .project-slides,
    .project-slide img {
        min-height: 220px;
    }

    .service-showcase-slider,
    .service-slider-track {
        min-height: 200px;
        max-height: 200px;
        height: 200px;
    }

    .service-slider-description {
        font-size: 0.82rem;
        -webkit-line-clamp: 2;
    }

    .slide-caption {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.6rem;
        padding: 0.7rem 0.75rem;
    }
}
