/*
 * Public page alignment layer.
 * It is loaded after page-specific styles so every public route follows the
 * same Details Decor visual language without changing dashboard styling.
 */

:root {
    --public-surface: var(--bg-card, #fcfaf7);
    --public-border: var(--border-gold, rgba(184, 149, 106, .25));
    --public-gold: var(--gold, #b8956a);
    --public-radius: var(--radius-md, 8px);
}

.content-section,
.legal-page,
.contact-content,
.calculator-section {
    background: var(--bg-beige, #f7f3ee);
}

.contact-hero,
.about-hero {
    padding: clamp(64px, 9vw, 112px) 0 clamp(52px, 7vw, 82px);
    background: linear-gradient(135deg, #0b0c0d 0%, #171614 58%, #252019 100%);
    border-bottom: 1px solid var(--public-border);
}

.contact-hero::before,
.about-hero::before {
    inset: 0;
    width: auto;
    height: auto;
    opacity: 0;
    background-image: none;
    background-size: auto;
}

.contact-hero-content h1,
.about-hero-content h1 {
    color: #fff !important;
}

.contact-hero-content h1 .text-gradient {
    color: var(--gold-light, #ceb393) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor;
}

.contact-hero-content p,
.about-hero-content p {
    color: rgba(255, 255, 255, .68) !important;
}

.contact-content,
.about-content,
.about-values,
.about-why {
    padding: clamp(54px, 7vw, 94px) 0;
}

.contact-info,
.contact-form-wrapper,
.calculator-panel,
.calculator-summary,
.calculator-request,
.legal-card,
.product-card,
.product-detail-image,
.product-specs > div,
.related-card {
    background: var(--public-surface);
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius);
    box-shadow: var(--shadow-sm, 0 4px 24px rgba(10, 10, 10, .06));
}

.contact-info,
.contact-form-wrapper {
    padding: clamp(24px, 4vw, 42px);
}

.contact-info h2,
.contact-form-wrapper h2,
.legal-card h2 {
    color: var(--text-primary) !important;
}

.contact-info > p,
.contact-form-wrapper > p,
.legal-card p,
.legal-card li {
    color: var(--text-secondary) !important;
}

.contact-info-icon {
    color: var(--public-gold);
    background: var(--gold-soft);
    border-color: var(--public-border);
}

.contact-form .form-control,
.contact-form textarea,
.calculator-fields input,
.calculator-fields select {
    border-color: var(--public-border);
    border-radius: var(--radius-sm, 4px);
    background: var(--beige-light, #fcfaf7);
}

.contact-form .form-control:focus,
.contact-form textarea:focus,
.calculator-fields input:focus,
.calculator-fields select:focus {
    border-color: var(--public-gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
    outline: none;
}

.legal-page {
    padding: clamp(40px, 7vw, 80px) 0;
}

.legal-wrap {
    max-width: 1100px;
}

.legal-wrap .simple-hero {
    margin-bottom: 28px;
    padding: clamp(42px, 7vw, 76px) clamp(22px, 5vw, 64px);
    background: linear-gradient(135deg, #0b0c0d 0%, #171614 58%, #252019 100%);
    border: 1px solid var(--public-border);
    border-radius: var(--public-radius);
}

.legal-wrap .simple-hero h1,
.legal-wrap .simple-hero p {
    color: #fff;
}

.legal-content {
    gap: 16px;
}

.catalog-hero {
    background: linear-gradient(135deg, #0b0c0d 0%, #171614 58%, #252019 100%);
}

.project-filter,
.service-filter {
    min-height: 38px;
    padding: 7px 14px;
    border-color: var(--public-border);
    border-radius: var(--radius-sm, 4px);
}

.content-section .btn-outline,
.product-detail-copy .btn-outline,
.related-card .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px;
    color: var(--gold, #b8956a);
    background: transparent;
    border: 1px solid var(--gold, #b8956a);
    border-radius: var(--radius-xs, 2px);
    font-family: var(--font-secondary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    transition: var(--transition-smooth);
}

.content-section .btn-outline:hover,
.product-detail-copy .btn-outline:hover,
.related-card .btn-outline:hover {
    color: var(--black, #0a0a0a);
    background: var(--gold, #b8956a);
    border-color: var(--gold, #b8956a);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.content-section .btn-outline svg,
.product-detail-copy .btn-outline svg,
.related-card .btn-outline svg {
    width: 16px;
    height: 16px;
}

.product-card,
.service-card,
.project-card,
.why-card,
.value-card,
.team-card {
    border-radius: var(--public-radius);
}

.product-image,
.product-detail-image {
    background: var(--bg-beige-dark, #ede8e0);
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
}

.product-image {
    height: 220px;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.product-card h2,
.product-detail-copy h1,
.product-description h2,
.related-products h2 {
    color: var(--text-primary);
}

.product-card h2 {
    margin: 13px 0 8px;
    font-family: var(--font-secondary);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.3;
}

.product-card p {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-card .btn {
    width: 100%;
}

.product-category,
.product-price,
.product-meta strong,
.related-card span {
    color: var(--public-gold);
}

.product-detail-section {
    padding: clamp(42px, 7vw, 80px) 0;
    background: var(--bg-beige, #f7f3ee);
}

.product-detail-image {
    overflow: hidden;
}

.product-detail-copy .lead,
.product-description p {
    color: var(--text-secondary);
}

.product-specs {
    gap: 12px;
}

/* Store catalog and product detail */
.store-catalog-hero .container {
    max-width: 1240px;
}

.store-catalog-hero h1 {
    max-width: 780px;
}

.store-catalog-hero p {
    max-width: 740px;
}

.store-catalog-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
}

.store-catalog-hero-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.76);
    font-size: 12px;
}

.store-catalog-hero-actions > span i {
    color: var(--public-gold, #b8956a);
}

.store-catalog-section {
    padding-top: clamp(32px, 5vw, 58px);
    background: var(--bg-beige, #f7f3ee);
}

.store-catalog-toolbar {
    display: grid;
    gap: 18px;
    margin-bottom: 27px;
    padding: 22px 24px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(17,40,65,.1);
    border-radius: var(--public-radius, 14px);
    box-shadow: 0 12px 30px rgba(28,37,46,.05);
}

.store-catalog-toolbar-copy h2 {
    margin: 10px 0 4px;
    color: var(--text-primary, #182532);
    font-size: clamp(20px, 2.4vw, 27px);
}

.store-catalog-toolbar-copy p {
    margin: 0;
    color: var(--text-secondary, #687582);
    font-size: 12px;
    line-height: 1.8;
}

.store-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-category-filters .service-filter {
    color: #465665;
    background: #fff;
    border: 1px solid rgba(17,40,65,.13);
    border-radius: 999px;
}

.store-category-filters .service-filter.active,
.store-category-filters .service-filter:hover {
    color: #fff;
    background: #173e64;
    border-color: #173e64;
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.store-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17,40,65,.1);
    border-radius: var(--public-radius, 14px);
    box-shadow: 0 10px 28px rgba(28,37,46,.065);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.store-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23,62,100,.25);
    box-shadow: 0 18px 36px rgba(28,37,46,.12);
}

.store-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #a48b6d;
    background: linear-gradient(145deg,#f3efe9,#e8e3dc);
}

.store-product-image > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.store-product-card:hover .store-product-image > img {
    transform: scale(1.035);
}

.store-product-image-placeholder {
    display: grid;
    place-items: center;
    color: #b39a7b;
    font-size: 54px;
}

.store-product-featured,
.store-product-stock,
.store-product-image-count {
    position: absolute;
    z-index: 1;
    min-height: 28px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.store-product-featured {
    top: 12px;
    inset-inline-start: 12px;
    color: #79591e;
    background: rgba(255,248,226,.94);
    border: 1px solid rgba(194,151,73,.3);
}

.store-product-stock.out {
    top: 12px;
    inset-inline-end: 12px;
    color: #9d3946;
    background: rgba(255,239,241,.95);
    border: 1px solid rgba(189,68,82,.2);
}

.store-product-image-count {
    right: 12px;
    bottom: 12px;
    color: #fff;
    background: rgba(18,31,44,.72);
}

.store-product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 19px;
}

.store-product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.store-product-category {
    width: fit-content;
    max-width: 70%;
    padding: 5px 9px;
    overflow: hidden;
    color: #315879;
    background: #edf4fa;
    border: 1px solid #dce8f2;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-product-sku,
.product-detail-sku {
    color: #84909b;
    font-size: 9px;
    font-weight: 700;
    direction: ltr;
    unicode-bidi: isolate;
}

.store-product-card h2 {
    margin: 12px 0 6px;
    color: #192b3c;
    font-size: 18px;
    line-height: 1.5;
}

.store-product-card h2 a {
    color: inherit;
}

.store-product-card h2 a:hover {
    color: #245a86;
}

.store-product-description {
    min-height: 44px;
    margin: 0;
    color: #667482;
    font-size: 11px;
    line-height: 1.9;
}

.store-product-specs {
    display: grid;
    gap: 7px;
    margin: 14px 0;
}

.store-product-specs > span {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #596b7b;
    font-size: 10px;
    line-height: 1.65;
}

.store-product-specs > span i {
    width: 14px;
    flex: 0 0 14px;
    margin-top: 3px;
    color: #8b7456;
    text-align: center;
}

.store-product-price-panel {
    min-height: 92px;
    margin-top: auto;
    padding: 12px 14px;
    display: grid;
    align-content: center;
    gap: 3px;
    background: linear-gradient(135deg,#f5f9fc,#edf4f9);
    border: 1px solid #dce8f0;
    border-inline-start: 3px solid #315f83;
    border-radius: 10px;
}

.store-price-label {
    color: #657789;
    font-size: 9px;
    font-weight: 700;
}

.store-price-value {
    color: #17476f;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}

.store-price-value bdi,
.store-product-detail .product-price bdi:not(.store-price-range) {
    direction: ltr;
    unicode-bidi: isolate;
}

.store-price-range {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    direction: ltr;
    unicode-bidi: isolate;
}

.store-price-value bdi.store-price-range[dir="rtl"],
.store-product-detail .product-price bdi.store-price-range[dir="rtl"] {
    direction: rtl;
}

.store-price-value bdi.store-price-range[dir="ltr"],
.store-product-detail .product-price bdi.store-price-range[dir="ltr"] {
    direction: ltr;
}

.store-price-value small {
    color: #536f87;
    font-size: 11px;
    font-weight: 800;
}

.store-price-value.estimate {
    color: #91672c;
    font-size: 18px;
}

.store-price-range-separator {
    padding: 0 3px;
    color: #8996a1;
}

.store-price-value.quote {
    color: #315f83;
    font-size: 16px;
}

.store-price-unit {
    color: #748493;
    font-size: 9px;
}

.store-product-availability {
    min-height: 32px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #397354;
    font-size: 10px;
    font-weight: 700;
}

.store-product-availability.unavailable {
    color: #a3404b;
}

.store-product-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

.store-product-actions form {
    min-width: 0;
    margin: 0;
}

.store-product-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    font-size: 10px;
}

.store-product-actions .btn-outline {
    color: #315879;
    background: #fff;
    border-color: #cbd9e4;
}

.store-product-actions .btn-primary {
    color: #fff;
    background: #173e64;
    border-color: #173e64;
}

.store-product-actions .btn-primary:hover {
    background: #245a86;
    border-color: #245a86;
}

.store-products-empty {
    grid-column: 1/-1;
}

.store-product-detail {
    background: linear-gradient(180deg,#f8f6f2 0%,#f2f5f7 100%);
}

.store-product-detail .container {
    max-width: 1240px;
}

.store-product-detail .back-link {
    min-height: 42px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #245879;
    background: linear-gradient(135deg,rgba(255,255,255,.96),rgba(235,244,250,.92));
    border: 1px solid rgba(49,95,131,.2);
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(28,67,96,.08),inset 0 1px 0 rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    transition: color .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.store-product-detail .back-link i {
    color: #397da5;
    font-size: 11px;
    transition: transform .2s ease,color .2s ease;
}

.store-product-detail .back-link:hover {
    color: #fff;
    background: linear-gradient(135deg,#315f83,#173e64);
    border-color: #315f83;
    box-shadow: 0 8px 18px rgba(23,62,100,.2);
    transform: translateY(-2px);
}

.store-product-detail .back-link:hover i {
    color: #fff;
    transform: translateX(3px);
}

.store-product-detail .product-detail-grid {
    align-items: stretch;
    gap: clamp(26px,5vw,64px);
}

.store-product-detail .product-gallery {
    display: grid;
    align-content: start;
    gap: 12px;
}

.store-product-detail .product-detail-image {
    height: auto;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg,#f0ece5,#e5e0d8);
    border: 1px solid rgba(17,40,65,.1);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(26,36,45,.09);
}

.store-product-detail .product-detail-image img {
    object-fit: contain;
}

.store-product-detail .product-thumbnails button {
    width: 82px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 9px;
}

.store-product-detail .product-thumbnails button.active,
.store-product-detail .product-thumbnails button:hover {
    border-color: #315f83;
}

.store-product-detail .product-detail-copy {
    align-self: center;
    padding: clamp(20px,3vw,34px);
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(17,40,65,.09);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(26,36,45,.06);
}

.store-product-detail .product-category {
    display: inline-flex;
    margin-inline-end: 7px;
    color: #315f83;
    font-size: 11px;
    font-weight: 800;
}

.product-detail-featured {
    padding: 5px 9px;
    color: #8a6527;
    background: #fff6df;
    border: 1px solid #f0dfb7;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.product-detail-featured i {
    margin-inline-end: 3px;
}

.store-product-detail .product-detail-copy h1 {
    margin: 12px 0 5px;
    color: #192b3c;
    font-size: clamp(28px,3.5vw,42px);
    line-height: 1.4;
}

.product-detail-sku {
    display: inline-block;
    margin-bottom: 9px;
    color: #7f8c98;
    font-size: 10px;
}

.store-product-detail .product-detail-copy .lead {
    margin: 8px 0 17px;
    color: #627180;
    font-size: 13px;
    line-height: 2;
}

.product-detail-price-box {
    margin: 17px 0;
    padding: 15px 17px;
    display: grid;
    gap: 4px;
    background: linear-gradient(135deg,#f1f7fb,#eaf2f7);
    border: 1px solid #d9e5ee;
    border-inline-start: 4px solid #315f83;
    border-radius: 11px;
}

.product-detail-price-box > span {
    color: #657789;
    font-size: 10px;
    font-weight: 700;
}

.store-product-detail .product-price {
    margin: 0;
    color: #17476f;
    font-size: clamp(23px,3vw,30px);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.store-product-detail .product-price.estimate {
    color: #91672c;
}

.store-product-detail .product-price.quote {
    color: #315f83;
    font-size: 19px;
}

.store-product-detail .product-price small {
    display: inline;
    color: #536f87;
    font-size: 12px;
    font-weight: 800;
}

.store-product-detail .product-price-note {
    color: #748493;
    font-size: 10px;
}

.store-product-detail .product-buy-form {
    align-items: end;
}

.store-product-detail .product-buy-form label {
    color: #465e73;
}

.store-product-detail .product-buy-form input {
    border-color: #cfdae4;
}

.store-product-detail .product-buy-form .btn,
.store-product-detail .product-detail-copy > .btn {
    color: #fff;
    background: #173e64;
    border-color: #173e64;
}

.store-product-detail .product-stock-note {
    color: #397354;
    font-weight: 700;
}

.store-product-detail .product-specs {
    grid-template-columns: repeat(auto-fit,minmax(175px,1fr));
    margin-top: 24px;
}

.store-product-detail .product-specs > div {
    min-width: 0;
    padding: 16px;
    background: rgba(255,255,255,.9);
    border-color: rgba(17,40,65,.1);
    box-shadow: 0 7px 18px rgba(26,36,45,.04);
}

.store-product-detail .product-specs span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #667a8d;
    font-size: 10px;
    font-weight: 700;
}

.store-product-detail .product-specs span i {
    color: #8b7456;
}

.store-product-detail .product-specs strong {
    color: #263f54;
    font-size: 12px;
    line-height: 1.8;
}

.store-product-detail .product-color-spec strong {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.store-product-detail .product-color-spec em {
    padding: 4px 8px;
    color: #315879;
    background: #edf4fa;
    border: 1px solid #dce8f2;
    border-radius: 999px;
    font-size: 9px;
    font-style: normal;
}

.store-product-detail .product-description {
    max-width: none;
    margin-top: 26px;
    padding: clamp(20px,3vw,30px);
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(17,40,65,.09);
    border-radius: 16px;
}

.product-detail-kicker {
    color: #8b7456;
    font-size: 10px;
    font-weight: 800;
}

.store-product-detail .product-description h2 {
    margin: 6px 0 12px;
    color: #192b3c;
    font-size: 23px;
}

.product-description-content {
    color: #586b7b;
    font-size: 13px;
    line-height: 2.1;
}

.store-product-detail .related-products {
    margin-top: 34px;
    padding: clamp(18px,3vw,28px);
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(17,40,65,.09);
    border-radius: 16px;
}

.related-products-heading {
    margin-bottom: 17px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.related-products-heading h2 {
    margin: 4px 0 0;
    color: #192b3c;
    font-size: clamp(20px,2.5vw,27px);
}

.related-products-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #315f83;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.related-products-heading > a:hover {
    color: #173e64;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 13px;
}

.related-product-card {
    min-width: 0;
    min-height: 112px;
    padding: 9px;
    display: grid;
    grid-template-columns: 96px minmax(0,1fr);
    align-items: stretch;
    gap: 12px;
    color: #263f54;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(17,40,65,.1);
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(26,36,45,.045);
    transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.related-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(49,95,131,.32);
    box-shadow: 0 10px 22px rgba(26,36,45,.09);
}

.related-product-image {
    position: relative;
    width: 96px;
    min-height: 94px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #a58d70;
    background: linear-gradient(145deg,#f1ede6,#e7e2da);
    border-radius: 9px;
}

.related-product-image > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.related-product-placeholder {
    font-size: 26px;
}

.related-product-featured {
    position: absolute;
    top: 5px;
    inset-inline-start: 5px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #936b29;
    background: rgba(255,248,226,.95);
    border-radius: 50%;
    font-size: 9px;
}

.related-product-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    text-align: start;
}

.related-product-category {
    max-width: 100%;
    overflow: hidden;
    color: #718396;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-product-copy > strong {
    max-width: 100%;
    overflow: hidden;
    color: #263f54;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-product-price {
    color: #17476f;
    font-size: 10px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.related-product-price bdi {
    direction: ltr;
    unicode-bidi: isolate;
}

.related-product-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
    color: #8b7456;
    font-size: 9px;
    font-weight: 800;
}

.related-product-card:hover .related-product-link {
    color: #315f83;
}

@media(max-width:1000px) {
    .store-products-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:700px) {
    .store-products-grid {
        gap: 14px;
    }

    .store-product-body {
        padding: 14px;
    }

    .store-product-detail .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .store-product-detail .product-detail-copy {
        padding: 20px;
    }
}

@media(max-width:520px) {
    .store-products-grid {
        grid-template-columns: 1fr;
    }

    .store-product-card {
        max-width: 460px;
        width: 100%;
        margin-inline: auto;
    }

    .store-product-image {
        aspect-ratio: 4/3;
    }

    .store-product-body {
        padding: 18px;
    }

    .store-catalog-toolbar {
        padding: 17px;
    }

    .store-product-detail .product-detail-image {
        aspect-ratio: 1/1;
    }

    .store-product-detail .product-specs {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-products-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-product-card {
        grid-template-columns: 82px minmax(0,1fr);
    }

    .related-product-image {
        width: 82px;
        min-height: 82px;
    }
}

.calculator-panel,
.calculator-summary,
.calculator-request {
    border-radius: var(--public-radius);
    box-shadow: var(--shadow-sm);
}

.calculator-alert {
    border-radius: var(--public-radius);
}

.calculator-service:has(input:checked),
.calculator-package:has(input:checked),
.calculator-addon:has(input:checked) {
    border-color: var(--public-gold);
    background: var(--gold-soft);
}

.testimonial-stars {
    color: var(--public-gold);
}

.muted-star {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .contact-info,
    .contact-form-wrapper {
        padding: 24px;
    }

    .legal-wrap .simple-hero {
        margin-inline: 0;
    }
}

.site-header .nav {
    gap: clamp(10px,1.5vw,20px);
}

.site-header .nav-links {
    gap: clamp(13px,1.7vw,24px);
}

.site-header .nav-links a {
    font-size: 11px;
    letter-spacing: .02em;
    white-space: nowrap;
}

.site-header .nav-actions {
    gap: 7px;
    flex-shrink: 0;
}

.header-icon-action {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(197,169,104,.3);
    border-radius: 10px;
    transition: color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;
}

.header-icon-action svg {
    width: 18px;
    height: 18px;
}

.header-icon-action:hover,
.header-icon-action.active {
    color: #f0d58e;
    background: rgba(197,169,104,.14);
    border-color: rgba(240,213,142,.72);
    transform: translateY(-1px);
}

.header-cart-count {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    color: #14273f;
    background: #f0d58e;
    border: 2px solid #101820;
    border-radius: 999px;
    font: 800 10px/1 Arial,sans-serif;
    font-variant-numeric: tabular-nums;
}

.site-header .user-menu-trigger {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 4px;
    justify-content: center;
    border-radius: 10px;
    clip-path: none;
}

.site-header .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    clip-path: none;
}

.site-header .user-menu-dropdown {
    inset-inline-end: 0;
    inset-inline-start: auto;
}

.site-header .menu-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.footer-grid {
    grid-template-columns: minmax(220px,1.3fr) repeat(2,minmax(135px,.8fr)) minmax(210px,1fr);
    gap: clamp(20px,3vw,38px);
}

.footer-bottom {
    min-height: 58px;
    margin-top: 22px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.62);
}

.footer-bottom a {
    color: rgba(255,255,255,.82);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-legal-links a {
    font-size: 11px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
}

.footer-social a:hover {
    color: #101820;
    background: #d5bb7c;
    border-color: #d5bb7c;
}

.floating-social-bar {
    top: auto;
    right: 20px;
    bottom: 22px;
    left: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(49,95,131,.18);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(22,54,80,.16);
    transform: none!important;
}

[dir="rtl"] .floating-social-bar {
    right: 20px;
    left: auto;
    transform: none!important;
}

.floating-social-bar .floating-btn {
    width: 42px;
    height: 42px;
    color: #315f83;
    background: #f2f7fb;
    border: 1px solid #dce8f0;
    border-radius: 12px;
    box-shadow: none;
}

.floating-social-bar .floating-whatsapp:hover {
    color: #fff;
    background: #159b5b;
    border-color: #159b5b;
}

.floating-social-bar .floating-support:hover,
.floating-social-bar .scroll-top-btn:hover {
    color: #fff;
    background: #245a86;
    border-color: #245a86;
}

.store-cart-icon-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.store-product-actions .store-cart-icon-button {
    width: 44px;
    min-width: 44px;
    padding: 8px;
    color: #fff;
    background: #173e64;
    border-color: #173e64;
    clip-path: none;
    border-radius: 10px;
}

.store-product-actions .store-cart-icon-button::before,
.store-product-actions .store-cart-icon-button::after {
    display: none;
}

.store-product-actions .store-cart-icon-button:hover {
    color: #fff;
    background: #245a86;
    border-color: #245a86;
}

.store-product-actions form {
    display: flex;
}

@media(max-width:1100px) {
    .site-header .nav-links {
        gap: 12px;
    }

    .site-header .nav-links a {
        font-size: 10px;
    }

    .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:768px) {
    .site-header .nav {
        gap: 10px;
    }

    .site-header .nav-actions {
        gap: 5px;
    }

    .site-header .header-icon-action,
    .site-header .user-menu-trigger,
    .site-header .menu-toggle {
        width: 35px;
        height: 35px;
        min-height: 35px;
    }

    .site-header .menu-toggle {
        flex-basis: 35px;
    }

    .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .floating-social-bar {
        right: 12px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        padding: 6px;
        gap: 6px;
    }

    [dir="rtl"] .floating-social-bar {
        right: 12px;
        left: auto;
    }
}

@media(max-width:480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-header .nav-actions {
        gap: 4px;
    }

    .site-header .header-icon-action,
    .site-header .user-menu-trigger,
    .site-header .menu-toggle {
        width: 32px;
        height: 32px;
        min-height: 32px;
    }

    .site-header .menu-toggle {
        flex-basis: 32px;
    }
}

/* Shared public-site glass palette */
:root {
    --public-blue: #245a86;
    --public-blue-deep: #173e64;
    --public-ice: #f3f8fc;
    --public-line: rgba(49,95,131,.16);
    --public-glass: rgba(255,255,255,.88);
}

.topbar {
    padding: 5px 0;
    color: rgba(239,246,252,.82);
    background: #10283e;
    border-bottom: 1px solid rgba(132,180,214,.16);
}

.topbar-tagline,
.topbar-link {
    color: rgba(239,246,252,.76);
}

.topbar-tagline i,
.topbar-link i {
    color: #9bc6e4;
}

.topbar-link.whatsapp-link i {
    color: #48c98a;
}

.topbar-divider {
    background: rgba(190,218,239,.24);
}

.site-header {
    padding: 11px 0;
    background: linear-gradient(180deg,rgba(17,43,66,.97),rgba(16,40,62,.91));
    border-bottom: 1px solid rgba(126,176,211,.25);
    box-shadow: 0 10px 30px rgba(14,39,60,.18);
}

.site-header.scrolled {
    padding: 8px 0;
    background: rgba(16,40,62,.97);
    border-bottom-color: rgba(126,176,211,.28);
}

.site-header .nav {
    min-height: 44px;
}

.site-header .nav-links a {
    color: rgba(240,247,252,.78);
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
    color: #fff;
}

.site-header .nav-links a::after {
    background: linear-gradient(90deg,#82b7db,#e2ca91);
}

.site-header .header-icon-action {
    color: #e8f2fa;
    background: rgba(255,255,255,.075);
    border-color: rgba(148,190,220,.34);
}

.site-header .header-icon-action:hover,
.site-header .header-icon-action.active {
    color: #fff;
    background: rgba(83,139,181,.3);
    border-color: #91bfdf;
}

.site-header .header-cart-count {
    color: #fff;
    background: #397da5;
    border-color: #16334d;
}

.site-header .user-menu-trigger {
    color: #eff7fc;
    background: rgba(255,255,255,.075);
    border-color: rgba(148,190,220,.34);
}

.site-header .user-avatar {
    color: #fff;
    background: linear-gradient(145deg,#528db6,#245a86);
}

.site-header .user-menu-dropdown {
    background: rgba(17,43,66,.98);
    border-color: rgba(126,176,211,.35);
    border-radius: 14px;
    clip-path: none;
}

.content-section,
.legal-page,
.contact-content,
.calculator-section,
.product-detail-section,
.package-detail-section,
.service-detail-page,
.project-detail-page,
.about-content,
.about-values,
.about-why,
.services-section,
.why-section,
.cta-section {
    background-color: var(--public-ice);
    background-image: linear-gradient(180deg,#f8fbfe 0%,#f0f6fb 100%);
}

.stats-section,
.projects-section,
.testimonials-section {
    background: linear-gradient(145deg,#17344e 0%,#10283e 68%,#183c59 100%);
    border-color: rgba(142,188,216,.2);
}

.section-title,
.section-header .section-title,
.store-catalog-toolbar h2,
.product-detail-copy h1,
.product-description h2,
.related-products h2 {
    color: #18344d;
}

.section-subtitle,
.section-header .section-subtitle {
    color: #647b8e;
}

.projects-section .section-header .section-title,
.testimonials-section .section-header .section-title {
    color: #f4f8fb;
}

.projects-section .section-header .section-subtitle,
.testimonials-section .section-header .section-subtitle {
    color: rgba(235,244,250,.74);
}

.section-badge {
    color: #315f83;
    background: rgba(224,239,249,.72);
    border-color: rgba(73,129,169,.2);
    border-radius: 999px;
}

.service-card,
.why-card,
.value-card,
.team-card,
.product-card,
.product-specs > div,
.contact-info,
.contact-form-wrapper,
.calculator-panel,
.calculator-summary,
.calculator-request,
.legal-card {
    background: var(--public-glass);
    border-color: var(--public-line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(26,66,96,.075);
    backdrop-filter: blur(10px);
}

.service-card,
.why-card,
.value-card,
.team-card {
    color: #263f54;
}

.service-card h3,
.why-card h3,
.value-card h3,
.team-card h3,
.product-card h2 {
    color: #193a56;
}

.service-card::before,
.why-card::before {
    background: linear-gradient(90deg,transparent,#77afd5,#d8bd7c,transparent);
}

.service-card:hover,
.why-card:hover,
.value-card:hover,
.team-card:hover {
    border-color: rgba(53,116,161,.36);
    box-shadow: 0 18px 38px rgba(26,66,96,.13);
}

.service-card .service-icon,
.why-card .why-icon,
.contact-info-icon {
    color: #397da5;
    background: #edf6fc;
    border-color: #d5e7f3;
    border-radius: 12px;
}

.service-card .service-price {
    color: #fff;
    background: linear-gradient(135deg,#397da5,#245a86);
    border-radius: 999px;
}

.testimonial-card {
    color: #eff6fb;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(173,207,230,.22);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    background: rgba(255,255,255,.11);
    border-color: rgba(173,207,230,.4);
}

.store-catalog-hero,
.catalog-hero,
.contact-hero,
.about-hero,
.legal-wrap .simple-hero {
    background: linear-gradient(135deg,#17344e 0%,#10283e 62%,#24506f 100%);
}

.store-catalog-hero::before,
.contact-hero::before,
.about-hero::before {
    background-image: linear-gradient(rgba(143,191,221,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(143,191,221,.14) 1px,transparent 1px);
}

.store-catalog-section,
.store-product-detail {
    background: linear-gradient(180deg,#f8fbfe 0%,#eff6fb 100%);
}

.store-catalog-toolbar,
.store-product-detail .related-products {
    background: rgba(255,255,255,.68);
    border-color: var(--public-line);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(26,66,96,.06);
    backdrop-filter: blur(12px);
}

.store-product-card,
.related-product-card,
.shop-cart-item,
.shop-summary,
.shop-checkout-form,
.shop-order-summary {
    border-color: var(--public-line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(26,66,96,.075);
}

.store-product-price-panel {
    background: linear-gradient(135deg,#f3f8fc,#eaf3f9);
    border-color: #d6e5ef;
    border-inline-start-color: #397da5;
    border-radius: 12px;
}

.store-product-actions .btn-primary,
.store-product-detail .product-buy-form .btn,
.store-product-detail .product-detail-copy > .btn,
.shop-summary .btn,
.shop-order-summary .btn,
.store-product-actions .store-cart-icon-button {
    color: #fff;
    background: linear-gradient(135deg,#397da5,#245a86);
    border-color: #397da5;
}

.store-product-actions .btn-primary:hover,
.store-product-detail .product-buy-form .btn:hover,
.store-product-detail .product-detail-copy > .btn:hover,
.shop-summary .btn:hover,
.shop-order-summary .btn:hover,
.store-product-actions .store-cart-icon-button:hover {
    color: #fff;
    background: linear-gradient(135deg,#2d6b94,#173e64);
    border-color: #245a86;
}

.store-product-detail .product-specs > div {
    background: rgba(255,255,255,.88);
    border-color: var(--public-line);
    border-radius: 14px;
}

.store-product-detail .product-color-spec em {
    color: #315f83;
    background: #edf6fc;
    border-color: #d5e7f3;
}

.footer {
    color: rgba(238,246,252,.72);
    background: linear-gradient(145deg,#122b42 0%,#0d2235 62%,#173b58 100%);
    border-top: 1px solid rgba(142,188,216,.28);
}

.footer h4 {
    color: #f2f7fb;
}

.footer-brand p,
.footer-links a,
.footer-contact p,
.footer-contact p a {
    color: rgba(234,243,250,.72);
}

.footer-links a:hover,
.footer-contact p a:hover {
    color: #a8d0eb;
}

.footer-contact i,
.footer-social a {
    color: #9bc6e4;
}

.footer-social a {
    background: rgba(255,255,255,.075);
    border-color: rgba(173,207,230,.22);
    border-radius: 10px;
}

.footer-social a:hover {
    color: #fff;
    background: #397da5;
    border-color: #397da5;
}

.footer-bottom {
    border-top-color: rgba(173,207,230,.2);
    color: rgba(234,243,250,.65);
}

.footer-bottom a {
    color: #d4e7f5;
}

.floating-social-bar {
    background: rgba(248,251,254,.95);
    border-color: rgba(49,95,131,.19);
    box-shadow: 0 12px 30px rgba(20,54,80,.18);
    backdrop-filter: blur(14px);
}

@media(max-width:768px) {
    .topbar {
        padding: 4px 0;
    }

    .topbar-inner {
        min-height: 30px;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .topbar-left,
    .topbar-link[href^="mailto:"],
    .topbar-tools .audio-control {
        display: none;
    }

    .topbar-right {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .topbar-link {
        padding-inline: 6px;
        font-size: 10px;
    }

    .site-header {
        padding: 6px 0;
        margin-top: 30px;
    }

    .site-header.scrolled {
        padding: 5px 0;
        margin-top: 0;
    }
}

/* Finish the public pages with one consistent, responsive component system. */
.hero-slide .container {
    box-sizing: border-box;
    display: flex;
    width: min(100%, 1320px);
    margin-inline: auto;
    padding-inline: clamp(22px, 4vw, 54px);
}

.hero-content {
    box-sizing: border-box;
    width: min(100%, 640px);
    max-width: 640px;
    padding-block: 36px 72px;
}

.hero-content .badge {
    color: #f2f8fc;
    background: rgba(18,48,72,.55);
    border: 1px solid rgba(179,213,235,.34);
    border-radius: 999px;
    letter-spacing: .04em;
}

.hero-content .badge i {
    color: #a8d0eb;
}

.hero-content h1 {
    max-width: 100%;
    color: #f8fbfd;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.hero-content h1 span {
    color: #e2c987;
}

.hero-content h1[style] {
    font-size: clamp(1.85rem, 3.7vw, 3.15rem) !important;
    line-height: 1.22;
}

.hero-content p {
    color: rgba(245,249,252,.88);
    border-inline-start-color: #91bfdf;
}

.hero-buttons .btn,
.btn,
.lang-toggle,
.audio-toggle,
.floating-btn,
.slider-arrow,
.service-filter,
.project-filter,
.contact-form button,
.calculator-fields button,
.store-product-actions .btn,
.shop-cart-item button {
    clip-path: none;
    border-radius: 11px;
}

.btn-primary,
.hero-buttons .btn-primary,
.content-section .service-card .btn,
.project-detail-copy .btn,
.contact-form button[type="submit"],
.calculator-request .btn,
.store-product-actions .btn-primary,
.shop-summary .btn,
.shop-order-summary .btn {
    color: #fff;
    background: linear-gradient(135deg,#397da5,#245a86);
    border-color: #397da5;
    box-shadow: 0 8px 20px rgba(36,90,134,.17);
}

.btn-primary:hover,
.hero-buttons .btn-primary:hover,
.content-section .service-card .btn:hover,
.project-detail-copy .btn:hover,
.contact-form button[type="submit"]:hover,
.calculator-request .btn:hover,
.store-product-actions .btn-primary:hover,
.shop-summary .btn:hover,
.shop-order-summary .btn:hover {
    color: #fff;
    background: linear-gradient(135deg,#2d6b94,#173e64);
    border-color: #245a86;
}

.btn-secondary,
.hero-buttons .btn-secondary,
.content-section .btn-outline,
.project-detail-copy .btn-outline,
.related-card .btn-outline {
    color: #315f83;
    background: rgba(255,255,255,.76);
    border-color: rgba(49,95,131,.3);
}

.btn-secondary:hover,
.hero-buttons .btn-secondary:hover,
.content-section .btn-outline:hover,
.project-detail-copy .btn-outline:hover,
.related-card .btn-outline:hover {
    color: #fff;
    background: #315f83;
    border-color: #315f83;
    box-shadow: 0 8px 20px rgba(36,90,134,.14);
}

.promo-banner {
    padding: 16px 0;
    color: #23445e;
    background: linear-gradient(105deg,#e7f2fa,#f2f8fc 58%,#e6f0f7);
    border-block: 1px solid rgba(49,95,131,.12);
}

.promo-banner .promo-text > i {
    color: #397da5;
}

.promo-banner h3 {
    color: #193a56;
}

.promo-banner p {
    color: #60798d;
}

.promo-banner .btn-white {
    color: #fff;
    background: linear-gradient(135deg,#397da5,#245a86);
    border: 1px solid #397da5;
    border-radius: 11px;
}

.promo-banner .btn-white:hover {
    color: #fff;
    background: #173e64;
    border-color: #173e64;
}

.stats-section {
    background: linear-gradient(145deg,#17344e 0%,#10283e 68%,#183c59 100%);
}

.stat-item {
    border-inline-end-color: rgba(173,207,230,.18);
}

.stat-item .stat-icon {
    color: #9bc6e4;
}

.stat-item .stat-number {
    color: #f2f8fc;
}

.stat-item .stat-label {
    color: rgba(235,244,250,.76);
}

.process-section,
.about-content,
.about-values,
.about-why,
.about-team {
    color: #263f54;
    background-color: var(--public-ice);
    background-image: linear-gradient(180deg,#f8fbfe 0%,#f0f6fb 100%);
}

.process-step {
    min-height: 235px;
    padding: 30px 22px 24px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--public-line);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(26,66,96,.055);
    clip-path: none;
}

.process-step:hover {
    border-color: rgba(53,116,161,.32);
    box-shadow: 0 16px 34px rgba(26,66,96,.1);
}

.process-step .step-number {
    color: #397da5;
    opacity: .11;
}

.process-step .step-icon {
    color: #397da5;
}

.process-step h3 {
    color: #193a56;
}

.process-step p {
    color: #647b8e;
}

.about-team .section-title,
.about-team .section-subtitle,
.about-team .team-card h3 {
    color: #193a56;
}

.about-team .team-card {
    background: rgba(255,255,255,.88);
    border-color: var(--public-line);
}

.about-team .team-avatar {
    color: #315f83;
    background: #edf6fc;
    border-color: #d5e7f3;
}

.about-image-wrapper,
.about-stat,
.about-image-badge,
.about-hero-content .section-badge,
.about-text .section-badge,
.section-header .section-badge,
.page-hero .section-badge {
    clip-path: none;
    border-radius: 12px;
}

.about-image-wrapper {
    border-color: rgba(53,116,161,.25);
    box-shadow: 12px 12px 0 rgba(53,116,161,.09),0 20px 42px rgba(26,66,96,.12);
}

.about-stat {
    color: #315f83;
    background: rgba(237,246,252,.84);
    border-color: var(--public-line);
}

.about-stat .stat-number {
    color: #245a86;
}

.about-hero,
.page-hero,
.contact-hero,
.catalog-hero,
.legal-wrap .simple-hero {
    color: #eff6fb;
    background: linear-gradient(135deg,#17344e 0%,#10283e 62%,#24506f 100%);
    border-bottom-color: rgba(142,188,216,.27);
}

.page-hero::after,
.about-hero::after {
    background: linear-gradient(90deg,transparent,#91bfdf);
}

.page-hero .section-badge,
.about-hero .section-badge,
.contact-hero .section-badge {
    color: #c5e1f4;
    background: rgba(255,255,255,.075);
    border-color: rgba(173,207,230,.27);
}

.page-hero h1,
.about-hero-content h1 {
    color: #f5f9fc;
}

.page-hero.about-hero .about-hero-content {
    max-width: 850px;
}

.page-hero.about-hero .about-hero-content .section-badge {
    margin-bottom: 15px;
    padding: 7px 13px;
    color: #c5e1f4;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(173,207,230,.27);
    border-radius: 12px;
    font-size: .72rem;
    letter-spacing: .02em;
}

.page-hero.about-hero .about-hero-content h1 {
    max-width: 850px;
    margin: 12px 0 10px;
    color: #f5f9fc;
    font-size: clamp(2.15rem,5vw,4.3rem);
    line-height: 1.18;
}

.page-hero.about-hero .about-hero-content h1 .text-gradient {
    color: #e2c987;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.page-hero.about-hero .about-hero-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(235,244,250,.78);
    font-size: 1rem;
    line-height: 1.9;
}

.page-hero p,
.about-hero-content p {
    color: rgba(235,244,250,.78);
}

.section-header {
    padding-top: 15px;
}

.section-header::before {
    background: linear-gradient(90deg,transparent,#77afd5,transparent);
}

.section-header .section-badge {
    color: #315f83;
    background: #eaf4fa;
    border-color: #d4e6f1;
    letter-spacing: .02em;
}

.section-header .section-title::after {
    background: linear-gradient(90deg,#397da5,#d8bd7c);
    clip-path: none;
    border-radius: 99px;
}

.service-card,
.why-card,
.project-card,
.testimonial-card,
.process-step,
.value-card,
.team-card,
.about-image-wrapper,
.about-stat {
    clip-path: none;
}

.content-section .service-card,
.services-section .service-card {
    border: 1px solid var(--public-line);
    border-radius: 16px;
    overflow: hidden;
}

.content-section .service-card .service-icon {
    color: #397da5;
    background: #edf6fc;
    border-color: #d5e7f3;
    border-radius: 12px;
}

.content-section .service-card .service-meta {
    border-top-color: rgba(49,95,131,.14);
}

.content-section .service-card .service-meta strong {
    color: #315f83;
}

.service-filter,
.project-filter {
    color: #315f83;
    background: rgba(255,255,255,.82);
    border-color: rgba(49,95,131,.2);
}

.service-filter:hover,
.service-filter.active,
.project-filter:hover,
.project-filter.active {
    color: #fff;
    background: #315f83;
    border-color: #315f83;
}

.services-toolbar,
.projects-toolbar {
    border-bottom-color: rgba(49,95,131,.16);
}

.projects-section .project-card {
    border: 1px solid rgba(173,207,230,.22);
    border-radius: 16px;
    overflow: hidden;
}

.projects-section .project-card img {
    transition: transform .45s ease;
}

.projects-section .project-card:hover img {
    transform: scale(1.04);
}

.service-detail-page,
.project-detail-page {
    background: linear-gradient(180deg,#f8fbfe 0%,#eff6fb 100%);
}

.detail-panel,
.project-detail-shell,
.project-detail-copy,
.related-project-card,
.service-detail-image,
.project-detail-gallery {
    background: rgba(255,255,255,.9);
    border-color: var(--public-line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(26,66,96,.07);
}

.services-toolbar,
.projects-toolbar,
.store-catalog-toolbar {
    align-items: center;
}

.contact-form .form-control,
.contact-form textarea,
.calculator-fields input,
.calculator-fields select,
.project-filter,
.service-filter,
.store-catalog-toolbar select,
.store-catalog-toolbar input,
.shop-checkout-form input,
.shop-checkout-form select,
.shop-checkout-form textarea {
    color: #23445e;
    background-color: rgba(255,255,255,.92);
    border-color: #d3e3ee;
    border-radius: 10px;
}

.contact-form .form-control:focus,
.contact-form textarea:focus,
.calculator-fields input:focus,
.calculator-fields select:focus,
.shop-checkout-form input:focus,
.shop-checkout-form select:focus,
.shop-checkout-form textarea:focus {
    border-color: #5992b7;
    box-shadow: 0 0 0 3px rgba(57,125,165,.14);
    outline: none;
}

.empty-state,
.empty-results,
.mini-empty {
    color: #60798d;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--public-line);
    border-radius: 16px;
}

:where(a,button,input,select,textarea,[tabindex]):focus-visible {
    outline: 3px solid rgba(105,166,207,.65);
    outline-offset: 3px;
}

@media(max-width:768px) {
    .hero-slider {
        height: min(590px, calc(100svh - 264px));
        min-height: 0;
    }

    .hero-slide .container {
        width: 100%;
        padding-inline: 24px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-block: 24px 76px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 9vw, 3.1rem);
        line-height: 1.24;
    }

    .hero-content h1[style] {
        font-size: clamp(1.7rem, 7.5vw, 2.45rem) !important;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        min-height: 46px;
    }

    .promo-banner .container {
        align-items: stretch;
    }

    .promo-banner .btn-white {
        width: 100%;
        justify-content: center;
    }

    .process-step {
        min-height: 0;
    }
}

@media(max-width:480px) {
    .hero-slide .container {
        padding-inline: 18px;
    }

    .hero-content {
        padding-block: 20px 72px;
    }

    .hero-content .badge {
        margin-bottom: 14px;
    }

    .hero-content p {
        margin-block: 12px 20px;
        padding-inline-start: 12px;
        font-size: .88rem;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .about-stat {
        padding: 12px 8px;
    }
}

/* Clear footer hierarchy on desktop and compact, non-overlapping mobile rows. */
.footer {
    padding: 54px 0 20px;
    background:
        radial-gradient(ellipse at 88% 0%,rgba(70,124,159,.18),transparent 38%),
        linear-gradient(145deg,#122d45 0%,#0d2235 66%,#173a55 100%);
    border-top: 1px solid rgba(158,197,222,.25);
}

.footer::before {
    right: 5%;
    left: 5%;
    background: linear-gradient(90deg,transparent,#82b7db,rgba(226,201,135,.75),transparent);
}

.footer::after {
    display: none;
}

.footer .container {
    width: min(100% - 48px,1280px);
}

.footer-grid {
    grid-template-columns: minmax(0,1.3fr) minmax(260px,.9fr);
    align-items: start;
    gap: clamp(22px,3vw,42px);
    margin-bottom: 34px;
}

.footer-brand {
    padding-inline-end: 0;
    border: 0;
    text-align: start;
}

.footer-contact {
    text-align: start;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand .logo .logo-image {
    width: 160px;
    height: 56px;
}

.footer-brand p {
    max-width: 300px;
    margin: 0 0 18px;
    color: rgba(231,242,250,.75);
    font-size: .9rem;
    line-height: 1.9;
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 9px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    color: #b8d7eb;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(173,207,230,.23);
    border-radius: 11px;
}

.footer-social a:hover {
    color: #fff;
    background: #397da5;
    border-color: #6ea6cb;
    transform: translateY(-2px);
}

.footer h4 {
    display: flex;
    width: fit-content;
    margin: 4px 0 17px;
    color: #f5f9fc;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-contact h4 {
    justify-content: flex-start;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.footer h4::before {
    width: 7px;
    height: 7px;
    background: #91bfdf;
    box-shadow: 0 0 12px rgba(145,191,223,.35);
}

.footer-links a {
    display: flex;
    width: fit-content;
    align-items: center;
    padding: 5px 0;
    color: rgba(231,242,250,.74);
    font-size: .86rem;
    line-height: 1.55;
}

.footer-links a::after {
    background: #91bfdf;
}

.footer-links a:hover {
    padding-inline-start: 4px;
    color: #c7e4f6;
}

.footer-contact p {
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 13px;
    color: rgba(231,242,250,.76);
    flex-direction: row;
    justify-content: flex-start;
    font-size: .85rem;
    line-height: 1.7;
}

[dir="rtl"] .footer-contact p {
    flex-direction: row;
}

[dir="ltr"] .footer-contact p {
    flex-direction: row;
}

.footer-contact p a {
    color: rgba(231,242,250,.88);
    overflow-wrap: anywhere;
}

.footer-contact svg {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: #9bc6e4;
}

.footer-bottom {
    min-height: 52px;
    margin-top: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(173,207,230,.19);
    color: rgba(231,242,250,.68);
    font-size: .78rem;
}

.footer-bottom > span {
    line-height: 1.8;
}

.footer-bottom a {
    color: #d4e7f5;
}

.footer-legal-links {
    gap: 8px 16px;
}

.footer-legal-links a {
    color: rgba(231,242,250,.78);
    font-size: .8rem;
}

.footer-legal-links a:hover {
    color: #fff;
}

@media(max-width:1100px) {
    .footer-grid {
        grid-template-columns: minmax(0,1.2fr) minmax(240px,.9fr);
        gap: 28px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 24px;
    }

    .footer-contact h4 {
        width: 100%;
    }
}

@media(max-width:768px) {
    .footer {
        padding: 38px 0 calc(100px + env(safe-area-inset-bottom));
    }

    .footer .container {
        width: min(100% - 32px,560px);
    }

    .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 28px 22px;
        margin-bottom: 28px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand {
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(173,207,230,.16);
    }

    .footer-brand p {
        max-width: 420px;
    }

    .footer-contact {
        display: block;
        padding-top: 20px;
        border-top: 1px solid rgba(173,207,230,.16);
    }

    .footer-contact h4 {
        margin-bottom: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 17px;
        text-align: start;
    }

    .footer-legal-links {
        justify-content: flex-start;
    }
}

@media(max-width:480px) {
    .footer {
        padding-top: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 24px 16px;
    }

    .footer-brand .logo .logo-image {
        width: 146px;
        height: 52px;
    }

    .footer-brand p {
        font-size: .86rem;
    }

    .footer-links a {
        font-size: .81rem;
    }

    .footer-contact p {
        font-size: .82rem;
    }

    .footer-legal-links {
        gap: 8px 13px;
    }
}

@media(max-width:768px) {
    body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        position: fixed;
        inset-inline: 12px;
        bottom: max(10px,env(safe-area-inset-bottom));
        z-index: 1000;
        display: grid;
        width: auto;
        max-width: 560px;
        margin-inline: auto;
        grid-template-columns: repeat(6,minmax(0,1fr));
        gap: 4px;
        padding: 6px;
        background: rgba(248,251,254,.96);
        border: 1px solid rgba(49,95,131,.17);
        border-radius: 18px;
        box-shadow: 0 10px 34px rgba(18,48,72,.2);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav a.mobile-login-link {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 58px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 5px 2px;
        overflow: visible;
        color: #627b8f;
        background: transparent;
        border: 0;
        border-radius: 13px;
        clip-path: none;
        font-size: clamp(9px,2.6vw,11px);
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
        white-space: nowrap;
        transition: color .18s ease,background .18s ease,transform .18s ease;
    }

    .mobile-bottom-nav a svg {
        display: block;
        width: 19px;
        height: 19px;
        color: currentColor;
        stroke-width: 1.8;
    }

    .mobile-bottom-nav a.active {
        color: #245a86;
        background: #e6f1f8;
        box-shadow: inset 0 0 0 1px rgba(57,125,165,.12);
    }

    .mobile-bottom-nav a:hover {
        color: #173e64;
        background: rgba(230,241,248,.78);
        transform: translateY(-1px);
    }
}

@media(max-width:360px) {
    .mobile-bottom-nav {
        inset-inline: 7px;
        gap: 2px;
        padding: 5px;
    }

    .mobile-bottom-nav a {
        font-size: 9px;
    }

    .mobile-bottom-nav a svg {
        width: 18px;
        height: 18px;
    }
}

.package-hero {
    padding: clamp(56px,7vw,88px) 0;
}

.package-hero h1 {
    max-width: 820px;
}

.package-hero p {
    max-width: 720px;
}

.package-section {
    padding: clamp(42px,6vw,76px) 0;
    background: linear-gradient(180deg,#f8fbfe 0%,#eff6fb 100%);
}

.package-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(49,95,131,.16);
}

.package-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #397da5;
    font-size: .82rem;
    font-weight: 700;
}

.package-intro-kicker svg {
    width: 17px;
    height: 17px;
}

.package-intro h2 {
    margin: 0 0 6px;
    color: #193a56;
    font-size: clamp(1.5rem,3vw,2rem);
}

.package-intro p {
    margin: 0;
    color: #647b8e;
    font-size: .92rem;
    line-height: 1.8;
}

.package-count {
    flex: 0 0 auto;
    padding: 8px 13px;
    color: #315f83;
    background: #eaf4fa;
    border: 1px solid #d4e6f1;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
    gap: 24px;
}

.package-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(49,95,131,.17);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(26,66,96,.075);
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.package-card:hover {
    transform: translateY(-3px);
    border-color: rgba(57,125,165,.38);
    box-shadow: 0 18px 40px rgba(26,66,96,.13);
}

.package-card.is-featured {
    border-color: rgba(57,125,165,.52);
    box-shadow: 0 14px 36px rgba(36,90,134,.12);
}

.package-media {
    position: relative;
    height: clamp(155px,19vw,220px);
    overflow: hidden;
    background: linear-gradient(135deg,#e7f1f8,#dbeaf4);
}

.package-media::after {
    position: absolute;
    inset: 40% 0 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg,transparent,rgba(14,40,62,.2));
}

.package-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.package-card:hover .package-media img {
    transform: scale(1.035);
}

.package-media-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #397da5;
    background: radial-gradient(circle at 50% 35%,#fff,#e5f1f8 74%);
}

.package-media-fallback svg {
    width: 46px;
    height: 46px;
    stroke-width: 1.5;
}

.package-featured {
    position: absolute;
    z-index: 1;
    top: 13px;
    inset-inline-start: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    color: #173e64;
    background: rgba(248,251,254,.94);
    border: 1px solid rgba(49,95,131,.17);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.package-featured svg {
    width: 14px;
    height: 14px;
    fill: #d7b962;
    color: #a9852c;
}

.package-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: clamp(18px,2.2vw,27px);
}

.package-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.package-tier,
.package-item-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #456d8b;
    font-size: .78rem;
    font-weight: 700;
}

.package-tier {
    padding: 5px 10px;
    background: #edf6fb;
    border: 1px solid #dcebf4;
    border-radius: 999px;
}

.package-item-count svg {
    width: 15px;
    height: 15px;
}

.package-card h2 {
    margin: 15px 0 7px;
    color: #18344d;
    font-size: clamp(1.3rem,2.2vw,1.65rem);
    line-height: 1.4;
}

.package-description {
    margin: 0 0 17px;
    color: #5e7487;
    font-size: .9rem;
    line-height: 1.85;
}

.package-price-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 19px;
    padding: 12px 15px;
    background: linear-gradient(115deg,#f4f9fc,#eaf3f9);
    border: 1px solid #d8e8f2;
    border-inline-start: 3px solid #397da5;
    border-radius: 12px;
}

.package-price-panel > span {
    color: #4f6d83;
    font-size: .82rem;
    font-weight: 600;
}

.package-price-panel strong {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: #245a86;
    font-size: clamp(1.18rem,2.2vw,1.45rem);
    font-weight: 800;
    white-space: nowrap;
}

.package-price-panel small {
    color: #55748d;
    font-size: .75rem;
    font-weight: 700;
}

.package-inclusions {
    margin-bottom: 15px;
}

.package-inclusions > h3,
.package-linked-services > h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #244966;
    font-size: 1rem;
    font-weight: 800;
}

.package-inclusions > h3 svg,
.package-linked-services > h3 svg {
    width: 18px;
    height: 18px;
    color: #397da5;
}

.package-inclusion-group {
    margin: 0 0 13px;
    padding: 13px 14px;
    background: #f8fbfd;
    border: 1px solid #e2edf4;
    border-radius: 12px;
}

.package-inclusion-group h4,
.package-additional h4 {
    margin: 0 0 8px;
    color: #315f83;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.5;
}

.package-inclusion-group ul,
.package-inclusions > ul,
.package-additional ul,
.package-linked-services ul {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.package-inclusion-group li,
.package-inclusions > ul li,
.package-additional li,
.package-linked-services li {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 7px;
    color: #415b70;
    font-size: .82rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.package-inclusion-group li svg,
.package-inclusions > ul li svg,
.package-additional li svg,
.package-linked-services li svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-top: 3px;
    color: #397da5;
    stroke-width: 2.2;
}

.package-inclusions-empty {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px;
    color: #536d81;
    background: #f6f9fb;
    border: 1px dashed #bfd4e2;
    border-radius: 11px;
    font-size: .84rem;
    line-height: 1.7;
}

.package-inclusions-empty svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #397da5;
}

.package-additional,
.package-linked-services {
    margin: 0 0 15px;
    padding: 13px 14px;
    background: #f3f8fc;
    border: 1px solid #dceaf3;
    border-radius: 12px;
}

.package-supervision {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px 0;
    color: #536d81;
    border-top: 1px solid #e5edf3;
    font-size: .84rem;
}

.package-supervision svg {
    width: 17px;
    height: 17px;
    color: #397da5;
}

.package-supervision strong {
    margin-inline-start: auto;
    color: #245a86;
    font-size: .92rem;
}

.package-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5edf3;
}

.package-card-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 15px;
    font-size: .82rem;
}

.package-card-actions .btn svg {
    width: 17px;
    height: 17px;
}

.package-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #315f83;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.package-detail-link:hover {
    color: #173e64;
}

.package-detail-link svg {
    width: 15px;
    height: 15px;
}

.package-empty {
    max-width: 650px;
    margin-inline: auto;
    padding: 42px 24px;
    text-align: center;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--public-line);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(26,66,96,.07);
}

.package-empty > svg {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    color: #397da5;
}

.package-empty h2 {
    margin: 0 0 8px;
    color: #193a56;
}

.package-empty p {
    margin: 0 0 18px;
    color: #647b8e;
}

@media(max-width:900px) {
    .package-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .package-card-body {
        padding: 22px;
    }

    .package-media {
        height: clamp(180px,32vw,270px);
    }
}

@media(max-width:600px) {
    .package-hero {
        padding: 46px 0;
    }

    .package-section {
        padding: 34px 0;
    }

    .package-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .package-count {
        align-self: flex-start;
    }

    .package-grid {
        gap: 17px;
    }

    .package-media {
        height: 190px;
    }

    .package-card-body {
        padding: 17px;
    }

    .package-inclusion-group ul,
    .package-inclusions > ul,
    .package-additional ul,
    .package-linked-services ul {
        grid-template-columns: minmax(0,1fr);
    }

    .package-price-panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .package-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .package-card-actions .btn,
    .package-detail-link {
        width: 100%;
        justify-content: center;
    }
}

.cta-content {
    direction: rtl;
    align-items: end;
    gap: clamp(24px,5vw,72px);
}

.cta-content > div:first-child {
    min-width: 0;
}

.cta-content > div:last-child {
    align-self: end;
    justify-self: end;
}

.cta-buttons {
    justify-content: flex-end;
}

.cta-buttons .btn {
    width: auto;
}

[dir="ltr"] .cta-content > div:first-child {
    direction: ltr;
    text-align: left;
}

[dir="ltr"] .cta-content > div:last-child,
[dir="ltr"] .cta-content .cta-buttons {
    direction: ltr;
}

[dir="ltr"] .cta-content .cta-buttons {
    justify-content: flex-start;
}

@media(max-width:768px) {
    .cta-content {
        grid-template-columns: minmax(0,1fr);
        gap: 22px;
    }

    .cta-content > div:last-child {
        justify-self: stretch;
    }

    .cta-content .cta-buttons {
        justify-content: flex-end;
    }

    .cta-content .cta-buttons .btn {
        width: auto;
        justify-content: center;
    }

    [dir="ltr"] .cta-content .cta-buttons {
        justify-content: flex-start;
    }
}

/* Cost calculator finish: match the glass-blue storefront palette. */
.page-hero.calculator-hero {
    min-height: 0;
    padding: clamp(44px,6vw,72px) 0;
    color: #173e5b;
    background: radial-gradient(ellipse at 78% 18%,rgba(137,190,222,.26),transparent 36%),linear-gradient(135deg,#f8fbfe 0%,#e9f3f9 56%,#f6f9fc 100%);
    border-bottom: 1px solid rgba(49,95,131,.12);
}

.page-hero.calculator-hero::after {
    display: none;
}

.page-hero.calculator-hero .container {
    max-width: 1180px;
    text-align: start;
}

.page-hero.calculator-hero .section-badge {
    color: #245a86;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(57,125,165,.2);
    box-shadow: 0 6px 18px rgba(24,67,99,.06);
    backdrop-filter: blur(10px);
}

.page-hero.calculator-hero h1 {
    max-width: 900px;
    margin: 18px 0 12px;
    color: #173e5b;
    font-size: clamp(2.2rem,5vw,4rem);
    line-height: 1.18;
    text-shadow: none;
}

.page-hero.calculator-hero p {
    max-width: 760px;
    margin: 0;
    color: #5e7589;
    font-size: 1rem;
    line-height: 1.9;
}

.calculator-section {
    padding: clamp(28px,4vw,52px) 0;
    background: linear-gradient(180deg,#f4f8fc,#eef5fa);
}

.calculator-section > .container {
    max-width: 1240px;
}

.calculator-layout {
    grid-template-columns: minmax(0,1.65fr) minmax(290px,.75fr);
    gap: 22px;
}

.calculator-panel,
.calculator-summary,
.calculator-request {
    border: 1px solid rgba(49,95,131,.14);
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 36px rgba(26,66,96,.075);
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.calculator-panel {
    min-width: 0;
}

.panel-heading h2,
.calculator-request h2 {
    color: #173e5b;
    font-family: 'Cairo','Tajawal',sans-serif;
    font-weight: 800;
}

.calculator-panel .section-badge,
.calculator-summary .section-badge {
    color: #315f83;
    background: #eef6fb;
    border: 1px solid rgba(49,95,131,.14);
}

.quote-stepper {
    background: #f1f6fa;
    border-color: rgba(49,95,131,.12);
}

.quote-step {
    color: #6d8294;
}

.quote-step b {
    color: #456d8b;
    background: #fff;
    border: 1px solid #dce8f0;
}

.quote-step.active {
    color: #fff;
    background: linear-gradient(135deg,#397da5,#245a86);
    box-shadow: 0 7px 16px rgba(36,90,134,.17);
}

.quote-step.active b {
    color: #245a86;
    background: #fff;
}

.quote-step.completed {
    color: #245a86;
    background: #e5f1f8;
}

.quote-step.completed b {
    color: #fff;
    background: #397da5;
}

.calculator-package-list {
    gap: 12px;
}

.calculator-package {
    grid-template-columns: 96px minmax(0,1fr) 40px;
    min-height: 136px;
    border: 1px solid rgba(49,95,131,.15);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(26,66,96,.05);
}

.calculator-package:hover {
    border-color: #82b2d1;
    box-shadow: 0 12px 25px rgba(26,66,96,.1);
}

.calculator-package:has(input:checked) {
    border: 2px solid #397da5;
    background: #f4f9fc;
    box-shadow: 0 12px 28px rgba(36,90,134,.14);
}

.calculator-package-image {
    color: #dcecf6;
    background: linear-gradient(145deg,#245a86,#8bb6d1);
}

.calculator-package-body strong {
    color: #173e5b;
    font-family: 'Cairo','Tajawal',sans-serif;
}

.calculator-package-body em {
    color: #245a86;
    background: #e7f1f8;
}

.calculator-package-price {
    color: #245a86 !important;
}

.calculator-package-toggle {
    color: #315f83;
    background: #eaf3f9;
}

.calculator-package.is-expanded .calculator-package-toggle {
    color: #fff;
    background: #397da5;
}

.calculator-package-features {
    background: #f6fafc;
    border-color: rgba(49,95,131,.12);
}

.calculator-package-features h4,
.calculator-package-features section strong {
    color: #315f83;
}

.calculator-package-features li {
    color: #60778a;
}

.calculator-package-features li::before {
    color: #397da5;
}

.calculator-area-field > label,
.calculator-fields label {
    color: #31536e;
    font-family: 'Cairo','Tajawal',sans-serif;
    font-weight: 700;
}

.area-options button {
    color: #45677f;
    background: #fff;
    border-color: #d6e3ec;
    border-radius: 11px;
}

.area-options button.active,
.area-options button:hover {
    color: #fff;
    background: #397da5;
    border-color: #397da5;
    box-shadow: 0 5px 12px rgba(36,90,134,.14);
}

.calculator-fields input,
.calculator-fields select {
    color: #18344d;
    background: #fff;
    border-color: #d2e0e9;
    border-radius: 12px;
}

.calculator-fields input:focus,
.calculator-fields select:focus {
    outline: none;
    border-color: #6ca2c4;
    box-shadow: 0 0 0 4px rgba(57,125,165,.12);
}

.calculator-specialized-heading {
    border-color: rgba(49,95,131,.14);
}

.calculator-specialized-heading strong {
    color: #245a86;
}

.calculator-specialized-heading small,
.calculator-addon span small {
    color: #6a8092;
}

.calculator-specialized-toggle {
    color: #315f83;
    background: #f7fafc;
    border-color: #cbdde9;
}

.calculator-addon {
    border-color: #d9e5ed;
}

.calculator-addon input {
    accent-color: #397da5;
}

.calculator-addon span strong {
    color: #244966;
}

.calculator-addon > i {
    color: #397da5;
}

.calculator-addon:has(input:checked) {
    border-color: #71a2c2;
    background: #f0f7fb;
    box-shadow: 0 7px 16px rgba(36,90,134,.1);
}

.calculator-step-actions {
    justify-content: space-between;
    border-color: rgba(49,95,131,.14);
}

.calculator-step-actions:not(.is-contact-navigation) .btn {
    width: 260px;
    min-width: 260px;
    min-height: 50px;
}

.calculator-request .calculator-step-actions {
    margin: 22px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(49,95,131,.14);
}

.calculator-request .calculator-step-actions.is-contact-navigation {
    justify-content: space-between;
    gap: 22px;
}

.calculator-step-actions .btn-secondary {
    color: #315f83;
    background: #fff;
    border: 1px solid #cbdde9;
}

.calculator-request .calculator-step-actions .btn,
.calculator-confirm-button {
    width: auto;
    min-width: 0;
    min-height: 50px;
    justify-content: center;
    border-radius: 12px;
}

.calculator-request .calculator-step-actions.is-contact-navigation #previousStep {
    width: 260px;
    min-width: 260px;
}

.calculator-request .calculator-step-actions.is-contact-navigation .calculator-confirm-button {
    width: 260px;
    min-width: 260px;
    margin: 0;
}

.calculator-summary {
    top: 112px;
}

.summary-total {
    border-color: rgba(49,95,131,.14);
}

.summary-total small {
    color: #647d91;
}

.summary-total strong {
    color: #245a86;
}

.summary-total b {
    color: #55748d;
}

.summary-item {
    align-items: flex-start;
    color: #435d72;
    border-bottom: 1px solid #edf2f6;
}

.summary-item strong {
    flex: none;
    color: #245a86;
}

.calculator-request {
    margin-top: 22px;
}

.calculator-review-invoice {
    background: #f5f9fc;
    border-color: #d9e7ef;
}

.calculator-review-invoice h3 {
    color: #245a86;
}

.calculator-review-line,
.calculator-review-line strong {
    color: #45677f;
}

.calculator-confirm-button {
    display: flex;
    width: fit-content;
    min-width: 240px;
    margin-inline-start: auto;
}

.calculator-layout.is-contact-step .calculator-panel {
    min-height: 0;
}

@media(max-width:980px) {
    .calculator-layout {
        grid-template-columns: minmax(0,1fr) minmax(260px,.72fr);
    }

    .calculator-package-list {
        grid-template-columns: 1fr;
    }
}

@media(max-width:800px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator-summary {
        position: static;
    }

    .calculator-package-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px) {
    .page-hero.calculator-hero {
        padding: 40px 0;
    }

    .page-hero.calculator-hero h1 {
        font-size: clamp(1.9rem,9vw,2.65rem);
    }

    .page-hero.calculator-hero p {
        font-size: .92rem;
    }

    .calculator-panel,
    .calculator-summary,
    .calculator-request {
        padding: 20px;
        border-radius: 18px;
    }

    .calculator-package-list {
        grid-template-columns: 1fr;
    }

    .calculator-package {
        grid-template-columns: 76px minmax(0,1fr) 34px;
        min-height: 120px;
        gap: 11px;
    }

    .calculator-package-image {
        min-height: 120px;
    }

    .calculator-package-body {
        padding: 13px 0;
    }

    .calculator-package-body strong {
        font-size: 15px;
    }

    .quote-step {
        gap: 6px;
        padding: 8px 4px;
        font-size: .69rem;
    }

    .quote-step b {
        width: 24px;
        height: 24px;
    }

    .calculator-request .calculator-step-actions .btn,
    .calculator-confirm-button {
        width: 100%;
        width: 50%;
        min-width: 0;
    }

    .calculator-request .calculator-step-actions.is-contact-navigation .btn {
        width: auto;
        flex: 0 1 auto;
    }

    .calculator-request .calculator-step-actions.is-contact-navigation #previousStep {
        width: 50%;
        min-width: 0;
    }

    .calculator-request .calculator-step-actions.is-contact-navigation .calculator-confirm-button {
        width: 50%;
        min-width: 0;
        margin: 0;
        padding-inline: 12px;
    }
}
/* ============================================================
   PROJECTS ARCHIVE — architectural editorial, ink and champagne
   ============================================================ */
.content-section.projects-section:not(.home-featured-projects) {
    --archive-ink: #0c1928;
    --archive-surface: #142438;
    --archive-surface-raised: #1a2d42;
    --archive-text: #f5f1e8;
    --archive-muted: #c0c9d1;
    --archive-gold: var(--gold-light, #d3b77f);
    --archive-line: rgba(211, 183, 127, .23);
    color: var(--archive-text);
    background:
        radial-gradient(ellipse at 86% 8%, rgba(52, 77, 99, .28), transparent 40%),
        linear-gradient(155deg, #0d1b2a 0%, #101f30 58%, #0c1928 100%);
}

.content-section.projects-section:not(.home-featured-projects) .projects-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--archive-line);
}

.content-section.projects-section:not(.home-featured-projects) .projects-toolbar-copy {
    min-width: min(100%, 280px);
}

.content-section.projects-section:not(.home-featured-projects) .projects-toolbar-copy .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    color: var(--archive-gold);
    background: rgba(211, 183, 127, .08);
    border: 1px solid var(--archive-line);
    border-radius: 3px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.content-section.projects-section:not(.home-featured-projects) .projects-toolbar-copy .section-badge svg {
    width: 15px;
    height: 15px;
}

.content-section.projects-section:not(.home-featured-projects) .projects-toolbar-copy h2 {
    margin: 12px 0 5px;
    color: var(--archive-text);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.4;
}

.content-section.projects-section:not(.home-featured-projects) .projects-toolbar-copy p {
    margin: 0;
    color: var(--archive-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.content-section.projects-section:not(.home-featured-projects) .project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 100%;
}

.content-section.projects-section:not(.home-featured-projects) .project-filter {
    min-height: 42px;
    padding: 8px 15px;
    color: #d4dce3;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(202, 215, 225, .2);
    border-radius: 4px;
    clip-path: none;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.content-section.projects-section:not(.home-featured-projects) .project-filter:hover {
    color: var(--archive-text);
    background: rgba(211, 183, 127, .12);
    border-color: rgba(211, 183, 127, .62);
    transform: translateY(-1px);
}

.content-section.projects-section:not(.home-featured-projects) .project-filter.active {
    color: #172131;
    background: var(--archive-gold);
    border-color: var(--archive-gold);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
}

.content-section.projects-section:not(.home-featured-projects) .project-filter:focus-visible,
.content-section.projects-section:not(.home-featured-projects) .project-card-media:focus-visible {
    outline: 3px solid #f1d89e;
    outline-offset: 3px;
}

.content-section.projects-section:not(.home-featured-projects) .projects-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 5px 12px;
    color: #f0dfb8;
    background: rgba(211, 183, 127, .09);
    border: 1px solid var(--archive-line);
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
}

.content-section.projects-section:not(.home-featured-projects) .projects-grid {
    gap: 22px;
    align-items: stretch;
}

.content-section.projects-section:not(.home-featured-projects) .project-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    aspect-ratio: auto;
    clip-path: none;
    overflow: hidden;
    background: var(--archive-surface);
    border: 1px solid rgba(202, 215, 225, .16);
    border-top: 2px solid rgba(211, 183, 127, .72);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.content-section.projects-section:not(.home-featured-projects) .project-card:hover,
.content-section.projects-section:not(.home-featured-projects) .project-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(211, 183, 127, .55);
    border-top-color: var(--archive-gold);
    box-shadow: 0 22px 42px rgba(0, 0, 0, .32);
}

.content-section.projects-section:not(.home-featured-projects) .project-card.is-filtered-out {
    display: none;
}

.content-section.projects-section:not(.home-featured-projects) .project-card > .project-card-media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #172a3d;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.content-section.projects-section:not(.home-featured-projects) .project-card:hover .project-card-media img {
    transform: scale(1.04);
}

.content-section.projects-section:not(.home-featured-projects) .project-card-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #d3b77f;
    background:
        radial-gradient(circle at 50% 48%, rgba(211, 183, 127, .11), transparent 24%),
        linear-gradient(145deg, #1a3045 0%, #112235 60%, #0d1d2e 100%);
}

.content-section.projects-section:not(.home-featured-projects) .project-card-fallback::before {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(211, 183, 127, .22);
    content: "";
    pointer-events: none;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-fallback::after {
    position: absolute;
    inset-inline-start: 50%;
    bottom: 24%;
    width: 34px;
    height: 1px;
    background: rgba(211, 183, 127, .72);
    content: "";
    transform: translateX(-50%);
}

.content-section.projects-section:not(.home-featured-projects) .project-card-fallback svg {
    z-index: 1;
    width: 46px;
    height: 46px;
    stroke-width: 1.35;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-badges {
    position: absolute;
    z-index: 2;
    top: 12px;
    inset-inline: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.content-section.projects-section:not(.home-featured-projects) .project-tag,
.content-section.projects-section:not(.home-featured-projects) .project-featured {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.25;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .24);
}

.content-section.projects-section:not(.home-featured-projects) .project-tag svg,
.content-section.projects-section:not(.home-featured-projects) .project-featured svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.content-section.projects-section:not(.home-featured-projects) .project-tag-completed {
    color: #f2fff8;
    background: #176444;
}

.content-section.projects-section:not(.home-featured-projects) .project-tag-active {
    color: #fff8e9;
    background: #87531f;
}

.content-section.projects-section:not(.home-featured-projects) .project-tag-planned {
    color: #f1f7fc;
    background: #36546e;
}

.content-section.projects-section:not(.home-featured-projects) .project-featured {
    color: #292213;
    background: #e0c58f;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 11px;
    padding: 17px 18px 19px;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-title {
    margin: 0;
    color: #f5f1e8;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.5;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-summary {
    margin: 0;
    color: #c4cdd5;
    font-size: .87rem;
    line-height: 1.8;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
    color: #d4dce2;
    font-size: .78rem;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 8px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(202, 215, 225, .13);
    border-radius: 3px;
    overflow-wrap: anywhere;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: var(--archive-gold);
}

.content-section.projects-section:not(.home-featured-projects) .project-progress {
    height: 6px;
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    overflow: hidden;
}

.content-section.projects-section:not(.home-featured-projects) .project-progress-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #a9884d, #e1c98f);
    border-radius: 999px;
}

.content-section.projects-section:not(.home-featured-projects) .project-progress-label {
    color: #d5dce2;
    font-size: .74rem;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    padding-top: 7px;
    color: #e2c98f;
    font-size: .86rem;
    font-weight: 800;
    transition: color .18s ease;
}

.content-section.projects-section:not(.home-featured-projects) .project-card:hover .project-card-link,
.content-section.projects-section:not(.home-featured-projects) .project-card:focus-within .project-card-link {
    color: #f4dfae;
}

.content-section.projects-section:not(.home-featured-projects) .project-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.content-section.projects-section:not(.home-featured-projects) .project-card:hover .project-card-link svg {
    transform: translateX(-3px);
}

.content-section.projects-section:not(.home-featured-projects) .projects-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 56px 24px;
    color: var(--archive-text);
    border: 1px solid var(--archive-line);
    text-align: center;
}

.content-section.projects-section:not(.home-featured-projects) .projects-empty svg {
    width: 44px;
    height: 44px;
    color: var(--archive-gold);
}

@media (max-width: 1024px) {
    .content-section.projects-section:not(.home-featured-projects) .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .content-section.projects-section:not(.home-featured-projects) .projects-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .content-section.projects-section:not(.home-featured-projects) .project-filters {
        width: 100%;
        justify-content: flex-start;
    }

    .content-section.projects-section:not(.home-featured-projects) .project-filter {
        flex: 0 1 auto;
    }

    .content-section.projects-section:not(.home-featured-projects) .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .content-section.projects-section:not(.home-featured-projects) .project-filter {
        padding-inline: 11px;
        font-size: .78rem;
    }

    .content-section.projects-section:not(.home-featured-projects) .project-card-body {
        padding-inline: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-section.projects-section:not(.home-featured-projects) .project-card,
    .content-section.projects-section:not(.home-featured-projects) .project-card-media img,
    .content-section.projects-section:not(.home-featured-projects) .project-filter,
    .content-section.projects-section:not(.home-featured-projects) .project-card-link svg {
        transition-duration: .01ms;
    }
}

/* Finishing package listings */
.package-card:focus-within {
    border-color: rgba(57, 125, 165, .52);
    box-shadow: 0 12px 32px rgba(26, 66, 96, .12);
}

.package-card-actions a:focus-visible {
    outline: 3px solid rgba(57, 125, 165, .45);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .package-inclusion-group,
    .package-additional,
    .package-linked-services {
        padding: 11px 12px;
    }

    .package-featured {
        inset-inline-start: 10px;
        top: 10px;
    }
}

/* Finishing package detail pages */
.package-detail-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 58px) 0;
    color: #173e5b;
    background:
        radial-gradient(ellipse at 82% 12%, rgba(126, 180, 215, .2), transparent 37%),
        linear-gradient(145deg, #f8fbfe 0%, #eaf3f9 55%, #f4f8fb 100%);
    border-bottom: 1px solid rgba(49, 95, 131, .12);
}

.package-detail-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, .24), transparent 48%);
}

.package-detail-hero > .container {
    position: relative;
    z-index: 1;
}

.package-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(26px, 5vw, 56px);
    align-items: center;
}

.package-detail-copy {
    min-width: 0;
}

.package-detail-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(49, 95, 131, .14);
}

.package-detail-hero .section-badge,
.package-detail-section .section-badge {
    color: #245a86;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(57, 125, 165, .2);
    box-shadow: 0 5px 18px rgba(24, 67, 99, .06);
}

.package-detail-topline .section-badge {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    min-height: 38px;
    margin: 0;
    padding: 8px 14px;
    border-inline-start: 3px solid #b49a62;
    border-radius: 10px;
    color: #173e5b;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
}

.package-back {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 11px;
    color: #285779;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(57, 125, 165, .18);
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.package-back:hover {
    color: #173e64;
    background: #fff;
    border-color: #8fb8d4;
    box-shadow: 0 5px 14px rgba(24, 67, 99, .08);
    transform: translateY(-1px);
}

.package-back i {
    width: 15px;
    height: 15px;
}

.package-back:focus-visible,
.package-detail-hero .btn:focus-visible,
.package-summary .btn:focus-visible {
    outline: 3px solid rgba(57, 125, 165, .45);
    outline-offset: 3px;
}

.package-detail-hero h1 {
    max-width: 680px;
    margin: 16px 0 12px;
    color: #173e5b;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.2;
    text-shadow: none;
    overflow-wrap: anywhere;
}

.package-detail-hero .package-detail-copy > p {
    max-width: 580px;
    margin: 0;
    color: #5a7286;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.9;
}

.package-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.package-detail-actions .btn {
    margin: 0;
}

.package-download-pdf {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    color: #245a86;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(57, 125, 165, .24);
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.package-download-pdf:hover {
    color: #173e5b;
    background: #fff;
    border-color: #8fb8d4;
    transform: translateY(-1px);
}

.package-download-pdf:focus-visible {
    outline: 3px solid rgba(57, 125, 165, .45);
    outline-offset: 3px;
}

.package-download-pdf i {
    width: 16px;
    height: 16px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0;
}

.package-price strong {
    color: #245a86;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.package-price span {
    color: #627d92;
    font-size: .85rem;
}

.package-detail-image {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(57, 125, 165, .2);
    border-radius: 20px;
    background: #eaf3f9;
    box-shadow: 0 22px 55px rgba(25, 69, 101, .16);
}

.package-detail-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.package-detail-image:hover img {
    transform: scale(1.025);
}

.package-detail-image .package-media-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 260px;
    place-items: center;
    color: #397da5;
    background: radial-gradient(circle at 50% 35%, #fff, #e5f1f8 74%);
}

.package-detail-image .package-media-fallback svg {
    width: 54px;
    height: 54px;
    stroke-width: 1.35;
}

.package-detail-section {
    position: relative;
    padding: clamp(44px, 7vw, 76px) 0;
    background: linear-gradient(180deg, #f8fbfe 0%, #eff6fb 100%);
}

.package-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: clamp(24px, 4vw, 46px);
    align-items: start;
}

.package-detail-main {
    min-width: 0;
}

.package-detail-content h2 {
    margin: 14px 0 22px;
    color: #193a56;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -.02em;
    line-height: 1.35;
}

.package-detail-sections {
    counter-reset: package-section;
}

.package-detail-block {
    min-width: 0;
    margin: 0 0 16px;
    padding: clamp(14px, 2vw, 20px);
    border: 1px solid rgba(49, 95, 131, .13);
    border-radius: 15px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 9px 26px rgba(26, 66, 96, .045);
}

.package-detail-block:not(.package-payment-terms) {
    counter-increment: package-section;
}

.package-detail-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #245a86;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.package-detail-block h3::before {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    content: counter(package-section, decimal-leading-zero);
    place-items: center;
    color: #fff;
    border-radius: 9px;
    background: linear-gradient(145deg, #397da5, #245a86);
    box-shadow: 0 5px 12px rgba(36, 90, 134, .18);
    font-size: 11px;
    line-height: 1;
}

.package-payment-terms h3::before {
    display: none;
}

.package-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: package-item;
}

.package-includes li {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    color: #294c65;
    border: 1px solid rgba(49, 95, 131, .13);
    border-radius: 11px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 3px 9px rgba(24, 67, 99, .035);
    font-size: .82rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    counter-increment: package-item;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.package-includes li:hover {
    border-color: rgba(57, 125, 165, .38);
    box-shadow: 0 7px 16px rgba(24, 67, 99, .08);
}

.package-includes li::before {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    content: counter(package-item);
    place-items: center;
    color: #245a86;
    border-radius: 50%;
    background: #eaf3f9;
    font-size: 10px;
    font-weight: 800;
}

.package-includes li i {
    display: none;
}

.package-includes li span {
    min-width: 0;
}

.package-detail-empty {
    margin: 0;
    padding: 16px;
    color: #536d81;
    border: 1px solid rgba(49, 95, 131, .15);
    border-radius: 11px;
    background: #fff;
    line-height: 1.7;
}

.package-summary {
    position: sticky;
    top: 110px;
    align-self: start;
    padding: 23px;
    border: 1px solid rgba(49, 95, 131, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 40px rgba(24, 67, 99, .1);
}

.package-summary > span,
.package-summary-supervision > span {
    color: #60798d;
    font-size: .8rem;
    font-weight: 700;
}

.package-summary > strong {
    display: block;
    margin: 8px 0;
    color: #245a86;
    font-size: clamp(2.4rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
}

.package-summary > p,
.package-summary-supervision p {
    margin: 0;
    color: #60798d;
    font-size: .8rem;
    line-height: 1.8;
}

.package-summary-supervision {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid rgba(49, 95, 131, .14);
}

.package-summary-supervision strong {
    display: block;
    margin: 6px 0;
    color: #397da5;
    font-size: 1.5rem;
}

.package-summary .btn {
    display: flex;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin-top: 17px;
    border-radius: 10px;
}

html[dir="rtl"] .package-detail-copy {
    text-align: right;
}

html[dir="rtl"] .package-detail-topline,
html[dir="rtl"] .package-price {
    direction: rtl;
}

html[dir="ltr"] .package-detail-copy {
    text-align: left;
}

html[dir="ltr"] .package-detail-topline,
html[dir="ltr"] .package-price {
    direction: ltr;
}

@media (max-width: 850px) {
    .package-detail-grid,
    .package-detail-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .package-detail-grid {
        gap: clamp(20px, 4vw, 32px);
    }

    .package-detail-image {
        max-height: 390px;
    }

    .package-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .package-detail-hero {
        padding: 30px 0 34px;
    }

    .package-detail-topline {
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 10px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .package-detail-topline .section-badge {
        min-height: 36px;
        padding: 7px 11px;
        font-size: .75rem;
    }

    .package-back {
        gap: 6px;
        min-height: 36px;
        padding: 6px 9px;
        font-size: .7rem;
    }

    .package-detail-image,
    .package-detail-image .package-media-fallback {
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 3;
        border-radius: 15px;
    }

    .package-detail-section {
        padding: 42px 0;
    }

    .package-includes {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .package-detail-image img,
    .package-back,
    .package-includes li {
        transition: none;
    }

    .package-back:hover {
        transform: none;
    }
}

/* Homepage featured work has a dedicated treatment; archive styles remain unchanged. */
.home-featured-projects {
    padding: clamp(54px, 6vw, 78px) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(77, 116, 145, .2), transparent 46%),
        linear-gradient(145deg, #17344e 0%, #10283e 68%, #183c59 100%);
    border-color: rgba(142, 188, 216, .2);
}

.home-featured-projects .section-header {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 34px;
    padding: 0;
}

.home-featured-projects .section-header .section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0 0 12px;
    padding: 7px 15px;
    color: #f2d896;
    background: rgba(180, 154, 98, .14);
    border: 1px solid rgba(228, 201, 133, .45);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .025em;
}

.home-featured-projects .section-header .section-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.35;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}

.home-featured-projects .section-header .section-title .text-gradient {
    color: #e4c985;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.home-featured-projects .section-header .section-title::after {
    width: 54px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #b49a62, #f0dda8);
}

.home-featured-projects .section-header .section-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: #e5edf3;
    font-size: clamp(.98rem, 1.4vw, 1.08rem);
    font-weight: 500;
    line-height: 1.85;
}

.home-featured-projects .projects-grid {
    display: grid;
    width: min(100%, 1080px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(18px, 2.2vw, 28px);
    margin-inline: auto;
}

.home-featured-projects .project-card {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(300px, 29vw, 370px);
    min-height: 300px;
    aspect-ratio: auto;
    overflow: hidden;
    color: #fff;
    background: #19344a;
    border: 1px solid rgba(233, 241, 247, .18);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(3, 16, 27, .23);
    isolation: isolate;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.home-featured-projects .project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 201, 133, .62);
    box-shadow: 0 24px 48px rgba(3, 16, 27, .32);
}

.home-featured-projects .home-project-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #1b3c55;
}

.home-featured-projects .home-project-media img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.home-featured-projects .project-card:hover .home-project-media img {
    transform: scale(1.045);
}

.home-featured-projects .home-project-media .project-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: rgba(240, 221, 168, .88);
    background:
        linear-gradient(135deg, transparent 48.8%, rgba(202, 220, 232, .055) 49%, rgba(202, 220, 232, .055) 50%, transparent 50.2%) 0 0 / 44px 44px,
        radial-gradient(ellipse at 68% 28%, rgba(119, 175, 213, .22), transparent 50%),
        linear-gradient(145deg, #274a62, #10283e);
}

.home-featured-projects .home-project-media .project-placeholder[hidden] {
    display: none !important;
}

.home-featured-projects .project-placeholder i {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    color: #ead49a;
    border: 1px solid rgba(234, 212, 154, .46);
    border-radius: 50%;
    background: rgba(9, 29, 45, .35);
    box-shadow: 0 10px 28px rgba(3, 16, 27, .2);
    font-size: 2rem;
}

.home-featured-projects .project-card .project-overlay {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    display: flex;
    min-height: 46%;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 56px 26px 24px;
    color: #fff;
    background: linear-gradient(180deg, rgba(7, 23, 36, 0) 0%, rgba(7, 23, 36, .76) 36%, rgba(7, 23, 36, .97) 100%);
}

.home-featured-projects .project-card:hover .project-overlay {
    background: linear-gradient(180deg, rgba(7, 23, 36, .04) 0%, rgba(7, 23, 36, .82) 36%, rgba(7, 23, 36, .98) 100%);
}

.home-featured-projects .project-card .project-tag {
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 5px 12px;
    color: #142c40;
    background: #e4c985;
    border: 1px solid rgba(255, 247, 221, .45);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.5;
}

.home-featured-projects .project-card .project-overlay h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(1.15rem, 1.8vw, 1.42rem);
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.home-featured-projects .project-card .project-location {
    display: block;
    color: #e5edf3;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.home-featured-projects .project-card .project-location i {
    margin-inline-end: 5px;
    color: #e4c985;
}

.home-featured-projects .project-card:focus-visible {
    outline: 3px solid #f0dda8;
    outline-offset: 4px;
}

.home-featured-projects .projects-grid > .empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 22px;
    color: #e5edf3;
    border: 1px solid rgba(228, 201, 133, .25);
    border-radius: 14px;
    background: rgba(7, 23, 36, .35);
    text-align: center;
}

.home-featured-projects .projects-grid > .empty-state h3 {
    color: #fff;
}

.home-featured-projects .home-projects-cta {
    margin-top: 32px;
    text-align: center;
}

.home-featured-projects .home-projects-cta .btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    color: #142c40;
    background: #e4c985;
    border: 1px solid #f0dda8;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(4, 18, 30, .2);
    font-weight: 800;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.home-featured-projects .home-projects-cta .btn:hover {
    transform: translateY(-2px);
    background: #f0dda8;
    box-shadow: 0 14px 30px rgba(4, 18, 30, .28);
}

.home-featured-projects .home-projects-cta .btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 700px) {
    .home-featured-projects {
        padding: 50px 0 56px;
    }

    .home-featured-projects .section-header {
        margin-bottom: 26px;
    }

    .home-featured-projects .section-header .section-title {
        font-size: clamp(1.8rem, 8vw, 2.25rem);
    }

    .home-featured-projects .projects-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .home-featured-projects .project-card {
        height: 310px;
        min-height: 290px;
    }

    .home-featured-projects .project-card .project-overlay {
        min-height: 50%;
        padding: 52px 19px 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-featured-projects .project-card,
    .home-featured-projects .home-project-media img,
    .home-featured-projects .home-projects-cta .btn {
        transition: none;
    }

    .home-featured-projects .project-card:hover,
    .home-featured-projects .home-projects-cta .btn:hover {
        transform: none;
    }
}
