:root {
  --ink: #f7fbff;
  --paper: #ffffff;
  --night: #080b12;
  --night-2: #111827;
  --muted: #8b98aa;
  --text: #182233;
  --line: rgba(255, 255, 255, .14);
  --line-dark: #e4e9f0;
  --yellow: #ffd15c;
  --red: #ff4b3e;
  --cyan: #43d9ff;
  --blue: #0c66d6;
  --green: #39d98a;
  --bg: #f4f7fb;
  --radius: 22px;
  --shadow: 0 28px 70px rgba(8, 11, 18, .22);
  --shadow-soft: 0 18px 44px rgba(18, 30, 48, .12);
}

/* Blog page: premium editorial finish */
body:has(.blog-pro-grid) .blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: end;
    gap: 28px;
    width: min(1040px, calc(100% - 30px));
    margin-top: 28px;
    margin-bottom: 26px;
    padding: clamp(28px, 4.2vw, 46px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 184, 64, .16), transparent 24%),
        linear-gradient(135deg, #07111f 0%, #142132 56%, #253140 100%);
    box-shadow: 0 24px 50px rgba(7, 21, 37, .16);
    overflow: hidden;
}

body:has(.blog-pro-grid) .blog-hero::before {
    content: "";
    position: absolute;
    inset: auto 42px 28px auto;
    width: 140px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a1a, #238bc2);
    opacity: .75;
}

body:has(.blog-pro-grid) .blog-hero-copy {
    position: relative;
    z-index: 1;
}

body:has(.blog-pro-grid) .blog-hero .eyebrow {
    background: rgba(255, 184, 64, .1);
    color: #ffcf56;
}

body:has(.blog-pro-grid) .blog-hero h1 {
    max-width: 820px;
    margin: 16px 0 18px;
    color: #fff;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: .98;
    letter-spacing: 0;
}

body:has(.blog-pro-grid) .blog-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 750;
}

.blog-hero-panel {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.blog-hero-panel strong {
    display: block;
    color: #ffcf56;
    font-size: 42px;
    line-height: 1;
}

.blog-hero-panel span {
    display: block;
    margin-top: 6px;
    font-weight: 950;
}

.blog-hero-panel p {
    margin-top: 14px !important;
    color: rgba(255, 255, 255, .74) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

body:has(.blog-pro-grid) .blog-category-tabs {
    width: min(1040px, calc(100% - 30px));
    margin: 0 auto 28px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(18, 49, 77, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
    box-shadow: 0 16px 34px rgba(20, 26, 35, .08);
    overflow-x: auto;
    scrollbar-width: none;
}

body:has(.blog-pro-grid) .blog-category-tabs::-webkit-scrollbar {
    display: none;
}

body:has(.blog-pro-grid) .blog-category-tabs a,
body:has(.blog-pro-grid) .blog-category-tabs span {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 12px 17px;
    background: #fff;
    color: #071525;
    font-size: 14px;
    font-weight: 950;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

body:has(.blog-pro-grid) .blog-category-tabs a:hover {
    transform: translateY(-2px);
    background: #eef8fc;
}

body:has(.blog-pro-grid) .blog-category-tabs a.active {
    background: linear-gradient(135deg, #ef342e, #ff7a1a);
    color: #fff;
    box-shadow: 0 12px 24px rgba(239, 52, 46, .18);
}

body:has(.blog-pro-grid) .blog-category-tabs span {
    color: #53647b;
}

.blog-pro-grid.page-posts {
    width: min(1040px, calc(100% - 30px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 0;
}

.blog-pro-grid .post-card {
    border: 1px solid rgba(18, 49, 77, .1) !important;
    border-radius: 18px !important;
    background: #fffdf8 !important;
    box-shadow: 0 18px 38px rgba(20, 26, 35, .1) !important;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-pro-grid .post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(35, 139, 194, .24) !important;
    box-shadow: 0 26px 46px rgba(20, 26, 35, .14) !important;
}

.blog-pro-grid .post-card a {
    display: grid;
    grid-template-rows: 190px 1fr;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-pro-grid .post-card img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 18px 18px 0 0 !important;
    background: #eaf3f8 !important;
    transition: transform .24s ease, filter .24s ease;
}

.blog-pro-grid .post-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.02);
}

.blog-pro-grid .post-card > a > div {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto auto;
    min-height: 300px;
    padding: 22px !important;
    background:
        radial-gradient(circle at 92% 0%, rgba(35, 139, 194, .08), transparent 30%),
        #fffdf8 !important;
}

.blog-pro-grid .post-category {
    width: fit-content;
    margin: 0 0 14px;
    border-radius: 999px;
    padding: 8px 11px !important;
    background: #ef342e !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-transform: none;
}

.blog-pro-grid .post-card h2 {
    display: -webkit-box;
    min-height: 84px;
    margin: 0 0 12px !important;
    overflow: hidden;
    color: #111834 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.2vw, 29px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-pro-grid .post-card p {
    display: -webkit-box;
    margin: 0 !important;
    overflow: hidden;
    color: #31425a !important;
    font-size: 16px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.blog-pro-grid .post-read-more {
    display: inline-flex !important;
    width: fit-content;
    margin: 18px 0 0 !important;
    border-top: 0 !important;
    border-radius: 999px;
    padding: 9px 13px !important;
    background: #fff;
    color: #ef342e !important;
    font-size: 14px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(239, 52, 46, .16);
}

.blog-pro-grid .post-card:hover .post-read-more {
    background: #ef342e;
    color: #fff !important;
}

.blog-pro-grid .post-card-stats {
    margin-top: 18px !important;
    padding-top: 14px !important;
}

body:has(.blog-pro-grid) .blog-pagination {
    margin-top: 28px;
    margin-bottom: 44px;
}

@media (max-width: 980px) {
    body:has(.blog-pro-grid) .blog-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .blog-hero-panel {
        max-width: 360px;
    }

    .blog-pro-grid.page-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body:has(.blog-pro-grid) .blog-hero,
    body:has(.blog-pro-grid) .blog-category-tabs,
    .blog-pro-grid.page-posts {
        width: calc(100% - 22px);
    }

    body:has(.blog-pro-grid) .blog-hero {
        margin-top: 18px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    body:has(.blog-pro-grid) .blog-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    body:has(.blog-pro-grid) .blog-hero p {
        font-size: 16px;
    }

    .blog-hero-panel {
        max-width: none;
        padding: 16px;
    }

    body:has(.blog-pro-grid) .blog-category-tabs {
        border-radius: 18px;
        justify-content: flex-start;
    }

    .blog-pro-grid.page-posts {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-pro-grid .post-card a {
        grid-template-rows: 188px 1fr;
    }

    .blog-pro-grid .post-card img {
        height: 188px !important;
    }

    .blog-pro-grid .post-card > a > div {
        min-height: auto;
        padding: 19px !important;
    }

    .blog-pro-grid .post-card h2 {
        min-height: auto;
        font-size: 27px !important;
    }
}

/* Smart fix finder */
.smart-fix-finder {
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
    gap: 18px;
    align-items: stretch;
    margin: 28px auto 34px;
    padding: 20px;
    border: 1px solid rgba(178, 216, 235, .75);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 12%, rgba(35, 139, 194, .18), transparent 28%),
        linear-gradient(135deg, #fff, #eef8fc);
    box-shadow: 0 18px 44px rgba(20, 40, 70, .08);
}

.fix-finder-copy {
    padding: 18px 14px;
}

.fix-finder-copy span,
.fix-result-card > span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 11px;
    background: #071525;
    color: #ffcf56;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fix-finder-copy h2 {
    max-width: 540px;
    margin: 12px 0 10px;
    color: #071525;
    font-size: clamp(34px, 4vw, 54px);
    line-height: .98;
}

.fix-finder-copy p {
    max-width: 620px;
    margin: 0;
    color: #40546d;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.55;
}

.fix-finder-box,
.fix-result-card {
    border: 1px solid rgba(7, 21, 37, .1);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 16px 34px rgba(20, 40, 70, .08);
}

.fix-finder-box {
    align-self: center;
}

.fix-finder-box label {
    display: block;
    margin-bottom: 9px;
    color: #071525;
    font-weight: 950;
}

.fix-finder-box div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.fix-finder-box input {
    min-height: 52px;
    border: 2px solid #c9deee;
    border-radius: 16px;
    padding: 0 15px;
    background: #fff;
    color: #071525;
    font: inherit;
    font-weight: 800;
}

.fix-finder-box input:focus {
    outline: 0;
    border-color: #238bc2;
    box-shadow: 0 0 0 4px rgba(35, 139, 194, .14);
}

.fix-finder-box button {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
    font: inherit;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(255, 122, 26, .22);
}

.fix-finder-box small {
    display: block;
    margin-top: 10px;
    color: #607086;
    font-weight: 750;
    line-height: 1.4;
}

.fix-result-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 22px;
    align-items: center;
    background:
        radial-gradient(circle at 94% 20%, rgba(255, 122, 26, .18), transparent 26%),
        linear-gradient(135deg, #071525, #10263d);
    color: #fff;
}

.fix-result-card[hidden] {
    display: none;
}

.fix-result-card h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.03;
}

.fix-result-card p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .78);
    font-weight: 750;
}

.fix-result-meta,
.fix-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fix-result-meta strong {
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .08);
}

.fix-result-meta small {
    display: block;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    text-transform: uppercase;
}

.fix-result-meta b {
    display: block;
    margin-top: 4px;
    color: #ffcf56;
    font-size: 20px;
}

.fix-result-actions {
    grid-column: 1 / -1;
}

@media (max-width: 860px) {
    .smart-fix-finder {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .fix-result-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .smart-fix-finder {
        width: calc(100% - 18px);
        border-radius: 18px;
    }

    .fix-finder-copy {
        padding: 8px 4px;
    }

    .fix-finder-copy h2 {
        font-size: 34px;
    }

    .fix-finder-box div {
        grid-template-columns: 1fr;
    }

    .fix-finder-box button,
    .fix-result-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Home reviews section */
.home-reviews {
    margin: 34px auto 42px;
}

.review-stars {
    color: #ffb833;
    letter-spacing: 1px;
}

.reviews-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin: 22px 0 18px;
    border: 1px solid rgba(35, 139, 194, .14);
    border-radius: 18px;
    padding: 20px 22px;
    background:
        radial-gradient(circle at 92% 0%, rgba(35, 139, 194, .12), transparent 28%),
        rgba(255, 255, 255, .76);
    box-shadow: 0 16px 34px rgba(21, 33, 49, .07);
}

.reviews-head h2 {
    max-width: 820px;
    margin: 0;
    color: #071525;
    font-size: clamp(26px, 2.35vw, 34px);
    line-height: 1.08;
}

.reviews-head p {
    max-width: 760px;
    margin: 8px 0 0;
    color: #53647a;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.review-card {
    min-height: 190px;
    border: 1px solid rgba(18, 49, 77, .08);
    border-radius: 16px;
    padding: 18px;
    background:
        radial-gradient(circle at 90% 0%, rgba(35, 139, 194, .08), transparent 28%),
        #fff;
    box-shadow: 0 14px 30px rgba(21, 33, 49, .08);
}

.review-person {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-person span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #071525, #238bc2);
    color: #fff;
    font-weight: 950;
}

.review-person strong {
    color: #071525;
    font-size: 15px;
}

.review-card p {
    margin: 10px 0 0;
    color: #33445b;
    font-size: 15px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .reviews-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .review-card {
        flex: 0 0 min(82vw, 320px);
        scroll-snap-align: start;
    }
}

@media (max-width: 760px) {
    .home-reviews {
        width: min(100% - 28px, 430px);
        margin-top: 26px;
    }

    .reviews-head {
        display: block;
        padding: 18px;
    }

    .reviews-head h2 {
        margin-top: 10px;
        font-size: 27px;
    }

    .reviews-head p {
        font-size: 15px;
    }
}

/* Blog feed: compact 3-column modern layout */
body:has(.blog-feed-list) .blog-feed-list .post-card a {
    grid-template-columns: 188px minmax(0, 1fr) 92px !important;
    gap: 18px !important;
    min-height: 126px !important;
    padding: 15px 18px 15px 15px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card img {
    width: 188px !important;
    height: 108px !important;
    border-radius: 13px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2,
body:has(.blog-feed-list) .blog-feed-list .post-card p {
    grid-column: 1 / 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    margin-bottom: 7px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    margin-bottom: 6px !important;
    font-size: clamp(19px, 1.75vw, 24px) !important;
    line-height: 1.1 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card p {
    max-width: none !important;
    font-size: 15px !important;
    line-height: 1.38 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    grid-column: 3 / 4 !important;
    grid-row: 1 / 2 !important;
    justify-items: center !important;
    align-content: center !important;
    gap: 7px !important;
    min-width: 86px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-read-more {
    padding: 7px 11px !important;
    font-size: 13px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-views,
body:has(.blog-feed-list) .blog-feed-list .post-favorite {
    min-height: 22px !important;
    font-size: 13px !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
        min-height: 132px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card img {
        width: 112px !important;
        height: 92px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        grid-template-columns: 1fr !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 10px !important;
    }
}

/* Blog feed: return to the cleaner previous row balance */
body:has(.blog-feed-list) .blog-feed-list .post-card a {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 24px !important;
    padding: 18px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 18px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2,
body:has(.blog-feed-list) .blog-feed-list .post-card p {
    grid-column: 1 / 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 4 !important;
    align-self: center !important;
    display: grid !important;
    justify-items: end !important;
    align-content: center !important;
    gap: 8px !important;
    min-width: 116px !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-read-more {
    background: #071525 !important;
    color: #fff !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        grid-template-columns: 1fr !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card h2,
    body:has(.blog-feed-list) .blog-feed-list .post-card p {
        grid-column: auto !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 10px !important;
    }
}

/* Radical refresh: bright premium local-service direction */
:root {
  --pro-ink: #162033;
  --pro-muted: #607086;
  --pro-bg: #f6f1e8;
  --pro-paper: #fffdf8;
  --pro-line: #e5dccd;
  --pro-orange: #ff7a1a;
  --pro-blue: #1357a6;
  --pro-green: #1b7f64;
  --pro-shadow: 0 18px 50px rgba(31, 45, 61, .12);
}

body {
  background: var(--pro-bg);
  color: var(--pro-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(22, 32, 51, .08);
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(16px);
}

.header-wrap {
  min-height: 74px;
}

.logo-badge {
  color: var(--pro-ink);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pro-orange);
  color: #111;
  box-shadow: 0 12px 26px rgba(255, 122, 26, .25);
}

.logo-text em,
.footer-logo span {
  color: var(--pro-orange);
}

.main-nav a {
  color: var(--pro-muted);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(19, 87, 166, .09);
  color: var(--pro-blue);
}

.main-nav .nav-cta,
.main-nav .nav-cta.active,
.main-nav .nav-cta:hover {
  background: var(--pro-ink);
  color: #fff;
}

.menu-toggle {
  border-color: rgba(22, 32, 51, .12);
  background: #fff;
  color: var(--pro-ink);
}

.eyebrow {
  color: var(--pro-orange);
}

.btn-primary {
  background: var(--pro-orange);
  color: #18120c;
  box-shadow: 0 16px 30px rgba(255, 122, 26, .22);
}

.btn-ghost {
  border-color: rgba(22, 32, 51, .16);
  background: #fff;
  color: var(--pro-ink);
}

.home-hero {
  margin: 0;
  padding: 58px 0 54px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .96), rgba(255, 253, 248, .82)),
    #fffdf8;
  color: var(--pro-ink);
}

.home-hero::after {
  display: none;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 52px;
}

.home-hero h1 {
  max-width: 720px;
  color: var(--pro-ink);
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
}

.home-hero p,
.page-hero p,
.service-hero p,
.contact-hero p {
  max-width: 630px;
  color: var(--pro-muted);
  font-size: 20px;
}

.home-showcase {
  min-height: 420px;
  border: 1px solid var(--pro-line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(19, 87, 166, .08), transparent),
    #fff;
  box-shadow: var(--pro-shadow);
}

.showcase-visual {
  inset: 118px 28px 28px;
  border: 0;
  border-radius: 24px;
  background: url('../img/tools.svg') center/74% no-repeat, #f4f7fb;
  box-shadow: inset 0 0 0 1px #e5ebf2;
}

.showcase-card {
  width: 178px;
  border: 1px solid var(--pro-line);
  background: #fffdf8;
  color: var(--pro-ink);
  box-shadow: 0 14px 36px rgba(31, 45, 61, .12);
  backdrop-filter: none;
}

.showcase-card span {
  color: var(--pro-orange);
  font-size: 38px;
}

.showcase-card.main {
  top: 28px;
  left: 28px;
}

.showcase-card.floating {
  right: 28px;
  bottom: 28px;
}

.services-showcase {
  margin-top: 0;
  padding: 62px 0 70px;
  background: #f1e8da;
  color: var(--pro-ink);
}

.services-showcase .section-head h2,
.section-head h2 {
  color: var(--pro-ink);
  max-width: 760px;
  font-size: clamp(34px, 4vw, 54px);
}

.services-showcase .eyebrow {
  color: var(--pro-orange);
}

.service-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  grid-column: span 2;
  min-height: 245px;
  border: 1px solid rgba(22, 32, 51, .1);
  border-radius: 26px;
  padding: 24px;
  background: var(--pro-paper);
  color: var(--pro-ink);
  box-shadow: 0 14px 36px rgba(31, 45, 61, .1);
}

.service-card:nth-child(1),
.service-card:nth-child(6) {
  grid-column: span 3;
}

.service-card::before {
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--card-a), var(--card-b));
  opacity: 1;
}

.service-card::after {
  right: 18px;
  top: 18px;
  bottom: auto;
  width: 96px;
  height: 96px;
  background: var(--card-soft);
}

.service-index {
  color: var(--pro-muted);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.service-card strong {
  margin-top: 48px;
  color: var(--pro-ink);
  font-size: 29px;
}

.service-card small {
  color: var(--pro-muted);
  font-size: 16px;
}

.story-band {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .main-nav {
    background: rgba(255, 253, 248, .98);
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-showcase {
    min-height: 360px;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .home-hero {
    padding: 34px 0 44px;
  }

  .home-hero h1,
  .page-hero h1,
  .service-hero h1,
  .contact-hero h1,
  .article-head h1 {
    font-size: 40px;
  }

  .home-showcase {
    min-height: 320px;
  }

  .showcase-visual {
    inset: 104px 18px 18px;
  }

  .showcase-card {
    width: 146px;
  }

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

  .service-card {
    min-height: 210px;
  }
}

/* Blog cards final polish */
.home-blog {
  max-width: 1040px;
  margin: 26px auto 70px;
  padding: 0 24px;
}

.home-blog > h2 {
  position: relative;
  display: block;
  width: min(900px, 100%);
  margin: 0 auto 34px;
  padding: 16px 26px 18px;
  border: 1px solid #238bd0;
  border-radius: 10px;
  background: linear-gradient(180deg, #d9eef7 0%, #c8e2ef 100%);
  color: #2285c3;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.7vw, 46px);
  line-height: 1.08;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .62);
  box-shadow: 0 18px 34px rgba(18, 49, 77, .1);
}

.home-blog > h2::after {
  content: "";
  position: absolute;
  left: 96px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 17px solid #238bd0;
}

.home-blog .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
}

.home-blog .post-card {
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(18, 49, 77, .12);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 16px 30px rgba(21, 33, 49, .1);
  overflow: hidden;
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-blog .post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 51, 39, .34);
  box-shadow: 0 22px 38px rgba(21, 33, 49, .14);
}

.home-blog .post-card a {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-blog .post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  height: auto;
  object-fit: cover;
  background: #d8e7ef;
  border-radius: 10px 10px 0 0;
}

.home-blog .post-card div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 268px;
  padding: 25px 25px 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 122, 26, .08), transparent 32%),
    #fffdf8;
}

.home-blog .post-card h3,
.home-blog .post-card h2 {
  margin: 0 0 15px;
  color: #171c3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.13;
}

.home-blog .post-card p {
  margin: 0 0 18px;
  color: #111a32;
  font-size: 18px;
  line-height: 1.48;
}

.home-blog .post-card span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 49, 77, .15);
  color: #df2d24;
  font-weight: 900;
}

@media (max-width: 900px) {
  .home-blog .post-grid {
    grid-template-columns: 1fr;
  }

  .home-blog .post-card div {
    min-height: 0;
  }
}

/* Final blog card layout */
.home-blog {
  width: min(940px, calc(100% - 24px));
  margin-top: 42px;
  margin-bottom: 54px;
}

.home-blog > h2 {
  position: relative;
  margin: 0 auto 34px;
  border: 1px solid #1e8ac8;
  border-radius: 14px;
  padding: 20px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0)),
    #cfe3ee;
  color: #1d82c1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 10px 22px rgba(29, 130, 193, .12);
}

.home-blog > h2::after {
  content: "";
  position: absolute;
  left: 90px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 17px solid #1e8ac8;
}

.home-blog .post-grid,
.page-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-blog .post-card,
.page-posts .post-card {
  overflow: hidden;
  border: 1px solid #e6ded2;
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 14px 26px rgba(20, 26, 35, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-blog .post-card:hover,
.page-posts .post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 26, 35, .13);
}

.home-blog .post-card a,
.page-posts .post-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.home-blog .post-card img,
.page-posts .post-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.home-blog .post-card div,
.page-posts .post-card div {
  display: grid;
  padding: 24px 24px 22px;
}

.home-blog .post-card h3,
.home-blog .post-card h2,
.page-posts .post-card h2 {
  margin: 0 0 14px;
  color: #171b3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.25;
}

.home-blog .post-card p,
.page-posts .post-card p {
  margin: 0;
  color: #171b3a;
  font-size: 16.5px;
  line-height: 1.45;
}

.home-blog .post-card span,
.page-posts .post-card span {
  margin-top: 18px;
  border-top: 1px solid #d9d3ca;
  padding-top: 13px;
  color: #df342b;
  font-weight: 900;
  align-self: end;
}

@media (max-width: 720px) {
  .home-blog .post-grid,
  .page-posts {
    grid-template-columns: 1fr;
  }
}

/* Home poster style */
.site-header {
  border-top: 4px solid #1a86cf;
  background: #f3f0ec;
}

.header-wrap {
  width: min(980px, calc(100% - 24px));
  min-height: 64px;
  align-items: start;
}

.logo-badge {
  align-self: start;
  gap: 0;
  margin-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 9px 16px 12px;
  background: #df342b;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  box-shadow: 0 8px 18px rgba(223, 52, 43, .26);
}

.logo-mark {
  display: none;
}

.logo-text {
  font-size: inherit;
}

.logo-text em {
  color: #fff;
}

