/*
Theme Name: Toliakis Plumber
Author: Miltos
Description: Production WordPress theme for Giorgos Toliakis plumbing services, adapted to the visual direction of Classic Plumbing Services by classictemplate.
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toliakis-plumber
*/

:root {
    --blue-950: #10294a;
    --blue-900: #17365f;
    --blue-800: #214a7a;
    --blue-100: #eaf1f8;
    --orange: #fb923c;
    --orange-dark: #e86d14;
    --ink: #14243a;
    --text: #4e5e70;
    --muted: #738092;
    --line: #dce3ea;
    --surface: #ffffff;
    --surface-alt: #f6f8fb;
    --success: #1a7f55;
    --error: #b42318;
    --shadow: 0 20px 60px rgba(16, 41, 74, 0.12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 32px;
    --site-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.admin-bar .site-header {
    top: 32px;
}

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

a {
    color: inherit;
}

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

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(1.9rem, 3.7vw, 3rem);
}

h3 {
    font-size: 1.22rem;
}

p {
    margin: 0 0 1.15em;
}

.site-wrap {
    width: min(100% - 40px, var(--site-width));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    clip: auto !important;
    width: auto;
    height: auto;
    margin: 12px;
    padding: 12px 16px;
    z-index: 99999;
    background: #fff;
    color: #111;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.service-strip {
    background: var(--blue-950);
    color: #fff;
    font-size: 0.86rem;
}

.service-strip-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.service-strip a {
    color: var(--orange);
    font-weight: 800;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(220, 227, 234, 0.8);
    backdrop-filter: blur(12px);
}

.header-main {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 38px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    text-decoration: none;
}

.custom-logo-brand .custom-logo-link {
    display: inline-flex;
}

.custom-logo {
    max-height: 62px;
    width: auto;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
}

.brand-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--blue-950);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    color: var(--blue-950);
    font-size: 1.18rem;
    letter-spacing: 0.01em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.navigation-shell {
    margin-left: auto;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 6px 5px 18px;
    background: var(--orange);
    border-radius: 14px 0 0 14px;
}

.primary-navigation .menu-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation li {
    margin: 0;
}

.primary-navigation a {
    display: block;
    padding: 10px 16px;
    border-radius: 9px;
    color: var(--blue-950);
    font-size: 0.91rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
    background: #fff;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 10px;
    background: #fff;
    color: var(--blue-950);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone .phone-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--orange-dark);
}

.header-phone-number {
    color: inherit;
}

.mobile-call-button,
.mobile-about-link,
.mobile-navigation-panel {
    display: none;
}

.mobile-call-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--blue-950);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(16, 41, 74, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-call-button:hover,
.mobile-call-button:focus-visible {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.phone-icon {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.mobile-call-button .phone-icon {
    width: 23px;
    height: 23px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 9px;
    border: 0;
    border-radius: 10px;
    background: var(--orange);
    color: var(--blue-950);
    cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue-800);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker-light {
    color: var(--orange);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: var(--blue-950);
    color: #fff;
}

.button-dark:hover {
    background: var(--blue-800);
}

.button-orange {
    background: var(--orange);
    color: var(--blue-950);
}

.button-orange:hover {
    background: var(--orange-dark);
}

.button-light {
    background: #fff;
    color: var(--blue-950);
    box-shadow: inset 0 0 0 1px var(--line);
}

.button-outline-light {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
}

.home-hero {
    padding: 38px 0 70px;
    overflow: hidden;
}

.hero-heading {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.hero-heading h1 {
    font-size: clamp(2.35rem, 5vw, 4.15rem);
}

.hero-heading h1 span {
    color: var(--orange-dark);
}

.hero-heading p {
    max-width: 720px;
    margin: 18px auto 0;
    font-size: 1.08rem;
}

.hero-services-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 290px 1fr;
    gap: 22px;
    align-items: center;
    min-height: 420px;
    padding: 38px 42px 0;
    overflow: hidden;
    border-radius: 28px 28px 74px 74px;
    background: var(--orange);
}

.hero-services-panel::before,
.hero-services-panel::after {
    content: "";
    position: absolute;
    bottom: -95px;
    width: 260px;
    height: 160px;
    border-radius: 50%;
    background: #fff;
}

.hero-services-panel::before {
    left: -70px;
}

.hero-services-panel::after {
    right: -70px;
}

.hero-services-column {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 24px;
}

.hero-service-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 13px;
    align-items: start;
}

.hero-services-left .hero-service-item {
    grid-template-columns: 1fr 46px;
    text-align: right;
}

.hero-services-left .hero-service-item .service-icon {
    grid-column: 2;
    grid-row: 1;
}

.hero-services-left .hero-service-item > div:last-child {
    grid-column: 1;
    grid-row: 1;
}

.service-icon,
.service-card-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-950);
    color: #fff;
}

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

