/* styles.css — Γκούβελης Τεχνικό Γραφείο — Light Professional Theme */

:root {
    --ink:    #1c1b19;
    --ink2:   #343230;
    --gold:   #1d3a5c;     /* deep navy — overridden by site-init.js via config */
    --gold2:  #2e5f8a;     /* steel blue — overridden by site-init.js via config */
    --cream:  #f5f4ef;     /* warm off-white — main background */
    --cream2: #eceae2;     /* slightly darker warm — alternate sections */
    --stone:  #7c7a72;
    --warm:   #c9a86c;   /* real warm gold — premium accent */
    --warm2:  #e8c97a;   /* brighter warm gold — hover/highlight */
    --white:  #ffffff;
    --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--warm); }

/* ===== ACCESSIBILITY ===== */

/* Skip to main content — visible only on keyboard focus */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--gold); color: var(--white);
    padding: 10px 20px; font-size: 13px; font-weight: 600;
    border-radius: 0 0 4px 4px; z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Global keyboard focus ring — only for keyboard users (not mouse) */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}
/* Remove default outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* ===== PROGRESS BAR ===== */
#progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, var(--warm), var(--warm2));
    width: 0%; z-index: 9999; transition: width 0.1s linear;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 0 5%; height: 88px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease),
                border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
nav.scrolled {
    height: 72px;
    background: rgba(245, 244, 239, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(29, 58, 92, 0.1);
    box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav-logo { display: flex; align-items: center; gap: 16px; z-index: 1001; }
.logo-circle {
    width: 52px; height: 52px; border-radius: 50%;
    overflow: hidden; border: 1.5px solid var(--gold); flex-shrink: 0;
    transition: box-shadow 0.4s;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo:hover .logo-circle { box-shadow: 0 0 0 4px rgba(29,58,92,0.14); }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700; font-size: 17px;
    color: var(--ink); letter-spacing: 0.5px;
}
.logo-text .title {
    font-size: 8.5px; font-weight: 500;
    color: var(--warm); letter-spacing: 2.5px;
    text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
    color: var(--ink2); font-size: 10.5px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute;
    bottom: -3px; left: 50%; right: 50%; height: 1px;
    background: currentColor; opacity: 0.7;
    transition: left 0.35s var(--ease), right 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.nav-spy-active:not(.nav-cta)::after { left: 0; right: 0; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 9px 24px; border-radius: 2px;
    transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; z-index: 1001;
    width: 32px; height: 32px; justify-content: center; align-items: center;
    background: none; border: none; appearance: none; -webkit-appearance: none;
    padding: 0; flex-shrink: 0;
}
.hamburger span { width: 20px; height: 1px; background: var(--ink); transition: transform 0.32s var(--ease), opacity 0.22s, background 0.3s; }
/* Hamburger → X when menu open */
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gold);
    padding: 120px 7% 0;
    gap: 60px 80px;
}

/* Blueprint grid on dark bg */
.hero-blueprint {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    animation: blueprintDrift 28s ease-in-out infinite;
}
@keyframes blueprintDrift {
    0%, 100% { background-position: 0 0; }
    50%       { background-position: 27px 27px; }
}

/* Nav text white on dark hero */
/* Scroll-spy: active section link */
.nav-links a.nav-spy-active { color: var(--warm) !important; font-weight: 500; }
nav:not(.scrolled) .nav-links a.nav-spy-active { color: var(--warm2) !important; opacity: 1; }

nav:not(.scrolled) .nav-links a             { color: rgba(255,255,255,0.82); }
nav:not(.scrolled) .nav-links a:hover       { color: var(--white); }
nav:not(.scrolled) .nav-cta                 { border-color: rgba(255,255,255,0.5) !important; color: rgba(255,255,255,0.9) !important; }
nav:not(.scrolled) .nav-cta:hover           { background: rgba(255,255,255,0.12) !important; color: var(--white) !important; }
nav:not(.scrolled) .logo-text .name         { color: var(--white); }
nav:not(.scrolled) .logo-text .title        { color: rgba(255,255,255,0.65); }
nav:not(.scrolled) .logo-circle             { border-color: rgba(255,255,255,0.35); }
nav:not(.scrolled) .hamburger span          { background: var(--white); }
nav:not(.scrolled) .lang-toggle            { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
nav:not(.scrolled) .lang-toggle:hover      { border-color: rgba(255,255,255,0.4); }
nav:not(.scrolled) .lang-btn .lcode        { color: rgba(255,255,255,0.75); }
nav:not(.scrolled) .lang-btn.active        { background: rgba(255,255,255,0.12); }
nav:not(.scrolled) .lang-btn.active .lcode { color: rgba(201,168,108,0.95); }
nav:not(.scrolled) .lang-sep              { background: rgba(255,255,255,0.18); }

/* Hero warm accent bar — top-left signature mark */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 80px;
    background: linear-gradient(to bottom, var(--warm), transparent);
    z-index: 4; pointer-events: none;
}

/* Left: Photo column */
.hero-photo-col {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    align-self: center;
}
.hero-photo {
    width: clamp(260px, 28vw, 445px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(8%);
    border: 4px solid rgba(255,255,255,0.22);
    box-shadow: 0 0 0 16px rgba(255,255,255,0.06), 0 32px 80px rgba(0,0,0,0.28);
    display: block;
}

/* Right: Text content */
.hero-inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 0;
}
.hero-eyebrow {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px;
}
.hero-eyebrow::before {
    content: ''; display: block; width: 36px; height: 1.5px;
    background: rgba(255,255,255,0.4);
}
.hero-eyebrow span {
    font-size: 9.5px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}
.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300; line-height: 0.9;
}
.hero-name .line1 {
    font-size: clamp(29px, 3.6vw, 55px);
    color: rgba(255,255,255,0.7); display: block;
    letter-spacing: 4px; text-transform: uppercase;
    font-weight: 400; margin-bottom: 12px;
}
.hero-name .line2 {
    font-size: clamp(57px, 8.5vw, 125px);
    display: block; letter-spacing: -2px;
    color: var(--white);
    font-weight: 300; line-height: 0.88;
}
.hero-name .line3 {
    font-size: clamp(23px, 2.6vw, 39px);
    display: block; letter-spacing: 5px;
    color: rgba(201,168,108,0.85);          /* warm gold contrast on dark */
    font-weight: 400; text-transform: uppercase;
    margin-top: 14px;
}