.main-nav {
  overflow: hidden;
  gap: 0;
  margin-left: auto;
  border-radius: 0 0 10px 10px;
}

.main-nav a {
  min-width: 185px;
  border-radius: 0;
  padding: 19px 24px;
  background: #2b85b9;
  color: #172033;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.main-nav a.active,
.main-nav a:hover {
  background: #df342b;
  color: #fff;
}

.main-nav .nav-cta {
  display: none;
}

.poster-home {
  width: min(980px, calc(100% - 24px));
  margin-top: 0;
}

.poster-hero {
  width: 100%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

.poster-services {
  width: min(940px, calc(100% - 24px));
  margin-top: 20px;
  margin-bottom: 34px;
}

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

.poster-services .service-card {
  min-height: 166px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 17px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(231, 53, 43, .2), rgba(231, 53, 43, .78)),
    var(--poster-img) center/cover no-repeat;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .14);
  color: #fff;
  text-align: center;
}

.poster-services .service-card::before,
.poster-services .service-card::after,
.poster-services .service-top,
.poster-services .service-card small {
  display: none;
}

.poster-services .service-card strong {
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-size: 23px;
  line-height: 1.22;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}

.poster-services .electric { --poster-img: url('../img/card-electric.svg'); }
.poster-services .air { --poster-img: url('../img/card-air.svg'); }
.poster-services .water { --poster-img: url('../img/card-water.svg'); }
.poster-services .web { --poster-img: url('../img/card-web.svg'); }
.poster-services .wifi { --poster-img: url('../img/card-wifi.svg'); }
.poster-services .clean { --poster-img: url('../img/card-clean.svg'); }

.story-band,
.section-head.split,
.post-grid.wrap {
  width: min(940px, calc(100% - 24px));
}

@media (max-width: 900px) {
  .header-wrap {
    align-items: center;
  }

  .logo-badge {
    border-radius: 8px;
    font-size: 22px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    flex-direction: column;
    border-radius: 12px;
  }

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

  .main-nav a {
    min-width: 0;
  }

  .main-nav .nav-cta {
    display: block;
  }
}

@media (max-width: 720px) {
  .poster-services .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Service story pages inspired by the original Isra style */
.service-story {
  max-width: 980px;
  margin-top: 28px;
  margin-bottom: 54px;
  color: #141a35;
  font-family: "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
}

.service-story-head {
  position: relative;
  margin-inline: auto;
  border: 1px solid #1786c8;
  border-radius: 9px;
  padding: 15px 24px 19px;
  background: #cfe3ee;
  text-align: center;
}

.service-story-head::after {
  content: "";
  position: absolute;
  left: 88px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 17px solid #1786c8;
}

.service-story h1 {
  margin: 0;
  color: #1984c8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1;
  font-weight: 900;
}

.service-story-intro {
  max-width: 860px;
  margin: 40px auto 24px;
  color: #171b3a;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.service-story-photo {
  max-width: 760px;
  margin: 0 auto 34px;
}

.service-story-photo img {
  width: 100%;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(20, 26, 53, .16);
}

.service-story-body {
  max-width: 920px;
  margin-inline: auto;
}

.service-story-body h2 {
  margin: 0 0 26px;
  color: #1984c8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-checks {
  display: grid;
  gap: 24px;
}

.service-checks p,
.service-story-close {
  margin: 0;
  color: #151936;
  font-size: 21px;
  line-height: 1.55;
}

.service-checks span {
  margin-right: 9px;
  color: #1984c8;
  font-size: 24px;
  font-weight: 900;
}

.service-checks strong,
.service-story-close strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.service-story-content {
  margin-top: 30px;
  font-size: 19px;
  line-height: 1.65;
}

.service-story-content,
.rich-content {
  font-family: Arial, Verdana, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

.service-story-close {
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.service-story-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 48px calc(50% - 50vw) 0;
  border-top: 1px solid #141a35;
  padding: 8px 16px 44px;
  text-align: center;
}

.service-story-cta strong {
  display: inline-flex;
  border-radius: 0 0 8px 8px;
  padding: 7px 28px 10px;
  background: #e3352b;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}

.service-story-cta span {
  color: #232743;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 900;
}

.service-story-cta a {
  display: inline-flex;
  border-radius: 999px;
  padding: 12px 22px;
  background: #1984c8;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 620px) {
  .service-story {
    margin-top: 18px;
  }

  .service-story-head {
    padding: 14px 16px 17px;
  }

  .service-story-intro,
  .service-checks p,
  .service-story-close {
    font-size: 18px;
  }

  .service-story-photo {
    margin-bottom: 28px;
  }

  .service-story-cta strong {
    font-size: 25px;
  }

  .service-story-cta span {
    font-size: 20px;
  }
}

/* Home rescue: clean poster layout, no noisy generated backgrounds */
body {
  background: #f3f0ea;
}

.site-header {
  border-top: 4px solid #1d8cd1;
  background: #f3f0ea;
}

.header-wrap,
.classic-home,
.poster-services,
.story-band,
.section-head.split,
.post-grid.wrap {
  width: min(980px, calc(100% - 24px));
}

.header-wrap {
  min-height: 66px;
  align-items: flex-start;
}

.logo-badge {
  align-self: flex-start;
  margin-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 9px 16px 12px;
  background: #df342b;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  box-shadow: 0 8px 18px rgba(223, 52, 43, .24);
}

.logo-mark {
  display: none;
}

.logo-text {
  font-size: inherit;
}

.logo-text em {
  color: #fff;
}

.main-nav {
  overflow: hidden;
  gap: 0;
  margin-left: auto;
  border-radius: 0 0 10px 10px;
}

.main-nav a {
  min-width: 185px;
  border-radius: 0;
  padding: 19px 24px;
  background: #2b85b9;
  color: #172033;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.main-nav a.active,
.main-nav a:hover {
  background: #df342b;
  color: #fff;
}

.main-nav .nav-cta {
  display: none;
}

.classic-home {
  margin-top: 0;
}

.home-cabecera {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 14px 28px rgba(20, 26, 35, .12);
}

.classic-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #d7d0c6;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .72)),
    #fff;
  box-shadow: 0 16px 34px rgba(20, 26, 35, .12);
}

.classic-copy {
  padding: 42px 34px;
}

.classic-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #071525;
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: .98;
  text-transform: uppercase;
}

.classic-copy p {
  max-width: 540px;
  margin: 18px 0 0;
  color: #101828;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
}

.classic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.classic-actions a,
.classic-actions strong {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 950;
}

.classic-actions a {
  background: #df342b;
  color: #fff;
}

.classic-actions strong {
  background: #082f49;
  color: #fff;
}

.classic-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: center;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(37, 197, 239, .25), transparent 42%),
    linear-gradient(180deg, #edf8ff, #ffffff);
}

.classic-panel span {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  color: #0b4f7a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
}

.classic-panel strong {
  grid-column: 1 / -1;
  display: block;
  border-radius: 12px;
  padding: 18px;
  background: #082f49;
  color: #fff;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.poster-services {
  margin-top: 22px;
  margin-bottom: 36px;
}

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

.poster-services .service-card,
.poster-services .service-card:nth-child(1),
.poster-services .service-card:nth-child(6) {
  grid-column: auto;
  min-height: 168px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 17px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(19, 48, 92, .1), rgba(222, 52, 43, .78)),
    var(--service-photo) center/cover no-repeat;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .14);
}

.poster-services .service-card::before,
.poster-services .service-card::after,
.poster-services .service-top,
.poster-services .service-card small {
  display: none;
}

.poster-services .service-card strong {
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-size: 23px;
  line-height: 1.22;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.poster-services .electric { --service-photo: url('../img/servicio-electricidad.jpg'); }
.poster-services .air { --service-photo: url('../img/servicio-ventilador.jpg'); }
.poster-services .water { --service-photo: url('../img/servicio-fontaneria.jpg'); }
.poster-services .web { --service-photo: url('../img/servicio-web.jpg'); }
.poster-services .wifi { --service-photo: url('../img/servicio-web.jpg'); }
.poster-services .clean { --service-photo: url('../img/servicio-vaciado.jpeg'); }

.home-contact-strip {
  width: min(940px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 34px;
  border-radius: 16px;
  padding: 24px 28px;
  background: #0b2f49;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

.home-contact-strip span {
  display: block;
  margin-bottom: 5px;
  color: #ffc857;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-contact-strip strong {
  display: block;
  max-width: 680px;
  font-size: 24px;
  line-height: 1.15;
}

.home-contact-strip a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 14px 20px;
  background: #df342b;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.about-isra {
  width: min(980px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 20px;
}

.about-isra figure {
  margin: 0;
}

.about-isra img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #69a9cf;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 26, 35, .16);
}

.about-isra article {
  border: 1px solid #1b5f88;
  border-radius: 8px;
  padding: 18px 22px;
  background: #cfe3ee;
  color: #171b3a;
  box-shadow: 0 8px 18px rgba(20, 26, 35, .16);
}

.about-isra h2 {
  margin: 0 0 10px;
  color: #1f2944;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.05;
}

.about-isra p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
}

.about-isra strong {
  color: #111735;
  font-weight: 950;
}

.story-band {
  width: min(980px, calc(100% - 24px));
  display: block;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid #e1d5c4;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(223, 52, 43, .08), rgba(43, 133, 185, .08)),
    #fffdf8;
  color: #111827;
  box-shadow: 0 16px 34px rgba(20, 26, 35, .11);
}

.story-copy {
  max-width: 850px;
  margin-inline: auto;
  padding: 42px 44px;
  background: transparent;
  text-align: center;
}

.story-copy h2 {
  margin: 12px 0 0;
  max-width: 760px;
  margin-inline: auto;
  color: #071525;
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.story-copy p {
  max-width: 720px;
  margin-inline: auto;
  color: #263244;
  font-size: 19px;
  line-height: 1.55;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.mini-stats span {
  border: 1px solid #e4d9c7;
  border-radius: 14px;
  padding: 16px;
  background: #f8f1e7;
  color: #263244;
}

.mini-stats strong {
  display: block;
  color: #df342b;
}

.story-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 26px;
  border-radius: 999px;
  padding: 13px 20px;
  background: #082f49;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 900px) {
  .header-wrap {
    align-items: center;
  }

  .logo-badge {
    border-radius: 8px;
    font-size: 22px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    flex-direction: column;
    border-radius: 12px;
  }

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

  .main-nav a {
    min-width: 0;
  }

  .main-nav .nav-cta {
    display: block;
  }

  .classic-hero {
    grid-template-columns: 1fr;
  }

  .story-band {
    display: block;
  }
}

@media (max-width: 720px) {
  .classic-copy,
  .classic-panel {
    padding: 24px;
  }

  .classic-copy h1 {
    font-size: 34px;
  }

  .classic-copy p {
    font-size: 20px;
  }

  .poster-services .service-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-strip {
    display: grid;
    text-align: center;
  }

  .about-isra {
    grid-template-columns: 1fr;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f9fc 0, #eef3f8 620px, #f7f9fc 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 11, 18, .88);
  backdrop-filter: blur(18px);
}

.header-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 950;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  color: #111;
  box-shadow: 0 12px 28px rgba(255, 75, 62, .35);
}

.logo-text {
  font-size: 23px;
  letter-spacing: 0;
}

.logo-text em,
.footer-logo span {
  color: var(--yellow);
  font-style: normal;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  border-radius: 999px;
  padding: 10px 15px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 850;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.main-nav .nav-cta {
  background: #fff;
  color: #10131b;
}

.main-nav .nav-cta.active,
.main-nav .nav-cta:hover {
  background: var(--yellow);
  color: #10131b;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 950;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #ffad3d);
  color: #15110a;
  box-shadow: 0 18px 32px rgba(255, 177, 62, .25);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.btn-light {
  background: #fff;
  color: #10131b;
}

.home-hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 66px 0 54px;
  background:
    linear-gradient(115deg, rgba(8, 11, 18, .98) 0 48%, rgba(17, 24, 39, .94)),
    #080b12;
  color: #fff;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(67, 217, 255, .08));
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 42px;
  align-items: center;
}

.home-hero h1,
.page-hero h1,
.service-hero h1,
.contact-hero h1,
.article-head h1 {
  margin: 14px 0 0;
  letter-spacing: 0;
  line-height: .94;
  font-weight: 950;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
}

.home-hero p,
.page-hero p,
.service-hero p,
.contact-hero p {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 19px;
  font-weight: 600;
}

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

.home-showcase {
  position: relative;
  min-height: 430px;
}

.showcase-visual {
  position: absolute;
  inset: 56px 0 26px 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    url('../img/tools.svg') center/70% no-repeat;
  box-shadow: var(--shadow);
}

.showcase-card {
  position: absolute;
  z-index: 2;
  width: 165px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .24);
}

.showcase-card span {
  display: block;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.showcase-card strong {
  display: block;
  margin-top: 8px;
}

.showcase-card.main { top: 0; left: 0; }
.showcase-card.floating { right: 0; bottom: 54px; }

.section-head {
  margin-top: 64px;
  margin-bottom: 26px;
}

.section-head h2 {
  max-width: 720px;
  margin: 12px 0 0;
  color: #111827;
  font-size: clamp(31px, 3.4vw, 46px);
  line-height: 1.08;
}

.services-showcase {
  margin-top: 64px;
  padding: 58px 0 64px;
  background:
    linear-gradient(135deg, rgba(255, 209, 92, .08), transparent 34%),
    linear-gradient(180deg, #0b111c, #111827);
  color: #fff;
}

.services-showcase .section-head {
  margin-top: 0;
}

.services-showcase .section-head h2 {
  color: #fff;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.text-link {
  color: var(--blue);
  font-weight: 950;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)),
    linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)),
    #121a28;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--card-a), transparent 44%);
  opacity: .28;
}

.service-card:hover {
  border-color: rgba(18, 30, 48, .18);
  transform: translateY(-6px);
  box-shadow: 0 26px 62px rgba(15, 23, 42, .13);
}

.service-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--card-soft);
  pointer-events: none;
}

.service-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: rgba(255, 255, 255, .54);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 950;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--card-a), var(--card-b));
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 16px 34px var(--card-glow);
}

.service-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 42px;
  max-width: 92%;
  color: #fff;
  font-size: 26px;
  line-height: 1.05;
}

.service-card small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 92%;
  margin-top: 14px;
  color: rgba(255, 255, 255, .72);
  font-size: 15.5px;
  line-height: 1.55;
}

.electric { --card-a: #0b63ce; --card-b: #111827; --card-soft: rgba(11, 99, 206, .12); --card-glow: rgba(11, 99, 206, .24); }
.air { --card-a: #0f766e; --card-b: #10233a; --card-soft: rgba(15, 118, 110, .12); --card-glow: rgba(15, 118, 110, .22); }
.water { --card-a: #0284c7; --card-b: #0f172a; --card-soft: rgba(2, 132, 199, .12); --card-glow: rgba(2, 132, 199, .22); }
.web { --card-a: #b45309; --card-b: #111827; --card-soft: rgba(180, 83, 9, .13); --card-glow: rgba(180, 83, 9, .22); }
.wifi { --card-a: #4f46e5; --card-b: #10233a; --card-soft: rgba(79, 70, 229, .12); --card-glow: rgba(79, 70, 229, .23); }
.clean { --card-a: #166534; --card-b: #111827; --card-soft: rgba(22, 101, 52, .13); --card-glow: rgba(22, 101, 52, .22); }

.story-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  margin-top: 68px;
  border: 1px solid rgba(18, 30, 48, .1);
  border-radius: 32px;
  background: #111827;
  color: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .16);
}

.story-image {
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(8, 11, 18, .08), rgba(8, 11, 18, .55)),
    url('../img/about-tech.svg') center/cover no-repeat;
}

.story-copy {
  padding: 56px;
}

.story-copy h2 {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.story-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, .74);
  font-size: 19px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.mini-stats span {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: rgba(255, 255, 255, .72);
}

.mini-stats strong {
  display: block;
  color: var(--yellow);
}

.post-grid,
.cards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card,
.info-card,
.contact-form,
.contact-card,
.rich-content {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.post-card {
  overflow: hidden;
}

.post-card a {
  display: grid;
  height: 100%;
}

.post-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eaf0f6;
}

.post-card div {
  padding: 24px;
}

.post-card h2,
.post-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
}

.post-card p {
  color: #637083;
}

.post-card span,
.info-card a {
  color: var(--blue);
  font-weight: 950;
}

.page-hero,
.service-hero,
.contact-hero,
.article-head {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 34px;
  padding: 62px;
  background:
    linear-gradient(120deg, rgba(8, 11, 18, .95), rgba(17, 24, 39, .84)),
    url('../img/hero-pattern.svg') center/cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.page-hero h1,
.service-hero h1,
.contact-hero h1,
.article-head h1 {
  max-width: 860px;
  font-size: clamp(42px, 6vw, 78px);
}

.cards-list {
  margin-top: 28px;
}

.info-card {
  padding: 30px;
  transition: transform .22s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #10131b;
  color: var(--yellow);
  font-size: 26px;
  font-weight: 950;
}

.info-card h2 {
  margin: 22px 0 10px;
  font-size: 28px;
  line-height: 1.08;
}

.info-card p {
  color: #637083;
}

.service-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
}

.service-orbit {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  background: rgba(255, 255, 255, .08);
}

.service-orbit span {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 64px;
  font-weight: 950;
}

.electric-service {
  background:
    linear-gradient(120deg, rgba(12, 12, 10, .94), rgba(57, 43, 9, .82)),
    url('../img/card-electric.svg') center/cover no-repeat;
}

.electric-strip {
  margin-top: 24px;
  background: #10131b;
  color: #fff;
}

.electric-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.electric-strip-grid span {
  display: grid;
  place-items: center;
  min-height: 82px;
  border-left: 1px solid var(--line);
  color: var(--yellow);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.electric-strip-grid span:last-child {
  border-right: 1px solid var(--line);
}

.content-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  margin-block: 30px;
}

.rich-content {
  padding: 34px;
  font-size: 18px;
  line-height: 1.75;
}

.rich-content img {
  height: auto;
  border-radius: 18px;
}

.side-cta {
  position: sticky;
  top: 102px;
  height: max-content;
  border-radius: var(--radius);
  padding: 28px;
  background: #10131b;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.side-cta strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.1;
}

.side-cta p {
  color: rgba(255, 255, 255, .72);
}

.side-cta a {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--yellow);
  color: #111;
  font-weight: 950;
}

.electric-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 46px;
}

.electric-feature-grid article {
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.electric-feature-grid span {
  color: var(--red);
  font-weight: 950;
}

.electric-feature-grid h2 {
  margin: 32px 0 8px;
  font-size: 27px;
  line-height: 1.1;
}

.electric-feature-grid p {
  margin: 0;
  color: #637083;
}

.article-page {
  margin-top: 28px;
}

.article-cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 28px;
  margin-top: 26px;
  box-shadow: var(--shadow-soft);
}

.article-content {
  margin-top: 26px;
}