.service-icon svg,
.service-card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-service-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--blue-950);
    font-size: 0.98rem;
    line-height: 1.25;
}

.hero-service-item span {
    display: block;
    color: rgba(16, 41, 74, 0.78);
    font-size: 0.78rem;
    line-height: 1.4;
}

.hero-visual {
    position: relative;
    z-index: 3;
    align-self: end;
    min-height: 390px;
}

.hero-visual svg {
    width: 100%;
    height: 390px;
    overflow: visible;
}

.hero-visual-circle {
    fill: rgba(255,255,255,0.45);
}

.hero-person {
    fill: #f5c49d;
    stroke: var(--blue-950);
    stroke-width: 5;
}

.hero-overall {
    fill: var(--blue-800);
    stroke: var(--blue-950);
    stroke-width: 5;
}

.hero-pipe,
.hero-wrench {
    fill: none;
    stroke: var(--blue-950);
    stroke-width: 11;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-valve {
    fill: #fff;
    stroke: var(--blue-950);
    stroke-width: 7;
}

.hero-badge {
    position: absolute;
    left: 50%;
    bottom: 17px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 208px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.hero-badge strong {
    color: var(--blue-950);
    font-size: 1.55rem;
}

.hero-badge span {
    color: var(--blue-950);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.about-section,
.services-section,
.portfolio-section,
.contact-section,
.contact-page-section,
.services-detail-section,
.portfolio-page-section,
.single-project-section,
.content-section {
    padding: 90px 0;
    scroll-margin-top: 130px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 78px;
    align-items: center;
}

.about-media {
    position: relative;
    min-height: 480px;
}

.about-media > img,
.about-graphic {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.about-graphic {
    display: grid;
    place-items: center;
    background: var(--blue-100);
}

.about-graphic svg {
    width: 82%;
    height: 82%;
    fill: none;
    stroke: var(--blue-800);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-floating-card {
    position: absolute;
    left: -34px;
    bottom: 26px;
    width: 225px;
    padding: 22px;
    border-left: 5px solid var(--blue-950);
    border-radius: 0 18px 18px 0;
    background: #fff;
    box-shadow: var(--shadow);
}

.about-floating-card strong {
    display: block;
    color: var(--orange-dark);
    font-size: 2rem;
}

.about-floating-card span {
    color: var(--blue-950);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

.about-content p {
    font-size: 1rem;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 22px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--blue-950);
    font-weight: 800;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 2px solid var(--blue-800);
    border-radius: 50%;
    color: var(--blue-800);
    font-size: 0.67rem;
}

.experience-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--orange);
    color: var(--blue-950);
    text-decoration: none;
}

.experience-banner strong {
    padding: 8px 14px;
    border-radius: 9px;
    background: #fff;
    font-size: 1.45rem;
}

.experience-banner span {
    font-weight: 900;
}

.services-section {
    background: var(--surface-alt);
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading.centered {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.section-heading p {
    margin-top: 14px;
}

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

.service-card {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249,115,22,0.8);
    box-shadow: var(--shadow);
}

.service-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(249,115,22,0.15);
}

.service-card-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
}

.service-card-icon svg {
    width: 27px;
    height: 27px;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 25px;
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    margin: 0;
    font-size: 0.94rem;
}

.section-action {
    margin-top: 34px;
    text-align: center;
}

.diagnostics-section {
    padding: 92px 0;
    background: var(--blue-950);
    color: rgba(255,255,255,0.78);
}

.diagnostics-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.diagnostics-section h2 {
    color: #fff;
}

.diagnostics-section p {
    margin-top: 18px;
}

.diagnostics-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}

.diagnostics-list li {
    display: flex;
    gap: 13px;
    align-items: center;
}

.diagnostics-list strong {
    color: var(--orange);
}

.diagnostics-visual {
    position: relative;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
}

.diagnostics-visual svg {
    width: 100%;
    display: block;
    fill: none;
    stroke: rgba(255,255,255,0.62);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.diagnostics-visual svg rect {
    fill: rgba(255,255,255,0.03);
}

.diagnostics-visual svg circle:not(.pulse-ring) {
    fill: var(--orange);
    stroke: var(--orange);
}

.pulse-ring {
    stroke: var(--orange);
    opacity: 0.4;
}

.pulse-ring.second {
    opacity: 0.15;
}

.diagnostics-readout {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(16,41,74,0.88);
    color: rgba(255,255,255,0.65);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.diagnostics-readout strong {
    color: var(--orange);
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.text-link {
    color: var(--blue-800);
    font-weight: 900;
    text-decoration: none;
}

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

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

.project-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.project-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--blue-100);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.04);
}

.project-image-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--blue-100);
}