/* Bottom strip — full width, single flex row, everything in one line */
.hero-bottom {
    grid-column: 1 / -1;
    position: relative; z-index: 2;
    display: flex; flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 32px 0 36px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-bottom-contact {
    display: flex; align-items: center; gap: 0;
    flex-wrap: nowrap; flex: 1;
}
.hbc-item {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.75); text-decoration: none;
    padding: 0 20px 0 0;
    border-right: 1px solid rgba(255,255,255,0.15);
    margin-right: 20px;
    transition: color 0.25s;
    flex-shrink: 0;
}
.hbc-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hbc-item:hover { color: var(--white); }
.hbc-item:hover .hbc-icon { background: rgba(255,255,255,0.18); }

/* Icon circle */
.hbc-icon {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.25s;
}
.hbc-icon i { font-size: 14px; color: rgba(255,255,255,0.85); }

/* Text stack */
.hbc-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.hbc-label {
    font-size: 7.5px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.hbc-val { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.88); white-space: nowrap; }
.hbc-address { cursor: default; }   /* address is not a link */
.hbc-address .hbc-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }

/* ===== HERO ENTRANCE ANIMATIONS ===== */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes photoReveal {
    from { opacity: 0; transform: scale(0.91); filter: grayscale(40%); }
    to   { opacity: 1; transform: scale(1);    filter: grayscale(8%); }
}
@keyframes photoPulse {
    0%, 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0.06), 0 32px 80px rgba(0,0,0,0.28); }
    50%       { box-shadow: 0 0 0 28px rgba(255,255,255,0.03), 0 32px 80px rgba(0,0,0,0.22); }
}

.hero-photo       { animation: photoReveal 1.3s var(--ease) 0.15s both,
                               photoPulse 5s ease-in-out 2s infinite; }
.hero-eyebrow     { animation: heroFadeUp 0.7s var(--ease) 0.45s both; }
.hero-name .line1 { animation: heroFadeUp 0.7s var(--ease) 0.58s both; }
.hero-name .line2 { animation: heroFadeUp 0.7s var(--ease) 0.70s both; }
.hero-name .line3 { animation: heroFadeUp 0.7s var(--ease) 0.84s both; }
.hero-bottom      { animation: heroFadeUp 0.7s var(--ease) 1.0s  both; }

/* CTA button for hero — warm gold border, high conversion pull */
.btn-hero-cta {
    background: transparent;
    color: var(--warm);
    border: 1.5px solid var(--warm);
    padding: 14px 38px; border-radius: 2px;
    font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
                box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    display: inline-block; white-space: nowrap; flex-shrink: 0;
}
.btn-hero-cta:hover {
    background: var(--warm);
    color: var(--gold);
    border-color: var(--warm);
    box-shadow: 0 8px 40px rgba(201,168,108,0.35);
    transform: translateY(-2px);
}

/* Standard gold button (used outside hero) */
.btn-gold {
    background: var(--gold); color: var(--white);
    padding: 15px 38px; border-radius: 2px;
    font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
    display: inline-block;
    margin-top: 8px;
}
.btn-gold:hover {
    background: var(--gold2);
    box-shadow: 0 8px 32px rgba(29,58,92,0.22);
    transform: translateY(-2px);
}

/* Bold keyword highlight */
.kw {
    font-weight: 700;
    color: var(--warm);
    font-style: normal;
}

/* ===== MARQUEE ===== */
.marquee-wrap {
    background: var(--gold);
    overflow: hidden; padding: 0; white-space: nowrap;
}
.marquee-track {
    display: inline-flex; gap: 0;
    animation: marquee 30s linear infinite;
}
.marquee-item {
    display: inline-flex; align-items: center; gap: 20px;
    padding: 15px 40px;
    font-size: 10px; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    transition: color 0.3s;
}
.marquee-item:hover { color: var(--warm2); }
.marquee-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--warm); opacity: 0.7; flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== SECTION BASE ===== */
section { padding: 160px 7%; }

.eyebrow {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px;
}
.eyebrow::before {
    content: ''; display: block;
    width: 32px; height: 2px; background: var(--warm);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.55s var(--ease) 0.2s;
}
/* Trigger line when parent data-reveal fires */
[data-reveal].visible .eyebrow::before { transform: scaleX(1); }
/* Hero eyebrow has no data-reveal — show immediately */
.hero .eyebrow::before { transform: scaleX(1); transition: none; }
.eyebrow span {
    font-size: 10px; font-weight: 600;
    letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--warm);
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(44px, 5.5vw, 80px);
    line-height: 1.0;
    color: var(--ink); letter-spacing: -1.5px;
}
.section-heading em { font-style: italic; color: var(--warm); }
.section-heading.light { color: var(--ink); }
.section-heading.light em { color: var(--warm); }