.contact-hero {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.contact-signal {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  background: rgba(255, 255, 255, .08);
}

.contact-signal span {
  color: rgba(255, 255, 255, .7);
  font-weight: 800;
}

.contact-signal strong {
  display: block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 32px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  margin-block: 30px;
}

.contact-form,
.contact-card {
  padding: 32px;
}

label {
  display: block;
  margin-bottom: 15px;
  color: #263244;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d5dde8;
  border-radius: 16px;
  padding: 14px 15px;
  background: #f8fafc;
  color: #172033;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(12, 102, 214, .12);
}

button {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  background: #10131b;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

button:disabled {
  opacity: .72;
  cursor: wait;
}

.alert {
  margin-bottom: 16px;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 900;
}

.alert.ok { background: #e7f9ef; color: #126332; }
.alert.error { background: #ffe8e5; color: #9f221b; }
.hp { position: absolute; left: -9999px; }

.contact-card {
  background: #10131b;
  color: #fff;
}

.contact-card a {
  display: block;
  margin-top: 18px;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 950;
}

.contact-card p {
  color: rgba(255, 255, 255, .72);
}

.contact-steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-steps span {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: rgba(255, 255, 255, .82);
  font-weight: 850;
}

.site-footer {
  overflow: hidden;
  margin-top: 64px;
  padding: 0 0 30px;
  background: #080b12;
  color: #fff;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}

.footer-cta h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

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

.footer-logo {
  font-size: 25px;
  font-weight: 950;
}

.footer-contact {
  display: grid;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.footer-contact a {
  color: #fff;
  font-weight: 950;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-inline: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 950;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 10px;
    background: rgba(8, 11, 18, .97);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    text-align: center;
  }

  .home-hero-grid,
  .story-band,
  .service-hero,
  .contact-hero,
  .content-page,
  .contact-layout,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .home-showcase {
    min-height: 380px;
  }

  .service-grid,
  .post-grid,
  .cards-list,
  .electric-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-orbit {
    max-width: 340px;
  }

  .side-cta {
    position: static;
  }

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

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

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .logo-text {
    font-size: 20px;
  }

  .home-hero {
    padding-top: 42px;
  }

  .home-hero h1,
  .page-hero h1,
  .service-hero h1,
  .contact-hero h1,
  .article-head h1 {
    font-size: 42px;
  }

  .home-hero p,
  .page-hero p,
  .service-hero p,
  .contact-hero p {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-showcase {
    min-height: 310px;
  }

  .showcase-visual {
    inset: 40px 0 0 0;
  }

  .showcase-card {
    width: 150px;
    padding: 16px;
  }

  .showcase-card span {
    font-size: 34px;
  }

  .section-head.split {
    display: block;
  }

  .service-grid,
  .post-grid,
  .cards-list,
  .mini-stats,
  .electric-feature-grid,
  .electric-strip-grid {
    grid-template-columns: 1fr;
  }

  .story-copy,
  .page-hero,
  .service-hero,
  .contact-hero,
  .article-head,
  .contact-form,
  .contact-card,
  .rich-content {
    padding: 26px;
  }

  .story-image {
    min-height: 280px;
  }

  .service-card {
    min-height: 220px;
  }

  .service-card strong {
    margin-top: 62px;
  }

  .post-card img {
    height: 200px;
  }

  .footer-cta {
    padding: 34px 0;
  }
}

/* Blog polish final override */
.home-blog {
  width: min(940px, calc(100% - 24px));
  margin-top: 42px;
  margin-bottom: 54px;
}

.home-blog > h2 {
  position: relative;
  margin: 0 auto 34px;
  border: 1px solid #1e8ac8;
  border-radius: 14px;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0)), #cfe3ee;
  color: #1d82c1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 10px 22px rgba(29, 130, 193, .12);
}

.home-blog > h2::after {
  content: "";
  position: absolute;
  left: 90px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 17px solid #1e8ac8;
}

.home-blog .post-grid,
.page-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-blog .post-card,
.page-posts .post-card {
  overflow: hidden;
  border: 1px solid #e6ded2;
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 14px 26px rgba(20, 26, 35, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-blog .post-card:hover,
.page-posts .post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 26, 35, .13);
}

.home-blog .post-card a,
.page-posts .post-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.home-blog .post-card img,
.page-posts .post-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.home-blog .post-card div,
.page-posts .post-card div {
  display: grid;
  padding: 24px 24px 22px;
}

.home-blog .post-card h3,
.home-blog .post-card h2,
.page-posts .post-card h2 {
  margin: 0 0 14px;
  color: #171b3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.25;
}

.home-blog .post-card p,
.page-posts .post-card p {
  margin: 0;
  color: #171b3a;
  font-size: 16.5px;
  line-height: 1.45;
}

.home-blog .post-card span,
.page-posts .post-card span {
  align-self: end;
  margin-top: 18px;
  border-top: 1px solid #d9d3ca;
  padding-top: 13px;
  color: #df342b;
  font-weight: 900;
}

@media (max-width: 720px) {
  .home-blog .post-grid,
  .page-posts {
    grid-template-columns: 1fr;
  }
}

/* Final blog card layout - last override */
.home-blog {
  width: min(940px, calc(100% - 24px));
  margin-top: 34px;
  margin-bottom: 44px;
}

.home-blog > h2 {
  position: relative;
  margin: 0 auto 30px;
  border: 1px solid #1e8ac8;
  border-radius: 8px;
  padding: 18px 24px;
  background: #cfe3ee;
  color: #1d82c1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.05;
  text-align: center;
}

.home-blog > h2::after {
  content: "";
  position: absolute;
  left: 90px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 17px solid #1e8ac8;
}

.home-blog .post-grid,
.page-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.home-blog .post-card,
.page-posts .post-card {
  overflow: hidden;
  border: 1px solid #e4ddd2;
  border-radius: 0;
  background: #fffdf8;
  box-shadow: none;
}

.home-blog .post-card a,
.page-posts .post-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.home-blog .post-card img,
.page-posts .post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.home-blog .post-card div,
.page-posts .post-card div {
  display: grid;
  padding: 24px;
}

.home-blog .post-card h3,
.home-blog .post-card h2,
.page-posts .post-card h2 {
  margin: 0 0 14px;
  color: #171b3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.25;
}

.home-blog .post-card p,
.page-posts .post-card p {
  margin: 0;
  color: #171b3a;
  font-size: 17px;
  line-height: 1.45;
}

.home-blog .post-card span,
.page-posts .post-card span {
  margin-top: 18px;
  border-top: 1px solid #d9d3ca;
  padding-top: 13px;
  color: #df342b;
  font-weight: 900;
}

@media (max-width: 720px) {
  .home-blog .post-grid,
  .page-posts {
    grid-template-columns: 1fr;
  }
}

/* Final visual override: bright premium local-service direction */
:root {
  --pro-ink: #162033;
  --pro-muted: #607086;
  --pro-bg: #f6f1e8;
  --pro-paper: #fffdf8;
  --pro-line: #e5dccd;
  --pro-orange: #ff7a1a;
  --pro-blue: #1357a6;
  --pro-shadow: 0 18px 50px rgba(31, 45, 61, .12);
}

body {
  background: var(--pro-bg);
  color: var(--pro-ink);
}

.site-header {
  border-bottom: 1px solid rgba(22, 32, 51, .08);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(16px);
}

.logo-badge,
.main-nav .nav-cta:hover {
  color: var(--pro-ink);
}

.logo-mark {
  background: var(--pro-orange);
  box-shadow: 0 12px 26px rgba(255, 122, 26, .25);
}

.logo-text em,
.footer-logo span {
  color: var(--pro-orange);
}

.main-nav a {
  color: var(--pro-muted);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(19, 87, 166, .09);
  color: var(--pro-blue);
}

.main-nav .nav-cta,
.main-nav .nav-cta.active {
  background: var(--pro-ink);
  color: #fff;
}

.menu-toggle {
  border-color: rgba(22, 32, 51, .12);
  background: #fff;
  color: var(--pro-ink);
}

.eyebrow {
  color: var(--pro-orange);
}

.btn-primary {
  background: var(--pro-orange);
  color: #18120c;
  box-shadow: 0 16px 30px rgba(255, 122, 26, .22);
}

.btn-ghost {
  border-color: rgba(22, 32, 51, .16);
  background: #fff;
  color: var(--pro-ink);
}

.home-hero {
  margin: 0;
  padding: 58px 0 54px;
  background: #fffdf8;
  color: var(--pro-ink);
}

.home-hero::after {
  display: none;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 52px;
}

.home-hero h1 {
  max-width: 720px;
  color: var(--pro-ink);
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
}

.home-hero p,
.page-hero p,
.service-hero p,
.contact-hero p {
  max-width: 630px;
  color: var(--pro-muted);
  font-size: 20px;
}

.home-showcase {
  min-height: 420px;
  border: 1px solid var(--pro-line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(19, 87, 166, .08), transparent), #fff;
  box-shadow: var(--pro-shadow);
}

.showcase-visual {
  inset: 118px 28px 28px;
  border: 0;
  border-radius: 24px;
  background: url('../img/tools.svg') center/74% no-repeat, #f4f7fb;
  box-shadow: inset 0 0 0 1px #e5ebf2;
}

.showcase-card {
  width: 178px;
  border: 1px solid var(--pro-line);
  background: #fffdf8;
  color: var(--pro-ink);
  box-shadow: 0 14px 36px rgba(31, 45, 61, .12);
  backdrop-filter: none;
}

.showcase-card span {
  color: var(--pro-orange);
  font-size: 38px;
}

.showcase-card.main {
  top: 28px;
  left: 28px;
}

.showcase-card.floating {
  right: 28px;
  bottom: 28px;
}

.services-showcase {
  margin-top: 0;
  padding: 62px 0 70px;
  background: #f1e8da;
  color: var(--pro-ink);
}

.services-showcase .section-head {
  margin-top: 0;
}

.services-showcase .section-head h2,
.section-head h2 {
  color: var(--pro-ink);
  max-width: 760px;
  font-size: clamp(34px, 4vw, 54px);
}

.service-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  grid-column: span 2;
  min-height: 245px;
  border: 1px solid rgba(22, 32, 51, .1);
  border-radius: 26px;
  padding: 24px;
  background: var(--pro-paper);
  color: var(--pro-ink);
  box-shadow: 0 14px 36px rgba(31, 45, 61, .1);
}

.service-card:nth-child(1),
.service-card:nth-child(6) {
  grid-column: span 3;
}

.service-card::before {
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--card-a), var(--card-b));
  opacity: 1;
}

.service-card::after {
  right: 18px;
  top: 18px;
  bottom: auto;
  width: 96px;
  height: 96px;
  background: var(--card-soft);
}

.service-index {
  color: var(--pro-muted);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.service-card strong {
  margin-top: 48px;
  color: var(--pro-ink);
  font-size: 29px;
}

.service-card small {
  color: var(--pro-muted);
  font-size: 16px;
}

.story-band {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .main-nav {
    background: rgba(255, 253, 248, .98);
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-showcase {
    min-height: 360px;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .home-hero {
    padding: 34px 0 44px;
  }

  .home-hero h1,
  .page-hero h1,
  .service-hero h1,
  .contact-hero h1,
  .article-head h1 {
    font-size: 40px;
  }

  .home-showcase {
    min-height: 320px;
  }

  .showcase-visual {
    inset: 104px 18px 18px;
  }

  .showcase-card {
    width: 146px;
  }

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

  .service-card {
    min-height: 210px;
  }
}

/* Absolute final blog polish */
.home-blog {
  max-width: 1040px;
  width: min(1040px, calc(100% - 40px));
  margin: 30px auto 70px;
  padding: 0;
}

.home-blog > h2 {
  position: relative;
  display: block;
  width: min(900px, 100%);
  margin: 0 auto 34px;
  padding: 16px 26px 18px;
  border: 1px solid #238bd0;
  border-radius: 10px;
  background: linear-gradient(180deg, #d9eef7 0%, #c8e2ef 100%);
  color: #2285c3;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.7vw, 46px);
  line-height: 1.08;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .62);
  box-shadow: 0 18px 34px rgba(18, 49, 77, .1);
}

.home-blog > h2::after {
  content: "";
  position: absolute;
  left: 96px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 17px solid #238bd0;
}

.home-blog .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
}

.home-blog .post-card {
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(18, 49, 77, .12);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 16px 30px rgba(21, 33, 49, .1);
  overflow: hidden;
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-blog .post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 51, 39, .34);
  box-shadow: 0 22px 38px rgba(21, 33, 49, .14);
}

.home-blog .post-card a {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-blog .post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  height: auto;
  object-fit: cover;
  background: #d8e7ef;
  border-radius: 10px 10px 0 0;
}

.home-blog .post-card div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 268px;
  padding: 25px 25px 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 122, 26, .08), transparent 32%),
    #fffdf8;
}

.home-blog .post-card h3,
.home-blog .post-card h2 {
  margin: 0 0 15px;
  color: #171c3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.13;
}

.home-blog .post-card p {
  margin: 0 0 18px;
  color: #111a32;
  font-size: 18px;
  line-height: 1.48;
}

.home-blog .post-card span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 49, 77, .15);
  color: #df2d24;
  font-weight: 900;
}

@media (max-width: 900px) {
  .home-blog {
    width: min(100% - 28px, 520px);
  }

  .home-blog .post-grid {
    grid-template-columns: 1fr;
  }

  .home-blog .post-card div {
    min-height: 0;
  }
}

/* Blog article final layout */
.article-page {
  width: min(860px, calc(100% - 36px));
  margin: 34px auto 72px;
}

.article-page .article-head {
  margin: 0 0 18px;
  padding: 28px 34px 30px;
  border: 1px solid rgba(35, 139, 208, .28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.96)),
    #d7edf7;
  color: #111a32;
  box-shadow: 0 14px 30px rgba(21, 33, 49, .08);
}

.article-page .article-head .eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 12px;
  background: #e3342a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}

.article-page .article-head h1 {
  max-width: 760px;
  margin: 0;
  color: #111a32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  text-shadow: none;
}

.article-page .article-cover {
  display: block;
  width: 100%;
  max-height: 360px;
  margin: 18px 0 20px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 32px rgba(21, 33, 49, .13);
}

.article-page .article-content {
  margin-top: 0;
  border: 1px solid rgba(18, 49, 77, .1);
  border-radius: 14px;
  padding: 34px 36px;
  background: #fffdf8;
  color: #111a32;
  box-shadow: 0 14px 30px rgba(21, 33, 49, .07);
  font-size: 19px;
  line-height: 1.72;
}

.article-page .article-content p {
  margin: 0 0 18px;
}

.article-page .article-content h2,
.article-page .article-content h3 {
  margin: 28px 0 12px;
  color: #171c3d;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
}

.article-page .article-content img {
  max-width: 100%;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .article-page {
    width: min(100% - 24px, 520px);
    margin-top: 22px;
  }

  .article-page .article-head {
    padding: 22px;
  }

  .article-page .article-head h1 {
    font-size: 34px;
  }

  .article-page .article-cover {
    max-height: 260px;
  }

  .article-page .article-content {
    padding: 24px 22px;
    font-size: 17px;
  }
}

/* Footer final polish */
.site-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(35, 139, 208, .18), transparent 28%),
    linear-gradient(135deg, #070b13 0%, #101827 58%, #07101a 100%);
  color: #fff;
  border-top: 4px solid #ff7a1a;
}

.site-footer .footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 46px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-cta .eyebrow {
  color: #ffb833;
}

.site-footer .footer-cta h2 {
  max-width: 760px;
  margin: 9px 0 10px;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.site-footer .footer-cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.45;
}

.site-footer .btn-light {
  border-radius: 999px;
  padding: 17px 25px;
  background: linear-gradient(135deg, #ffcf56, #ff7a1a);
  color: #10131b;
  box-shadow: 0 16px 30px rgba(255, 122, 26, .24);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr .9fr auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0 30px;
}

.footer-brand p {
  max-width: 330px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: 15px;
  line-height: 1.45;
}

.site-footer .footer-logo {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.site-footer .footer-logo span {
  color: #ffb833;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffb833;
}

.footer-legal-links {
  display: grid;
  gap: 8px;
}

.footer-legal-links strong {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, .72);
  font-weight: 750;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffb833;
}

.site-footer .footer-contact {
  display: grid;
  gap: 6px;
  margin: 0;
}

.site-footer .footer-contact span {
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
}

.site-footer .footer-contact a {
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  text-decoration: none;
}

.site-footer .footer-social {
  display: flex;
  gap: 9px;
}

.site-footer .footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.site-footer .footer-social a:hover {
  background: #ff7a1a;
  border-color: #ff7a1a;
  color: #10131b;
}

.site-footer .footer-copy {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .56);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-footer .footer-cta,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-cta {
    padding-top: 34px;
  }

  .site-footer .footer-cta h2 {
    font-size: 36px;
  }
}

/* Header final polish */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-top: 4px solid #1f8cc8;
  border-bottom: 1px solid rgba(22, 32, 51, .1);
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 10px 28px rgba(21, 33, 49, .08);
  backdrop-filter: blur(14px);
}

.site-header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.site-header .logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  width: 245px;
  border-radius: 14px;
  padding: 7px 12px;
  background: #fff;
  color: #111a32;
  box-shadow: 0 12px 28px rgba(17, 26, 50, .1);
  text-decoration: none;
}

.site-header .logo-badge img {
  display: block;
  width: 100%;
  height: 52px;
  object-fit: contain;
}

.site-header .logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffb833, #ff7a1a);
  color: #10131b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 950;
  box-shadow: none;
}

.site-header .logo-text {
  color: #111a32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
}

.site-header .logo-text em {
  color: #ffb833;
  font-style: normal;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(18, 49, 77, .1);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.site-header .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  border-radius: 999px;
  padding: 13px 20px;
  color: #1c2a3e;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.site-header .main-nav a:hover {
  background: #e8f1f6;
  color: #0e5f94;
  transform: translateY(-1px);
}

.site-header .main-nav a.active {
  background: #238bc2;
  color: #fff;
  box-shadow: 0 10px 20px rgba(35, 139, 194, .2);
}

.site-header .main-nav .nav-cta {
  min-width: 140px;
  background: linear-gradient(135deg, #ffcf56, #ff7a1a);
  color: #10131b;
  box-shadow: 0 10px 22px rgba(255, 122, 26, .2);
}

.site-header .main-nav .nav-cta:hover,
.site-header .main-nav .nav-cta.active {
  background: linear-gradient(135deg, #ffbf2f, #ef3a2e);
  color: #10131b;
}

.site-header .menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #238bc2;
  color: #fff;
  font-size: 24px;
}

@media (max-width: 820px) {
  .site-header .header-wrap {
    min-height: 70px;
  }

  .site-header .logo-badge {
    width: 200px;
    padding: 7px 10px;
  }

  .site-header .logo-badge img {
    height: 44px;
  }

  .site-header .logo-text {
    font-size: 21px;
  }

  .site-header .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-header .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    border-radius: 16px;
    padding: 10px;
    background: #fffdf8;
    box-shadow: 0 20px 40px rgba(21, 33, 49, .18);
  }

  .site-header .main-nav.open {
    display: grid;
    gap: 8px;
  }

  .site-header .main-nav a,
  .site-header .main-nav .nav-cta {
    width: 100%;
    min-width: 0;
  }
}

/* Mobile menu final alignment */
@media (max-width: 820px) {
  .site-header {
    border-top-width: 3px;
  }

  .site-header .header-wrap {
    position: relative;
    width: min(100% - 20px, 1180px);
    min-height: 64px;
    gap: 12px;
  }

  .site-header .logo-badge {
    width: min(176px, calc(100vw - 92px));
    border-radius: 10px;
    padding: 6px 8px;
    box-shadow: 0 8px 18px rgba(17, 26, 50, .08);
  }

  .site-header .logo-badge img {
    height: 38px;
  }

  .site-header .menu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 42px;
    margin-left: auto;
    border-radius: 10px;
    padding: 0;
    background: #238bc2;
    box-shadow: 0 10px 20px rgba(35, 139, 194, .18);
    color: #fff;
    line-height: 1;
  }

  .site-header .menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
  }

  .site-header .menu-toggle span + span {
    display: none;
  }

  .site-header .main-nav {
    left: 10px;
    right: 10px;
    top: calc(100% + 6px);
    border: 1px solid rgba(18, 49, 77, .12);
    border-radius: 14px;
    padding: 10px;
  }
}

@media (max-width: 380px) {
  .site-header .logo-badge {
    width: min(154px, calc(100vw - 84px));
  }

  .site-header .logo-badge img {
    height: 34px;
  }

  .site-header .menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 40px;
  }
}

/* About Isra modern refresh */
.about-isra {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  margin: 34px auto 28px;
  border: 1px solid rgba(18, 49, 77, .1);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(21, 33, 49, .1);
}

.about-isra figure {
  position: relative;
  min-height: 100%;
  margin: 0;
}

.about-isra figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(13, 20, 34, .18));
  pointer-events: none;
}

.about-isra img,
.about-isra video {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 430px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  background: #101827;
}

.about-isra article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 42px 48px;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 139, 194, .12), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #f2f8fb 100%);
  color: #111a32;
  box-shadow: none;
}

.about-kicker {
  align-self: flex-start;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 13px;
  background: #e3342a;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.about-isra h2 {
  max-width: 680px;
  margin: 0 0 16px;
  color: #111a32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.04;
}

.about-isra p {
  max-width: 760px;
  margin: 0 0 14px;
  color: #33445b;
  font-size: 18px;
  line-height: 1.58;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.about-points span {
  border: 1px solid rgba(35, 139, 194, .16);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: #0d2238;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(21, 33, 49, .06);
}

@media (max-width: 820px) {
  .about-isra {
    width: min(100% - 28px, 560px);
    grid-template-columns: 1fr;
  }

  .about-isra img,
  .about-isra video {
    min-height: 250px;
    max-height: 360px;
  }

  .about-isra article {
    padding: 28px 22px;
  }
}

/* Service category subtitles */
.poster-services {
  width: min(1040px, calc(100% - 32px));
  margin-top: 26px;
}

.poster-services .service-grid {
  gap: 22px;
}

.poster-services .service-card,
.poster-services .service-card:nth-child(1),
.poster-services .service-card:nth-child(6) {
  position: relative;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border-radius: 18px;
  padding: 24px 22px;
  background:
    linear-gradient(180deg, rgba(5, 13, 27, .12) 0%, rgba(223, 45, 36, .68) 100%),
    var(--service-photo) center/cover no-repeat;
  box-shadow: 0 16px 34px rgba(21, 33, 49, .12);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.poster-services .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(21, 33, 49, .18);
  filter: saturate(1.06);
}

.poster-services .service-card::before,
.poster-services .service-card::after,
.poster-services .service-top {
  display: none;
}

.poster-services .service-card strong {
  position: relative;
  z-index: 1;
  max-width: 92%;
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

.poster-services .service-card small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 88%;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .95);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .32);
  backdrop-filter: blur(3px);
}

@media (max-width: 820px) {
  .poster-services .service-grid {
    grid-template-columns: 1fr;
  }

  .poster-services .service-card,
  .poster-services .service-card:nth-child(1),
  .poster-services .service-card:nth-child(6) {
    min-height: 150px;
  }
}

/* Home header image rounding */
.classic-home {
  overflow: hidden;
  border-radius: 24px;
  width: min(1040px, calc(100% - 48px));
  margin-top: 16px;
  margin-bottom: 26px;
}

.home-cabecera {
  border-radius: 24px;
  width: 100%;
  max-height: 452px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 700px) {
  .classic-home,
  .home-cabecera {
    border-radius: 16px;
  }

  .classic-home {
    width: min(100% - 24px, 560px);
    margin-top: 12px;
  }

  .home-cabecera {
    max-height: 270px;
  }
}

/* Blog excerpt clamp and pagination */
.page-posts .post-card div {
  min-height: 252px;
}

.page-posts .post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.home-blog .post-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.home-blog .post-card div {
  min-height: 252px;
}

.blog-pagination {
  width: min(1040px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -38px auto 70px;
}

.blog-pagination div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 49, 77, .14);
  border-radius: 999px;
  padding: 0 14px;
  background: #fffdf8;
  color: #111a32;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(21, 33, 49, .07);
}

.blog-pagination a.active {
  border-color: #238bc2;
  background: #238bc2;
  color: #fff;
}

.blog-pagination .page-arrow {
  min-width: 104px;
}

.blog-pagination .page-short {
  display: none;
}

.blog-pagination .disabled {
  opacity: .42;
  box-shadow: none;
}

.home-blog-pagination {
  margin-top: -38px;
}

.home-blog .post-grid,
.home-blog-pagination {
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}

.home-blog.is-loading .post-grid,
.home-blog-pagination.is-loading {
  opacity: .45;
  transform: translateY(8px);
  filter: blur(1px);
  pointer-events: none;
}

@media (max-width: 700px) {
  .blog-pagination {
    width: min(100% - 28px, 560px);
    flex-wrap: wrap;
    margin-top: -36px;
  }
}

/* Blog article editorial refresh */
.article-page {
  width: min(920px, calc(100% - 36px));
  margin: 28px auto 70px;
}

.article-page .article-head {
  border: 1px solid rgba(35, 139, 194, .18);
  border-radius: 18px;
  padding: 30px 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 26, .1), transparent 28%),
    linear-gradient(135deg, #fffdf8, #eef8fc);
  color: #111a32;
  box-shadow: 0 18px 38px rgba(21, 33, 49, .08);
}

.article-page .article-head .eyebrow {
  background: #e3342a;
  color: #fff;
}

.article-page .article-head h1 {
  max-width: 820px;
  font-size: clamp(34px, 4.6vw, 58px);
}

.article-page .article-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #53647b;
  font-size: 18px;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.article-meta span {
  border: 1px solid rgba(35, 139, 194, .16);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #0d2238;
  font-size: 14px;
  font-weight: 900;
}

.article-page .article-cover {
  width: min(820px, 100%);
  max-height: 390px;
  margin: 24px auto;
  border-radius: 16px;
}

.article-page .article-content {
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  padding: 38px 42px;
  font-size: 19px;
  line-height: 1.78;
}

.article-page .article-content p:first-child {
  font-size: 20px;
}

.article-page .article-content h2 {
  margin-top: 34px;
  font-size: 31px;
}

.article-page .article-content h3 {
  font-size: 24px;
}

.article-page .article-content ul,
.article-page .article-content ol {
  padding-left: 24px;
}

.article-page .article-content li {
  margin-bottom: 10px;
}