.project-image-fallback svg {
    width: 72%;
    fill: none;
    stroke: var(--blue-800);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-card-content {
    padding: 18px;
}

.project-card-content > span,
.project-category-list span {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--orange-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-card-content h3,
.project-card-content h2 {
    font-size: 1.02rem;
    line-height: 1.35;
}

.project-card-content a {
    text-decoration: none;
}

.project-card-content p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.empty-state,
.empty-state-card {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-alt);
    text-align: center;
}

.testimonial-section {
    padding: 12px 0 90px;
}

.testimonial-card {
    position: relative;
    max-width: 900px;
    padding: 42px 70px;
    border-radius: 24px;
    background: var(--orange);
    color: var(--blue-950);
    text-align: center;
}

.quote-mark {
    height: 42px;
    color: rgba(16,41,74,0.35);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.testimonial-card blockquote {
    margin: 0;
    color: var(--blue-950);
    font-size: 1.22rem;
    font-weight: 800;
}

.testimonial-card cite {
    display: block;
    margin-top: 18px;
    font-style: normal;
    font-weight: 900;
}

.contact-section,
.contact-page-section {
    background: var(--surface-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 62px;
    align-items: start;
}

.contact-intro h2 {
    margin-bottom: 18px;
}

.contact-details {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-details a {
    display: grid;
    gap: 2px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
    text-decoration: none;
}

.contact-details span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-details strong {
    color: var(--blue-950);
    overflow-wrap: anywhere;
}

.form-shell {
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-heading {
    margin-bottom: 24px;
}

.form-heading > span {
    color: var(--orange-dark);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-heading h2 {
    margin-top: 7px;
    font-size: 1.65rem;
}

.contact-form {
    display: grid;
    gap: 17px;
}

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

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-950);
    font-size: 0.82rem;
    font-weight: 800;
}

.form-field label span {
    color: var(--error);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-alt);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
    height: 48px;
    padding: 0 13px;
}

.form-field textarea {
    min-height: 140px;
    padding: 12px 13px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue-800);
    box-shadow: 0 0 0 3px rgba(33,74,122,0.12);
    outline: 0;
}

.consent-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.78rem;
}

.consent-row input {
    margin-top: 4px;
}

.form-submit {
    justify-self: start;
}

.contact-notice {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 0.9rem;
}

.contact-notice.success {
    background: #eaf8f1;
    color: var(--success);
}

.contact-notice.error {
    background: #fff0ef;
    color: var(--error);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.inner-hero {
    padding: 74px 0;
    background: linear-gradient(135deg, var(--blue-100), #fff 62%);
    border-bottom: 1px solid var(--line);
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 70px;
    align-items: center;
}

.inner-hero p {
    max-width: 720px;
    margin-top: 18px;
    font-size: 1.05rem;
}

.compact-inner-hero {
    padding: 58px 0;
}

.breadcrumbs {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.breadcrumbs a {
    color: var(--blue-800);
    text-decoration: none;
}

.inner-hero-icon {
    display: grid;
    place-items: center;
    height: 190px;
    border-radius: 26px;
    background: var(--orange);
}

.inner-hero-icon svg {
    width: 80%;
    height: 80%;
    fill: none;
    stroke: var(--blue-950);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inner-hero-icon--photo {
    overflow: hidden;
    padding: 0;
    background: var(--orange);
}

.inner-hero-icon--photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-detail-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.service-detail-heading {
    position: relative;
    padding-right: 40px;
}

.service-detail-heading .service-card-icon {
    margin-bottom: 18px;
}

.service-detail-heading > span {
    position: absolute;
    top: 3px;
    right: 0;
    color: var(--orange-dark);
    font-weight: 900;
}

.service-detail-card > p {
    margin-top: 15px;
}

.service-detail-card ul {
    display: grid;
    gap: 9px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.service-detail-card li {
    position: relative;
    padding-left: 23px;
}

.service-detail-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue-800);
    font-weight: 900;
}

.service-cta-section {
    padding: 0 0 90px;
}

.service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 42px 46px;
    border-radius: 24px;
    background: var(--blue-950);
}

.service-cta h2 {
    max-width: 700px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.service-cta-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.filter-tabs button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--blue-950);
    font-weight: 800;
    cursor: pointer;
}

.filter-tabs button.active,
.filter-tabs button:hover {
    border-color: var(--orange);
    background: var(--orange);
}

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

.hours-card {
    display: grid;
    gap: 0;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.hours-card > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 17px;
    border-bottom: 1px solid var(--line);
}

.hours-card > div:last-child {
    border-bottom: 0;
}

.hours-card span {
    color: var(--muted);
}

.hours-card strong {
    color: var(--blue-950);
    text-align: right;
}

.map-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--blue-800);
    font-weight: 900;
    text-decoration: none;
}