[data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal-r] {
    opacity: 0; transform: translateX(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal-r].visible { opacity: 1; transform: translateX(0); }

/* ── Service card reveal — slide from left ── */
.service-card[data-reveal] {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.service-card[data-reveal].visible {
    opacity: 1;
    transform: translateX(0);
}
/* Left accent line sweeps in shortly after the card */
.service-card[data-reveal].visible::before {
    transform: scaleY(0.45);
    transition: transform 0.35s var(--ease) 0.4s;
}
.service-card[data-reveal].visible:hover::before {
    transform: scaleY(1);
    transition: transform 0.4s var(--ease) 0s;
}

/* ===== ABOUT ===== */
.about-section { background: var(--cream2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-grid--single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.about-grid--single .feature-row { justify-content: flex-start; }

.about-content { padding-top: 8px; }
.about-content .section-heading { margin-bottom: 28px; }
.about-lead {
    font-size: 15.5px; color: var(--ink2);
    line-height: 1.9; margin-bottom: 44px; font-weight: 300;
}
.about-lead::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2em; font-weight: 600;
    color: var(--warm); line-height: 0.72;
    float: left; margin-right: 6px; margin-top: 6px;
}

.about-features { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.feature-row {
    display: flex; align-items: center; gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(29,58,92,0.1);
    font-size: 14px; color: var(--ink2); font-weight: 300;
}
.feature-row:first-child { border-top: 1px solid rgba(29,58,92,0.1); }
.feature-row i { color: var(--warm); width: 16px; text-align: center; flex-shrink: 0; }
.feature-row strong { color: var(--ink); font-weight: 600; min-width: 160px; }

/* Dimension line */
.dim-row {
    display: flex; align-items: center; gap: 0;
    margin: -4px 0 40px; opacity: 0; transition: opacity 0.3s;
}
.dim-row.ready { opacity: 1; }
.dim-tick {
    width: 2px; height: 22px; flex-shrink: 0;
    background: rgba(29,58,92,0.5);
    transform: skewX(-12deg) scaleY(0);
    transition: transform 0.3s ease 1s;
}
.dim-row.ready .dim-tick { transform: skewX(-12deg) scaleY(1); }
.dim-bar {
    flex: 1; height: 1px; background: rgba(29,58,92,0.25);
    transform: scaleX(0); transition: transform 1.1s var(--ease);
}
.dim-bar.dim-l { transform-origin: right; transition-delay: 0.15s; }
.dim-bar.dim-r { transform-origin: left;  transition-delay: 0.15s; }
.dim-row.ready .dim-bar { transform: scaleX(1); }
.dim-value {
    font-family: 'Cormorant Garamond', serif; font-size: 10px;
    color: rgba(29,58,92,0.65); letter-spacing: 3px;
    text-transform: uppercase; padding: 0 18px; white-space: nowrap;
    opacity: 0; transition: opacity 0.4s 1s;
}
.dim-row.ready .dim-value { opacity: 1; }

/* Caliper */
.caliper-wrap {
    margin: 32px -100px 0; display: flex; justify-content: center;
    opacity: 0; transition: opacity 0.8s;
}
.caliper-wrap.vis { opacity: 0.85; }
.caliper-svg { width: min(960px, 94vw); color: var(--gold); overflow: visible; }

/* ===== SERVICES — LIST LAYOUT ===== */
.services-section { background: var(--white); }
.services-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 80px; flex-wrap: wrap; gap: 24px;
}

/* Section measurement line */
.sec-meas {
    display: flex; align-items: center; gap: 0;
    margin: 0 0 52px; opacity: 0; transition: opacity 0.3s;
}
.sec-meas.ready { opacity: 1; }
.sec-meas-tick {
    width: 2px; height: 24px; flex-shrink: 0;
    background: rgba(29,58,92,0.4);
    transform: skewX(-14deg) scaleY(0);
    transition: transform 0.3s ease 1.1s;
}
.sec-meas.ready .sec-meas-tick { transform: skewX(-14deg) scaleY(1); }
.sec-meas-bar {
    flex: 1; height: 1px; background: rgba(29,58,92,0.15);
    transform: scaleX(0); transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.sec-meas-bar.bar-l { transform-origin: right; transition-delay: 0.1s; }
.sec-meas-bar.bar-r { transform-origin: left;  transition-delay: 0.1s; }
.sec-meas.ready .sec-meas-bar { transform: scaleX(1); }
.sec-meas-label {
    font-family: 'Cormorant Garamond', serif; font-size: 10px;
    letter-spacing: 3px; padding: 0 18px; white-space: nowrap;
    text-transform: uppercase; flex-shrink: 0; color: rgba(29,58,92,0.55);
    opacity: 0; transition: opacity 0.5s 1.3s;
}
.sec-meas.ready .sec-meas-label { opacity: 1; }

/* Services rendered as a list */
.services-grid {
    display: flex; flex-direction: column;
    max-width: 860px; margin: 0 auto;
    border-top: 1px solid rgba(29,58,92,0.1);
}
.service-card {
    display: grid;
    grid-template-columns: 3rem 2rem 1fr;
    gap: 0 1.5rem;
    align-items: start;
    padding: 32px 0;
    border-bottom: 1px solid rgba(29,58,92,0.1);
    position: relative;
    transition: background 0.35s, padding-left 0.35s var(--ease);
}
.service-card:hover { background: rgba(29,58,92,0.025); padding-left: 8px; }
.service-card::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 2px;
    background: var(--warm);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s var(--ease);
}
.service-card:hover::before { transform: scaleY(1); }

.service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px; font-weight: 400;
    color: var(--warm); opacity: 0.6; letter-spacing: 1px;
    padding-top: 6px; line-height: 1;
    user-select: none;
    transition: opacity 0.3s;
}
.service-card:hover .service-num { opacity: 1; }
.service-icon {
    font-size: 22px; color: var(--warm);
    padding-top: 2px; display: block; flex-shrink: 0;
}
/* Body: title stacked above description */
.service-card-body { display: flex; flex-direction: column; gap: 10px; }
.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 600;
    color: var(--ink); letter-spacing: 0.2px;
    line-height: 1.2;
    transition: color 0.3s;
}
.service-card:hover h3 { color: var(--warm); }
.service-card p {
    font-size: 14.5px; line-height: 1.85;
    color: var(--stone); font-weight: 300;
}


/* ===== TRUST SECTION ===== */
.trust-section {
    background: var(--gold);
    color: var(--white);
    padding: 160px 7%;
}
.trust-section .eyebrow::before { background: var(--warm); }
.trust-section .eyebrow span { color: var(--warm); }
.trust-header { margin-bottom: 100px; }
.trust-header .section-heading { color: var(--white); }
.trust-header .section-heading em { color: rgba(255,255,255,0.55); font-style: italic; }

/* Stats row */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 100px;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.trust-stat {
    padding: 60px 48px;
    display: flex; flex-direction: column; gap: 12px;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-stat:last-child { border-right: none; }
.trust-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(64px, 7vw, 110px);
    font-weight: 300; line-height: 1;
    color: var(--white); letter-spacing: -2px;
    text-shadow: 0 0 60px rgba(201,168,108,0.25);
}
.trust-stat-label {
    font-size: 10.5px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(201,168,108,0.75);
}

/* Pillars */
.trust-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
}
.trust-pillar { display: flex; flex-direction: column; gap: 20px; }
.trust-pillar-icon {
    width: 52px; height: 52px;
    border: 1px solid rgba(201,168,108,0.4);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s;
}
.trust-pillar-icon:hover { border-color: var(--warm); background: rgba(201,168,108,0.08); }
.trust-pillar-icon i { font-size: 20px; color: var(--warm); }
.trust-pillar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 600;
    color: var(--white); line-height: 1.2;
}
.trust-pillar p {
    font-size: 14.5px; line-height: 1.9;
    color: rgba(255,255,255,0.72); font-weight: 300;
}