.article-page .article-content blockquote {
  margin: 28px 0;
  border-left: 5px solid #ff7a1a;
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  background: #fff4e8;
  color: #111a32;
  font-weight: 850;
}

.article-cta {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px auto 0;
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(135deg, #0d1422, #12253a);
  color: #fff;
  box-shadow: 0 18px 38px rgba(21, 33, 49, .14);
}

.article-cta span {
  color: #ffb833;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}

.article-cta strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.2;
}

.article-cta a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #ffcf56, #ff7a1a);
  color: #10131b;
  font-weight: 950;
}

@media (max-width: 700px) {
  .article-page {
    width: min(100% - 24px, 560px);
  }

  .article-page .article-head,
  .article-page .article-content {
    padding: 24px 20px;
  }

  .article-cta {
    display: grid;
  }
}

/* Footer CTA refined */
.site-footer .footer-cta {
  position: relative;
  grid-template-columns: minmax(0, 720px) minmax(260px, 360px);
  padding: 38px 0 32px;
}

.site-footer .footer-cta::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px -26px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(#ffb833, #ff7a1a);
}

.site-footer .footer-cta h2 {
  max-width: 650px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.site-footer .footer-cta p {
  max-width: 680px;
  font-size: 17px;
}

.footer-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-proof span {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 850;
}

.footer-action {
  justify-self: end;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 330px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.footer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  background: #fff;
  color: #0d2238;
  font-size: 26px;
  font-weight: 950;
  text-decoration: none;
}

.footer-action .btn {
  justify-content: center;
  text-align: center;
}

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

  .site-footer .footer-cta::before {
    display: none;
  }

  .footer-action {
    justify-self: stretch;
    max-width: none;
  }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .38);
  transition: transform .18s ease, box-shadow .18s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 42px rgba(37, 211, 102, .46);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 700px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 31px;
    height: 31px;
  }
}

/* Home blog heading refresh */
.home-blog .home-blog-head {
  position: relative;
  max-width: 820px;
  margin: 0 auto 32px;
  border: 1px solid rgba(35, 139, 208, .2);
  border-radius: 18px;
  padding: 24px 30px 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 122, 26, .12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef8fc 100%);
  box-shadow: 0 18px 38px rgba(21, 33, 49, .08);
  text-align: center;
}

.home-blog .home-blog-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a1a, #238bc2);
  transform: translateX(-50%);
}

.home-blog .home-blog-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 7px 13px;
  background: #e3342a;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-blog .home-blog-head h2 {
  margin: 0;
  color: #111a32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  text-shadow: none;
}

.home-blog .home-blog-head p {
  max-width: 620px;
  margin: 12px auto 0;
  color: #53647b;
  font-size: 17px;
  line-height: 1.45;
}

.home-blog > h2 {
  display: none;
}

@media (max-width: 700px) {
  .home-blog .home-blog-head {
    padding: 22px 18px 24px;
    text-align: left;
  }

  .home-blog .home-blog-head::after {
    left: 18px;
    transform: none;
  }

  .home-blog .home-blog-head h2 {
    font-size: 34px;
  }
}

/* Services page refresh */
body:has(.services-list) .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: end;
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 26px;
  border-radius: 18px;
  padding: 34px 46px;
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 184, 51, .18), transparent 18%),
    radial-gradient(circle at 18% 80%, rgba(35, 139, 194, .2), transparent 26%),
    linear-gradient(135deg, rgba(8, 13, 23, .96), rgba(18, 31, 49, .9)),
    url('../img/cabecera.jpg') center/cover no-repeat;
  color: #fff;
}

body:has(.services-list) .page-hero .eyebrow {
  color: #ffb833;
}

body:has(.services-list) .page-hero h1 {
  max-width: 650px;
  margin: 10px 0 14px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
}

body:has(.services-list) .page-hero p {
  max-width: 590px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.42;
}

.services-hero-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  padding: 18px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
}

.services-hero-card strong {
  display: block;
  color: #ffcf56;
  font-size: 27px;
  line-height: 1;
}

.services-hero-card span {
  display: block;
  margin: 9px 0 15px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.4;
}

.services-hero-card a {
  display: flex;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffcf56, #ff7a1a);
  color: #10131b;
  font-weight: 950;
  text-decoration: none;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 70px;
}

.services-list .service-tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: #111a32;
  box-shadow: 0 18px 38px rgba(21, 33, 49, .13);
}

.services-list .service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 23, .08), rgba(8, 13, 23, .76)),
    linear-gradient(135deg, rgba(230, 55, 42, .5), rgba(35, 139, 194, .12)),
    var(--service-bg, url('../img/servicio-electricidad.jpg')) center/cover no-repeat;
  transition: transform .28s ease, filter .28s ease;
}

.services-list .service-tile:hover::before {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.services-list .service-tile-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 250px;
  padding: 22px;
  color: #fff;
  text-decoration: none;
}

.services-list .info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #e3342a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.services-list .service-tile h2 {
  max-width: 92%;
  margin: 48px 0 9px;
  color: #fff;
  font-size: 25px;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.services-list .service-tile p {
  max-width: 92%;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.42;
}

.services-list .service-tile span {
  justify-self: start;
  margin-top: 22px;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #0d2238;
  font-weight: 950;
}

.services-list .service-electricidad { --service-bg: url('../img/servicio-electricidad.jpg'); }
.services-list .service-ventilacion { --service-bg: url('../img/servicio-ventilador.jpg'); }
.services-list .service-fontaneria { --service-bg: url('../img/servicio-fontaneria.jpg'); }
.services-list .service-webs-locales { --service-bg: url('../img/servicio-web.jpg'); }
.services-list .service-wifi-y-redes,
.services-list .service-wifi { --service-bg: url('../img/servicio-web.jpg'); }
.services-list .service-vaciados { --service-bg: url('../img/servicio-vaciado.jpeg'); }
.services-list .service-limpieza { --service-bg: url('../img/servicio-limpieza.jpg'); }

@media (max-width: 980px) {
  body:has(.services-list) .page-hero,
  .services-list {
    grid-template-columns: 1fr;
  }

  body:has(.services-list) .page-hero {
    padding: 34px 28px;
  }
}

/* Service detail heading refresh */
.service-story {
  max-width: 980px;
  margin: 32px auto 58px;
}

.service-story .service-story-head {
  position: relative;
  max-width: 860px;
  margin: 0 auto 28px;
  border: 1px solid rgba(35, 139, 208, .2);
  border-radius: 18px;
  padding: 24px 30px 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 122, 26, .12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef8fc 100%);
  box-shadow: 0 18px 38px rgba(21, 33, 49, .08);
  text-align: center;
}

.service-story .service-story-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 70px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a1a, #238bc2);
  transform: translateX(-50%);
}

.service-story .service-story-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 7px 13px;
  background: #e3342a;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.service-story .service-story-head h1 {
  max-width: 760px;
  margin: 0 auto;
  color: #111a32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  text-shadow: none;
}

.service-story .service-story-head p {
  max-width: 690px;
  margin: 12px auto 0;
  color: #53647b;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.service-story .service-story-intro {
  display: none;
}

.service-story .service-story-photo {
  margin-top: 34px;
}

.service-story .service-story-photo img {
  border-radius: 10px;
}

@media (max-width: 700px) {
  .service-story .service-story-head {
    padding: 22px 18px 24px;
    text-align: left;
  }

  .service-story .service-story-head::after {
    left: 18px;
    transform: none;
  }

  .service-story .service-story-head h1 {
    font-size: 34px;
  }
}

/* Blog listing page refresh */
.blog-hero {
  display: grid;
  width: min(1040px, calc(100% - 40px));
  margin: 24px auto 34px;
  border-radius: 18px;
  padding: 34px 44px 36px;
  background:
    radial-gradient(circle at 84% 28%, rgba(255, 184, 51, .16), transparent 18%),
    linear-gradient(135deg, rgba(8, 13, 23, .95), rgba(18, 31, 49, .9));
  color: #fff;
  box-shadow: 0 18px 44px rgba(21, 33, 49, .14);
}

.blog-hero .eyebrow {
  color: #ffb833;
}

.blog-hero h1 {
  max-width: 720px;
  margin: 10px 0 12px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1;
}

.blog-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  line-height: 1.45;
}

.page-posts {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-posts .post-card {
  overflow: hidden;
  border: 1px solid rgba(18, 49, 77, .12);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 14px 30px rgba(21, 33, 49, .09);
}

.page-posts .post-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.page-posts .post-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.page-posts .post-card div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 230px;
  padding: 22px 22px 20px;
}

.page-posts .post-card h2 {
  margin: 0 0 12px;
  color: #171c3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.14;
}

.page-posts .post-card p {
  margin: 0;
  color: #53647b;
  font-size: 16px;
  line-height: 1.45;
}

.page-posts .post-card span {
  display: block;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(18, 49, 77, .14);
  color: #df2d24;
  font-weight: 950;
}

@media (max-width: 900px) {
  .blog-hero,
  .page-posts {
    width: min(100% - 28px, 560px);
  }

  .blog-hero {
    padding: 28px 24px;
  }

  .page-posts {
    grid-template-columns: 1fr;
  }

  .page-posts .post-card div {
    min-height: 0;
  }
}

/* Budget/contact page refresh */
.budget-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  width: min(1080px, calc(100% - 40px));
  margin: 24px auto 30px;
  border-radius: 18px;
  padding: 34px 44px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 184, 51, .16), transparent 18%),
    linear-gradient(135deg, rgba(8, 13, 23, .95), rgba(18, 31, 49, .9));
  color: #fff;
  box-shadow: 0 18px 44px rgba(21, 33, 49, .14);
}

.budget-hero .eyebrow {
  color: #ffb833;
}

.budget-hero h1 {
  max-width: 660px;
  margin: 10px 0 12px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
}

.budget-hero p {
  max-width: 610px;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  line-height: 1.45;
}

.budget-hero .contact-signal {
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.budget-hero .contact-signal strong {
  color: #ffcf56;
  font-size: 30px;
}

.contact-layout {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 70px;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.budget-form {
  border: 1px solid rgba(18, 49, 77, .1);
  border-radius: 18px;
  padding: 28px;
  background: #fffdf8;
  box-shadow: 0 16px 34px rgba(21, 33, 49, .09);
}

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

.budget-form label {
  margin-bottom: 16px;
  color: #111a32;
}

.budget-form input,
.budget-form textarea {
  border: 2px solid #c9d6e5;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    inset 0 2px 5px rgba(17, 26, 50, .05),
    0 1px 0 rgba(255, 255, 255, .8);
}

.budget-form input:hover,
.budget-form textarea:hover {
  border-color: #9fb8d4;
}

.budget-form input:focus,
.budget-form textarea:focus {
  border-color: #238bc2;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(35, 139, 194, .14),
    inset 0 2px 5px rgba(17, 26, 50, .04);
}

.budget-form textarea::placeholder {
  color: #697789;
  opacity: 1;
}

.budget-form button {
  width: 100%;
  margin-top: 4px;
  border-radius: 999px;
  padding: 15px 22px;
  background: linear-gradient(135deg, #ffcf56, #ff7a1a);
  color: #10131b;
  box-shadow: 0 14px 26px rgba(255, 122, 26, .18);
}

.contact-card {
  border: 0;
  border-radius: 18px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 184, 51, .16), transparent 32%),
    #0d1422;
  color: #fff;
  box-shadow: 0 16px 34px rgba(21, 33, 49, .14);
}

.contact-card .eyebrow {
  color: #ffb833;
}

.contact-card a {
  color: #ffcf56;
  font-size: 34px;
}

.contact-card p {
  color: rgba(255, 255, 255, .78);
}

.contact-steps {
  gap: 10px;
}

.contact-steps span {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

@media (max-width: 900px) {
  .budget-hero,
  .contact-layout {
    width: min(100% - 28px, 560px);
    grid-template-columns: 1fr;
  }

  .budget-hero {
    padding: 28px 24px;
  }

  .budget-form .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* Services page final polish */
body:has(.services-list) .page-hero {
    width: min(1080px, calc(100% - 40px));
    margin: 24px auto 18px;
    border-radius: 20px;
    padding: 34px 42px;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(8, 13, 23, .88), rgba(18, 31, 49, .78)),
        url('../img/cabecera2.png') center/cover no-repeat;
    box-shadow: 0 18px 42px rgba(21, 33, 49, .14);
}

body:has(.services-list) .page-hero h1 {
    max-width: 650px;
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 1.02;
}

body:has(.services-list) .page-hero p {
    max-width: 600px;
    font-size: 17px;
}

.services-hero-card {
    max-width: 310px;
    justify-self: end;
    border-radius: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, .12);
}

.services-hero-card strong {
    font-size: 28px;
}

.services-trust {
    width: min(1080px, calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 auto 24px;
}

.services-trust span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    border: 1px solid rgba(35, 139, 194, .18);
    border-radius: 16px;
    padding: 12px 15px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 251, 244, .9));
    color: #0d2238;
    font-weight: 950;
    text-align: center;
    box-shadow: 0 14px 30px rgba(21, 33, 49, .08);
}

.services-trust span::before {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 9px;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ffbf47, #ff7a1a);
    box-shadow: 0 8px 18px rgba(255, 122, 26, .2);
}

.services-trust span:nth-child(1)::before {
    content: "\20AC";
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
}

.services-trust span:nth-child(2)::before {
    content: "24";
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0;
}

.services-trust span:nth-child(3)::before {
    content: "";
    background:
        linear-gradient(135deg, #ffffff 0 45%, transparent 46%),
        linear-gradient(135deg, #22c7b8, #238bc2);
}

.services-trust span:nth-child(4)::before {
    content: "?";
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 15px;
}

.services-list {
    width: min(1080px, calc(100% - 40px));
    gap: 24px;
    margin-bottom: 72px;
}

.services-list .service-tile {
    height: 304px;
    min-height: 304px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 20px;
    background: #0d2238;
    box-shadow: 0 18px 42px rgba(21, 33, 49, .14);
    transition: transform .2s ease, box-shadow .2s ease;
}

.services-list .service-tile::before {
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 197, 76, .34), transparent 25%),
        linear-gradient(180deg, rgba(8, 13, 23, .08), rgba(8, 13, 23, .42) 48%, rgba(8, 13, 23, .84)),
        linear-gradient(135deg, rgba(255, 122, 26, .38), rgba(35, 139, 194, .2)),
        var(--service-bg, url('../img/servicio-electricidad.jpg')) center/cover no-repeat;
    transition: transform .28s ease, filter .28s ease;
}

.services-list .service-tile-link {
    min-height: 304px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 20px;
}

.services-list .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    color: #ff7a1a;
    box-shadow: 0 12px 24px rgba(8, 13, 23, .18);
}

.services-list .service-tile-link > div:not(.info-icon) {
    width: min(100%, 90%);
    height: 142px;
    min-height: 142px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 17px;
    padding: 15px 16px 14px;
    background: linear-gradient(135deg, rgba(9, 18, 32, .58), rgba(9, 18, 32, .24));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-list .service-tile h2 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.06;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
    overflow: visible;
}

.services-list .service-tile p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
    font-size: 13px;
    line-height: 1.28;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .24);
}

.services-list .service-tile span {
    align-self: flex-start;
    margin-top: 22px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #fff;
    color: #0d2238;
    box-shadow: 0 12px 26px rgba(8, 13, 23, .16);
    transition: transform .18s ease, background .18s ease;
}

.services-list .service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(21, 33, 49, .18);
}

.services-list .service-tile:hover::before {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.services-list .service-tile:hover span {
    transform: translateY(-2px);
    background: #ffcf56;
}

@media (max-width: 980px) {
    body:has(.services-list) .page-hero,
    .services-list,
    .services-trust {
        width: min(100% - 28px, 560px);
        grid-template-columns: 1fr;
    }

    body:has(.services-list) .page-hero {
        padding: 28px 24px;
    }

    .services-hero-card {
        justify-self: stretch;
        max-width: none;
    }

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

    .services-list .service-tile-link > div:not(.info-icon) {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }
}

@media (max-width: 520px) {
    .services-trust {
        grid-template-columns: 1fr;
    }
}

/* Final budget and mobile pagination upgrade */
.budget-hero {
    width: min(1040px, calc(100% - 40px));
    min-height: 292px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 304px;
    gap: 42px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 34px 38px 34px 46px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 202, 85, .18), transparent 18%),
        radial-gradient(circle at 22% 96%, rgba(35, 139, 194, .24), transparent 31%),
        linear-gradient(135deg, #07101c 0%, #122337 62%, #2d3741 100%);
    box-shadow: 0 22px 52px rgba(15, 23, 42, .18);
}

.budget-hero::after {
    right: 38px;
    bottom: 24px;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
}

.budget-hero .eyebrow {
    border: 1px solid rgba(255, 207, 86, .18);
    background: rgba(255, 184, 51, .12);
    color: #ffcf56;
}

.budget-hero h1 {
    max-width: 650px;
    margin-top: 12px;
    margin-bottom: 14px;
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 1.01;
}

.budget-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, .86);
}

.budget-hero .contact-signal {
    align-self: center;
    border-radius: 18px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.budget-hero .contact-signal a {
    min-height: 46px;
    align-items: center;
}

.contact-layout {
    width: min(1040px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    margin-top: 28px;
}

.budget-form {
    border-radius: 24px;
    padding: 34px 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 252, 247, .96));
    box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
}

.budget-form::before {
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(35, 139, 194, .12), rgba(34, 199, 184, .1));
}

.budget-form input,
.budget-form textarea {
    border-color: #b8cfe7;
    background: #f9fbfd;
}

.contact-card {
    overflow: hidden;
    border-radius: 24px;
    padding: 30px 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 207, 86, .2), transparent 18%),
        radial-gradient(circle at 12% 92%, rgba(35, 139, 194, .13), transparent 24%),
        linear-gradient(145deg, #060b14, #121b2b);
}

.contact-card > a {
    font-size: 34px;
}

.contact-steps span {
    display: flex;
    align-items: center;
    min-height: 54px;
}

@media (max-width: 900px) {
    .budget-hero,
    .contact-layout {
        width: min(100% - 28px, 620px);
        grid-template-columns: 1fr;
    }

    .budget-hero {
        min-height: 0;
        gap: 20px;
        padding: 28px 24px;
    }

    .budget-hero::after {
        position: static;
        width: fit-content;
        margin-top: 10px;
    }

    .contact-layout {
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .budget-hero,
    .contact-layout {
        width: calc(100% - 22px);
    }

    .budget-hero {
        border-radius: 19px;
        padding: 22px 17px;
    }

    .budget-hero h1 {
        font-size: 32px;
        line-height: 1.04;
    }

    .budget-hero .contact-signal {
        padding: 16px;
    }

    .budget-form,
    .contact-card {
        border-radius: 19px;
    }

    .budget-form {
        padding: 22px 16px;
    }

    .contact-card {
        padding: 23px 17px;
    }

    .blog-pagination,
    .home-blog-pagination {
        width: calc(100% - 22px);
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-pagination div {
        justify-content: center;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 42px;
        height: 42px;
        padding: 0 13px;
    }

    .blog-pagination .page-arrow {
        min-width: 96px;
    }
}

/* Mobile fixes: about video and footer CTA */
@media (max-width: 760px) {
    .about-isra {
        background: #fffdf8;
    }

    .about-isra figure {
        aspect-ratio: auto;
        min-height: 0;
        background: #111827;
    }

    .about-isra figure::after {
        display: none;
    }

    .about-isra img,
    .about-isra video {
        display: block;
        width: 100%;
        height: auto;
        max-height: 360px;
        object-fit: contain;
        object-position: center;
        background: #111827;
    }

    .about-isra article {
        position: relative;
        padding-top: 30px;
    }

    .about-kicker {
        position: static;
        margin: 0 0 13px;
        transform: none;
    }

    .site-footer {
        border-top-width: 3px;
    }

    .site-footer .footer-cta {
        width: min(100% - 24px, 520px);
        display: grid;
        gap: 18px;
        padding: 28px 0 24px;
        border-bottom-color: rgba(255, 255, 255, .08);
    }

    .site-footer .footer-cta::before {
        display: none;
    }

    .site-footer .footer-cta h2 {
        max-width: 340px;
        margin: 10px 0 10px;
        font-size: 30px;
        line-height: 1.08;
        text-wrap: balance;
    }

    .site-footer .footer-cta p {
        max-width: 340px;
        font-size: 16px;
        line-height: 1.45;
    }

    .footer-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 16px;
    }

    .footer-proof span {
        width: fit-content;
        border-radius: 12px;
        padding: 9px 12px;
        background: rgba(255, 255, 255, .08);
        color: rgba(255, 255, 255, .88);
    }

    .footer-action {
        max-width: none;
        border-radius: 18px;
        padding: 14px;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    }

    .footer-phone {
        min-height: 48px;
        border-radius: 12px;
        font-size: 24px;
    }

    .footer-action .btn {
        min-height: 54px;
        border-radius: 999px;
    }
}

/* Blog categories, views and favorites */
.blog-category-tabs {
    width: min(1040px, calc(100% - 40px));
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -12px auto 28px;
    overflow-x: auto;
    padding: 8px 2px 12px;
    scrollbar-width: thin;
}

.blog-category-tabs a,
.blog-category-tabs span {
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 15px;
    color: #101827;
    font-weight: 900;
    text-decoration: none;
    background: rgba(255, 255, 255, .7);
}

.blog-category-tabs a.active {
    background: #e3342a;
    color: #fff;
    box-shadow: 0 12px 24px rgba(227, 52, 42, .18);
}

.blog-category-tabs a:not(.active):hover {
    border-color: rgba(35, 139, 194, .18);
    background: #eef8fc;
    color: #0d6f9f;
}

.blog-category-tabs span {
    color: #53647b;
}

.post-category {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 0 14px;
    border-radius: 0;
    padding: 8px 11px;
    background: #e3342a;
    color: #fff;
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
}

.post-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(18, 49, 77, .14);
}

.post-card-stats .post-views,
.post-favorite {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #53647b;
    font-size: 14px;
    font-weight: 850;
}

.post-card-stats .post-views::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px #fffdf8;
}

.post-favorite {
    cursor: pointer;
    color: #e3342a;
}

.post-favorite span,
.post-favorite b {
    display: inline;
    margin: 0;
    border: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1;
}

.post-favorite::before {
    content: "♡";
    font-size: 22px;
    line-height: 1;
}

.post-favorite.active::before {
    content: "♥";
}

.post-favorite.is-saving {
    opacity: .55;
    pointer-events: none;
}

.home-blog .post-card div,
.page-posts .post-card div {
    grid-template-rows: auto auto 1fr auto auto;
}