.single-project-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

.single-project-media img,
.single-project-media .project-image-fallback {
    width: 100%;
    min-height: 420px;
    border-radius: 22px;
    object-fit: cover;
}

.project-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-category-list span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--blue-100);
}

.entry-content {
    color: var(--text);
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
    margin: 1.3em 0 0.55em;
}

.entry-content a {
    color: var(--blue-800);
}

.content-narrow {
    max-width: 850px;
}

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

.post-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

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

.post-card a {
    text-decoration: none;
}

.error-section {
    padding: 110px 0;
}

.error-card {
    max-width: 720px;
    padding: 65px;
    border-radius: 24px;
    background: var(--blue-100);
    text-align: center;
}

.error-card > span {
    display: block;
    color: var(--orange-dark);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.error-card p {
    margin: 16px 0 25px;
}

.site-footer {
    background: var(--blue-950);
    color: rgba(255,255,255,0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr;
    gap: 70px;
    padding-top: 64px;
    padding-bottom: 54px;
}

.footer-site-brand .brand-copy strong,
.footer-site-brand .brand-copy small {
    color: #fff;
}

.footer-brand p {
    max-width: 440px;
    margin-top: 20px;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 1rem;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.13);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.78rem;
}

@media (max-width: 1080px) {
    .header-main {
        gap: 18px;
    }

    .navigation-shell {
        padding-left: 10px;
    }

    .primary-navigation a {
        padding-inline: 10px;
    }

    .hero-services-panel {
        grid-template-columns: 1fr 250px 1fr;
        padding-inline: 25px;
    }

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

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

@media (max-width: 1080px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .service-strip-inner {
        min-height: 42px;
        justify-content: center;
        font-size: 0.75rem;
        text-align: center;
    }

    .header-main {
        position: relative;
        min-height: 76px;
        gap: 10px;
    }

    .custom-logo {
        max-width: min(210px, 48vw);
        max-height: 56px;
    }

    .mobile-call-button {
        display: inline-grid;
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
        margin-left: 0;
    }

    .navigation-shell {
        display: none;
    }

    .mobile-navigation-panel {
        position: absolute;
        z-index: 220;
        top: calc(100% - 1px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 132px);
        margin: 0;
        padding: 12px;
        overflow-y: auto;
        background: var(--orange);
        border: 1px solid rgba(16, 41, 74, 0.12);
        border-top: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 20px 45px rgba(16, 41, 74, 0.24);
    }

    .mobile-navigation-panel.is-open {
        display: block;
    }

    .mobile-navigation-panel[hidden] {
        display: none !important;
    }

    .mobile-menu-list {
        display: grid;
        gap: 7px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-menu-list li {
        margin: 0;
    }

    .mobile-menu-list a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 15px;
        border: 1px solid rgba(16, 41, 74, 0.1);
        border-radius: 10px;
        background: #fff;
        color: var(--blue-950);
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.2;
        text-decoration: none;
    }

    .mobile-menu-list a:hover,
    .mobile-menu-list a:focus-visible {
        background: var(--blue-950);
        color: #fff;
    }

    .header-phone {
        display: none;
    }

    .hero-services-panel {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
        padding: 30px 28px 38px;
        border-radius: 24px;
    }

    .hero-visual {
        grid-column: 1 / -1;
        grid-row: 1;
        max-width: 300px;
        min-height: 300px;
        margin: 0 auto;
    }

    .hero-visual svg {
        height: 300px;
    }

    .hero-services-column {
        grid-row: 2;
    }

    .hero-services-panel::before,
    .hero-services-panel::after {
        display: none;
    }

    .about-grid,
    .diagnostics-grid,
    .contact-grid,
    .single-project-grid,
    .inner-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .diagnostics-grid,
    .contact-grid,
    .single-project-grid {
        gap: 42px;
    }

    .inner-hero-icon {
        display: none;
    }

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

    .service-cta {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-wrap {
        width: min(100% - 28px, var(--site-width));
    }

    .service-strip-inner > span {
        max-width: 100%;
        line-height: 1.3;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .brand-copy small {
        font-size: 0.62rem;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

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

    .hero-heading h1 {
        font-size: 2.25rem;
    }

    .hero-services-panel {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 22px 30px;
    }

    .hero-services-column,
    .hero-services-left .hero-service-item,
    .hero-services-right .hero-service-item {
        grid-column: 1;
        grid-row: auto;
    }

    .hero-services-left .hero-service-item,
    .hero-services-right .hero-service-item {
        grid-template-columns: 46px 1fr;
        text-align: left;
    }

    .hero-services-left .hero-service-item .service-icon,
    .hero-services-right .hero-service-item .service-icon {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-services-left .hero-service-item > div:last-child,
    .hero-services-right .hero-service-item > div:last-child {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-visual {
        grid-row: auto;
        order: -1;
        max-width: 250px;
        min-height: 260px;
    }

    .hero-visual svg {
        height: 260px;
    }

    .hero-actions,
    .service-cta-actions {
        flex-direction: column;
    }

    .hero-actions .button,
    .service-cta-actions .button {
        width: 100%;
    }

    .about-section,
    .services-section,
    .portfolio-section,
    .contact-section,
    .contact-page-section,
    .services-detail-section,
    .portfolio-page-section,
    .single-project-section,
    .content-section {
        padding: 68px 0;
    }

    .about-media,
    .about-media > img,
    .about-graphic {
        min-height: 360px;
        height: 360px;
    }

    .about-floating-card {
        left: 15px;
        bottom: 15px;
    }

    .check-list,
    .service-card-grid,
    .services-detail-grid,
    .portfolio-grid,
    .portfolio-grid-full,
    .form-row,
    .posts-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .split-heading,
    .footer-bottom-inner,
    .hours-card > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .hours-card strong {
        text-align: left;
    }

    .testimonial-card {
        padding: 34px 24px;
    }

    .form-shell {
        padding: 25px 20px;
    }

    .inner-hero {
        padding: 55px 0;
    }

    .service-cta {
        padding: 32px 24px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.header-main {
    position: relative;
    gap: 18px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-icon-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 15px;
    border: 1px solid rgba(16, 41, 74, 0.08);
    border-radius: 12px;
    background: var(--orange);
    color: var(--blue-950);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(16, 41, 74, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-icon-button:hover,
.header-icon-button:focus-visible {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 11px 28px rgba(16, 41, 74, 0.16);
}

.header-icon-button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-action-label {
    color: inherit;
    font-size: 0.86rem;
    white-space: nowrap;
}

.menu-toggle {
    display: block;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(16, 41, 74, 0.12);
}

.mobile-navigation-panel {
    position: absolute;
    z-index: 220;
    top: calc(100% - 1px);
    right: 0;
    left: auto;
    display: none;
    width: min(380px, calc(100vw - 40px));
    max-height: calc(100vh - 130px);
    margin: 0;
    padding: 12px;
    overflow-y: auto;
    background: var(--orange);
    border: 1px solid rgba(16, 41, 74, 0.12);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 45px rgba(16, 41, 74, 0.24);
}

.mobile-navigation-panel.is-open {
    display: block;
}

.mobile-navigation-panel[hidden] {
    display: none !important;
}

.mobile-menu-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-list li {
    margin: 0;
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid rgba(16, 41, 74, 0.1);
    border-radius: 10px;
    background: #fff;
    color: var(--blue-950);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus-visible {
    background: var(--blue-950);
    color: #fff;
}

.navigation-shell,
.mobile-call-button {
    display: none !important;
}

@media (max-width: 1080px) {
    .header-main {
        min-height: 76px;
        gap: 10px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-icon-button {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 50%;
    }

    .header-action-label {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 10px;
    }

    .mobile-navigation-panel {
        right: 0;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 132px);
    }
}

@media (max-width: 520px) {
    .header-actions {
        gap: 6px;
    }

    .header-icon-button,
    .menu-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        flex-basis: 42px;
    }

    .header-icon-button svg {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }
}


.footer-contact-list li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
}

.footer-contact-label {
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.footer-contact-list a {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

.footer-map-section {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.footer-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.footer-map-heading h2 {
    margin: 0;
}

.footer-map-heading a {
    color: var(--orange);
    font-size: 0.86rem;
    font-weight: 800;
}

.footer-map-frame {
    height: 330px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 760px) {
    .footer-contact-list li {
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 10px;
    }

    .footer-map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .footer-map-frame {
        height: 290px;
    }
}

.before-after-card-badge {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--blue-950);
    box-shadow: 0 8px 22px rgba(16, 41, 74, 0.2);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-card-image {
    position: relative;
}

.before-after-comparison {
    --before-after-position: 50%;
    width: 100%;
}

.before-after-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    background: var(--blue-100);
    box-shadow: var(--shadow);
}

.before-after-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.before-after-image-before {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--before-after-position)) 0 0);
}

.before-after-image-after {
    z-index: 1;
}

.before-after-label {
    position: absolute;
    z-index: 4;
    top: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(16, 41, 74, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.before-after-label-before {
    left: 16px;
}

.before-after-label-after {
    right: 16px;
}

.before-after-divider {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: var(--before-after-position);
    width: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(16, 41, 74, 0.18);
    transform: translateX(-50%);
    pointer-events: none;
}

.before-after-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 8px 24px rgba(16, 41, 74, 0.28);
    transform: translate(-50%, -50%);
}

.before-after-divider span::before,
.before-after-divider span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 3px solid var(--blue-950);
    border-left: 3px solid var(--blue-950);
}

.before-after-divider span::before {
    left: 11px;
    transform: translateY(-50%) rotate(-45deg);
}

.before-after-divider span::after {
    right: 11px;
    transform: translateY(-50%) rotate(135deg);
}

.before-after-range {
    width: 100%;
    margin: 18px 0 0;
    accent-color: var(--orange-dark);
    cursor: ew-resize;
}

.before-after-comparison:focus-within .before-after-frame {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.before-after-help {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 640px) {
    .before-after-frame {
        border-radius: 16px;
    }

    .before-after-label {
        top: 10px;
        padding: 5px 8px;
        font-size: 0.66rem;
    }

    .before-after-label-before {
        left: 10px;
    }

    .before-after-label-after {
        right: 10px;
    }

    .before-after-divider span {
        width: 42px;
        height: 42px;
    }
}

/* GT-THEME v1.0.4 — credentials */
.credentials-section {
    padding: 18px 0 82px;
    background: var(--surface);
}

.credentials-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.credentials-heading h2 {
    margin-top: 8px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.credential-item {
    min-width: 0;
    padding: 12px 34px 8px;
    text-align: center;
}

.credential-item + .credential-item {
    border-left: 1px solid var(--line);
}

.credential-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    color: var(--blue-950);
}

.credential-icon svg {
    width: 62px;
    height: 62px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.credential-item h3 { font-size: 1.05rem; line-height: 1.35; }
.credential-item p {
    margin: 7px 0 0;
    color: var(--blue-950);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

@media (max-width: 760px) {
    .credentials-section { padding: 6px 0 64px; }
    .credentials-heading { margin-bottom: 28px; }
    .credentials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .credential-item { padding: 8px 10px 4px; }
    .credential-icon { width: 58px; height: 58px; margin-bottom: 12px; }
    .credential-icon svg { width: 52px; height: 52px; }
    .credential-item h3 { font-size: 0.86rem; }
    .credential-item p { font-size: 0.78rem; }
}

@media (max-width: 430px) {
    .credential-item { padding-inline: 7px; }
    .credential-icon { width: 50px; height: 50px; }
    .credential-icon svg { width: 46px; height: 46px; }
    .credential-item h3 { font-size: 0.78rem; }
    .credential-item p { font-size: 0.72rem; }
}

/* GT-THEME v1.0.4 — interactive diagnostics + portfolio hero refinement */
.diagnostics-visual[data-diagnostics] {
    isolation: isolate;
}

.diagnostics-scan-line {
    position: absolute;
    z-index: 2;
    top: 8%;
    bottom: 14%;
    left: 10%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255,139,52,.9), transparent);
    box-shadow: 0 0 16px rgba(255,139,52,.35);
    pointer-events: none;
    animation: diagnostics-scan 5.5s ease-in-out infinite alternate;
}

@keyframes diagnostics-scan {
    from { transform: translateX(0); opacity: .35; }
    50% { opacity: 1; }
    to { transform: translateX(410px); opacity: .35; }
}

.diagnostics-hotspot {
    position: absolute;
    z-index: 5;
    left: var(--hotspot-x);
    top: var(--hotspot-y);
    width: 42px;
    height: 42px;
    transform: translate(-50%,-50%);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(16,41,74,.88);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(255,255,255,.05);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.diagnostics-hotspot span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: .72rem;
    font-weight: 900;
}

.diagnostics-hotspot:hover,
.diagnostics-hotspot:focus-visible,
.diagnostics-hotspot.is-active {
    background: var(--orange);
    color: var(--blue-950);
    border-color: var(--orange);
    box-shadow: 0 0 0 7px rgba(255,139,52,.16);
    outline: none;
}

.diagnostics-hotspot:focus-visible {
    transform: translate(-50%,-50%) scale(1.08);
}

.diagnostics-tooltip {
    position: absolute;
    z-index: 4;
    top: 22px;
    right: 22px;
    max-width: 220px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    background: rgba(16,41,74,.92);
    color: rgba(255,255,255,.86);
    font-size: .75rem;
    line-height: 1.35;
}

.diagnostics-visual.is-interacting .diagnostics-scan-line {
    animation-play-state: paused;
    opacity: .3;
}

.diagnostics-active-point {
    transition: cx .28s ease, cy .28s ease;
}

.inner-hero-icon--photo img {
    object-fit: contain;
    object-position: center;
    background: #ff8b34;
}

@media (max-width: 620px) {
    .diagnostics-hotspot { width: 46px; height: 46px; }
    .diagnostics-tooltip { top: 14px; right: 14px; max-width: 180px; font-size: .7rem; }
    .diagnostics-scan-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .diagnostics-scan-line { animation: none; left: 50%; opacity: .35; }
    .diagnostics-hotspot, .diagnostics-active-point { transition: none; }
}

/* GT-THEME v1.0.4 — portfolio hero image final fit */
.inner-hero-icon--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: var(--orange);
}

@media (max-width: 620px) {
    .inner-hero-icon--photo img {
        object-position: center center;
    }
}

/* GT-THEME v1.0.6 — wide portfolio hero + diagnostic callouts */
.portfolio-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 610px);
    gap: clamp(44px, 6vw, 96px);
}

.portfolio-hero-grid .inner-hero-icon--photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1.95 / 1;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(16,41,74,.10);
}

.portfolio-hero-grid .inner-hero-icon--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.diagnostics-callout {
    position: absolute;
    z-index: 4;
    width: min(205px, 38%);
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(16,41,74,.94);
    color: rgba(255,255,255,.76);
    font-size: .68rem;
    line-height: 1.35;
    opacity: .58;
    transform: scale(.97);
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
    pointer-events: none;
}

.diagnostics-callout strong,
.diagnostics-callout span {
    display: block;
}

.diagnostics-callout strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: .73rem;
}

.diagnostics-callout.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(251,146,60,.65);
}

.diagnostics-callout--1 { right: 5%; top: 22%; }
.diagnostics-callout--2 { left: 5%; top: 13%; }
.diagnostics-callout--3 { left: 37%; bottom: 18%; }

/* Desktop gets persistent contextual callouts; compact screens use one dynamic tooltip. */
@media (min-width: 901px) {
    .diagnostics-tooltip { display: none; }
}

@media (max-width: 1100px) {
    .portfolio-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 46%);
        gap: 44px;
    }
}

@media (max-width: 900px) {
    .portfolio-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-hero-grid .inner-hero-icon {
        display: block;
        width: min(100%, 720px);
        margin: 0 auto;
    }

    .diagnostics-callout { display: none; }
}

@media (max-width: 620px) {
    .portfolio-hero-grid .inner-hero-icon--photo {
        border-radius: 20px;
        aspect-ratio: 1.65 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .diagnostics-callout { transition: none; }
}