/* ===== ARTICLES TICKER ===== */
.articles-band {
    background: var(--cream2);
    overflow: hidden;
    padding: 0;
    border-top: 1px solid rgba(29,58,92,0.08);
    border-bottom: 1px solid rgba(29,58,92,0.08);
    cursor: default;
    position: relative;
}
/* Edge fade masks */
.articles-band::before,
.articles-band::after {
    content: ''; position: absolute; top: 0; bottom: 0;
    width: 100px; z-index: 2; pointer-events: none;
}
.articles-band::before {
    left: 0;
    background: linear-gradient(to right, var(--cream2) 10%, transparent);
}
.articles-band::after {
    right: 0;
    background: linear-gradient(to left, var(--cream2) 10%, transparent);
}
.articles-track {
    display: inline-flex;
    gap: 0;
    animation: articleScroll 78s linear infinite;
    /* pauses on hover for readability */
}
.articles-band:hover .articles-track { animation-play-state: paused; }
@keyframes articleScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.article-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 52px 48px;
    width: 494px; flex-shrink: 0;
    border-right: 1px solid rgba(29,58,92,0.08);
    transition: background 0.3s;
    text-decoration: none; color: inherit; cursor: pointer;
}
.articles-band:hover .article-card:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(29,58,92,0.1);
}
.article-card::after {
    content: 'Διαβάστε →';
    font-size: 9px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--warm);
    opacity: 0; margin-top: auto; padding-top: 16px;
    transition: opacity 0.25s;
}
.articles-band:hover .article-card:hover::after { opacity: 1; }
.articles-band:hover .article-card:hover .article-cat { color: var(--gold2); }
.articles-band:hover .article-card:hover h4 { color: var(--gold); }
.article-cat {
    font-size: 9px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--warm);
}
.article-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; font-weight: 600;
    color: var(--ink); line-height: 1.3;
}
.article-card p {
    font-size: 13px; line-height: 1.75;
    color: var(--stone); font-weight: 300;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--cream); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    column-gap: 80px; row-gap: 48px;
    align-items: stretch;
}
.contact-info { grid-column: 1; grid-row: 1; }
.contact-info .section-heading { margin-bottom: 20px; }
.contact-lead {
    font-size: 15px; color: var(--ink2);
    line-height: 1.85; margin-bottom: 40px; font-weight: 300;
}