.home-blog .post-card > a > div > span:not(.post-favorite),
.page-posts .post-card > a > div > span:not(.post-favorite) {
    border-top: 0;
    padding-top: 0;
}

.article-favorite {
    user-select: none;
}

.article-favorite b {
    font-weight: 950;
}

@media (max-width: 760px) {
    .blog-category-tabs {
        width: calc(100% - 22px);
        margin-top: -4px;
    }

    .blog-category-tabs a,
    .blog-category-tabs span {
        padding: 9px 12px;
        font-size: 14px;
    }

    .post-category {
        font-size: 12px;
        padding: 7px 10px;
    }
}

/* Contact page dark brand alignment */
.contact-hero.budget-hero {
    border-color: rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 202, 85, .13), transparent 20%),
        radial-gradient(circle at 18% 100%, rgba(35, 139, 194, .2), transparent 32%),
        linear-gradient(135deg, #07101c, #122337 62%, #263546);
    color: #fff;
}

.contact-hero.budget-hero .eyebrow {
    border-color: rgba(255, 207, 86, .18);
    background: rgba(255, 184, 51, .1);
    color: #ffcf56;
    box-shadow: none;
}

.contact-hero.budget-hero h1 {
    color: #fff;
}

.contact-hero.budget-hero p {
    color: rgba(255, 255, 255, .82);
}

.contact-hero.budget-hero .contact-signal {
    border-color: rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .07));
    color: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.contact-hero.budget-hero .contact-signal span {
    color: rgba(255, 255, 255, .78);
}

.contact-hero.budget-hero .contact-signal strong {
    color: #ffcf56;
}

.contact-hero.budget-hero .contact-signal a {
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #10131b;
    box-shadow: 0 14px 28px rgba(255, 122, 26, .2);
}

/* Final footer legal links */
.site-footer .footer-legal-links {
    display: grid;
    gap: 8px;
}

.site-footer .footer-legal-links strong {
    color: #fff;
    font-size: 16px;
    font-weight: 950;
}

.site-footer .footer-legal-links a {
    color: rgba(255, 255, 255, .72);
    font-weight: 750;
    text-decoration: none;
}

.site-footer .footer-legal-links a:hover {
    color: #ffb833;
}

@media (max-width: 760px) {
    .site-footer .footer-legal-links {
        text-align: center;
    }
}

/* Final footer legal links */
.site-footer .footer-legal-links {
    display: grid;
    gap: 8px;
}

.site-footer .footer-legal-links strong {
    color: #fff;
    font-size: 16px;
    font-weight: 950;
}

.site-footer .footer-legal-links a {
    color: rgba(255, 255, 255, .72);
    font-weight: 750;
    text-decoration: none;
}

.site-footer .footer-legal-links a:hover {
    color: #ffb833;
}

@media (max-width: 760px) {
    .site-footer .footer-legal-links {
        text-align: center;
    }
}

.legal-page {
    padding: 42px 0 72px;
}

.legal-head {
    border: 1px solid rgba(35, 139, 194, .18);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 52px);
    background:
        radial-gradient(circle at 88% 12%, rgba(35,139,194,.16), transparent 28%),
        linear-gradient(135deg, #fff, #eef9fd);
    box-shadow: 0 22px 50px rgba(20, 40, 70, .08);
}

.legal-head h1 {
    max-width: 980px;
    margin: 12px 0 12px;
    color: #071525;
    font-size: clamp(38px, 5vw, 72px);
    line-height: .98;
}

.legal-head p {
    max-width: 720px;
    margin: 0;
    color: #31445e;
    font-size: 18px;
    line-height: 1.55;
}

.legal-content {
    max-width: 920px;
    margin: 28px auto 0;
    border: 1px solid rgba(7, 21, 37, .08);
    border-radius: 22px;
    padding: clamp(26px, 4vw, 52px);
    background: #fff;
    box-shadow: 0 20px 44px rgba(20, 40, 70, .08);
}

.legal-content h2,
.legal-content h3 {
    margin: 30px 0 12px;
    color: #e5362d;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.15;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: #071525;
    font-size: 18px;
    line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
}

.settings-form h2 {
    margin: 26px 0 14px;
    color: #071525;
}

.settings-form h2:first-of-type {
    margin-top: 0;
}

.settings-form textarea {
    min-height: 260px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    line-height: 1.55;
}

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

    .footer-brand,
    .footer-copy {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .legal-page {
        padding: 22px 0 38px;
    }

    .legal-head {
        border-radius: 18px;
        padding: 24px 18px;
    }

    .legal-head h1 {
        font-size: 34px;
        line-height: 1.02;
    }

    .legal-head p,
    .legal-content p,
    .legal-content li {
        font-size: 16px;
    }

    .legal-content {
        margin-top: 18px;
        border-radius: 18px;
        padding: 22px 18px;
    }

    .footer-legal-links {
        text-align: center;
    }
}

/* Blog images: clean card crop without black letterboxing */
.home-blog .post-card img,
.page-posts .post-card img,
.post-card img {
    display: block;
    width: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    background: #eef7fb !important;
    border: 0 !important;
    border-radius: 14px 14px 0 0;
}

.home-blog .post-card a,
.page-posts .post-card a,
.post-card a {
    background: #fff;
}

/* Web service FAQ accordion */
.service-faq {
    max-width: 920px;
    margin: 54px auto 4px;
}

.service-faq-head {
    margin-bottom: 22px;
    text-align: center;
}

.service-faq-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(35, 139, 194, .1);
    color: #0d6f9f;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.service-faq-head h2 {
    margin: 14px 0 8px;
    color: #0d2238;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.service-faq-head p {
    max-width: 620px;
    margin: 0 auto;
    color: #53647b;
    font-size: 17px;
    line-height: 1.5;
}

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

.service-faq-list details {
    overflow: hidden;
    border: 1px solid rgba(35, 139, 194, .16);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(240, 248, 252, .9));
    box-shadow: 0 14px 30px rgba(21, 33, 49, .07);
}

.service-faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 20px 62px 20px 22px;
    color: #101827;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
    cursor: pointer;
    list-style: none;
}

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

.service-faq-list summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #0d2238;
    border-bottom: 2px solid #0d2238;
    transform: translateY(-60%) rotate(45deg);
    transition: transform .2s ease;
}

.service-faq-list details[open] {
    border-color: rgba(255, 122, 26, .3);
    box-shadow: 0 18px 36px rgba(21, 33, 49, .1);
}

.service-faq-list details[open] summary::after {
    transform: translateY(-25%) rotate(225deg);
}

.service-faq-list details p {
    margin: 0;
    border-top: 1px solid rgba(35, 139, 194, .13);
    padding: 0 22px 22px;
    color: #43546b;
    font-size: 17px;
    line-height: 1.65;
}

.service-faq-list details[open] p {
    padding-top: 18px;
}

@media (max-width: 620px) {
    .service-faq {
        margin-top: 38px;
    }

    .service-faq-head {
        text-align: left;
    }

    .service-faq-head h2 {
        font-size: 31px;
    }

    .service-faq-head p {
        font-size: 16px;
    }

    .service-faq-list summary {
        min-height: 62px;
        padding: 17px 50px 17px 18px;
        font-size: 16px;
    }

    .service-faq-list summary::after {
        right: 20px;
    }

.service-faq-list details p {
        padding-right: 18px;
        padding-left: 18px;
        font-size: 16px;
    }
}

/* FAQ premium accordion */
.service-web-faq {
    max-width: 980px;
    margin-top: 64px;
}

.service-web-faq .service-faq-head {
    margin-bottom: 28px;
}

.service-web-faq .service-faq-head span {
    background: linear-gradient(135deg, rgba(35,139,194,.13), rgba(255,255,255,.92));
    border: 1px solid rgba(35,139,194,.14);
    box-shadow: 0 10px 24px rgba(35,139,194,.08);
}

.service-web-faq .service-faq-list {
    counter-reset: faq;
    gap: 14px;
}

.service-web-faq .service-faq-list details {
    counter-increment: faq;
    position: relative;
    border: 1px solid rgba(35,139,194,.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 0%, rgba(35,139,194,.1), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,250,253,.96));
    box-shadow: 0 16px 34px rgba(21,33,49,.08);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.service-web-faq .service-faq-list details:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(21,33,49,.11);
}

.service-web-faq .service-faq-list details[open] {
    border-color: rgba(255,122,26,.38);
    background:
        radial-gradient(circle at 92% 0%, rgba(255,122,26,.12), transparent 30%),
        linear-gradient(135deg, #fff, #f4fbff);
    box-shadow: 0 24px 54px rgba(21,33,49,.13);
}

.service-web-faq .service-faq-list summary {
    gap: 14px;
    min-height: 74px;
    padding: 20px 72px 20px 24px;
}

.service-web-faq .service-faq-list summary::before {
    content: counter(faq, decimal-leading-zero);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #eef8fc;
    color: #0d6f9f;
    font-size: 12px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(35,139,194,.12);
}

.service-web-faq .service-faq-list details[open] summary::before {
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
}

.service-web-faq .service-faq-list summary::after {
    right: 24px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(35,139,194,.18);
    border-right: 1px solid rgba(35,139,194,.18);
    border-bottom: 1px solid rgba(35,139,194,.18);
    border-radius: 999px;
    background:
        linear-gradient(135deg, #fff, #eef8fc);
    transform: translateY(-50%);
    transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.service-web-faq .service-faq-list summary::before,
.service-web-faq .service-faq-list summary::after {
    pointer-events: none;
}

.service-web-faq .service-faq-list summary span {
    display: inline-block;
}

.service-web-faq .service-faq-list summary::marker {
    content: "";
}

.service-web-faq .service-faq-list details summary {
    isolation: isolate;
}

.service-web-faq .service-faq-list details summary > * {
    z-index: 1;
}

.service-web-faq .service-faq-list details summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0d2238;
    font-size: 24px;
    font-weight: 850;
    line-height: 1;
}

.service-web-faq .service-faq-list details[open] summary::after {
    border-color: rgba(255,122,26,.36);
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
    transform: translateY(-50%) rotate(45deg);
}

.service-web-faq .faq-answer {
    height: auto;
    overflow: hidden;
    opacity: 1;
    transition: height .26s ease, opacity .2s ease;
}

.service-web-faq .faq-answer p {
    margin: 0 24px 24px 76px;
    border: 0;
    border-radius: 16px;
    padding: 18px 20px;
    background: rgba(255,255,255,.72);
    color: #45576d;
    box-shadow: inset 0 0 0 1px rgba(35,139,194,.1);
}

@media (max-width: 620px) {
    .service-web-faq {
        margin-top: 42px;
    }

    .service-web-faq .service-faq-list summary {
        align-items: flex-start;
        gap: 11px;
        min-height: 66px;
        padding: 17px 60px 17px 16px;
    }

    .service-web-faq .service-faq-list summary::before {
        width: 32px;
        height: 32px;
        border-radius: 11px;
    }

    .service-web-faq .service-faq-list summary::after {
        right: 16px;
        width: 30px;
        height: 30px;
        font-size: 21px;
    }

.service-web-faq .faq-answer p {
        margin: 0 16px 18px;
        padding: 16px;
    }
}

/* FAQ dark variant to match the pricing block */
.service-web-faq {
    max-width: 980px;
    border: 1px solid rgba(255,122,26,.24);
    border-radius: 26px;
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 92% 10%, rgba(255,207,86,.14), transparent 30%),
        linear-gradient(135deg, #071525, #10263d 68%, #263546);
    box-shadow: 0 24px 54px rgba(21,33,49,.18);
}

.service-web-faq .service-faq-head span {
    background: rgba(255,207,86,.12);
    border-color: rgba(255,207,86,.25);
    color: #ffcf56;
    box-shadow: none;
}

.service-web-faq .service-faq-head h2 {
    color: #fff;
}

.service-web-faq .service-faq-head p {
    color: #d7e8f7;
}

.service-web-faq .service-faq-list details {
    border-color: rgba(255,255,255,.1);
    background:
        radial-gradient(circle at 95% 0%, rgba(255,207,86,.08), transparent 30%),
        rgba(255,255,255,.045);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 14px 30px rgba(0,0,0,.12);
}

.service-web-faq .service-faq-list details:hover {
    border-color: rgba(255,207,86,.24);
    box-shadow: inset 0 0 0 1px rgba(255,207,86,.06), 0 22px 44px rgba(0,0,0,.18);
}

.service-web-faq .service-faq-list details[open] {
    border-color: rgba(255,122,26,.45);
    background:
        radial-gradient(circle at 94% 0%, rgba(255,122,26,.15), transparent 32%),
        rgba(255,255,255,.075);
    box-shadow: inset 0 0 0 1px rgba(255,207,86,.08), 0 26px 58px rgba(0,0,0,.24);
}

.service-web-faq .service-faq-list summary {
    color: #fff;
}

.service-web-faq .service-faq-list summary::before {
    background: rgba(255,255,255,.08);
    color: #ffcf56;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.service-web-faq .service-faq-list summary::after {
    border-color: rgba(255,255,255,.16);
    border-right-color: rgba(255,255,255,.16);
    border-bottom-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: #ffcf56;
}

.service-web-faq .service-faq-list details[open] summary::after,
.service-web-faq .service-faq-list details[open] summary::before {
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
}

.service-web-faq .faq-answer p {
    background: rgba(255,255,255,.07);
    color: #e8f2fb;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

/* Service SEO detail pages */
.service-detail-pro {
    max-width: 1120px;
}

.service-pro-head {
    margin-bottom: 24px !important;
}

.service-pro-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: stretch;
    margin: 24px 0 26px;
}

.service-pro-photo {
    max-width: none !important;
    margin: 0 !important;
}

.service-pro-photo img {
    display: block;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    border-radius: 18px !important;
}

.service-pro-summary {
    display: grid;
    align-content: center;
    gap: 18px;
    border: 1px solid rgba(255, 122, 26, .22);
    border-radius: 22px;
    padding: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 122, 26, .16), transparent 28%),
        linear-gradient(135deg, #071525, #10263d);
    color: #fff;
    box-shadow: 0 20px 46px rgba(7, 21, 37, .16);
}

.service-pro-summary > span,
.service-pro-card > span,
.service-pro-advice span,
.service-gallery span,
.service-quick-form > div > span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 207, 86, .13);
    color: #ffcf56;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.service-gallery span {
    background: #071525;
    color: #ffcf56;
    box-shadow: 0 10px 22px rgba(7, 21, 37, .12);
}

.service-pro-summary dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.service-pro-summary dl div {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    padding: 12px;
    background: rgba(255,255,255,.06);
}

.service-pro-summary dt {
    color: #c9d9e8;
    font-size: 13px;
    font-weight: 850;
}

.service-pro-summary dd {
    margin: 4px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.service-pro-summary a,
.service-quick-form button {
    display: inline-flex;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(255, 122, 26, .22);
}

.service-pro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 24px 0 34px;
}

.service-pro-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 26px;
    background:
        radial-gradient(circle at 92% 0%, rgba(35,139,194,.18), transparent 30%),
        linear-gradient(135deg, #071525, #132a43);
    color: #fff;
    box-shadow: 0 20px 46px rgba(7, 21, 37, .14);
}

.service-pro-card::before {
    content: "";
    position: absolute;
    inset: auto 24px 0 24px;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #238bc2, #ffcf56);
    opacity: .95;
}

.service-pro-card.muted {
    background:
        radial-gradient(circle at 92% 0%, rgba(255,122,26,.2), transparent 30%),
        linear-gradient(135deg, #121922, #2a2119);
}

.service-pro-card.muted::before {
    background: linear-gradient(90deg, #ffcf56, #ff7a1a);
}

.service-pro-card > span {
    position: relative;
    gap: 9px;
    margin-bottom: 8px;
    background: rgba(255,255,255,.08);
    color: #ffcf56;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.service-pro-card > span::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #238bc2, #0d6f9f);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.service-pro-card.muted > span::before {
    content: "!";
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
}

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

.service-pro-card li {
    position: relative;
    min-height: 48px;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 14px 0 14px 42px;
    background: transparent;
    color: #f5fbff;
    font-weight: 800;
    line-height: 1.45;
    box-shadow: none;
}

.service-pro-card li:first-child {
    border-top: 0;
}

.service-pro-card li::before {
    content: "✓";
    display: grid;
    place-items: center;
    position: absolute;
    left: 0;
    top: 50%;
    width: 27px;
    height: 27px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
    color: #fff;
    font-size: 13px;
    transform: translateY(-50%);
}

.service-pro-card.muted li::before {
    content: "!";
    background: rgba(255,207,86,.14);
    color: #ffcf56;
    font-size: 13px;
    font-weight: 950;
}

.service-pro-advice,
.service-gallery,
.service-quick-form {
    margin: 36px 0;
    border: 1px solid rgba(35, 139, 194, .14);
    border-radius: 24px;
    padding: 26px;
    background:
        radial-gradient(circle at 96% 8%, rgba(35,139,194,.13), transparent 28%),
        linear-gradient(135deg, #fff, #f4fbff);
    box-shadow: 0 18px 42px rgba(21, 33, 49, .08);
}

.service-pro-advice {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .45fr) minmax(0, .55fr);
    gap: 26px;
    align-items: center;
    border-color: rgba(255, 122, 26, .18);
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 207, 86, .2), transparent 25%),
        radial-gradient(circle at 0% 100%, rgba(35, 139, 194, .13), transparent 28%),
        linear-gradient(135deg, #071525, #132a43);
    color: #fff;
}

.service-pro-advice::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255,255,255,.08), transparent 32%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
    pointer-events: none;
}

.service-pro-advice > * {
    position: relative;
    z-index: 1;
}

.service-pro-advice h2,
.service-gallery h2,
.service-quick-form h2 {
    margin: 12px 0 8px;
    color: #071525;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
}

.service-pro-advice h2 {
    max-width: 420px;
    color: #fff;
}

.service-pro-advice p,
.service-gallery p,
.service-quick-form p {
    color: #53647b;
    font-weight: 750;
    line-height: 1.55;
}

.service-pro-advice > div:first-child p {
    color: #d7e8f7;
}

.service-advice-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
}

.service-advice-list article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.service-advice-list strong {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
    font-size: 13px;
    box-shadow: 0 12px 22px rgba(255, 122, 26, .22);
}

.service-advice-list p {
    margin: 0;
    color: #f5fbff;
}

.service-gallery {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: center;
}

.service-gallery img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(21, 33, 49, .13);
}

.service-gallery-photos {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 12px;
    min-width: 0;
}

.service-gallery-photos figure {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #eef7fb;
    box-shadow: 0 14px 30px rgba(21, 33, 49, .13);
    cursor: zoom-in;
    position: relative;
}

.service-gallery-photos figure::after {
    content: "+";
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(7, 21, 37, .82);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px) scale(.94);
    transition: opacity .22s ease, transform .22s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.service-gallery-photos figure:hover::after,
.service-gallery-photos figure:focus-visible::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-gallery-photos figure:focus-visible {
    outline: 3px solid rgba(255, 174, 49, .72);
    outline-offset: 4px;
}

.service-gallery-photos figure:first-child {
    grid-row: span 2;
}

.service-gallery-photos img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: transform .28s ease, filter .28s ease;
}

.service-gallery-photos figure:hover img {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.03);
}

.service-gallery-mosaic {
    grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 46px);
    background: rgba(4, 12, 22, .78);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}

.gallery-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal__frame {
    position: relative;
    width: min(1040px, 100%);
    max-height: 88vh;
    transform: translateY(18px) scale(.97);
    transition: transform .28s ease;
}

.gallery-modal.is-open .gallery-modal__frame {
    transform: translateY(0) scale(1);
}

.gallery-modal__frame img {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 22px;
    background: #f4f7f9;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.gallery-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #071525;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(255, 122, 26, .32);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gallery-modal__close span,
.gallery-modal__close span::before {
    display: block;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #071525;
    transform-origin: center;
}

.gallery-modal__close span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-modal__close span::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: rotate(90deg);
}

.gallery-modal__close:hover,
.gallery-modal__close:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 18px 40px rgba(255, 122, 26, .42);
}

body.gallery-modal-open {
    overflow: hidden;
}

.service-detail-faq {
    margin-top: 36px !important;
    max-width: none !important;
    width: 100%;
}

.service-quick-form {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: start;
    background:
        radial-gradient(circle at 96% 8%, rgba(255,122,26,.13), transparent 26%),
        linear-gradient(135deg, #071525, #10263d);
}

.service-quick-form h2 {
    color: #fff;
}

.service-quick-form p {
    color: #d7e8f7;
}

.service-quick-form form {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 20px;
    background: rgba(255,255,255,.08);
}

.service-quick-form label {
    color: #fff;
    font-weight: 900;
}

.service-quick-form input,
.service-quick-form textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 13px;
    padding: 12px;
    background: rgba(255,255,255,.96);
    color: #071525;
    font: inherit;
}

@media (max-width: 860px) {
    .service-pro-hero,
    .service-pro-grid,
    .service-pro-advice,
    .service-gallery,
    .service-quick-form {
        grid-template-columns: 1fr;
    }

    .service-pro-photo img {
        min-height: 260px;
    }

    .service-advice-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .service-detail-pro {
        width: min(100% - 24px, 460px);
    }

    .service-pro-summary,
    .service-pro-card,
    .service-pro-advice,
    .service-gallery,
    .service-quick-form {
        border-radius: 18px;
        padding: 18px;
    }

    .service-pro-photo img {
        min-height: 210px;
    }
}

@media (max-width: 620px) {
    .service-web-faq {
        border-radius: 22px;
        padding: 22px 14px;
    }
}

/* Blog card stats final cleanup */
.home-blog .post-card .post-read-more,
.page-posts .post-card .post-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 14px 0 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #e3342a;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.2;
}

.home-blog .post-card .post-card-stats,
.page-posts .post-card .post-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 16px 0 0;
    border-top: 1px solid rgba(18, 49, 77, .13);
    border-radius: 0;
    padding: 12px 0 0;
    background: transparent;
    box-shadow: none;
}

.home-blog .post-card .post-card-stats span,
.page-posts .post-card .post-card-stats span,
.home-blog .post-card .post-card-stats .post-favorite,
.page-posts .post-card .post-card-stats .post-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    line-height: 1;
}

.home-blog .post-card .post-views,
.page-posts .post-card .post-views {
    gap: 7px;
    color: #53647b;
    font-weight: 850;
}

.home-blog .post-card .post-views::before,
.page-posts .post-card .post-views::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 999px / 75%;
    background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px);
}

.home-blog .post-card .post-favorite,
.page-posts .post-card .post-favorite {
    gap: 6px;
    color: #e3342a;
    font-weight: 950;
}

.home-blog .post-card .post-favorite::before,
.page-posts .post-card .post-favorite::before,
.article-favorite::before {
    content: "\2661";
    display: inline-block;
    color: #e3342a;
    font-size: 24px;
    line-height: 1;
}

