/* ==========================================================================
   DIGINETWORK LLC — Main stylesheet
   Palette: primary #173B57 · secondary #2F6B8A · accent #E28A3B
            background #F6F8FA · text #1D2935 · muted #5E6B75
            success #237A57 · border #DDE3E8
   ========================================================================== */

:root {
    --color-primary: #173B57;
    --color-primary-dark: #102C42;
    --color-secondary: #2F6B8A;
    --color-accent: #E28A3B;
    --color-accent-dark: #C97428;
    --color-bg: #F6F8FA;
    --color-white: #FFFFFF;
    --color-text: #1D2935;
    --color-muted: #5E6B75;
    --color-success: #237A57;
    --color-border: #DDE3E8;
    --color-error: #B3402E;
    --color-error-bg: #FBEFEC;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(23, 59, 87, 0.08);
    --shadow: 0 4px 16px rgba(23, 59, 87, 0.10);
    --shadow-lg: 0 12px 32px rgba(23, 59, 87, 0.14);

    --container: 1160px;
    --container-narrow: 800px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--color-primary);
    margin: 0 0 0.6em;
    font-weight: 700;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.3em;
}

a {
    color: var(--color-secondary);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--color-primary);
}

abbr[title] {
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.text-muted { color: var(--color-muted); }
.small { font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -48px;
    left: 12px;
    z-index: 300;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 0;
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: var(--color-primary-dark);
    color: #CFE0EC;
    font-size: 0.85rem;
    text-align: center;
    padding: 8px 0;
    letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 800;
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 800;
}

.brand-mark::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background-color: #E28A3B;
    border-radius: 50%;
}

.brand-name {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}


.brand-suffix {
    color: var(--color-muted);
    font-weight: 600;
    font-size: 0.85em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.nav-link.is-active {
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 var(--color-accent);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-accent {
    background: var(--color-accent);
    color: #35200C;
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: var(--color-white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--color-white);
}

.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(47, 107, 138, 0.12), transparent),
        var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 72px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin: 0 0 14px;
}

.lead {
    font-size: 1.13rem;
    color: var(--color-muted);
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 0;
}

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

.hero-footnote {
    margin-top: 18px;
    font-size: 0.88rem;
    color: var(--color-muted);
}

.hero-visual img {
    width: 100%;
    filter: drop-shadow(0 18px 32px rgba(23, 59, 87, 0.16));
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 26px 0;
}

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

.trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.trust-item h2 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.trust-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.trust-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(35, 122, 87, 0.12);
    color: var(--color-success);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-sub {
    color: var(--color-muted);
    margin-bottom: 0;
}

.section-cta {
    text-align: center;
    margin: 36px 0 0;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.card-link {
    color: var(--color-primary);
    text-decoration: none;
}

.card-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.service-card p {
    color: var(--color-muted);
    font-size: 0.94rem;
    flex-grow: 1;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.price-tag {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.card-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-dark);
    text-decoration: none;
}

.card-cta:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.reason-card h3 {
    font-size: 1rem;
}

.reason-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.reason-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-accent-dark);
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    background: rgba(226, 138, 59, 0.14);
    color: #9A5A1F;
    border: 1px solid rgba(226, 138, 59, 0.35);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.process-step {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.process-step h3 {
    font-size: 1rem;
    margin: 14px 0 6px;
}

.process-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    flex: none;
}

.process-timeline {
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
}

.process-stage {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
}

.process-stage:last-child {
    border-bottom: none;
}