.person-card {
    display: flex; align-items: center; gap: 22px;
    border: 1px solid rgba(29,58,92,0.12);
    padding: 28px 32px; margin-bottom: 36px;
    position: relative;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.person-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(29,58,92,0.1);
}
.person-card::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 2px;
    background: var(--warm);
}
.person-photo {
    width: 94px; height: 94px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 1.5px solid rgba(29,58,92,0.2);
    filter: grayscale(15%);
}
.person-details h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; color: var(--ink); font-weight: 600;
    margin-bottom: 4px;
}
.person-details p {
    color: var(--warm); font-size: 9px; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
}

.contact-detail-list { display: flex; flex-direction: column; gap: 0; }
.contact-detail {
    display: flex; align-items: center; gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(29,58,92,0.07);
    text-decoration: none; color: inherit;
    transition: color 0.25s;
}
.contact-detail:first-child { border-top: 1px solid rgba(29,58,92,0.07); }
.contact-detail:hover { color: var(--warm); }
.contact-detail:hover .cd-icon { background: var(--warm); }
.contact-detail:hover .cd-icon i,
.contact-detail:hover .cd-icon .fa-brands { color: var(--white); }

/* Circular icon badge */
.cd-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(29,58,92,0.07);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.25s, transform 0.25s var(--ease);
}
.contact-detail:hover .cd-icon { transform: scale(1.1); }
.cd-icon i, .cd-icon .fa-brands {
    font-size: 18px; color: var(--warm); transition: color 0.25s;
}

/* Text stack */
.contact-detail-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.cd-label {
    font-size: 8.5px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--stone);
}
.cd-value { font-size: 14.5px; color: var(--ink2); font-weight: 300; }

/* Google Maps embed — full width, bottom row */
.contact-map {
    grid-column: 1 / -1; grid-row: 2;
    overflow: hidden;
    border: 1px solid rgba(29,58,92,0.12);
}
.contact-map iframe { display: block; width: 100%; height: 340px; }

/* Form — row 1, right column, same height as contact info */
.contact-form-wrap {
    border: 1px solid rgba(29,58,92,0.15);
    padding: 52px 48px;
    background: var(--white);
    grid-row: 1;
    grid-column: 2;
    align-self: stretch;
}
.contact-form-wrap h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; color: var(--ink); font-weight: 300;
    margin-bottom: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
    font-size: 9px; font-weight: 600;
    color: var(--stone); letter-spacing: 2.5px; text-transform: uppercase;
}
.field input, .field textarea, .field select {
    background: transparent;
    border: none; border-bottom: 1.5px solid rgba(29,58,92,0.15);
    color: var(--ink); padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 300; outline: none;
    transition: border-color 0.3s; -webkit-appearance: none; appearance: none;
}
.field select option { background: var(--white); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(28,27,25,0.35); }
.field input:focus, .field textarea:focus, .field select:focus {
    border-bottom-color: var(--gold);
}
.field textarea { resize: none; min-height: 110px; }
.form-fields { display: flex; flex-direction: column; gap: 26px; }
.btn-submit {
    background: var(--gold); color: var(--white);
    padding: 17px 48px; border: none;
    font-family: 'Inter', sans-serif;
    font-size: 9.5px; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    cursor: pointer; margin-top: 12px;
    transition: all 0.3s var(--ease);
}
.btn-submit:hover {
    background: var(--gold2);
    box-shadow: 0 8px 32px rgba(29,58,92,0.2);
    transform: translateY(-2px);
}
#formStatus {
    display: none; margin-top: 4px;
    padding: 12px 16px; border-radius: 3px;
    font-size: 13px; font-weight: 500; line-height: 1.4;
}
#formStatus.status-success {
    background: rgba(29,58,92,0.07);
    border: 1px solid rgba(29,58,92,0.25);
    color: var(--gold, #1d3a5c);
}
#formStatus.status-error {
    background: rgba(180,20,20,0.07);
    border: 1px solid rgba(180,20,20,0.3);
    color: #c04040;
}

/* ===== FOOTER ===== */
footer {
    background: var(--gold);
    padding: 56px 6% 36px;
}
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-logo-circle {
    width: 48px; height: 48px; border-radius: 50%;
    overflow: hidden; border: 1px solid rgba(255,255,255,0.3);
}
.footer-logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-text .fname {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 600; color: var(--white);
}
.footer-brand-text .ftitle {
    font-size: 8.5px; color: rgba(255,255,255,0.6); letter-spacing: 2px;
    text-transform: uppercase; margin-top: 3px;
}
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a {
    color: rgba(255,255,255,0.6); font-size: 9.5px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55); font-size: 13px;
    transition: all 0.25s var(--ease);
}
.social-link:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* ===== ENGINEERING ANIMATIONS ===== */

/* Scroll Elevation Meter */
.scroll-elev {
    position: fixed; right: 16px; top: 50%;
    transform: translateY(-50%);
    z-index: 400; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 0;
    opacity: 0; transition: opacity 0.6s;
}
.scroll-elev.show { opacity: 1; }
.elev-track {
    position: relative; width: 2px; height: 180px;
    background: rgba(29,58,92,0.12);
}
.elev-fill {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(29,58,92,0.4);
    transition: height 0.12s linear;
}
.elev-dot {
    position: absolute; left: 50%; width: 8px; height: 8px;
    background: var(--gold); border-radius: 50%;
    transform: translate(-50%, 50%); bottom: 0%;
    box-shadow: 0 0 10px rgba(29,58,92,0.5);
    transition: bottom 0.12s linear;
}
.elev-ticks {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: space-between;
}
.elev-tick { width: 7px; height: 1px; background: rgba(29,58,92,0.25); margin-left: 2px; }
.elev-tick.major { width: 12px; background: rgba(29,58,92,0.5); position: relative; }
.elev-tick.major span {
    position: absolute; right: calc(100% + 6px); top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif; font-size: 8px;
    color: rgba(29,58,92,0.5); letter-spacing: 0.5px; white-space: nowrap;
}
.elev-label {
    font-family: 'Cormorant Garamond', serif; font-size: 8px;
    color: rgba(29,58,92,0.4); letter-spacing: 1.5px;
    text-transform: uppercase; writing-mode: vertical-rl; margin-top: 10px;
}