.home-blog .post-card .post-favorite.active::before,
.page-posts .post-card .post-favorite.active::before,
.article-favorite.active::before {
    content: "\2665";
}

.home-blog .post-card .post-favorite span,
.page-posts .post-card .post-favorite span {
    color: #e3342a;
    font-size: 13px;
    font-weight: 950;
}

/* Blog article premium finish */
.article-page {
    width: min(960px, calc(100% - 36px));
    margin: 22px auto 68px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    border: 1px solid rgba(35, 139, 194, .18);
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, .78);
    color: #0d6f9f;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(21, 33, 49, .07);
}

.article-back::before {
    content: "<";
    font-weight: 950;
}

.article-page .article-head {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(35, 139, 194, .16);
    border-radius: 22px;
    padding: 32px 42px 34px;
    background:
        radial-gradient(circle at 86% 18%, rgba(35, 139, 194, .14), transparent 24%),
        radial-gradient(circle at 18% 92%, rgba(255, 184, 51, .13), transparent 25%),
        linear-gradient(135deg, #fffdf8 0%, #f1f9fc 100%);
    box-shadow: 0 18px 44px rgba(21, 33, 49, .09);
}

.article-page .article-head::after {
    content: "";
    position: absolute;
    right: 30px;
    bottom: 24px;
    width: 112px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a1a, #238bc2);
    opacity: .75;
}

.article-page .article-head .eyebrow {
    border-radius: 999px;
    padding: 9px 14px;
    background: #e3342a;
    color: #fff;
    box-shadow: 0 12px 22px rgba(227, 52, 42, .18);
}

.article-page .article-head h1 {
    max-width: 820px;
    margin-top: 16px;
    color: #111a32;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.02;
    text-wrap: balance;
}

.article-page .article-head p {
    max-width: 760px;
    color: #43546b;
    font-size: 17px;
    line-height: 1.52;
}

.article-meta {
    gap: 10px;
}

.article-meta span {
    border-color: rgba(35, 139, 194, .18);
    padding: 8px 12px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 18px rgba(21, 33, 49, .05);
}

.article-page .article-cover {
    display: block;
    width: min(820px, calc(100% - 58px));
    height: auto;
    max-height: 390px;
    aspect-ratio: 16 / 8.4;
    margin: 32px auto 0;
    border: 8px solid #fffdf8;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 46px rgba(21, 33, 49, .15);
}

.article-reading-note {
    width: min(780px, calc(100% - 54px));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin: 20px auto 18px;
    border: 1px solid rgba(35, 139, 194, .14);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 36px rgba(21, 33, 49, .08);
}

.article-reading-note span {
    border-radius: 999px;
    padding: 8px 11px;
    background: #eaf6fb;
    color: #0d6f9f;
    font-size: 13px;
    font-weight: 950;
}

.article-reading-note p {
    margin: 0;
    color: #43546b;
    font-size: 15px;
    line-height: 1.35;
}

.article-reading-note a {
    border-radius: 999px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #10131b;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.article-page .article-content {
    width: min(780px, 100%);
    border: 1px solid rgba(18, 49, 77, .1);
    border-radius: 22px;
    padding: 46px 54px;
    background:
        linear-gradient(#fffdf8, #fffdf8) padding-box,
        linear-gradient(135deg, rgba(35, 139, 194, .18), rgba(255, 184, 51, .18)) border-box;
    box-shadow: 0 20px 52px rgba(21, 33, 49, .09);
}

.article-page .article-content h2 {
    position: relative;
    margin-top: 40px;
    margin-bottom: 18px;
    color: #0d2238;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.16;
}

.article-page .article-content h2::before {
    content: "";
    display: block;
    width: 48px;
    height: 5px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a1a, #238bc2);
}

.article-page .article-content p {
    color: #0d2238;
}

.article-page .article-content strong {
    color: #07101c;
}

.article-cta {
    width: min(780px, 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
}

@media (max-width: 760px) {
    .article-page {
        width: min(100% - 22px, 560px);
        margin-top: 18px;
        margin-bottom: 44px;
    }

    .article-back {
        margin-left: 2px;
        font-size: 13px;
    }

    .article-page .article-head {
        border-radius: 20px;
        padding: 24px 18px 28px;
    }

    .article-page .article-head::after {
        right: 18px;
        bottom: 15px;
        width: 74px;
        height: 6px;
    }

    .article-page .article-head h1 {
        font-size: clamp(30px, 8.5vw, 40px);
    }

    .article-page .article-head p {
        font-size: 16px;
    }

    .article-page .article-cover {
        width: calc(100% - 20px);
        aspect-ratio: 16 / 10.5;
        max-height: 260px;
        margin-top: 22px;
        border-width: 7px;
        border-radius: 18px;
    }

    .article-reading-note {
        width: calc(100% - 18px);
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .article-reading-note a {
        justify-self: start;
    }

    .article-page .article-content {
        padding: 28px 20px;
        border-radius: 18px;
        font-size: 17px;
        line-height: 1.72;
    }

    .article-page .article-content p:first-child {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .about-isra img,
    .about-isra video {
        max-height: 330px;
    }

    .site-footer .footer-cta h2 {
        font-size: 29px;
    }
}

/* Header navigation final polish */
.site-header {
    border-top: 4px solid #238bc2;
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 12px 34px rgba(21, 33, 49, .08);
    backdrop-filter: blur(14px);
}

.site-header .header-wrap {
    min-height: 78px;
    gap: 24px;
}

.site-header .logo-badge {
    border-radius: 14px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 28px rgba(21, 33, 49, .08);
}

.site-header .logo-badge img {
    max-height: 44px;
}

.site-header .main-nav {
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(35, 139, 194, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 10px 26px rgba(21, 33, 49, .08);
}

.site-header .main-nav a {
    min-width: 108px;
    min-height: 44px;
    border-radius: 999px;
    padding: 12px 20px;
    background: transparent;
    color: #0d2238;
    font-weight: 950;
    text-align: center;
    box-shadow: none;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-header .main-nav a:hover {
    transform: translateY(-1px);
    background: rgba(35, 139, 194, .12);
    color: #073a5b;
}

.site-header .main-nav a.active {
    background: linear-gradient(135deg, #238bc2, #1478ad);
    color: #fff;
    box-shadow: 0 10px 20px rgba(35, 139, 194, .22);
}

.site-header .main-nav .nav-cta,
.site-header .main-nav .nav-cta.active {
    min-width: 126px;
    background: linear-gradient(135deg, #ffca55, #ff7a1a);
    color: #0d2238;
    box-shadow: 0 12px 24px rgba(255, 122, 26, .22);
}

.site-header .main-nav .nav-cta:hover {
    background: linear-gradient(135deg, #ffd76e, #ff8a26);
    color: #0d2238;
}

@media (max-width: 760px) {
    .site-header .header-wrap {
        min-height: 70px;
    }

    .site-header .logo-badge {
        padding: 8px 12px;
    }

    .site-header .logo-badge img {
        max-height: 36px;
    }

    .site-header .menu-toggle {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: #238bc2;
        box-shadow: 0 12px 24px rgba(35, 139, 194, .2);
    }

    .site-header .main-nav {
        top: calc(100% + 10px);
        right: 14px;
        left: 14px;
        border-radius: 18px;
        padding: 10px;
        background: rgba(255, 255, 255, .96);
    }

    .site-header .main-nav a,
    .site-header .main-nav .nav-cta {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }
}

/* Global mobile experience polish */
@media (max-width: 760px) {
    html {
        scroll-padding-top: 82px;
    }

    body {
        overflow-x: hidden;
        background: #f4efe6;
    }

    .wrap,
    .classic-home,
    .poster-services,
    .about-isra,
    .home-contact-strip,
    .home-blog,
    .page-posts,
    .article-page,
    .budget-hero,
    .budget-form,
    body:has(.services-list) .page-hero,
    .services-list,
    .services-trust {
        width: min(100% - 24px, 520px);
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
        border-top-width: 3px;
    }

    .site-header .header-wrap {
        min-height: 66px;
        padding: 8px 0;
    }

    .site-header .logo-badge {
        max-width: 178px;
        border-radius: 13px;
        padding: 8px 11px;
    }

    .site-header .logo-badge img {
        width: 100%;
        max-height: 34px;
        object-fit: contain;
    }

    .site-header .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 22px 44px rgba(21, 33, 49, .18);
    }

    .site-header .main-nav.open {
        display: grid;
    }

    .site-header .main-nav a,
    .site-header .main-nav .nav-cta {
        min-height: 46px;
        border-radius: 14px;
        padding: 13px 16px;
    }

    .classic-home {
        margin-top: 14px;
        margin-bottom: 16px;
    }

    .home-cabecera {
        width: 100%;
        max-height: 252px;
        border-radius: 18px;
        object-fit: cover;
        object-position: center;
        box-shadow: 0 16px 34px rgba(21, 33, 49, .13);
    }

    .poster-services {
        margin-top: 12px;
        margin-bottom: 28px;
    }

    .poster-services .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .poster-services .service-card,
    .poster-services .service-card:nth-child(1),
    .poster-services .service-card:nth-child(6) {
        min-height: 158px;
        border-radius: 17px;
        padding: 18px;
    }

    .poster-services .service-card strong {
        max-width: 86%;
        font-size: 24px;
        line-height: 1.04;
    }

    .poster-services .service-card small {
        max-width: 86%;
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.3;
    }

    .about-isra {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 18px;
        overflow: hidden;
    }

    .about-isra figure {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .about-isra img,
    .about-isra video {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        object-fit: cover;
    }

    .about-isra article {
        padding: 24px 20px;
    }

    .about-isra h2,
    .home-blog .home-blog-head h2,
    .blog-hero h1,
    .budget-hero h1,
    .article-page .article-head h1,
    body:has(.services-list) .page-hero h1 {
        font-size: clamp(31px, 10vw, 42px);
        line-height: 1.02;
        letter-spacing: 0;
    }

    .about-isra p,
    .home-blog .home-blog-head p,
    .blog-hero p,
    .budget-hero p,
    body:has(.services-list) .page-hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .about-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-contact-strip {
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 18px;
        padding: 20px;
        text-align: left;
    }

    .home-contact-strip strong {
        font-size: 22px;
        line-height: 1.12;
    }

    .home-contact-strip a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .home-blog,
    .page-posts {
        margin-top: 28px;
        margin-bottom: 34px;
    }

    .home-blog .home-blog-head,
    .blog-hero,
    .budget-hero,
    body:has(.services-list) .page-hero {
        border-radius: 18px;
        padding: 24px 20px;
    }

    .home-blog .home-blog-head::after {
        left: 24px;
        bottom: -11px;
    }

    .home-blog .post-grid,
    .page-posts {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-blog .post-card,
    .page-posts .post-card {
        border-radius: 17px;
    }

    .home-blog .post-card img,
    .page-posts .post-card img {
        height: 190px;
        border-radius: 17px 17px 0 0;
    }

    .home-blog .post-card div,
    .page-posts .post-card div {
        min-height: auto;
        padding: 18px;
    }

    .home-blog .post-card h3,
    .home-blog .post-card h2,
    .page-posts .post-card h2 {
        font-size: 25px;
        line-height: 1.08;
    }

    .home-blog .post-card p,
    .page-posts .post-card p {
        -webkit-line-clamp: 3;
        font-size: 16px;
        line-height: 1.45;
    }

    .blog-pagination,
    .home-blog-pagination {
        width: min(100% - 24px, 520px);
        gap: 8px;
        margin: 16px auto 32px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .blog-pagination div {
        display: flex;
        gap: 6px;
    }

    .blog-pagination a,
    .blog-pagination span {
        flex: 0 0 auto;
        min-width: 42px;
        height: 42px;
    }

    body:has(.services-list) .page-hero {
        margin-top: 16px;
        margin-bottom: 14px;
        grid-template-columns: 1fr;
        background:
            linear-gradient(135deg, rgba(8, 13, 23, .9), rgba(18, 31, 49, .78)),
            url('../img/cabecera2.png') center/cover no-repeat;
    }

    .services-hero-card {
        max-width: none;
        width: 100%;
        margin-top: 4px;
    }

    .services-trust {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }

    .services-trust span {
        min-height: 44px;
        border-radius: 14px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .services-trust span::before {
        width: 20px;
        height: 20px;
        border-radius: 7px;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 40px;
    }

    .services-list .service-tile {
        height: 252px;
        min-height: 252px;
        border-radius: 17px;
    }

    .services-list .service-tile-link {
        min-height: 252px;
        padding: 16px;
    }

    .services-list .info-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .services-list .service-tile-link > div:not(.info-icon) {
        width: 100%;
        height: 108px;
        min-height: 108px;
        margin-top: 13px;
        border-radius: 15px;
        padding: 12px 13px;
    }

    .services-list .service-tile h2 {
        font-size: 19px;
        line-height: 1.05;
    }

    .services-list .service-tile p {
        font-size: 12px;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }

    .services-list .service-tile span {
        margin-top: 18px;
        padding: 10px 14px;
    }

    .budget-form {
        border-radius: 18px;
        padding: 22px 18px;
    }

    .budget-form .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .budget-form input,
    .budget-form textarea {
        min-height: 50px;
        border-radius: 13px;
        font-size: 16px;
    }

    .budget-form button {
        min-height: 52px;
        border-radius: 999px;
    }

    .article-page {
        margin-top: 18px;
        margin-bottom: 34px;
    }

    .article-page .article-head,
    .article-page .article-content {
        border-radius: 18px;
        padding: 22px 18px;
    }

    .article-page .article-cover {
        max-height: 260px;
        border-radius: 18px;
        object-fit: cover;
    }

    .site-footer .footer-cta,
    .site-footer .footer-grid {
        width: min(100% - 24px, 520px);
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: left;
    }

    .site-footer .footer-cta {
        padding: 26px 0;
    }

    .site-footer .footer-cta h2 {
        font-size: 32px;
        line-height: 1.05;
    }

    .footer-proof,
    .footer-links,
    .footer-social {
        justify-content: flex-start;
    }

    .footer-action .btn,
    .footer-phone {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 420px) {
    .wrap,
    .classic-home,
    .poster-services,
    .about-isra,
    .home-contact-strip,
    .home-blog,
    .page-posts,
    .article-page,
    .budget-hero,
    .budget-form,
    body:has(.services-list) .page-hero,
    .services-list,
    .services-trust {
        width: calc(100% - 18px);
    }

    .site-header .logo-badge {
        max-width: 154px;
    }

    .home-cabecera {
        max-height: 224px;
        border-radius: 16px;
    }

    .poster-services .service-card strong {
        font-size: 22px;
    }

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

    .services-list .service-tile {
        height: 244px;
        min-height: 244px;
    }

    .services-list .service-tile-link {
        min-height: 244px;
    }

    .services-list .service-tile h2 {
        font-size: 18px;
    }

    .about-isra h2,
    .home-blog .home-blog-head h2,
    .blog-hero h1,
    .budget-hero h1,
    .article-page .article-head h1,
    body:has(.services-list) .page-hero h1 {
        font-size: 31px;
    }
}

/* Budget/contact page final polish */
.budget-hero {
    position: relative;
    overflow: hidden;
    width: min(980px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 34px;
    border-radius: 20px;
    padding: 30px 38px;
    background:
        linear-gradient(90deg, rgba(255, 184, 51, .28) 0 3px, transparent 3px) 0 0 / 24px 100% no-repeat,
        radial-gradient(circle at 86% 18%, rgba(255, 202, 85, .18), transparent 18%),
        radial-gradient(circle at 30% 100%, rgba(35, 139, 194, .2), transparent 28%),
        linear-gradient(135deg, #090f1a, #172435 58%, #263546);
    box-shadow: 0 16px 36px rgba(21, 33, 49, .14);
}

.budget-hero::after {
    content: "Presupuesto gratuito";
    position: absolute;
    right: 36px;
    bottom: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 900;
}

.budget-hero h1 {
    max-width: 620px;
    margin: 8px 0 10px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    text-wrap: balance;
}

.budget-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 184, 51, .1);
}

.budget-hero p {
    max-width: 600px;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.48;
}

.budget-hero .contact-signal {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.budget-hero .contact-signal::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 17px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    opacity: .9;
}

.budget-hero .contact-signal span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .86);
}

.budget-hero .contact-signal strong {
    display: block;
    color: #ffcf56;
    font-size: 28px;
    line-height: 1;
}

.budget-hero .contact-signal a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    border-radius: 999px;
    padding: 11px 14px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #10131b;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(255, 122, 26, .18);
}

.contact-layout {
    align-items: start;
    gap: 28px;
}

.budget-form {
    position: relative;
    border: 1px solid rgba(35, 139, 194, .12);
    border-radius: 22px;
    padding: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 251, 244, .96));
    box-shadow: 0 20px 46px rgba(21, 33, 49, .1);
}

.budget-form::before {
    content: "Solicitud de presupuesto";
    display: inline-flex;
    margin-bottom: 18px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(35, 139, 194, .1);
    color: #0d5f88;
    font-size: 13px;
    font-weight: 950;
}

.budget-form label {
    color: #0d2238;
    font-size: 15px;
    font-weight: 950;
}

.budget-form input,
.budget-form textarea {
    min-height: 56px;
    margin-top: 8px;
    border: 2px solid #bfd3e7;
    border-radius: 14px;
    background: #fbfdff;
    color: #0d2238;
    font-size: 16px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.budget-form textarea {
    min-height: 150px;
    resize: vertical;
}

.budget-form input:hover,
.budget-form textarea:hover {
    border-color: #8fb1d3;
}

.budget-form input:focus,
.budget-form textarea:focus {
    border-color: #238bc2;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(35, 139, 194, .13);
}

.budget-form textarea::placeholder {
    color: #64748b;
}

.budget-form button {
    min-height: 56px;
    font-size: 16px;
    box-shadow: 0 16px 32px rgba(255, 122, 26, .22);
}

.contact-card {
    position: sticky;
    top: 98px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    padding: 30px 28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 207, 86, .16), transparent 22%),
        linear-gradient(145deg, #080d17, #121b2b);
    box-shadow: 0 20px 44px rgba(21, 33, 49, .14);
}

.contact-card .eyebrow {
    color: #ff9f1a;
}

.contact-card > a {
    display: inline-flex;
    margin: 16px 0 10px;
    color: #ffcf56;
    font-size: 36px;
    line-height: 1;
    text-decoration: none;
}

.contact-card p {
    color: rgba(255, 255, 255, .82);
}

.contact-steps {
    gap: 10px;
    margin-top: 20px;
}

.contact-steps span {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    padding: 14px 15px 14px 48px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.contact-steps span::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
}

@media (max-width: 900px) {
    .budget-hero,
    .contact-layout {
        width: min(100% - 28px, 580px);
        grid-template-columns: 1fr;
    }

    .budget-hero {
        padding: 24px 20px;
    }

    .budget-hero .contact-signal {
        width: 100%;
    }

    .contact-card {
        position: static;
    }
}

@media (max-width: 520px) {
    .budget-hero,
    .contact-layout {
        width: calc(100% - 20px);
    }

    .budget-hero {
        margin-top: 14px;
        border-radius: 18px;
        padding: 22px 16px;
    }

    .budget-hero::after {
        position: static;
        display: inline-flex;
        width: fit-content;
        margin-top: 12px;
    }

    .budget-hero h1 {
        font-size: 30px;
        line-height: 1.02;
    }

    .budget-hero p {
        font-size: 15px;
    }

    .budget-hero .contact-signal {
        padding: 16px;
    }

    .budget-hero .contact-signal a {
        margin-top: 13px;
    }

    .budget-hero .contact-signal strong,
    .contact-card > a {
        font-size: 29px;
    }

    .budget-form {
        border-radius: 18px;
        padding: 22px 16px;
    }

    .budget-form .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .budget-form input,
    .budget-form textarea {
        min-height: 52px;
    }

    .contact-card {
        border-radius: 18px;
        padding: 24px 18px;
    }
}

/* Final mobile footer and blog pagination cleanup */
@media (max-width: 760px) {
    .site-footer {
        margin-top: 34px;
        border-top: 3px solid #ff7a1a;
        background:
            radial-gradient(circle at 90% 4%, rgba(255, 207, 86, .13), transparent 22%),
            linear-gradient(180deg, #07101c, #0b1422);
    }

    .site-footer .footer-cta,
    .site-footer .footer-grid {
        width: min(100% - 28px, 430px);
        margin-inline: auto;
    }

    .site-footer .footer-cta {
        display: grid;
        gap: 16px;
        padding: 24px 0 22px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        text-align: left;
    }

    .site-footer .footer-cta .eyebrow {
        display: inline-flex;
        width: fit-content;
        border-radius: 999px;
        padding: 7px 11px;
        background: rgba(255, 184, 51, .1);
        color: #ffcf56;
    }

    .site-footer .footer-cta h2 {
        max-width: 330px;
        margin: 10px 0 8px;
        font-size: 28px;
        line-height: 1.08;
    }

    .site-footer .footer-cta p {
        max-width: 330px;
        font-size: 15px;
        line-height: 1.45;
    }

    .footer-proof {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
    }

    .footer-proof span {
        border-radius: 999px;
        padding: 8px 11px;
        font-size: 13px;
        background: rgba(255, 255, 255, .08);
    }

    .footer-action {
        display: grid;
        gap: 10px;
        max-width: 100%;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 16px;
        padding: 12px;
        background: rgba(255, 255, 255, .045);
        box-shadow: none;
    }

    .footer-phone {
        min-height: 46px;
        border-radius: 12px;
        font-size: 22px;
    }

    .footer-action .btn {
        min-height: 50px;
        border-radius: 999px;
        padding: 14px 18px;
    }

    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 0 78px;
        text-align: left;
    }

    .site-footer .footer-logo {
        font-size: 28px;
        line-height: 1;
    }

    .footer-brand p {
        max-width: 300px;
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        min-height: 40px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, .045);
    }

    .site-footer .footer-contact {
        display: grid;
        gap: 6px;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 14px;
        padding: 13px 14px;
        background: rgba(255, 255, 255, .045);
    }

    .site-footer .footer-contact a {
        font-size: 25px;
        line-height: 1;
    }

    .footer-social {
        display: flex;
        gap: 9px;
        justify-content: flex-start;
    }

    .footer-social a {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .footer-copy {
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
        padding-top: 16px;
        font-size: 13px;
        line-height: 1.4;
        color: rgba(255, 255, 255, .66);
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

    .blog-pagination,
    .home-blog-pagination {
        width: fit-content;
        max-width: calc(100% - 26px);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 7px;
        margin: 18px auto 34px;
        border: 1px solid rgba(18, 49, 77, .08);
        border-radius: 999px;
        padding: 7px;
        background: rgba(255, 253, 248, .9);
        box-shadow: 0 12px 26px rgba(21, 33, 49, .08);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .blog-pagination::-webkit-scrollbar,
    .home-blog-pagination::-webkit-scrollbar {
        display: none;
    }

    .blog-pagination div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex: 0 0 auto;
    }

    .blog-pagination a,
    .blog-pagination span {
        flex: 0 0 auto;
        min-width: 40px;
        height: 40px;
        border-radius: 999px;
        padding: 0 13px;
    }

    .blog-pagination .page-arrow {
        min-width: 40px;
        width: 40px;
        padding-inline: 0;
        font-size: 22px;
    }

    .blog-pagination .page-long {
        display: none;
    }

    .blog-pagination .page-short {
        display: inline;
        line-height: 1;
    }
}

@media (max-width: 390px) {
    .site-footer .footer-cta,
    .site-footer .footer-grid {
        width: calc(100% - 22px);
    }

    .site-footer .footer-cta h2 {
        font-size: 26px;
    }

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

    .blog-pagination,
    .home-blog-pagination {
        max-width: calc(100% - 18px);
        gap: 5px;
        padding: 6px;
    }

    .blog-pagination .page-arrow {
        min-width: 38px;
        width: 38px;
        padding-inline: 0;
    }
}

/* Footer mobile redesign */
@media (max-width: 760px) {
    .site-footer .footer-grid {
        width: min(100% - 28px, 390px);
        gap: 14px;
        padding: 24px 0 88px;
        text-align: center;
        justify-items: center;
    }

    .footer-brand {
        display: grid;
        justify-items: center;
        gap: 8px;
    }

    .site-footer .footer-logo {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        font-size: 28px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 280px;
        margin: 0 auto;
        color: rgba(255, 255, 255, .76);
        font-size: 14px;
        line-height: 1.45;
        text-align: center;
    }

    .footer-links {
        width: min(100%, 300px);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 4px;
    }

    .footer-links a {
        justify-content: center;
        min-height: 36px;
        border-radius: 999px;
        padding: 7px 10px;
        background: rgba(255, 255, 255, .06);
        color: #fff;
        font-size: 14px;
    }

    .site-footer .footer-contact {
        width: min(100%, 300px);
        display: grid;
        justify-items: center;
        gap: 8px;
        border: 1px solid rgba(255, 207, 86, .18);
        border-radius: 18px;
        padding: 13px 14px;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 207, 86, .16), transparent 55%),
            rgba(255, 255, 255, .055);
    }

    .site-footer .footer-contact span {
        color: rgba(255, 255, 255, .72);
        font-size: 13px;
    }

    .site-footer .footer-contact a {
        color: #ffcf56;
        font-size: 25px;
        letter-spacing: .01em;
    }

    .footer-social {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .07);
        font-size: 12px;
    }

    .footer-copy {
        width: 100%;
        margin-top: 2px;
        padding-top: 16px;
        text-align: center;
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .site-footer .footer-grid {
        width: calc(100% - 24px);
    }

    .site-footer .footer-logo {
        font-size: 28px;
    }

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

/* Contact page professional redesign */
.contact-hero.budget-hero {
    width: min(1060px, calc(100% - 40px));
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 34px;
    border: 1px solid rgba(35, 139, 194, .16);
    border-radius: 22px;
    padding: 34px 38px;
    background:
        radial-gradient(circle at 86% 18%, rgba(35, 139, 194, .16), transparent 24%),
        linear-gradient(135deg, #fafdff 0%, #eef7fb 58%, #fff9ef 100%);
    color: #0d2238;
    box-shadow: 0 20px 46px rgba(21, 33, 49, .12);
}

.contact-hero.budget-hero::after {
    content: none;
}

.contact-hero.budget-hero .eyebrow {
    border: 1px solid rgba(35, 139, 194, .16);
    background: #fff;
    color: #0d6f9f;
    box-shadow: 0 8px 18px rgba(35, 139, 194, .08);
}

.contact-hero.budget-hero h1 {
    max-width: 680px;
    margin: 13px 0 14px;
    color: #0a1728;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.02;
}

.contact-hero.budget-hero p {
    max-width: 640px;
    color: #42556e;
    font-size: 17px;
    line-height: 1.5;
}

.contact-hero.budget-hero .contact-signal {
    border: 1px solid rgba(35, 139, 194, .16);
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, .82);
    color: #0d2238;
    box-shadow: 0 16px 34px rgba(21, 33, 49, .1);
    backdrop-filter: blur(10px);
}

.contact-hero.budget-hero .contact-signal::before {
    content: none;
}

.contact-hero.budget-hero .contact-signal span {
    margin-bottom: 10px;
    color: #637083;
    font-size: 14px;
}

.contact-hero.budget-hero .contact-signal strong {
    color: #0d2238;
    font-size: 30px;
}

.contact-hero.budget-hero .contact-signal a {
    min-height: 46px;
    margin-top: 16px;
    background: linear-gradient(135deg, #238bc2, #0d6f9f);
    color: #fff;
    box-shadow: 0 14px 28px rgba(35, 139, 194, .2);
}

.contact-layout {
    width: min(1060px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    margin-top: 26px;
}

.contact-form.budget-form {
    border: 1px solid rgba(35, 139, 194, .14);
    border-radius: 22px;
    padding: 32px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(21, 33, 49, .1);
}

.contact-form.budget-form::before {
    background: rgba(35, 139, 194, .1);
    color: #0d6f9f;
}

.contact-form.budget-form input,
.contact-form.budget-form textarea {
    border: 1px solid #bed3e6;
    background: #f9fbfd;
    box-shadow: inset 0 1px 2px rgba(21, 33, 49, .04);
}

.contact-form.budget-form input:focus,
.contact-form.budget-form textarea:focus {
    border-color: #238bc2;
    box-shadow: 0 0 0 4px rgba(35, 139, 194, .13);
}

.contact-form.budget-form button {
    background: linear-gradient(135deg, #238bc2, #0d6f9f);
    color: #fff;
    box-shadow: 0 16px 30px rgba(35, 139, 194, .22);
}

.contact-card {
    border: 1px solid rgba(35, 139, 194, .14);
    border-radius: 22px;
    padding: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(35, 139, 194, .12), transparent 30%),
        #fff;
    color: #0d2238;
    box-shadow: 0 20px 44px rgba(21, 33, 49, .1);
}

.contact-card .eyebrow {
    color: #0d6f9f;
}

.contact-card > a {
    color: #0d2238;
    font-size: 34px;
}

.contact-card p {
    color: #526278;
}

.contact-steps span {
    border: 1px solid rgba(35, 139, 194, .14);
    background: #f8fbfd;
    color: #0d2238;
}

.contact-steps span::before {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #238bc2;
    box-shadow: 0 8px 16px rgba(35, 139, 194, .18);
}

@media (max-width: 900px) {
    .contact-hero.budget-hero,
    .contact-layout {
        width: min(100% - 28px, 620px);
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .contact-hero.budget-hero,
    .contact-layout {
        width: calc(100% - 22px);
    }

    .contact-hero.budget-hero {
        border-radius: 18px;
        padding: 24px 18px;
    }

    .contact-hero.budget-hero h1 {
        font-size: 33px;
        line-height: 1.04;
    }

    .contact-hero.budget-hero p {
        font-size: 15px;
    }

    .contact-hero.budget-hero .contact-signal,
    .contact-form.budget-form,
    .contact-card {
        border-radius: 18px;
    }

    .contact-form.budget-form {
        padding: 22px 16px;
    }

    .contact-card {
        padding: 22px 16px;
    }

    .contact-card > a {
        font-size: 29px;
    }
}


/* Tighten mobile footer bottom spacing */
@media (max-width: 760px) {
    .site-footer .footer-grid {
        padding-bottom: 34px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: 12px;
    }
}

/* Contact page final dark brand override */
.contact-hero.budget-hero {
    border-color: rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 202, 85, .13), transparent 20%),
        radial-gradient(circle at 18% 100%, rgba(35, 139, 194, .2), transparent 32%),
        linear-gradient(135deg, #07101c, #122337 62%, #263546);
    color: #fff;
}

.contact-hero.budget-hero .eyebrow {
    border-color: rgba(255, 207, 86, .18);
    background: rgba(255, 184, 51, .1);
    color: #ffcf56;
    box-shadow: none;
}

.contact-hero.budget-hero h1 {
    color: #fff;
}

.contact-hero.budget-hero p {
    color: rgba(255, 255, 255, .82);
}

.contact-hero.budget-hero .contact-signal {
    border-color: rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .07));
    color: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.contact-hero.budget-hero .contact-signal span {
    color: rgba(255, 255, 255, .78);
}

.contact-hero.budget-hero .contact-signal strong {
    color: #ffcf56;
}

.contact-hero.budget-hero .contact-signal a {
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #10131b;
    box-shadow: 0 14px 28px rgba(255, 122, 26, .2);
}

/* Footer legal links final override */
.site-footer .footer-grid {
    grid-template-columns: 1.25fr .8fr 1fr .9fr auto;
}

.site-footer .footer-legal-links {
    display: grid;
    gap: 8px;
}

.site-footer .footer-legal-links strong {
    color: #fff;
    font-size: 16px;
    font-weight: 950;
}

.site-footer .footer-legal-links a {
    color: rgba(255, 255, 255, .72);
    font-weight: 750;
    text-decoration: none;
}

.site-footer .footer-legal-links a:hover {
    color: #ffb833;
}

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

    .site-footer .footer-legal-links {
        text-align: center;
    }
}

/* Final dark alignment for legal and contact blocks */
.legal-head {
    border-color: rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 202, 85, .13), transparent 20%),
        radial-gradient(circle at 18% 100%, rgba(35, 139, 194, .2), transparent 32%),
        linear-gradient(135deg, #07101c, #122337 62%, #263546);
    color: #fff;
}

.legal-head .eyebrow {
    color: #ffcf56;
}

.legal-head h1 {
    color: #fff;
}

.legal-head p {
    color: rgba(255, 255, 255, .78);
}

.contact-card {
    border-color: rgba(255, 255, 255, .12);
    background:
        radial-gradient(circle at 80% 12%, rgba(255, 202, 85, .12), transparent 22%),
        linear-gradient(145deg, #07101c, #101b2d 70%, #171717);
    color: #fff;
    box-shadow: 0 24px 54px rgba(7, 21, 37, .16);
}

.contact-card .eyebrow {
    color: #ffcf56;
}

.contact-card > a {
    color: #ffcf56;
}

.contact-card p {
    color: rgba(255, 255, 255, .78);
}

.contact-steps span {
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.contact-steps span::before {
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    box-shadow: 0 8px 18px rgba(255, 122, 26, .25);
}

/* About block final polish without enlarging the video */
.about-isra {
    grid-template-columns: 300px minmax(0, 1fr);
    border-color: rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 202, 85, .08), transparent 22%),
        linear-gradient(135deg, #07101c, #122337 70%, #263546);
    box-shadow: 0 24px 54px rgba(7, 21, 37, .16);
}

.about-isra figure {
    align-self: stretch;
    overflow: hidden;
    background: #122337;
    min-height: 390px;
}

.about-isra figure::after {
    background:
        linear-gradient(90deg, transparent 62%, rgba(7, 16, 28, .6)),
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .12));
}

.about-isra video,
.about-isra img {
    display: block;
    height: 100%;
    max-height: none;
    object-position: center center;
}

.about-isra article {
    padding: 34px 44px;
    background: transparent;
    color: #fff;
}

.about-kicker {
    margin-bottom: 10px;
    background: rgba(255, 122, 26, .16);
    color: #ffcf56;
    box-shadow: inset 0 0 0 1px rgba(255, 207, 86, .22);
}

.about-isra h2 {
    max-width: 650px;
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(34px, 3.3vw, 46px);
}

.about-isra p {
    max-width: 720px;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.52;
}

.about-points {
    margin-top: 14px;
}

.about-points span {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
}

@media (max-width: 760px) {
    .about-isra {
        grid-template-columns: 1fr;
    }

    .about-isra figure {
        min-height: 340px;
        max-height: 430px;
        aspect-ratio: 4 / 5;
    }

    .about-isra video,
    .about-isra img {
        max-height: none;
        object-position: center center;
    }

    .about-isra article {
        padding: 24px 20px;
    }

}

/* Local service area highlight */
.service-area-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 20px;
    margin: 18px auto 24px;
    border: 1px solid rgba(35, 139, 194, .14);
    border-radius: 18px;
    padding: 16px 18px 16px 22px;
    background:
        radial-gradient(circle at 92% 12%, rgba(35, 139, 194, .14), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(244, 251, 255, .86));
    box-shadow: 0 18px 42px rgba(13, 34, 56, .08);
}

.poster-services + .service-area-strip {
    margin-top: 28px;
    margin-bottom: 30px;
}

.service-area-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 18px;
}

.service-area-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    background: #0d2238;
    color: #ffcf56;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-area-strip span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff7a1a;
    box-shadow: 0 0 0 5px rgba(255, 122, 26, .16);
}

.service-area-strip strong {
    color: #0a1728;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.08;
}

.service-area-strip p {
    grid-column: 2;
    max-width: 760px;
    margin: -2px 0 0;
    color: #53647a;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
}

.barcelona-map {
    position: relative;
    min-height: 126px;
    overflow: hidden;
    border: 1px solid rgba(7, 21, 37, .1);
    border-radius: 15px;
    background: #dfecc5;
    box-shadow: 0 14px 28px rgba(20, 40, 70, .09);
}

.barcelona-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(25deg, transparent 0 22%, rgba(255,255,255,.45) 22% 23%, transparent 23% 100%),
        linear-gradient(150deg, transparent 0 36%, rgba(255,255,255,.42) 36% 37%, transparent 37% 100%),
        linear-gradient(95deg, transparent 0 48%, rgba(255,255,255,.34) 48% 49%, transparent 49% 100%),
        radial-gradient(circle at 18% 70%, rgba(121, 163, 90, .34), transparent 24%);
    opacity: .86;
}

.map-sea {
    position: absolute;
    right: -24px;
    bottom: -18px;
    width: 58%;
    height: 78%;
    border-radius: 48% 0 0 0;
    background: linear-gradient(135deg, #75c6df, #2f95c0);
}

.map-sea::before {
    content: "Mar Mediterráneo";
    position: absolute;
    right: 26px;
    bottom: 20px;
    color: rgba(255,255,255,.82);
    font-size: 10px;
    font-weight: 850;
    transform: rotate(-10deg);
}

.map-land {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 58%;
    height: 72%;
    border-radius: 32% 50% 42% 30%;
    background: linear-gradient(135deg, rgba(172, 204, 122, .8), rgba(244, 236, 184, .96));
    transform: rotate(-9deg);
}

.map-road {
    position: absolute;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 0 0 1px rgba(7,21,37,.05);
}

.road-one {
    left: 34px;
    top: 72px;
    width: 220px;
    transform: rotate(-13deg);
}

.road-two {
    left: 80px;
    top: 48px;
    width: 180px;
    transform: rotate(10deg);
}

.road-three {
    left: 44px;
    top: 96px;
    width: 170px;
    transform: rotate(18deg);
}

.map-zone {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 9px;
    background: #1f6f9b;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(20, 40, 70, .16);
    transition: opacity .28s ease, transform .28s ease, left .38s ease, top .38s ease, right .38s ease, bottom .38s ease;
}

.map-zone.is-changing {
    opacity: 0;
    transform: translateY(6px) scale(.94);
}

.zone-main {
    left: 136px;
    top: 60px;
    background: linear-gradient(135deg, #ffb347, #ff7a1a);
    color: #071525;
    font-size: 12px;
}

.zone-one {
    right: 32px;
    top: 34px;
}

.zone-two {
    left: 46px;
    bottom: 34px;
}

.zone-three {
    left: 62px;
    top: 28px;
}

.map-pin {
    position: absolute;
    z-index: 3;
    left: 154px;
    top: 82px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #ff4b3e;
    box-shadow: 0 0 0 7px rgba(255, 75, 62, .18), 0 8px 16px rgba(7,21,37,.2);
}

@media (max-width: 760px) {
    .service-area-strip {
        width: min(100% - 24px, 520px);
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
        padding: 16px;
        border-radius: 16px;
    }

    .service-area-strip p {
        grid-column: auto;
        font-size: 15px;
    }

    .service-area-copy {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .barcelona-map {
        min-height: 148px;
    }
}

/* Service cards image zoom on hover */
.poster-services .service-card,
.poster-services .service-card:nth-child(1),
.poster-services .service-card:nth-child(6) {
    isolation: isolate;
    background: #122337;
}

.poster-services .service-card::before,
.poster-services .service-card:nth-child(1)::before,
.poster-services .service-card:nth-child(6)::before {
    content: "";
    position: absolute;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 0;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    background: var(--service-photo) center/cover no-repeat !important;
    transform: scale(1);
    transition: transform .55s ease, filter .55s ease;
}

.poster-services .service-card::after,
.poster-services .service-card:nth-child(1)::after,
.poster-services .service-card:nth-child(6)::after {
    content: "";
    position: absolute;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(8, 13, 24, .08), rgba(8, 13, 24, .28)),
        linear-gradient(135deg, rgba(255, 122, 26, .28), rgba(224, 45, 45, .24)) !important;
    transition: opacity .35s ease;
}

.poster-services .service-card strong,
.poster-services .service-card small {
    position: relative;
    z-index: 2;
}

.poster-services .service-card:hover::before {
    transform: scale(1.1);
    filter: saturate(1.08) contrast(1.03);
}

.poster-services .service-card:hover::after {
    opacity: .78;
}

@media (prefers-reduced-motion: reduce) {
    .poster-services .service-card::before {
        transition: none;
    }

    .poster-services .service-card:hover::before {
        transform: none;
    }
}

/* Home orientative prices */
.price-guide {
    width: min(1180px, calc(100% - 32px));
    margin: 20px auto 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 0;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 207, 86, .13), transparent 24%),
        radial-gradient(circle at 16% 100%, rgba(35, 139, 194, .22), transparent 34%),
        linear-gradient(135deg, #07101c, #122337 68%, #263546);
    color: #fff;
    box-shadow: 0 18px 38px rgba(13, 34, 56, .14);
    overflow: hidden;
}

.price-guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 18px 26px;
    cursor: pointer;
    list-style: none;
}

.price-guide-head strong {
    margin-left: auto;
}

.price-guide-head::-webkit-details-marker {
    display: none;
}

.price-guide-head span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(255, 207, 86, .12);
    color: #ffcf56;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.price-guide-head strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.1;
}

.price-guide-head strong::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #10131b;
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 10px 20px rgba(255, 122, 26, .24);
}

.price-guide[open] .price-guide-head strong::after {
    content: "-";
}

.price-guide h2 {
    max-width: 620px;
    margin: 0;
    padding: 0 26px 14px;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.08;
}

.price-table {
    overflow: hidden;
    margin: 0 26px 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .08);
}