.process-stage h2 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.process-stage p {
    margin: 0;
    color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing-card {
    display: flex;
    flex-direction: column;
    text-align: center;
}


.pricing-card .btn {
    margin-top: auto;
}

.pricing-card-featured {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-flag {
    display: inline-block;
    align-self: center;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.pricing-figure {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 4px 0;
}

.pricing-figure span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
}

.pricing-meta {
    font-size: 0.85rem;
    color: var(--color-success);
    font-weight: 600;
}

.pricing-note {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.9rem;
    max-width: 640px;
    margin: 32px auto 0;
}

.pricing-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.pricing-detail-card h2 {
    font-size: 1.25rem;
}

.pricing-kind {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-facts,
.sidebar-facts,
.portfolio-facts,
.info-list {
    margin: 0 0 16px;
}

.pricing-facts div,
.sidebar-facts div,
.portfolio-facts div,
.info-list div {
    display: grid;
    grid-template-columns: minmax(100px, 40%) minmax(0, 1fr);
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.92rem;
    align-items: start;
}

.pricing-facts dt,
.sidebar-facts dt,
.portfolio-facts dt,
.info-list dt {
    color: var(--color-muted);
    font-weight: 500;
}

.pricing-facts dd,
.sidebar-facts dd,
.portfolio-facts dd,
.info-list dd {
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pricing-facts dd a,
.sidebar-facts dd a,
.portfolio-facts dd a,
.info-list dd a {
    display: inline;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pricing-sub {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
    margin: 18px 0 8px;
}

.pricing-actions {
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.check-list,
.x-list {
    list-style: none;
    padding: 0;
}

.check-list li,
.x-list li {
    position: relative;
    padding: 5px 0 5px 30px;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(35, 122, 87, 0.12);
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 700;
}

.check-list-strong li {
    font-weight: 500;
}

.x-list li::before {
    content: "\2014";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(94, 107, 117, 0.12);
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-list li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
}

.step-list h3 {
    margin-bottom: 4px;
    font-size: 1.02rem;
}

.step-list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.link-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 24px 0;
}

.link-grid a {
    display: block;
    padding: 12px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.link-grid a:hover {
    border-color: var(--color-secondary);
}

.flow-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 18px 0;
    counter-reset: flow;
}

.flow-line li {
    counter-increment: flow;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 7px 16px 7px 10px;
    font-size: 0.86rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flow-line li::before {
    content: counter(flow);
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 48px 16px 20px;
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-secondary);
    transition: transform 0.15s ease;
}

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

.faq-item summary:hover {
    background: var(--color-bg);
}

.faq-item p {
    padding: 0 20px 18px;
    margin: 0;
    color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    text-align: center;
    padding: 72px 0;
}

.cta-band h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-band p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 8px;
}

.cta-band-inline {
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    margin-top: 48px;
}

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 60px 0;
}

.page-hero-compact {
    padding: 44px 0;
}

.policy-meta {
    color: var(--color-muted);
    font-size: 0.92rem;
    margin: 0;
}

.notice-inline {
    display: inline-block;
    background: rgba(47, 107, 138, 0.08);
    border: 1px solid rgba(47, 107, 138, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin: 8px 0 0;
}

.meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 18px 0 4px;
}

.meta-chips li {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
}

.chip-label {
    color: var(--color-muted);
    font-weight: 500;
    margin-right: 4px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--color-muted);
}

.breadcrumbs a {
    color: var(--color-muted);
}

.breadcrumbs [aria-current="page"] {
    color: var(--color-primary);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Services listing page
   -------------------------------------------------------------------------- */
.service-rows {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.service-row h2 {
    font-size: 1.3rem;
}

.service-row-for {
    font-size: 0.92rem;
    color: var(--color-muted);
}

.service-row-side {
    border-left: 1px solid var(--color-border);
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-tag-lg {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 4px;
}

.service-row-time {
    font-size: 0.88rem;
    color: var(--color-success);
    font-weight: 600;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Individual service page
   -------------------------------------------------------------------------- */
.service-hero {
    padding-bottom: 44px;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 72px;
    align-items: start;
}

.service-section {
    margin-bottom: 44px;
}

.service-section:last-child {
    margin-bottom: 0;
}

.service-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.1rem;
}

.sidebar-links {
    list-style: none;
    padding: 12px 0 0;
    margin: 12px 0 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.86rem;
}

.sidebar-links li {
    padding: 3px 0;
}

.price-panel {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 18px;
}

.price-figure {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}

.price-kind {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.notice-box {
    background: rgba(47, 107, 138, 0.07);
    border: 1px solid rgba(47, 107, 138, 0.25);
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

.policy-links {
    font-size: 0.88rem;
    color: var(--color-muted);
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.portfolio-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-card img {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.portfolio-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-card-body p {
    font-size: 0.92rem;
    color: var(--color-muted);
}

.demo-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    margin: auto 0 0;
    font-style: italic;
}

.portfolio-detail-list {
    display: grid;
    gap: 32px;
}

.portfolio-detail {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    padding: 32px;
}

.portfolio-detail-media img {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    width: 100%;
}

.preview-caption {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-align: center;
    margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   About / info blocks
   -------------------------------------------------------------------------- */
.about-block {
    margin-bottom: 44px;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-section-title {
    font-size: 1.05rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    margin: 28px 0 18px;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.optional {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 0.85em;
}

.req {
    color: var(--color-error);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(47, 107, 138, 0.18);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: var(--color-error);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.form-consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-consent label {
    font-weight: 400;
    font-size: 0.88rem;
    margin: 0;
    color: var(--color-text);
}

.field-error {
    color: var(--color-error);
    font-size: 0.84rem;
    margin: 6px 0 0;
}

.form-alert {
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 22px;
}

.form-alert ul {
    margin: 6px 0 0;
}

.form-alert-error {
    background: var(--color-error-bg);
    border: 1px solid rgba(179, 64, 46, 0.4);
    color: var(--color-error);
}

/* Honeypot: visually removed, still in DOM for bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Result pages (thank you, payment, 404)
   -------------------------------------------------------------------------- */
.result-section {
    padding: 88px 0;
}

.result-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 56px 48px;
    text-align: center;
}

.result-card .step-list {
    text-align: left;
    max-width: 480px;
    margin: 0 auto 16px;
}

.result-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.result-icon-success {
    background: rgba(35, 122, 87, 0.12);
    color: var(--color-success);
}

.result-icon-neutral {
    background: rgba(47, 107, 138, 0.12);
    color: var(--color-secondary);
    font-style: italic;
    font-family: Georgia, serif;
}

.error-code {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--color-border);
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Policy pages
   -------------------------------------------------------------------------- */
.policy-body h2 {
    font-size: 1.25rem;
    margin-top: 40px;
}

.policy-body h2:first-of-type {
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-primary-dark);
    color: #B9C9D6;
    padding: 60px 0 28px;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr 1.3fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    color: var(--color-white);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.footer-brand span {
    color: #7E96A9;
    font-weight: 600;
    font-size: 0.85em;
}

.footer-tagline {
    color: #8FA6B8;
    font-size: 0.88rem;
}

.footer-note {
    font-size: 0.82rem;
    color: #7E96A9;
    max-width: 34ch;
}

.footer-heading {
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    padding: 4px 0;
}

.footer-col a {
    color: #B9C9D6;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 14px !important;
}

.footer-contact li {
    color: #B9C9D6;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: #7E96A9;
}

.footer-bottom p {
    margin: 0;
}

.footer-payment-note {
    max-width: 52ch;
}

/* --------------------------------------------------------------------------
   Cookie notice
   -------------------------------------------------------------------------- */
.cookie-notice {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 400;
    display: flex;
    justify-content: center;
}

.cookie-notice-inner {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 18px 22px;
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-notice p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--color-text);
}

.cookie-notice-actions {
    display: flex;
    gap: 10px;
    flex: none;
}