/* Scroll Ruler (fixed bottom) */
.scroll-ruler {
    position: fixed; bottom: 16px; left: 50%;
    transform: translateX(-50%);
    z-index: 400; pointer-events: none;
    display: flex; align-items: center; gap: 0;
    width: min(520px, 80vw);
    opacity: 0; transition: opacity 0.5s;
}
.scroll-ruler.show { opacity: 1; }
.sr-tick {
    width: 2px; height: 22px; flex-shrink: 0;
    background: rgba(29,58,92,0.5); transform: skewX(-12deg);
}
.sr-track {
    flex: 1; position: relative; height: 1px;
    background: rgba(29,58,92,0.1);
}
.sr-fill {
    position: absolute; left: 0; top: 0; height: 100%;
    background: rgba(29,58,92,0.45); transition: width 0.1s linear;
}
.sr-ticks {
    position: absolute; top: -10px; left: 0; right: 0;
    display: flex; justify-content: space-between; pointer-events: none;
}
.sr-sub { width: 1px; height: 8px; background: rgba(29,58,92,0.15); }
.sr-sub.maj { height: 13px; background: rgba(29,58,92,0.35); }
.sr-value {
    font-family: 'Cormorant Garamond', serif; font-size: 10.5px;
    letter-spacing: 2.5px; color: rgba(29,58,92,0.6);
    padding: 0 13px; flex-shrink: 0; white-space: nowrap;
}

/* Language toggle */
.lang-toggle {
    display: flex; align-items: center; gap: 2px;
    background: rgba(29,58,92,0.05);
    border: 1px solid rgba(29,58,92,0.18);
    border-radius: 6px; padding: 5px 7px;
    z-index: 1001; flex-shrink: 0; transition: border-color 0.3s;
}
.lang-toggle:hover { border-color: rgba(29,58,92,0.4); }
.lang-btn {
    background: none; border: none;
    padding: 5px 10px; border-radius: 4px;
    cursor: pointer; opacity: 0.55;
    transition: opacity 0.25s, background 0.25s;
    display: flex; align-items: center; gap: 8px;
}
.lflag {
    width: 22px; height: auto; border-radius: 2px;
    display: block; flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
.lang-btn .lcode {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--ink);
}
.lang-btn.active { opacity: 1; background: rgba(29,58,92,0.1); }
.lang-btn.active .lcode { color: var(--gold); }
.lang-sep { width: 1px; height: 16px; background: rgba(29,58,92,0.15); flex-shrink: 0; }

/* ===== EXPERTEASE CREDIT ===== */
.footer-design { font-size: 13px; letter-spacing: 0.5px; color: rgba(255,255,255,0.6); }
.footer-design a { text-decoration: none; }
.footer-design .design-brand {
    color: var(--white); font-style: italic; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.3s;
}
.footer-design a:hover .design-brand { border-color: var(--white); }