.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 155px;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.price-row.is-promo {
    position: relative;
    background:
        linear-gradient(90deg, rgba(255, 207, 86, .12), rgba(255, 122, 26, .08));
}

.price-service-cell {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.price-service-cell span {
    min-width: 0;
}

.price-row.is-promo .price-service-cell em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 8px;
    background: rgba(255, 207, 86, .14);
    color: #ffcf56;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.price-row.is-promo .price-service-cell em i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3b30, #ff8a1c);
    color: #fff;
    font-style: normal;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 0 0 rgba(255, 122, 26, .34);
    animation: promo-pulse 1.35s ease-in-out infinite;
}

@keyframes promo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 122, 26, .36);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 7px rgba(255, 122, 26, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-row.is-promo .price-service-cell em i {
        animation: none;
    }
}

.price-row:first-child {
    border-top: 0;
}

.price-row-head {
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.price-row span {
    color: #fff;
    font-weight: 850;
    font-size: 14px;
}

.price-row strong {
    justify-self: end;
    border-radius: 999px;
    padding: 7px 10px;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    color: #10131b;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.price-row.is-promo strong {
    background: linear-gradient(135deg, #ff3b30, #ff8a1c);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 89, 35, .24);
}

.price-guide > p {
    margin: 12px 26px 20px;
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .price-guide {
        width: min(100% - 24px, 460px);
        padding: 0;
        border-radius: 16px;
    }

    .price-guide-head {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px;
    }

    .price-guide-head strong {
        margin-left: auto;
    }

    .price-guide h2 {
        padding: 0 15px 13px;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 11px 12px;
    }

    .price-table {
        margin-inline: 15px;
    }

    .price-guide > p {
        margin: 12px 15px 15px;
    }

    .price-row-head {
        display: none;
    }

    .price-row strong {
        justify-self: start;
    }
}

/* Final alignment fixes */
.blog-pagination,
.home-blog-pagination {
    align-items: center !important;
}

.blog-pagination div {
    align-items: center !important;
}

.blog-pagination a,
.blog-pagination span {
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

@media (max-width: 760px) {
    .blog-pagination,
    .home-blog-pagination {
        justify-content: center !important;
        overflow-x: visible !important;
        padding: 6px !important;
    }

    .blog-pagination .page-short {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        line-height: 1 !important;
        transform: translateY(-1px);
    }

    .service-story-content,
    .service-story-content *,
    .rich-content,
    .rich-content * {
        font-family: Arial, Verdana, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif !important;
        letter-spacing: 0 !important;
    }
}

/* Blog page: premium editorial finish - final override */
body:has(.blog-pro-grid) .blog-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: end;
    gap: 28px;
    width: min(1040px, calc(100% - 30px));
    margin-top: 28px;
    margin-bottom: 26px;
    padding: clamp(28px, 4.2vw, 46px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 184, 64, .16), transparent 24%),
        linear-gradient(135deg, #07111f 0%, #142132 56%, #253140 100%);
    box-shadow: 0 24px 50px rgba(7, 21, 37, .16);
    overflow: hidden;
}

body:has(.blog-pro-grid) .blog-hero::before {
    content: "";
    position: absolute;
    inset: auto 42px 28px auto;
    width: 140px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a1a, #238bc2);
    opacity: .75;
}

body:has(.blog-pro-grid) .blog-hero-copy,
body:has(.blog-pro-grid) .blog-hero-panel {
    position: relative;
    z-index: 1;
}

body:has(.blog-pro-grid) .blog-hero .eyebrow {
    background: rgba(255, 184, 64, .1);
    color: #ffcf56;
}

body:has(.blog-pro-grid) .blog-hero h1 {
    max-width: 820px;
    margin: 16px 0 18px;
    color: #fff;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: .98;
    letter-spacing: 0;
}

body:has(.blog-pro-grid) .blog-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 750;
}

body:has(.blog-pro-grid) .blog-hero-panel {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

body:has(.blog-pro-grid) .blog-hero-panel strong {
    display: block;
    color: #ffcf56;
    font-size: 42px;
    line-height: 1;
}

body:has(.blog-pro-grid) .blog-hero-panel span {
    display: block;
    margin-top: 6px;
    font-weight: 950;
}

body:has(.blog-pro-grid) .blog-hero-panel p {
    margin-top: 14px !important;
    color: rgba(255, 255, 255, .74) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

body:has(.blog-pro-grid) .blog-category-tabs {
    width: min(1040px, calc(100% - 30px));
    margin: 0 auto 28px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(18, 49, 77, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
    box-shadow: 0 16px 34px rgba(20, 26, 35, .08);
    overflow-x: auto;
    scrollbar-width: none;
}

body:has(.blog-pro-grid) .blog-category-tabs::-webkit-scrollbar {
    display: none;
}

body:has(.blog-pro-grid) .blog-category-tabs a,
body:has(.blog-pro-grid) .blog-category-tabs span {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 12px 17px;
    background: #fff;
    color: #071525;
    font-size: 14px;
    font-weight: 950;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

body:has(.blog-pro-grid) .blog-category-tabs a:hover {
    transform: translateY(-2px);
    background: #eef8fc;
}

body:has(.blog-pro-grid) .blog-category-tabs a.active {
    background: linear-gradient(135deg, #ef342e, #ff7a1a);
    color: #fff;
    box-shadow: 0 12px 24px rgba(239, 52, 46, .18);
}

body:has(.blog-pro-grid) .blog-category-tabs span {
    color: #53647b;
}

body:has(.blog-pro-grid) .blog-pro-grid.page-posts {
    width: min(1040px, calc(100% - 30px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 0;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card {
    border: 1px solid rgba(18, 49, 77, .1) !important;
    border-radius: 18px !important;
    background: #fffdf8 !important;
    box-shadow: 0 18px 38px rgba(20, 26, 35, .1) !important;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(35, 139, 194, .24) !important;
    box-shadow: 0 26px 46px rgba(20, 26, 35, .14) !important;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card a {
    display: grid;
    grid-template-rows: 190px 1fr;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 18px 18px 0 0 !important;
    background: #eaf3f8 !important;
    transition: transform .24s ease, filter .24s ease;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.02);
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card > a > div {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto auto;
    min-height: 300px;
    padding: 22px !important;
    background:
        radial-gradient(circle at 92% 0%, rgba(35, 139, 194, .08), transparent 30%),
        #fffdf8 !important;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-category {
    width: fit-content;
    margin: 0 0 14px;
    border-radius: 999px;
    padding: 8px 11px !important;
    background: #ef342e !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card h2 {
    display: -webkit-box;
    min-height: 84px;
    margin: 0 0 12px !important;
    overflow: hidden;
    color: #111834 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.2vw, 29px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card p {
    display: -webkit-box;
    margin: 0 !important;
    overflow: hidden;
    color: #31425a !important;
    font-size: 16px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-read-more {
    display: inline-flex !important;
    width: fit-content;
    margin: 18px 0 0 !important;
    border-top: 0 !important;
    border-radius: 999px;
    padding: 9px 13px !important;
    background: #fff;
    color: #ef342e !important;
    font-size: 14px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(239, 52, 46, .16);
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card:hover .post-read-more {
    background: #ef342e;
    color: #fff !important;
}

body:has(.blog-pro-grid) .blog-pro-grid .post-card-stats {
    margin-top: 18px !important;
    padding-top: 14px !important;
}

body:has(.blog-pro-grid) .blog-pagination {
    margin-top: 28px;
    margin-bottom: 44px;
}

@media (max-width: 980px) {
    body:has(.blog-pro-grid) .blog-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    body:has(.blog-pro-grid) .blog-hero-panel {
        max-width: 360px;
    }

    body:has(.blog-pro-grid) .blog-pro-grid.page-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body:has(.blog-pro-grid) .blog-hero,
    body:has(.blog-pro-grid) .blog-category-tabs,
    body:has(.blog-pro-grid) .blog-pro-grid.page-posts {
        width: calc(100% - 22px);
    }

    body:has(.blog-pro-grid) .blog-hero {
        margin-top: 18px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    body:has(.blog-pro-grid) .blog-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    body:has(.blog-pro-grid) .blog-hero p {
        font-size: 16px;
    }

    body:has(.blog-pro-grid) .blog-hero-panel {
        max-width: none;
        padding: 16px;
    }

    body:has(.blog-pro-grid) .blog-category-tabs {
        border-radius: 18px;
        justify-content: flex-start;
    }

    body:has(.blog-pro-grid) .blog-pro-grid.page-posts {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body:has(.blog-pro-grid) .blog-pro-grid .post-card a {
        grid-template-rows: 188px 1fr;
    }

    body:has(.blog-pro-grid) .blog-pro-grid .post-card img {
        height: 188px !important;
    }

    body:has(.blog-pro-grid) .blog-pro-grid .post-card > a > div {
        min-height: auto;
        padding: 19px !important;
    }

    body:has(.blog-pro-grid) .blog-pro-grid .post-card h2 {
        min-height: auto;
        font-size: 27px !important;
    }
}

/* Blog test: modern row/feed layout */
body:has(.blog-feed-list) .blog-hero {
    width: min(1060px, calc(100% - 30px));
    margin-top: 18px;
    margin-bottom: 18px;
    padding: clamp(24px, 3.2vw, 34px) !important;
    grid-template-columns: minmax(0, 1fr) 236px !important;
    gap: 22px !important;
    min-height: 0;
}

body:has(.blog-feed-list) .blog-hero h1 {
    max-width: 720px;
    margin: 12px 0 14px !important;
    font-size: clamp(36px, 4.2vw, 56px) !important;
    line-height: 1 !important;
}

body:has(.blog-feed-list) .blog-hero p {
    max-width: 650px;
    font-size: 16px !important;
    line-height: 1.48 !important;
}

body:has(.blog-feed-list) .blog-hero-panel {
    padding: 17px !important;
    border-radius: 16px !important;
}

body:has(.blog-feed-list) .blog-hero-panel strong {
    font-size: 34px !important;
}

body:has(.blog-feed-list) .blog-hero-panel p {
    margin-top: 10px !important;
    font-size: 13px !important;
}

body:has(.blog-feed-list) .blog-hero::before {
    right: 34px;
    bottom: 24px;
    width: 112px;
    height: 6px;
}

body:has(.blog-feed-list) .blog-category-tabs {
    width: min(1060px, calc(100% - 30px));
    margin-bottom: 18px;
    border-radius: 18px;
}

body:has(.blog-feed-list) .blog-feed-list.page-posts {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(1060px, calc(100% - 30px));
    gap: 0 !important;
    border: 1px solid rgba(18, 49, 77, .1);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 20px 44px rgba(20, 26, 35, .09);
    overflow: hidden;
}

body:has(.blog-feed-list) .blog-feed-list .post-card {
    border: 0 !important;
    border-bottom: 1px solid rgba(18, 49, 77, .12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: background .18s ease, transform .18s ease;
}

body:has(.blog-feed-list) .blog-feed-list .post-card:last-child {
    border-bottom: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card:hover {
    transform: none;
    background:
        radial-gradient(circle at 96% 50%, rgba(35, 139, 194, .1), transparent 24%),
        rgba(255, 255, 255, .88) !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card a {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) 108px;
    grid-template-rows: auto;
    gap: 22px;
    min-height: 136px;
    padding: 18px 22px 18px 18px;
    align-items: center;
}

body:has(.blog-feed-list) .blog-feed-list .post-card img {
    width: 190px !important;
    height: 118px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    box-shadow: 0 12px 24px rgba(20, 26, 35, .1);
}

body:has(.blog-feed-list) .blog-feed-list .post-card:hover img {
    transform: scale(1.025);
}

body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    min-height: 0;
    padding: 0 !important;
    background: transparent !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    grid-column: 1 / -1;
    margin: 0 0 8px;
    border-radius: 0;
    padding: 0 !important;
    background: transparent !important;
    color: #0b8a43 !important;
    font-family: Arial, Verdana, ui-sans-serif, system-ui, sans-serif;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    grid-column: 1 / 2;
    min-height: 0;
    margin: 0 0 8px !important;
    color: #071525 !important;
    font-family: Arial, Verdana, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(20px, 2vw, 25px) !important;
    font-weight: 950;
    line-height: 1.14 !important;
    -webkit-line-clamp: 2;
}

body:has(.blog-feed-list) .blog-feed-list .post-card p {
    grid-column: 1 / 2;
    max-width: 720px;
    color: #516174 !important;
    font-family: Arial, Verdana, ui-sans-serif, system-ui, sans-serif;
    font-size: 15.5px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    align-self: center;
    display: grid !important;
    justify-items: center;
    align-content: center;
    gap: 9px;
    width: auto;
    min-width: 96px;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-read-more {
    margin: 0 !important;
    border-radius: 999px;
    padding: 8px 13px !important;
    background: #071525 !important;
    color: #fff !important;
    box-shadow: none;
    white-space: nowrap;
}

body:has(.blog-feed-list) .blog-feed-list .post-views,
body:has(.blog-feed-list) .blog-feed-list .post-favorite {
    min-height: 24px;
    font-size: 13px;
    justify-content: center !important;
    color: #53647b;
}

body:has(.blog-feed-list) .blog-feed-list .post-favorite {
    color: #ef342e;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-hero {
        grid-template-columns: 1fr !important;
        padding: 22px 18px !important;
    }

    body:has(.blog-feed-list) .blog-hero h1 {
        font-size: clamp(32px, 9vw, 42px) !important;
    }

    body:has(.blog-feed-list) .blog-hero-panel {
        max-width: none !important;
    }

    body:has(.blog-feed-list) .blog-feed-list.page-posts,
    body:has(.blog-feed-list) .blog-hero,
    body:has(.blog-feed-list) .blog-category-tabs {
        width: calc(100% - 22px);
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
        min-height: 132px;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card img {
        width: 112px !important;
        height: 92px !important;
        border-radius: 12px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        grid-template-columns: 1fr;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
        font-size: 18px !important;
        -webkit-line-clamp: 2;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card p {
        display: none;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        grid-column: 1 / -1;
        grid-row: auto;
        display: flex !important;
        justify-content: space-between;
        width: 100%;
        margin-top: 10px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-read-more {
        padding: 7px 10px !important;
        font-size: 13px;
    }
}

/* Blog feed compacto: estilo editorial moderno sin huecos exagerados */
body:has(.blog-feed-list) .blog-feed-list.page-posts {
    width: min(1000px, calc(100% - 30px)) !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card a {
    grid-template-columns: 176px minmax(0, 1fr) 88px !important;
    gap: 18px !important;
    min-height: 124px !important;
    padding: 14px 16px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card img {
    width: 176px !important;
    height: 108px !important;
    border-radius: 13px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    margin-bottom: 6px !important;
    font-size: 11.5px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    margin-bottom: 6px !important;
    font-size: clamp(20px, 1.8vw, 24px) !important;
    line-height: 1.1 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card p {
    max-width: 680px !important;
    font-size: 15px !important;
    line-height: 1.36 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    width: 88px !important;
    min-width: 0 !important;
    gap: 6px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-read-more {
    padding: 7px 11px !important;
    font-size: 13px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-views,
body:has(.blog-feed-list) .blog-feed-list .post-favorite {
    min-height: 20px !important;
    font-size: 12.5px !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list.page-posts {
        width: calc(100% - 22px) !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 108px minmax(0, 1fr) !important;
        gap: 12px !important;
        min-height: 118px !important;
        padding: 12px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card img {
        width: 108px !important;
        height: 86px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
        font-size: 17px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        width: 100% !important;
        gap: 8px !important;
    }
}

/* Blog feed actions: centered and balanced */
body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    width: 86px !important;
    min-width: 86px !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-content: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-read-more {
    min-width: 74px !important;
    justify-content: center !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-views,
body:has(.blog-feed-list) .blog-feed-list .post-favorite {
    width: 54px !important;
    min-height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .7) !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-views::before {
    width: 15px !important;
    height: 10px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-favorite::before {
    font-size: 19px !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 8px !important;
    }
}

/* Blog feed category: keep it visually above the title */
body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    align-self: center !important;
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    align-content: center !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    display: inline-flex !important;
    width: fit-content !important;
    margin: 0 0 18px !important;
    color: #008a3d !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    margin-top: 0 !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-category {
        margin-bottom: 10px !important;
        font-size: 10.5px !important;
    }
}

/* Blog feed final restore: compact rows, category above title */
body:has(.blog-feed-list) .blog-feed-list .post-card a {
    grid-template-columns: 176px minmax(0, 1fr) 86px !important;
    gap: 18px !important;
    min-height: 136px !important;
    padding: 16px 18px !important;
    align-items: center !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card img {
    width: 176px !important;
    height: 108px !important;
    align-self: center !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    align-self: center !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    align-content: center !important;
    min-height: 108px !important;
    max-height: 118px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    margin: 0 0 16px !important;
    color: #008a3d !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    margin: 0 0 6px !important;
    font-size: clamp(20px, 1.75vw, 24px) !important;
    line-height: 1.08 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    align-self: center !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 108px minmax(0, 1fr) !important;
        min-height: 118px !important;
        padding: 12px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        min-height: 86px !important;
        max-height: 96px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-category {
        margin-bottom: 8px !important;
        font-size: 10.5px !important;
    }
}

/* Blog feed exact reference layout */
body:has(.blog-feed-list) .blog-feed-list .post-card a {
    grid-template-columns: 190px minmax(0, 1fr) 92px !important;
    gap: 20px !important;
    min-height: 212px !important;
    padding: 42px 28px 42px 20px !important;
    align-items: start !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card img {
    width: 188px !important;
    height: 116px !important;
    align-self: start !important;
    border-radius: 12px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    align-self: start !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 6px 0 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    display: block !important;
    margin: 0 0 24px !important;
    color: #008a3d !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    margin: 0 0 7px !important;
    font-size: clamp(23px, 2vw, 27px) !important;
    line-height: 1.04 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card p {
    margin: 0 !important;
    max-width: 620px !important;
    font-size: 15.5px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    align-self: start !important;
    align-content: start !important;
    height: auto !important;
    padding-top: 0 !important;
    gap: 9px !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 108px minmax(0, 1fr) !important;
        gap: 12px !important;
        min-height: 128px !important;
        padding: 14px 12px !important;
        align-items: start !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card img {
        width: 108px !important;
        height: 86px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        padding-top: 0 !important;
        overflow: hidden !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-category {
        margin-bottom: 8px !important;
        font-size: 10.5px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
        font-size: 17px !important;
        line-height: 1.08 !important;
    }
}

/* Blog feed fixed layout: text left, actions right */
body:has(.blog-feed-list) .blog-feed-list .post-card a {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 20px !important;
    min-height: 190px !important;
    padding: 32px 32px 32px 20px !important;
    align-items: center !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card img {
    width: 188px !important;
    height: 116px !important;
    align-self: center !important;
    border-radius: 12px !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
    align-self: center !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 28px !important;
    align-content: center !important;
    min-height: 116px !important;
    max-height: 146px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-category {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    display: block !important;
    margin: 0 0 18px !important;
    color: #008a3d !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    margin: 0 0 7px !important;
    font-size: clamp(23px, 2vw, 27px) !important;
    line-height: 1.04 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card p {
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
    margin: 0 !important;
    max-width: 650px !important;
    font-size: 15.5px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 4 !important;
    align-self: start !important;
    justify-self: center !important;
    display: grid !important;
    width: 86px !important;
    min-width: 86px !important;
    height: auto !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.blog-feed-list) .blog-feed-list .post-views,
body:has(.blog-feed-list) .blog-feed-list .post-favorite {
    background: transparent !important;
}

@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 108px minmax(0, 1fr) !important;
        gap: 12px !important;
        min-height: 128px !important;
        padding: 14px 12px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-height: 86px !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 8px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-category {
        margin-bottom: 8px !important;
    }
}

/* Blog feed mobile restore: clean left-aligned compact cards */
@media (max-width: 760px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 124px minmax(0, 1fr) !important;
        gap: 13px !important;
        min-height: 112px !important;
        padding: 11px 12px !important;
        align-items: center !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card img {
        width: 124px !important;
        height: 78px !important;
        align-self: center !important;
        border-radius: 12px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card > a > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        min-height: 78px !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-category {
        display: block !important;
        margin: 0 0 6px !important;
        font-size: 10.5px !important;
        line-height: 1 !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
        margin: 0 0 7px !important;
        font-size: 16.5px !important;
        line-height: 1.05 !important;
        -webkit-line-clamp: 2 !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card p {
        display: none !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card-stats {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-read-more {
        min-width: 0 !important;
        padding: 7px 11px !important;
        font-size: 12px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-views,
    body:has(.blog-feed-list) .blog-feed-list .post-favorite {
        width: auto !important;
        min-height: 0 !important;
        gap: 5px !important;
        background: transparent !important;
        font-size: 12px !important;
    }
}

@media (max-width: 390px) {
    body:has(.blog-feed-list) .blog-feed-list .post-card a {
        grid-template-columns: 116px minmax(0, 1fr) !important;
        gap: 11px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card img {
        width: 116px !important;
        height: 74px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-card h2 {
        font-size: 16px !important;
    }

    body:has(.blog-feed-list) .blog-feed-list .post-read-more {
        padding: 6px 10px !important;
        font-size: 11.5px !important;
    }
}

@media (max-width: 760px) {
    .service-gallery-mosaic {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-gallery-photos {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 165px 118px 118px;
        gap: 10px;
    }

    .service-gallery-photos figure:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .service-gallery-photos figure {
        border-radius: 15px;
    }
}

/* Pro icon navigation */
.site-header {
    border-top: 4px solid #238bc2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 253, 248, .9));
    box-shadow: 0 12px 34px rgba(21, 33, 49, .09);
}

.site-header .header-wrap {
    min-height: 84px;
    align-items: center;
}

.site-header .logo-badge {
    border-radius: 16px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(21, 33, 49, .1);
}

.site-header .logo-badge img {
    max-height: 46px;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 8px;
    border: 1px solid rgba(35, 139, 194, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 16px 40px rgba(21, 33, 49, .1);
    backdrop-filter: blur(14px);
}

.site-header .main-nav a,
.site-header .main-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 126px;
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 999px;
    color: #0d2238;
    background: transparent;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.site-header .main-nav svg {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header .main-nav a:hover {
    transform: translateY(-1px);
    background: rgba(35, 139, 194, .1);
    color: #075784;
}

.site-header .main-nav a.active:not(.nav-cta) {
    background: linear-gradient(135deg, #228dc8 0%, #096eb0 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        0 14px 28px rgba(9, 110, 176, .28);
}

.site-header .main-nav .nav-cta,
.site-header .main-nav .nav-cta.active,
.site-header .main-nav .nav-cta:hover {
    min-width: 178px;
    color: #fff;
    background: linear-gradient(135deg, #ffb844 0%, #ff7b1b 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        0 15px 30px rgba(255, 122, 26, .24);
}

.site-header .main-nav .nav-cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ffc65b 0%, #ff8526 100%);
}

.site-header .main-nav .nav-arrow {
    font-size: 24px;
    line-height: 0;
    margin-left: 2px;
}

.maintenance-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(34, 141, 200, .2), transparent 34%),
        radial-gradient(circle at 20% 86%, rgba(255, 122, 26, .16), transparent 30%),
        #f4efe6;
    color: #071525;
}

.maintenance-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
}

.maintenance-card {
    width: min(920px, 100%);
    padding: clamp(28px, 6vw, 64px);
    border: 1px solid rgba(18, 132, 192, .2);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.97), rgba(239,248,253,.94)),
        radial-gradient(circle at 94% 10%, rgba(34,141,200,.18), transparent 30%);
    box-shadow: 0 28px 70px rgba(7,21,37,.14);
    overflow: hidden;
    position: relative;
}

.maintenance-card::after {
    content: "";
    position: absolute;
    right: clamp(24px, 5vw, 58px);
    bottom: clamp(22px, 4vw, 46px);
    width: 120px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8a1f, #228dc8);
    opacity: .85;
}

.maintenance-logo {
    display: inline-flex;
    align-items: center;
    max-width: 245px;
    margin-bottom: 34px;
    padding: 12px 17px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(7,21,37,.1);
}

.maintenance-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.maintenance-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #ffcf56;
    background: #071525;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.maintenance-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.maintenance-card h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #071525;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .95;
    letter-spacing: 0;
}

.maintenance-card p {
    max-width: 690px;
    margin: 0;
    color: #31445c;
    font-size: clamp(18px, 2.4vw, 23px);
    line-height: 1.55;
    font-weight: 700;
}

.maintenance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
}

.maintenance-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    color: #071525;
    background: linear-gradient(135deg, #ffcf56, #ff7a1a);
    box-shadow: 0 18px 34px rgba(255,122,26,.22);
    font-weight: 900;
    text-decoration: none;
}

.maintenance-actions span {
    color: #5b6d83;
    font-weight: 800;
}

@media (max-width: 900px) {
    .site-header .main-nav a,
    .site-header .main-nav .nav-cta {
        min-width: 0;
        padding-inline: 18px;
    }

    .site-header .main-nav .nav-cta {
        min-width: 150px;
    }
}

@media (max-width: 620px) {
    .maintenance-card {
        border-radius: 24px;
    }

    .maintenance-logo {
        max-width: 205px;
        margin-bottom: 26px;
    }

    .maintenance-card h1 {
        font-size: 42px;
    }

    .maintenance-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .site-header {
        border-top-width: 3px;
    }

    .site-header .header-wrap {
        min-height: 68px;
        padding: 8px 0;
    }

    .site-header .logo-badge {
        max-width: 178px;
        padding: 8px 12px;
        border-radius: 14px;
    }

    .site-header .logo-badge img {
        max-height: 34px;
    }

    .site-header .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 16px;
        background: linear-gradient(135deg, #238bc2, #1478ad);
        box-shadow: 0 12px 24px rgba(35, 139, 194, .22);
    }

    .site-header .menu-toggle span {
        width: 21px;
        height: 3px;
        margin: 0;
        border-radius: 999px;
        background: #fff;
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 14px;
        left: 14px;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-left: 0;
        padding: 10px;
        border-radius: 24px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 24px 50px rgba(21, 33, 49, .18);
    }

    .site-header .main-nav.open {
        display: grid;
    }

    .site-header .main-nav a,
    .site-header .main-nav .nav-cta {
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 13px 17px;
        border-radius: 16px;
    }

    .site-header .main-nav .nav-cta {
        justify-content: space-between;
    }

    .site-header .main-nav .nav-cta span:not(.nav-arrow) {
        margin-right: auto;
    }
}