/* ===== BACK TO TOP ===== */
#backToTop {
    position: fixed; bottom: 32px; right: 32px; z-index: 900;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--warm); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 20px rgba(201,168,108,0.35);
    opacity: 0; pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
}
#backToTop.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#backToTop:hover { background: var(--warm2); box-shadow: 0 6px 28px rgba(201,168,108,0.5); }
#backToTop i { color: var(--white); font-size: 15px; }
@media (max-width: 768px) { #backToTop { bottom: 20px; right: 16px; } }

/* ===== RESPONSIVE ===== */

/* ── Small desktop / 14" laptops (≤1380px) ── */
@media (max-width: 1380px) {
    .hero {
        padding: 100px 6% 0;
        gap: 32px 48px;
        grid-template-columns: 0.75fr 1.25fr;
    }
}


/* ── Tablet (≤1100px) ── */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 110px 6% 0;
        text-align: center; gap: 36px;
    }
    .hero-photo-col { justify-content: center; }
    .hero-photo { width: min(338px, 58%); }
    .hero-inner { align-items: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-eyebrow::before { display: none; }
    .hero-bottom {
        display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        gap: 24px; padding: 28px 0 36px;
    }
    .hero-bottom-contact { justify-content: center; flex-wrap: wrap; gap: 20px; flex: unset; }

    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-grid--single { max-width: 100%; }
    .trust-stats { grid-template-columns: repeat(3, 1fr); }

    .contact-grid { grid-template-columns: 1fr; row-gap: 32px; }
    .contact-info { grid-column: 1; grid-row: auto; }
    .contact-map  { grid-column: 1; grid-row: auto; }
    .contact-form-wrap { grid-column: 1; grid-row: auto; align-self: start; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    section { padding: 64px 5%; }

    /* ── Navigation ── */
    nav { height: 60px; padding: 0 5%; }
    nav.scrolled { height: 52px; }
    .logo-text .name { font-size: 14px; }
    .logo-text .title { display: none; }
    .lang-toggle { padding: 4px 5px; }
    .lang-btn { padding: 4px 7px; gap: 6px; }
    .lang-btn .lcode { font-size: 10px; }    /* keep visible, just slightly smaller */
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; inset: 0;
        background: rgba(245,244,239,0.98);
        justify-content: center; align-items: center;
        gap: 36px; z-index: 999;
        backdrop-filter: blur(12px);
    }
    .nav-links.open a { font-size: 15px; letter-spacing: 3px; color: var(--ink); padding: 18px 0; min-height: 44px; display: flex; align-items: center; }
    .nav-links.open .nav-cta {
        border: 1px solid var(--gold) !important;
        color: var(--gold) !important;
        padding: 12px 36px; margin-top: 8px;
    }
    .hamburger { display: flex; }

    /* ── Hero ── */
    .hero { min-height: 100svh; gap: 20px; padding: 84px 5% 0; }
    .hero-photo-col { transform: translateY(0); }
    .hero-photo { width: min(208px, 52%); }
    .hero-eyebrow { display: none; }        /* hide subtitle label on mobile */
    .hero-name .line1 { font-size: clamp(13px, 3.8vw, 20px); letter-spacing: 3px; }
    .hero-name .line2 { font-size: clamp(30px, 9vw, 52px); letter-spacing: -1px; }
    .hero-name .line3 { font-size: clamp(12px, 3.2vw, 18px); letter-spacing: 3px; margin-top: 10px; }
    .hero-bottom { padding: 22px 0 28px; gap: 20px; }
    .hero-bottom-contact { flex-direction: column; gap: 10px; align-items: flex-start; width: 100%; }
    .hbc-item { padding-right: 0; border-right: none; margin-right: 0; }
    .hbc-address { display: flex; }
    .hbc-val { font-size: 13px; }
    .btn-hero-cta { padding: 13px 32px; width: 100%; text-align: center; max-width: 260px; }

    /* ── Marquee ── */
    .marquee-item { padding: 12px 28px; font-size: 9px; gap: 14px; }

    /* ── Section headings — all 25% smaller on mobile ── */
    .section-heading { font-size: clamp(33px, 4.1vw, 60px); }

    /* ── About ── */
    .about-content .section-heading { text-align: center; }
    .about-content .about-lead      { text-align: center; }
    .about-lead { font-size: 14.5px; }
    .feature-row { align-items: flex-start; }
    .feature-row i      { padding-top: 2px; }
    .feature-row strong { min-width: 110px; font-size: 13px; text-align: left; }
    .feature-row span   { font-size: 13px; text-align: left; }
    .caliper-wrap { margin: 20px 0 0; width: 100%; }
    .dim-row { display: none; }

    /* ── Services ── */
    .services-header { margin-bottom: 48px; }
    .service-num { display: none; }    /* hide "01" counter on small screens */
    .service-card {
        grid-template-columns: 2rem 1fr;
        gap: 0 1rem;
        padding: 22px 0;
    }
    .service-card h3 { font-size: 20px; }
    .service-card p  { font-size: 13.5px; }
    .sec-meas { display: none; }

    /* ── Trust ── */
    .trust-section { padding: 44px 5%; }
    .trust-header { margin-bottom: 32px; }
    .trust-stats {
        grid-template-columns: 1fr;
        border-top: none; border-bottom: none; gap: 0;
    }
    .trust-stat {
        padding: 16px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .trust-stat:last-child { border-bottom: none; }
    .trust-stat-num { font-size: clamp(38px, 11vw, 56px); }
    .trust-pillars { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
    .trust-pillar { gap: 10px; }
    .trust-pillar h3 { font-size: 18px; }
    .trust-pillar p { font-size: 13px; line-height: 1.65; }
    .trust-pillar-icon { width: 36px; height: 36px; }
    .trust-pillar-icon i { font-size: 15px; }

    /* ── Articles ── */
    .articles-band { border-top: none; border-bottom: none; }
    .article-card { width: 338px; padding: 32px 28px; gap: 8px; }
    .article-card h4 { font-size: 17px; }
    .article-card p  { font-size: 12px; }

    /* ── Contact ── */
    .contact-section { padding: 64px 5%; }
    .contact-detail { padding: 14px 0; gap: 16px; min-height: 44px; }
    .cd-icon { width: 44px; height: 44px; }
    .cd-icon i, .cd-icon .fa-brands { font-size: 16px; }
    .cd-value { font-size: 13.5px; }
    .contact-map iframe { height: 220px; }
    .contact-form-wrap { padding: 32px 22px; width: 100%; margin: 0 auto; box-sizing: border-box; grid-column: 1; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap h3 { font-size: 26px; margin-bottom: 28px; text-align: center; }
    .form-fields input, .form-fields select, .form-fields textarea { font-size: 16px; } /* prevent iOS auto-zoom */
    .btn-submit { width: 100%; padding: 16px; }

    /* ── Footer ── */
    .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .footer-links { flex-wrap: nowrap; gap: 20px; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
    .footer-socials { justify-content: center; width: 100%; }
    .footer-social-link { width: 44px; height: 44px; }
    .footer-brand { min-width: 0; }
    .footer-brand-text { min-width: 0; flex: 1; overflow: hidden; }
    .footer-brand-text .fname { white-space: nowrap; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
    footer .expertease-credit { padding-top: 32px; }

    /* ── Decorative (hide on mobile) ── */
    .scroll-elev { display: none; }
    .scroll-ruler { display: none; }

    /* ── Warm gold: mobile nav open links ── */
    .nav-links.open .nav-cta {
        border-color: var(--warm) !important;
        color: var(--warm) !important;
    }

    /* ── Warm gold: hero CTA full-width on mobile ── */
    .btn-hero-cta { color: var(--warm); border-color: var(--warm); }
    .btn-hero-cta:hover { background: var(--warm); color: var(--gold); }

    /* ── About: drop-cap disabled on centered mobile layout ── */
    .about-lead::first-letter {
        float: none;
        font-size: inherit;
        font-family: inherit;
        font-weight: 300;
        color: inherit;
        line-height: inherit;
        margin: 0;
    }

    /* ── Trust: stat label warm gold on mobile ── */
    .trust-stat-label { color: rgba(201,168,108,0.7); }

    /* ── Trust: pillar icon warm gold border on mobile ── */
    .trust-pillar-icon { border-color: rgba(201,168,108,0.35); }
    .trust-pillar-icon i { color: var(--warm); }

    /* ── Ghost section numbers: smaller on mobile ── */
    .about-section::before,
    .services-section::before,
    .trust-section::before,
    .contact-section::before { font-size: clamp(100px, 28vw, 160px); }

    /* ── Service card: warm gold icon visible on mobile ── */
    .service-icon { color: var(--warm); }

    /* ── Articles: warm gold category tags readable on mobile ── */
    .article-cat { color: var(--warm); }

    /* ── Contact: cd-icon warm gold on mobile ── */
    .cd-icon i, .cd-icon .fa-brands { color: var(--warm); }

    /* ── Section heading em — warm gold on mobile ── */
    .section-heading em { color: var(--warm); }
}

/* ── Small phones (≤420px) ── */
@media (max-width: 420px) {
    section { padding: 52px 4%; }

    .hero { padding: 76px 4% 0; gap: 16px; }
    .hero-photo { width: min(182px, 50%); }
    .hero-name .line1 { font-size: 12px; letter-spacing: 2.5px; }
    .hero-name .line2 { font-size: clamp(26px, 8.5vw, 42px); }
    .hero-name .line3 { font-size: 12px; letter-spacing: 2.5px; }

    .trust-section { padding: 52px 4%; }
    .contact-section { padding: 52px 4%; }
    .contact-form-wrap { padding: 28px 18px; }
    .service-icon { font-size: 20px; }
    .article-card { width: 310px; padding: 28px 22px; }
}

/* ===== WOW — HERO GRAIN & SPOTLIGHT ===== */
.hero-grain {
    position: absolute; inset: 0; z-index: 2;
    pointer-events: none;
    opacity: 0.038;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grainShift 0.9s steps(1) infinite;
}
@keyframes grainShift {
    0%   { background-position:   0px   0px; }
    11%  { background-position: -52px -28px; }
    22%  { background-position:  28px  54px; }
    33%  { background-position: -14px  20px; }
    44%  { background-position:  60px -42px; }
    55%  { background-position: -38px  72px; }
    66%  { background-position:  18px -60px; }
    77%  { background-position: -70px  10px; }
    88%  { background-position:  44px  36px; }
}

.hero-spotlight {
    position: absolute; inset: 0; z-index: 3;
    pointer-events: none;
    background: radial-gradient(
        circle 420px at var(--cx, -100%) var(--cy, -100%),
        rgba(201,168,108,0.09) 0%,
        rgba(201,168,108,0.03) 35%,
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero:hover .hero-spotlight { opacity: 1; }

/* ===== WOW — GHOST SECTION NUMBERS ===== */
.about-section,
.services-section,
.trust-section,
.contact-section {
    position: relative;
    overflow: hidden;
}
.about-section::before    { content: '01'; }
.services-section::before { content: '02'; }
.trust-section::before    { content: '03'; }
.contact-section::before  { content: '04'; }

.about-section::before,
.services-section::before,
.trust-section::before,
.contact-section::before {
    position: absolute;
    top: -0.12em; right: -0.04em;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(160px, 22vw, 300px);
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.05em;
    user-select: none;
}

/* ===== WOW — SERVICE CARD 3D TILT ===== */
.services-grid {
    perspective: 1200px;
}
.service-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ===== WOW — MAGNETIC CTA GLOW ===== */
.nav-cta, .btn-submit {
    position: relative;
    overflow: hidden;
}
.nav-cta::after, .btn-submit::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle 60px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: inherit;
}
.nav-cta:hover::after, .btn-submit:hover::after { opacity: 1; }

/* ===== WOW — HERO NAME SHIMMER ===== */
.hero-name .line2 {
    background: linear-gradient(
        100deg,
        #fff 0%,
        #fff 38%,
        rgba(201,168,108,0.9) 48%,
        #fff 58%,
        #fff 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroFadeUp 0.7s var(--ease) 0.70s both, heroNameShimmer 10s linear 3s infinite;
}
@keyframes heroNameShimmer {
    0%   { background-position: 250% center; }
    14%  { background-position: -250% center; }
    100% { background-position: -250% center; }
}

/* ===== WOW — SECTION HEADING ACCENT ===== */
.section-heading {
    position: relative;
}

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