@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Unbounded:wght@700&display=swap');

:root{
  --page-bg:#f4f7f5;
  --card-bg:#ffffff;
  --border:#31b4a9;
  --border-strong:#c7d1cd;
  --ink:#161817;
  --muted:#1f2221;

  --blue:#5c5c5f;
  --blue-dark:#010416;
  --blue-pale:#edf8f3;
  --brand-blue:#4da3ff;

  --chalk:#ffffff;

  --gold:#5c564d;
  --gold-light:#8a8175;
  --gold-lightest:#b0a89a;

  --navy:#080120;
  --navy-dark:#1b1a19;
  --navy-pale:#f0eeea;

  --brass:#c7c2b8;         /* természetes bézs */
  --brass-light:#e3dfd6;   /* világos bézs */

  --shadow:0 8px 24px rgba(0,0,0,0.06);
  --shadow-navy:0 8px 24px rgba(0,0,0,0.1);

  --font-display:'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-body:'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-mono:'DM Sans', 'Segoe UI', Arial, sans-serif;
}



h1, h2, h3, .editorial-num {
    font-family: var(--font-display);
}

.hero-kicker {
    font-family: var(--font-body);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 20px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
    background-color: var(--page-bg);
    color: var(--ink);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@media (max-width: 700px) {
    html { font-size: 17px; }
}

img {
    max-width: 100%;
    display: block;
}

/* Accessibility */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--blue);
    color: #686464;
    padding: 12px 20px;
    z-index: 1000;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* Header / navigation */

.site-header {
    background: #071a3b;
    box-shadow: 0 2px 14px rgba(3, 4, 13, 0.25);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, var(--gold) 0%, var(--gold-lightest) 20%, var(--gold-light) 50%, var(--gold-lightest) 80%, var(--gold) 100%) 1;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    box-sizing: border-box;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-flev {
    font-size: 1.3rem;
}

.logo-magyar {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.header-scene {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-left: 4px;
    border-bottom: 10px solid rgba(11, 93, 69, 0.35);
    padding-bottom: 10px;
}

@media (max-width: 440px) {
    .header-scene {
        display: none;
    }

    .site-header-inner {
        padding: 12px 16px;
        gap: 6px;
    }

    .logo {
        font-size: 0.95rem;
        gap: 6px;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }
}

/* Responsive guardrails */
html, body { max-width: 100%; overflow-x: clip; }
img, video, svg { max-width: 100%; }
@media (max-width: 1200px) {
    .site-header .button-container { display: none; }
    .site-header .hamburger-menu { display: block; }
    .site-header .mobile-lang-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 7px 13px; border: 1px solid #fff; border-radius: 6px; color: var(--blue); background: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
    .site-header .menu-items { width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow-y: auto; }
    .site-header .menu-items a { white-space: normal; overflow-wrap: anywhere; }
}

/* Exact About-page hero geometry and typography for every showcase page. */
.showcase-hero,
.cleaning-showcase .showcase-hero,
.inspection-showcase .showcase-hero,
.pergola-showcase-hero,
.prices-showcase-hero {
    position: relative;
    display: grid !important;
    grid-template-columns: 1.1fr 1fr;
    width: 100%;
    height: 340px;
    min-height: 340px;
    overflow: hidden;
    background: #071a3b;
}
.showcase-hero .showcase-hero-copy,
.cleaning-showcase .showcase-hero-copy,
.inspection-showcase .showcase-hero-copy,
.pergola-showcase-hero .showcase-hero-copy,
.prices-showcase-hero .showcase-hero-copy {
    position: relative;
    z-index: 2;
    grid-column: 1;
    display: flex;
    width: auto;
    min-width: 0;
    height: 340px;
    padding: 24px 5vw 24px 48px;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    box-sizing: border-box;
}
.showcase-hero .showcase-kicker { margin: 0 0 12px; color: rgba(255,255,255,.85); font-family: var(--font-body); font-size: .82rem; font-weight: 700; line-height: 1.2; letter-spacing: .14em; }
.showcase-hero .showcase-hero-copy h1 { max-width: 650px; margin: 0 0 6px; color: #fff; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1.08; letter-spacing: normal; }
.showcase-hero .showcase-hero-copy h2 { max-width: 650px; margin: 0 0 14px; color: #fdf6e8; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.showcase-hero .showcase-hero-copy p { max-width: 520px; margin: 0 0 18px; color: #fff; font-family: var(--font-body); font-size: 1.05rem; font-weight: 400; line-height: 1.5; opacity: .85; }
.showcase-hero .showcase-actions { margin-top: 0; }
.showcase-hero > img,
.cleaning-showcase .showcase-hero > img,
.inspection-showcase .showcase-hero > img,
.pergola-showcase-hero > img,
.prices-showcase-hero > img {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 1;
    display: block;
    width: 54%;
    height: 340px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 900px) {
    .showcase-hero,
    .cleaning-showcase .showcase-hero,
    .inspection-showcase .showcase-hero,
    .pergola-showcase-hero,
    .prices-showcase-hero { display: block !important; height: auto; min-height: 0; }
    .showcase-hero .showcase-hero-copy,
    .cleaning-showcase .showcase-hero-copy,
    .inspection-showcase .showcase-hero-copy,
    .pergola-showcase-hero .showcase-hero-copy,
    .prices-showcase-hero .showcase-hero-copy { width: 100%; height: auto; min-height: 340px; padding: 38px 24px; clip-path: none; }
    .showcase-hero > img,
    .cleaning-showcase .showcase-hero > img,
    .inspection-showcase .showcase-hero > img,
    .pergola-showcase-hero > img,
    .prices-showcase-hero > img { position: relative; inset: auto; width: 100%; height: 300px; }
}
@media (min-width: 1401px) {
    .site-header .button-container { display: flex !important; }
    .site-header .hamburger-menu,
    .site-header .mobile-lang-toggle { display: none !important; }
}
@media (max-width: 900px) {
    .showcase-section { padding-left: 22px; padding-right: 22px; }
    .showcase-split { grid-template-columns: 1fr; }
    .showcase-card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inspection-showcase .benefit-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inspection-showcase .inspection-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 620px) {
    .site-header .site-header-inner { min-height: 64px; padding: 12px 14px; }
    .site-header .logo-flev { font-size: 1.05rem; }
    .site-header .logo-magyar { font-size: .62rem; }
    .showcase-hero-copy { padding: 40px 20px; }
    .showcase-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .showcase-actions, .showcase-actions .showcase-btn { width: 100%; }
    .showcase-card-grid.three, .mini-grid, .mini-grid.image-grid, .pricing-grid, .property-grid { grid-template-columns: 1fr; }
    .inspection-showcase .benefit-row, .inspection-showcase .inspection-flow { grid-template-columns: 1fr; }
    .showcase-cta { margin-left: 14px; margin-right: 14px; }
}

@media (max-width: 480px) {
    .house-multi {
        width: 90px;
        height: 54px;
    }
}


/* Logo mark (used in header and footer) */

.logo-mark {
    width: 36px;
    height: 36px;
    font-weight: 900;
    border-radius: 2px;
    object-fit: fill;
    display: block;
    flex-shrink: 0;
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #fff;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--gold-lightest);
    transform: scale(1.08);
}

.nav-btn.active {
    color: var(--gold-lightest);
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: underline;

}

.menu-items a.active {
    color: var(--navy);
    font-weight: 700;
    background-color: rgba(11, 93, 69, 0.08);
}

.lang-toggle {
    font-weight: 700;
    margin-left: 6px;
}

.button-container .lang-toggle {
    background-color: #fff;
    color: var(--blue);
    border: 1px solid #fff;
    border-radius: 6px;
}

.button-container .lang-toggle:hover {
    background-color: var(--gold-lightest);
    color: var(--blue-dark);
}

.menu-items .lang-toggle {
    border: 1px solid rgba(11, 93, 69, 0.4);
}

.dropdown-toggle::after {
    content: '▾';
    margin-left: 4px;
    font-size: 0.8em;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 50;
    padding: 6px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: flex;
}

.dropdown-menu .nav-btn {
    width: 100%;
    color: var(--ink);
}

.dropdown-menu .nav-btn:hover {
    background-color: var(--blue-pale);
    color: var(--blue);
}

.dropdown-menu .nav-btn.active {
    color: var(--navy);
}

.menu-items.open .dropdown-menu {
    display: flex;
}

.hamburger-menu {
    display: none;
    position: relative;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.hamburger-icon:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}

.hamburger-icon div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-icon.active div:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-icon.active div:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active div:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.menu-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 130%;
    right: 0;
    min-width: 180px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 10;
}

.menu-items.open {
    display: flex;
}

.menu-items a {
    padding: 12px 20px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.menu-items a:hover {
    background-color: rgba(11, 93, 69, 0.12);
    color: var(--navy);
}

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

.mobile-lang-toggle {
    display: none;
}

@media (max-width: 1300px) {
    .button-container {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-lang-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.85rem;
        padding: 7px 13px;
        border-radius: 6px;
        background: #fff;
        color: var(--blue);
        border: 1px solid #fff;
        text-decoration: none;
    }

    .mobile-lang-toggle:hover {
        background-color: var(--gold-lightest);
        color: var(--blue-dark);
    }
}

.contact-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: stretch;
    }

    .contact-left {
      flex: 1 1 45%;
      display: flex;
    }

    .contact-left .card {
      width: 100%;
    }

    .contact-right {
      flex: 1 1 45%;
      display: flex;
    }

    .contact-form {
      background: var(--blue-dark);
      color: #fff;
      border-radius: 12px;
      border-top: 4px solid var(--brass);
      box-shadow: 0 10px 30px rgba(0,0,0,0.25);
      padding: 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }

    .contact-form textarea {
      flex: 1;
      min-height: 140px;
      resize: vertical;
    }

    .contact-form h2 {
      margin-top: 0;
      margin-bottom: 6px;
      color: #fff;
    }

    .contact-form label {
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--navy);
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 6px;
      font-size: 1rem;
      background: rgba(255,255,255,0.08);
      color: #fff;
      font-family: inherit;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: rgba(255,255,255,0.5);
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--brass);
      background: rgba(255,255,255,0.12);
    }

    .contact-form button {
      background-color: var(--navy);
      color: #fff;
      border: none;
      padding: 12px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 700;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .contact-form button:hover {
      background-color: var(--navy-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

    @media (max-width: 768px) {
      .contact-layout {
        flex-direction: column;
      }
    }
/* Hero */

.hero {
    background: url('../images/haz1.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 90px 20px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 2.6rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero p {
    margin: 0 0 28px;
    font-size: 1.15rem;
    opacity: 0.92;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero .btn {
    display: inline-block;
    background-color: #fff;
    color: var(--blue);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Simple page hero (no image) */

.page-hero {
    position: relative;
    background: var(--blue-dark);
    color: #fff;
    padding: 70px 5vw 56px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 10px;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.page-hero::before {
    width: 240px;
    height: 240px;
    background: #ffffff;
    top: -80px;
    left: 8%;
    animation: hero-blob-drift-1 16s ease-in-out infinite;
}

.page-hero::after {
    width: 280px;
    height: 280px;
    background: #ffffff;
    bottom: -120px;
    right: 12%;
    animation: hero-blob-drift-2 19s ease-in-out infinite;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.error-404-hero {
    position: relative;
    background: #000;
    color: #fff;
    padding: 44px 5vw 48px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    min-height: calc(100svh - 90px);
    box-sizing: border-box;
    align-items: center;
}

.error-404-inner {
    position: relative;
    z-index: 1;
    max-width: 620px;
    text-align: center;
}

.error-404-number {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin: 8px 0 4px;
}

.error-404-inner h1 {
    font-size: 1.4rem;
    margin: 6px 0 10px;
}

.error-404-inner p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin: 0 0 8px;
}

.error-404-countdown {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}

.error-404-countdown #count {
    color: var(--card-bg);
    font-weight: 700;
}

@media (max-width: 560px) {
    .error-404-number {
        font-size: 3rem;
    }

    .error-404-inner h1 {
        font-size: 1.2rem;
    }
}

/* Canonical header typography and sizing — matches index.html everywhere. */
.site-header { color: #fff; background: #071a3b; }
.site-header,
.site-header a,
.site-header button,
.site-header span { font-family: Inter, Arial, sans-serif !important; }
.site-header .site-header-inner { width: 100%; min-height: 86px; padding: 20px 24px; gap: 20px; }
.site-header .logo { gap: 10px; color: #fff; font-weight: 800; letter-spacing: .2px; line-height: 1.1; }
.site-header .logo-mark { width: 36px; height: 36px; }
.site-header .logo-flev { display: flex; align-items: center; gap: 5px; color: var(--brand-blue); font-size: 1.3rem; font-weight: 800; }
.site-header .logo-flev::after { content: ''; display: block; width: 33px; height: 29px; flex: 0 0 33px; background: url('../images/free-vector-images-house.svg') center / contain no-repeat; }
.site-header .logo-magyar { color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .4px; }
.site-header .button-container nav { display: flex; align-items: center; gap: 2px; }
.site-header .nav-btn { padding: 10px 12px; color: #fff; font-size: .8rem !important; font-weight: 700 !important; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
.site-header .nav-btn.active { color: var(--gold-lightest); font-size: .8rem !important; font-weight: 700 !important; }
.site-header .button-container .lang-toggle { margin-left: 6px; color: var(--blue); background: #fff; }
@media (max-width: 440px) {
    .site-header .site-header-inner { min-height: 62px; padding: 12px 16px; gap: 6px; }
    .site-header .logo { gap: 6px; }
    .site-header .logo-mark { width: 30px; height: 30px; }
}

/* Service showcase pages */
.service-showcase { width: 100%; color: #09275a; background: #fff; }
.showcase-hero { display: flex; min-height: 480px; overflow: hidden; background: linear-gradient(100deg, #fff 0%, #f6faff 48%, #e7f2fb 100%); }
.showcase-hero-copy { display: flex; flex: 1 1 48%; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(42px, 7vw, 96px) clamp(24px, 6vw, 86px); }
.showcase-hero > img { flex: 1 1 52%; width: 52%; min-width: 0; object-fit: cover; }
.showcase-kicker { margin-bottom: 12px; color: #1c65a0; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.showcase-hero h1 { max-width: 680px; margin: 0 0 14px; color: #08265a; font-size: clamp(2.2rem, 4.3vw, 4.6rem); line-height: 1.05; letter-spacing: -.045em; }
.showcase-hero h2 { max-width: 650px; margin: 0 0 14px; color: #b58a48; font-size: clamp(1.25rem, 2.1vw, 2rem); }
.showcase-hero p { max-width: 660px; margin: 0; color: #354b6d; font-size: 1rem; line-height: 1.7; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.showcase-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid #174f8a; border-radius: 5px; color: #103d72; background: transparent; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.showcase-btn:hover { transform: translateY(-2px); background: #edf6ff; }
.showcase-btn.primary { color: #fff; background: #073c78; }
.showcase-btn.gold { color: #fff; border-color: #bd934f; background: #bd934f; }
.showcase-section { width: 100%; padding: clamp(46px, 6vw, 78px) clamp(20px, 5vw, 78px); }
.showcase-section.soft { background: #f7faff; }
.showcase-section > .centered { margin: 0 0 34px; text-align: center; font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.showcase-strip { display: flex; width: 100%; padding: 27px clamp(20px, 5vw, 78px); border-bottom: 1px solid #dce6f1; background: #fff; }
.showcase-strip article { flex: 1; padding: 0 24px; border-right: 1px solid #dce6f1; }
.showcase-strip article:last-child { border: 0; }
.showcase-strip b, .showcase-strip span { display: block; }
.showcase-strip b { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: #0a3b74; }
.showcase-strip .strip-icon { flex: 0 0 auto; width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.showcase-strip span { color: #5e6f88; font-size: .82rem; }
.showcase-card-grid { display: grid; gap: 22px; }
.showcase-card-grid.three { grid-template-columns: repeat(3, 1fr); }
.showcase-card-grid article, .mini-grid article, .pricing-grid article, .property-grid article { padding: 26px; border: 1px solid #dbe6f0; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(8,45,91,.06); }
.showcase-card-grid i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; color: #0a4d91; background: #eef6ff; font-size: 1.4rem; font-style: normal; }
.showcase-card-grid h2 { margin: 0 0 10px; font-size: 1.12rem; }
.showcase-card-grid p { min-height: 78px; color: #53657f; font-size: 1.02rem; line-height: 1.6; }
.showcase-card-grid a, .pricing-grid a { color: #0b4b88; font-weight: 750; text-decoration: none; }
.showcase-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(28px, 4vw, 56px); }
.showcase-split > div { min-width: 0; width: 100%; }
.showcase-split h2 { margin: 0 0 22px; font-size: 1.65rem; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-grid article { min-height: 128px; padding: 20px; }
.mini-grid b { display: block; margin-bottom: 8px; }
.mini-grid p { margin: 0; color: #64748b; font-size: 1rem; line-height: 1.5; }
.mini-grid.image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-grid.image-grid article { overflow: hidden; min-width: 0; padding: 0 0 18px; }
.mini-grid.image-grid img { display: block; width: 100%; height: 132px; margin-bottom: 14px; object-fit: cover; object-position: center; }
.mini-grid.image-grid b { padding: 0 16px; }
.showcase-process { display: flex; width: 100%; }
.showcase-process article { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; padding: 0 18px; text-align: center; }
.showcase-process article:not(:last-child)::after { content: '→'; position: absolute; top: 21px; right: -8px; color: #9baabd; }
.showcase-process i { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 15px; border-radius: 50%; color: #fff; background: #0a3e78; font-style: normal; font-weight: 800; }
.showcase-process b { margin-bottom: 8px; }
.showcase-process span { color: #63748c; font-size: .96rem; line-height: 1.5; }
.showcase-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 clamp(20px, 5vw, 78px) 60px; padding: 34px clamp(24px, 5vw, 62px); border-radius: 12px; background: linear-gradient(100deg, #e9f5ff, #f8fbff); }
.showcase-cta h2, .showcase-cta p { margin: 0; }
.showcase-cta p { margin-top: 7px; color: #526681; }

.pergola-showcase-hero { min-height: 510px; color: #fff; background: linear-gradient(90deg, rgba(20,23,11,.9), rgba(20,23,11,.22)), url('../images/pergola-hero.webp') center / cover; }
.pergola-showcase-hero .showcase-hero-copy { flex-basis: 100%; }
.pergola-showcase-hero h1, .pergola-showcase-hero p, .pergola-showcase-hero .showcase-kicker { color: #fff; }
.pergola-showcase-hero p { max-width: 580px; }
.showcase-btn.pergola-primary { border-color: #a9631e; color: #fff; background: #a9631e; }
.showcase-btn.light { border-color: rgba(255,255,255,.75); color: #fff; }
.pergola-reference { color: #472b19; background: #fffdf9; }
.pergola-reference-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.pergola-paths { position: relative; z-index: 2; margin-top: -28px; }
.pergola-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 10px; background: rgba(255,253,249,.97); box-shadow: 0 15px 34px rgba(67,39,18,.14); }
.pergola-path-grid article { display: flex; gap: 20px; padding: 32px; border-right: 1px solid #e3d6c9; }
.pergola-path-grid article:last-child { border: 0; }
.pergola-path-grid article > span { color: #96561e; font-size: 2.3rem; }
.pergola-path-grid article > div { display: flex; flex-direction: column; }
.pergola-path-grid article > div > a { margin-top: auto; align-self: flex-start; }
.pergola-path-grid h2 { margin: 0 0 8px; font-size: 1.25rem; }
.pergola-path-grid p { min-height: 78px; color: #705c4b; font-size: 1rem; line-height: 1.55; }
.pergola-path-grid a, .pergola-panel-grid a { color: #7d4318; font-weight: 750; text-decoration: none; }
.pergola-panels { padding: 62px 0; }
.pergola-panels h2, .pergola-lead { text-align: center; }
.pergola-panels h2 { margin-bottom: 8px; font-size: 2rem; }
.pergola-lead { margin-bottom: 28px; color: #765f4c; }
.pergola-panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pergola-panel-grid article { overflow: hidden; border-radius: 9px; background: #fff; box-shadow: 0 10px 26px rgba(75,44,22,.1); }
.pergola-panel-grid img { width: 100%; height: 230px; object-fit: cover; }
.pergola-panel-grid article > div { padding: 22px; }
.pergola-panel-grid h3 { margin: 0 0 8px; }
.pergola-panel-grid p { min-height: 78px; color: #715f50; font-size: 1rem; line-height: 1.55; }
.pergola-why { padding: 54px 0; background: #f6f0e9; }
.pergola-why > div { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 36px; }
.pergola-why img { width: 100%; max-height: 350px; object-fit: contain; }
a.pergola-why-image { display: block; color: inherit; text-decoration: none; transition: transform .3s ease, filter .3s ease; }
a.pergola-why-image:hover { transform: translateY(-4px); filter: brightness(1.04); }
a.pergola-why-image:hover .pergola-why-image-label { color: #b7793b; }
.pergola-why-image-label { display: block; margin-bottom: 12px; color: #96561e; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; text-align: center; transition: color .3s ease; }
.pergola-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pergola-why-grid article > span { color: #9a5b25; font-size: 1.8rem; }
.pergola-why-grid h3 { margin: 8px 0 5px; font-size: 1rem; }
.pergola-why-grid p { margin: 0; color: #75614f; font-size: .96rem; }
.pergola-calculator { padding: 42px 0; color: #fff; background: linear-gradient(90deg, rgba(70,39,18,.94), rgba(111,64,25,.8)), url('../images/wood.jpg') center / cover; }
.pergola-calculator > div, .pergola-contact > div { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pergola-calculator h2, .pergola-calculator p, .pergola-contact h2, .pergola-contact p { margin: 5px 0; }
.pergola-calculator a, .pergola-contact a { padding: 13px 20px; border-radius: 5px; color: #fff; background: #a96524; font-weight: 750; text-decoration: none; white-space: nowrap; }
.pergola-contact { padding: 34px 0; color: #fff; background: #3e2415; }
.pergola-contact > div > div { display: flex; align-items: center; gap: 22px; }
.pergola-contact > div > div > span { font-size: 2rem; }
.pergola-promises { padding: 30px 0; }
.pergola-promises > div { display: flex; justify-content: space-between; gap: 25px; }
.pergola-promises article { display: flex; align-items: center; gap: 13px; }
.pergola-promises article > span { color: #8a4b1e; font-size: 1.7rem; }
.pergola-promises b, .pergola-promises small { display: block; }

.inspection-hero { background: linear-gradient(100deg, #fff 0%, #fff 42%, #eaf2f8 100%); }
.benefit-row { display: flex; gap: 16px; }
.benefit-row article { flex: 1; text-align: center; }
.benefit-row i { display: block; margin-bottom: 12px; color: #0c4078; font-size: 2.3rem; font-style: normal; }
.benefit-row b, .benefit-row span { display: block; }
.benefit-row span { margin-top: 8px; color: #617088; font-size: .96rem; line-height: 1.45; }
.inspection-stats { padding: 12px clamp(20px, 8vw, 120px); color: #fff; text-align: center; background: linear-gradient(100deg, #061f43, #0b3a6b); }
.inspection-stats h2 { margin: 0 0 8px; font-size: 1.1rem; text-transform: uppercase; }
.inspection-stats > div { display: flex; justify-content: center; }
.inspection-stats article { display: flex; flex: 1; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid rgba(255,255,255,.25); }
.inspection-stats article:last-child { border: 0; }
.inspection-stats b { color: #d1a85e; font-size: 1.6rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1050px; margin: auto; }
.pricing-grid article { border-radius: 0; text-align: center; }
.pricing-grid article.featured { color: #fff; background: #b58a48; transform: translateY(-12px); }
.pricing-grid .featured a { color: #fff; }
.pricing-grid h3, .pricing-grid strong { display: block; margin-bottom: 12px; }
.pricing-grid strong { font-size: 1.3rem; }
.pricing-grid p { min-height: 104px; font-size: 1rem; line-height: 1.55; }
.property-intro { margin: -24px 0 30px; color: #5e7088; text-align: center; }
.property-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.property-grid article { overflow: hidden; padding: 0 0 22px; }
.property-grid img { width: 100%; height: 155px; object-fit: cover; }
.property-grid b, .property-grid strong, .property-grid p { display: block; margin: 12px 16px 0; }
.property-grid b { min-height: 44px; font-size: 1.02rem; line-height: 1.35; }
.property-grid strong { color: #0c447f; font-size: .96rem; }
.property-grid p { color: #334966; font-size: .94rem; font-style: italic; line-height: 1.5; }
.inspection-bottom { display: grid; grid-template-columns: 1fr 1.2fr; gap: 38px; }
.inspection-bottom details { padding: 14px 0; border-bottom: 1px solid #d9e3ec; }
.inspection-bottom summary { cursor: pointer; font-weight: 650; }
.inspection-bottom details p { color: #5a6d85; line-height: 1.55; }
.inspection-final { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 42px; border-radius: 12px; color: #fff; text-align: center; background: #092c58; }

/* Keep every technical-inspection page section in its own full-width row. */
.inspection-showcase { display: block !important; width: 100% !important; max-width: none !important; overflow-x: hidden; }
.inspection-showcase > section { display: block; width: 100% !important; max-width: none !important; clear: both; }
.inspection-showcase > .showcase-hero { display: flex; }
.inspection-showcase .showcase-section { box-sizing: border-box; }
.inspection-showcase .benefit-row,
.inspection-showcase .inspection-flow,
.inspection-showcase .pricing-grid,
.inspection-showcase .property-grid { width: 100%; box-sizing: border-box; }

@media (max-width: 900px) {
    .showcase-hero { flex-direction: column; }
    .showcase-hero > img { width: 100%; height: 330px; }
    .showcase-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .showcase-strip article { border: 0; padding: 0; }
    .showcase-split, .inspection-bottom { grid-template-columns: 1fr; }
    .benefit-row { flex-wrap: wrap; }
    .benefit-row article { flex-basis: 30%; }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .pergola-path-grid, .pergola-panel-grid { grid-template-columns: 1fr; }
    .pergola-path-grid article { border-right: 0; border-bottom: 1px solid #e3d6c9; }
    .pergola-why > div { grid-template-columns: 1fr; }
    .pergola-promises > div { flex-wrap: wrap; }
}
@media (max-width: 620px) {
    .showcase-card-grid.three, .mini-grid, .pricing-grid, .property-grid { grid-template-columns: 1fr; }
    .showcase-process, .inspection-stats > div { flex-direction: column; gap: 26px; }
    .showcase-process article::after { display: none; }
    .showcase-strip { grid-template-columns: 1fr; }
    .benefit-row { flex-direction: column; }
    .showcase-cta { flex-direction: column; align-items: flex-start; }
    .pricing-grid article.featured { transform: none; }
    .inspection-stats article { border-right: 0; }
}

.page-hero h1 {
    font-size: 2.6rem;
    margin: 0 0 16px;
    line-height: 1.1;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}

.page-hero .hero-kicker,
.page-hero h1,
.page-hero p {
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
}

.page-hero .hero-kicker { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.15s; }
.page-hero p { animation-delay: 0.3s; }

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
    .page-hero {
        padding: 50px 24px 40px;
        clip-path: none;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Pro hero (diagonal split + floating feature card) */

.hero-pro-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    filter: saturate(0.9) contrast(1.02) brightness(1.04) hue-rotate(-5deg);
    mix-blend-mode: normal;
    z-index: 0;
    pointer-events: none;
}

.hero-pro-text {
    position: relative;
    z-index: 2;
    color: #fff;
    min-height: 360px;
    padding: 42px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.hero-pro-text > :not(.hero-pro-bg-video) {
    position: relative;
    z-index: 1;
}

.hero-pro-kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(228, 214, 214, 0.85);
    margin-bottom: 16px;
}

.hero-pro-text h1 {
    font-size: 2.25rem;
    line-height: 1.16;
    color: #fff;
    margin: 0 0 14px;
}

.hero-pro-accent {
    color: #c5e6d6;
}

.hero-pro-brand {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.85);
    animation: hero-brand-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-pro-brand.flev {
    color: var(--brand-blue);
    animation-delay: 0.1s;
}

.hero-pro-brand.orszag {
    display: block;
    color: #fff;
    animation-delay: 0.4s;
}
.hero-brand-top { display: flex; align-items: center; gap: .18em; }
.hero-house-vector { display: inline-flex; width: 1.18em; height: 1em; margin: 0; align-items: center; justify-content: center; color: var(--brand-blue); opacity: 0; transform: translateY(24px) scale(.8); animation: hero-brand-in .9s .25s cubic-bezier(.22,1,.36,1) forwards; }
.hero-house-vector img { display: block; width: 100%; height: 100%; object-fit: contain; }

@keyframes hero-brand-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-pro-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 440px;
    margin: 0 0 20px;
}

.hero-pro-btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--navy-dark);
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pro-btn {
    transform-origin: center bottom;
}

.hero-pro-btn:hover {
    transform: perspective(500px) rotateX(-10deg) translateY(-3px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
}

.hero-pro-btn span[aria-hidden="true"] {
    display: inline-block;
    transition: transform 0.25s ease;
}

.hero-pro-btn:hover span[aria-hidden="true"] {
    transform: translateX(4px);
}

.hero-pro-float {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: -40px auto 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(23, 62, 49, 0.18);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.float-item {
    padding: 12px 18px;
    border-right: 1px solid var(--border);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.float-item:hover {
    background-color: var(--navy-pale);
    transform: translateY(-3px);
}

.float-item:hover .float-icon {
    transform: scale(1.08);
}

.float-icon {
    transition: transform 0.25s ease;
}

.float-item:last-child {
    border-right: none;
}

.float-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.float-icon svg {
    width: 17px;
    height: 17px;
    animation: float-bob 3.2s ease-in-out infinite;
}

.float-item:nth-child(1) .float-icon svg { animation-delay: 0s; }
.float-item:nth-child(2) .float-icon svg { animation-delay: 0.3s; }
.float-item:nth-child(3) .float-icon svg { animation-delay: 0.6s; }
.float-item:nth-child(4) .float-icon svg { animation-delay: 0.9s; }

.float-icon.dark {
    background: var(--navy);
    color: #fff;
}

.float-icon.light {
    background: var(--navy-pale);
    color: var(--navy);
}

.float-item h3 {
    margin: 0 0 4px;
    font-size: 0.92rem;
    color: var(--ink);
}

.float-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .hero-pro-text {
        min-height: 320px;
    }

    .hero-pro-float {
        grid-template-columns: repeat(2, 1fr);
        margin: -40px 20px 0;
    }

    .float-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 560px) {
    .hero-pro-float {
        grid-template-columns: 1fr;
    }
}

/* Split hero */

.hero-split {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    height: 340px;
    overflow: hidden;
}

.hero-split-text {
    position: relative;
    z-index: 1;
    grid-column: 1;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 5vw 24px 48px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    overflow: hidden;
}

.hero-opal-sheen {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    background:
        radial-gradient(circle at 25% 20%, rgba(200, 225, 255, 0.20), transparent 45%),
        radial-gradient(circle at 80% 65%, rgba(255, 214, 240, 0.16), transparent 50%),
        linear-gradient(135deg, rgba(210, 235, 255, 0.10), rgba(255, 230, 245, 0.08) 50%, rgba(220, 255, 235, 0.10));
}

.hero-split-text::before,
.hero-split-text::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.hero-split-text::before {
    width: 220px;
    height: 220px;
    background: #ffffff;
    top: -70px;
    left: 15%;
    animation: hero-blob-drift-1 16s ease-in-out infinite;
}

.hero-split-text::after {
    width: 260px;
    height: 260px;
    background: #ffffff;
    bottom: -110px;
    right: 6%;
    animation: hero-blob-drift-2 19s ease-in-out infinite;
}

@keyframes hero-blob-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(35px, 25px) scale(1.2); }
}

@keyframes hero-blob-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -20px) scale(1.12); }
}

@keyframes float-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-split-text h1 {
    font-size: 2.4rem;
    line-height: 1.08;
    margin: 0 0 6px;
    font-weight: 700;
}

.hero-split-text h2 {
    font-size: 1.1rem;
    color: #fdf6e8;
    margin: 0 0 14px;
    font-weight: 700;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: word-in 0.7s ease forwards;
}

.hero-word.accent {
    color: #fdf6e8;
}

.hero-word:nth-child(1) { animation-delay: 0.15s; }
.hero-word:nth-child(2) { animation-delay: 0.5s; }

@keyframes word-in {
    to { opacity: 1; transform: translateY(0); }
}

.hero-split-text p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 420px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.hero-split-text .btn-primary {
    align-self: flex-start;
}

.hero-split-image {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 54%;
    z-index: 0;
    overflow: hidden;
}

.hero-split-image img,
.hero-split-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Index hero: the same clean video-and-image split used on the About page. */
.homepage-hero-split .hero-split-text { padding: 0; }
.homepage-hero-split .hero-pro-text { min-height: 100%; height: 100%; padding: 38px 48px; border-radius: 0; }
.homepage-hero-split .hero-pro-text h1 { font-size: 2.4rem; }
/* Same treatment as the About hero: the video sits low-opacity over the solid
   navy panel so the copy stays readable across the whole headline. */
.homepage-hero-split .hero-pro-bg-video { opacity: .58; filter: saturate(0.82) contrast(1.03) brightness(0.8) hue-rotate(-5deg); }

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-split-text {
        grid-column: auto;
        clip-path: none;
        padding: 50px 24px;
    }

    .hero-split-text h1 {
        font-size: 2.3rem;
    }

    .hero-split-image {
        position: static;
        width: 100%;
        height: clamp(300px, 46vw, 440px);
    }

    .hero-split-image img,
    .hero-split-image video {
        object-position: center 45%;
    }

    .homepage-hero-split .hero-pro-text {
        min-height: 330px;
        height: auto;
        padding: 42px 24px;
    }
}

/* Marquee */

.marquee {
    background: var(--navy);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 9px 0;
}

.marquee-track {
    display: inline-flex;
    width: max-content;
    animation: marquee-scroll 26s linear infinite;
}

.marquee-track span {
    padding: 0 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Stats counter */

.stats-section {
    background: var(--card-bg);
    padding: 50px 20px;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .stat-number {
        font-size: 2.4rem;
    }
}

/* Editorial numbered list */

.editorial-list {
    margin-top: 10px;
}

.editorial-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.editorial-item:hover {
    padding-left: 14px;
    border-bottom-color: var(--brass);
}

.editorial-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.35;
    min-width: 64px;
    flex-shrink: 0;
}

.editorial-item h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.editorial-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

/* Work carousel */

.work-carousel {
    position: relative;
    max-width: 620px;
    height: 340px;
    margin: 28px auto 0;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-navy);
}

.work-carousel-slide {
    position: absolute;
    inset: 12px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    transition: opacity 0.9s ease, transform 1.3s ease, visibility 0.9s;
}

.work-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transform: scale(1);
}

.work-carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.work-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 7s ease-out;
}

.work-carousel-slide.active img {
    transform: scale(1.12);
}

.work-carousel-caption {
    display: none;
    pointer-events: none;
}

.work-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(20, 10, 40, 0.35);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.work-carousel-nav:hover {
    background-color: var(--navy);
    transform: translateY(-50%) scale(1.08);
}

.work-carousel-nav.prev { left: 20px; }
.work-carousel-nav.next { right: 20px; }

.work-carousel-dots {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.work-carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.work-carousel-dots button.active {
    background: var(--navy);
    border-color: var(--brass);
    transform: scale(1.15);
}

@media (max-width: 700px) {
    .work-carousel {
        height: 260px;
    }
    .work-carousel-caption {
        padding: 16px 56px;
        font-size: 0.92rem;
    }
    .work-carousel-nav {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}


/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
    perspective: 1200px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: perspective(1200px) rotateX(0) rotateY(0) translateZ(0);
    transition: opacity 0.7s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid a:hover {
    transform: perspective(1200px) rotateX(4deg) rotateY(-6deg) translateY(-4px) translateZ(10px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.08);
}

.gallery-grid a.reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(2) { transition-delay: 0.1s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(3) { transition-delay: 0.2s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(4) { transition-delay: 0.3s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(5) { transition-delay: 0.4s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(6) { transition-delay: 0.5s, 0s, 0s; }

@media (max-width: 700px) {
    .gallery-grid a:hover {
        transform: perspective(1200px) rotateX(2deg) rotateY(-3deg) translateY(-2px);
    }
}

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img {
        height: 150px;
    }
}

/* Lightbox */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6, 62, 49, 0.9);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
}

.lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--blue-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: var(--navy);
    color: #fff;
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: -14px;
        right: -14px;
        width: 32px;
        height: 32px;
    }
}

/* Featured image */

.featured-image {
    max-width: 1100px;
    margin: -60px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 14px;
}

.featured-image img {
    width: 100%;
    display: block;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.03);
}

/* Highlight banner */

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 700px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

.badge-free {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlight-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brass);
    color: var(--ink);
    border-radius: 10px;
    padding: 32px 28px;
    margin-top: 0;
    box-shadow: var(--shadow);
}

.highlight-banner .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background-color: var(--blue-pale);
    color: var(--navy);
    flex-shrink: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-banner-text {
    flex: 1;
    min-width: 220px;
}

.highlight-banner-text h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink);
}

.highlight-banner-text p {
    margin: 0;
    color: var(--muted);
}

.highlight-banner .btn-primary {
    flex-shrink: 0;
    margin-top: 14px;
    background: var(--navy);
    color: #fff;
}

.highlight-banner .btn-primary:hover {
    background: var(--blue-dark);
}

/* Layout */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 32px;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--ink);
}

.legal-group-title {
    max-width: 1280px;
    margin: 56px auto 20px;
    padding: 0 32px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #071a3b;
}

.legal-group-title:first-child {
    margin-top: 0;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.lead-line {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 16px;
}

.lead-line strong {
    color: var(--navy);
}

.card p strong {
    color: var(--navy);
}

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.card + .card {
    margin-top: 24px;
}

.info-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--navy-pale);
    border-left: 4px solid var(--navy);
    border-radius: 8px;
    padding: 22px 26px;
}

.info-note .info-note-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: var(--navy);
    margin-top: 2px;
}

.info-note p {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.65;
}

.info-note a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.info-note a:hover {
    color: var(--blue);
}

.info-card {
    margin-top: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
    border-radius: 10px;
    padding: 28px 32px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    margin: 0 0 16px;
    color: var(--ink);
}

.info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.6;
}

.info-card li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy);
    margin-top: 9px;
}

.intro-split {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.intro-split p {
    flex: 1;
    margin: 0;
    color: var(--ink);
    line-height: 1.7;
}

.intro-split img {
    flex-shrink: 0;
    width: 200px;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .intro-split {
        flex-direction: column;
    }

    .intro-split img {
        width: 100%;
        max-width: 240px;
    }
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.card,
.service-card,
.feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Icons */

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(11, 93, 69, 0.12);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.icon-circle svg {
    width: 26px;
    height: 26px;
}

/* Feature grid (why us) */

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

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card,
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brass);
    border-radius: 12px;
    padding: 34px;
    box-shadow: var(--shadow);
    color: var(--ink);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: perspective(800px) translateY(-8px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 22px 40px rgba(6, 62, 49, 0.22);
    border-color: var(--brass);
}

.feature-card .icon-circle,
.service-card .icon-circle {
    background-color: var(--blue-pale);
    color: var(--navy);
    border: none;
}

.feature-card,
.service-card {
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: perspective(800px) translateY(-5px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 16px 34px rgba(6, 62, 49, 0.18);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--ink);
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Testimonials */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--brass);
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: perspective(800px) translateY(-5px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.testimonial-stars {
    color: var(--navy);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-style: italic;
    color: var(--ink);
    margin: 0 0 18px;
    line-height: 1.6;
}

.testimonial-author {
    margin: 0;
    margin-top: auto;
    padding-top: 14px;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-author span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

.testimonial-card.reveal {
    transition: opacity 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-grid .testimonial-card.reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.testimonial-grid .testimonial-card.reveal:nth-child(2) { transition-delay: 0.12s, 0s, 0s; }
.testimonial-grid .testimonial-card.reveal:nth-child(3) { transition-delay: 0.24s, 0s, 0s; }

/* Timeline */

.timeline {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    border-left: 2px solid rgba(11, 93, 69, 0.35);
}

.timeline li {
    position: relative;
    padding: 0 0 22px 26px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--navy);
}

.timeline strong {
    display: block;
    color: var(--navy);
}

.timeline li.reveal-left {
    transform: translateX(-110px);
}

.timeline li.reveal-right {
    transform: translateX(110px);
}

.timeline li.reveal-left.visible,
.timeline li.reveal-right.visible {
    transform: none;
}

.timeline li.reveal {
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline li.reveal:nth-child(1) { transition-delay: 0s; }
.timeline li.reveal:nth-child(2) { transition-delay: 0.4s; }
.timeline li.reveal:nth-child(3) { transition-delay: 0.8s; }
.timeline li.reveal:nth-child(4) { transition-delay: 1.2s; }
.timeline li.reveal:nth-child(5) { transition-delay: 1.6s; }

/* About page */

.about-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-item {
    flex: 1;
    min-width: 220px;
}

.about-title {
    color: var(--navy);
    margin: 4px 0 12px;
}

.about-text {
    line-height: 1.6;
}

.about-image {
    max-width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Services */

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

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.service-card.reveal {
    transition: opacity 0.5s ease, transform 0.4s ease, box-shadow 0.25s ease;
}

.services-grid .service-card.reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.1s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.2s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.3s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(5) { transition-delay: 0.4s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(6) { transition-delay: 0.5s, 0s, 0s; }

.service-card h3 {
    margin-top: 0;
    color: var(--ink);
}

.service-card p {
    color: var(--muted);
}

.tip-icon {
    animation: tip-glow 2.6s ease-in-out infinite;
}

@keyframes tip-glow {
    0%, 100% { background-color: var(--blue-pale); transform: scale(1); }
    50% { background-color: var(--blue-pale); transform: scale(1.08); }
}

/* Contact */

.contact-section { padding: 48px 0 56px; background: #f4f7f5; }
.contact-section .kapcsolat-title { width: min(100% - 64px, 1216px); margin: 0 auto 26px; color: #071a3b; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.15; }
.contact-section .contact-layout { width: min(100% - 64px, 1216px); max-width: none; margin: 0 auto; padding: 0; }

.contact-left .card {
    border-top: 4px solid var(--brass);
}

.contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease;
}

.contact-row:first-child {
    padding-top: 0;
}

.contact-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.contact-row:hover {
    background-color: rgba(11, 93, 69, 0.06);
}

.contact-row .icon-circle {
    flex-shrink: 0;
    margin-bottom: 0;
    transition: transform 0.25s ease;
}

.contact-row:hover .icon-circle {
    transform: scale(1.08);
}

.contact-label {
    display: block;
    font-weight: bold;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

@media (max-width: 700px) {
    .contact-section { padding: 36px 0 44px; }
    .contact-section .kapcsolat-title,
    .contact-section .contact-layout { width: min(100% - 32px, 1216px); }
    .contact-section .kapcsolat-title { margin-bottom: 20px; }
}

/* Why us */

.why-us-spaced {
    margin-top: 20px;
}

.why-us {
    background: var(--navy-pale);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-us-divider {
    height: 3px;
    background: linear-gradient(to right, transparent, var(--brass) 50%, transparent);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 48px;
}

.why-us-text h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #071a3b;
    margin: 0 0 18px;
    line-height: 1.15;
}

.why-us-text p {
    font-family: var(--font-body);
    color: #354258;
    line-height: 1.7;
    margin-bottom: 26px;
}

.why-us-btn {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-weight: bold;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: var(--shadow-navy);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.why-us-btn:hover {
    transform: translateY(-3px);
    background-color: var(--navy-dark);
}

.why-us-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.why-us-link {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.why-us-link:hover {
    border-color: var(--navy);
}

.why-us-image {
    height: 100%;
    min-height: 320px;
}

.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

@media (max-width: 800px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

.reasons-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 48px;
    text-align: center;
}

.reasons-inner h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
    text-align: center;
    margin: 0 0 32px;
}

.reasons-lead {
    color: var(--muted);
    line-height: 1.7;
    max-width: 820px;
    margin: -14px auto 32px;
    text-align: center;
}

.reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reason-grid .reason-box:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.reason-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--navy);
    border-radius: 6px;
    padding: 22px 26px;
    color: var(--ink);
    font-weight: 700;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.4;
    box-shadow: var(--shadow);
}

@media (max-width: 700px) {
    .reasons-inner {
        padding: 32px 24px;
    }
    .reason-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA */

.cta-card {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 64px 24px;
}

.cta-card > * {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.cta-card .cta-icon svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.cta-card h2 {
    margin-top: 0;
    font-size: 1.9rem;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(3, 4, 13, 0.5), 0 3px 2px rgba(3, 4, 13, 0.35), 0 4px 8px rgba(3, 4, 13, 0.35);
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 40%, var(--navy-pale) 100%);
    background-size: 220% 220%;
    background-position: 0% 0%;
    color: var(--navy-dark);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transform-origin: center bottom;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
    animation: cta-pulse 2.2s ease infinite;
}

.btn-primary:hover {
    transform: perspective(500px) rotateX(-10deg) translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
    background-position: 100% 100%;
}

/* Pricing */

.price-tag {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin: 12px 0 4px;
    margin-top: auto;
    padding-top: 12px;
}

.price-note {
    color: var(--muted);
    font-size: 0.85rem;
}

/* FAQ accordion */

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 6px 24px;
}

.faq-item + .faq-item {
    margin-top: 14px;
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 0;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--navy);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* Tips / articles */

.tip-card p {
    line-height: 1.5;
}

/* Back to top */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    opacity: 0;
    transform: translateY(10px) scale(.92);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(11, 93, 69, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(11, 93, 69, 0.5);
}

.back-to-top svg:not(.back-to-top-ring) {
    width: 20px;
    height: 20px;
}

.back-to-top-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%) rotate(-90deg);
    pointer-events: none;
}

.back-to-top-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .28);
    stroke-width: 3;
}

.back-to-top-ring .ring-progress {
    fill: none;
    stroke: #e1bd7b;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset .1s linear;
}

@media (max-width: 480px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* Footer */

.site-footer {
    background-color: var(--blue-dark);
    color: #cfc4dc;
    text-align: center;
    padding: 24px 20px;
    margin-top: 60px;
    font-size: 0.9rem;
}

.site-footer a {
    color: #fff;
}

.footnote-credit {
    margin-top: 10px;
    font-size: 0.78rem;
    opacity: 0.7;
}

.footnote-credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Homepage layout matching the FLEV service overview */
.hero-pro-float { display: none; }

.homepage-marquee { background: var(--navy); padding: 9px 0; border-bottom: 0; }
.homepage-marquee .marquee-track span { padding: 0 20px; font-size: 1rem; letter-spacing: .1em; }

.reference-home {
    color: #0b2348;
    background: #fff;
}

.reference-home h2,
.reference-home h3,
.reference-home p { font-family: inherit; }

.reference-benefits {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 118px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: center;
}

.reference-benefits div { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: #30436a; }
.reference-benefits b { color: #09275a; border: 2px solid currentColor; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.35rem; }
.reference-benefits span { display: grid; line-height: 1.25; }
.reference-benefits strong { color: #09275a; }

.reference-section { max-width: 1180px; margin: 0 auto; padding: 26px 28px 34px; }
.reference-section > h2 { text-align: center; font-size: 1.55rem; color: #071f4c; margin: 0 0 8px; font-weight: 800; }
.section-intro { text-align: center; margin: 0 0 18px; color: #31476d; font-size: 1.08rem; }
.services-overview > .section-intro { max-width: 880px; margin: 0 auto 24px; line-height: 1.6; text-wrap: balance; }

.reference-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reference-service-card { position: relative; overflow: hidden; border: 1px solid #dbe1ea; border-radius: 8px; background: #fff; box-shadow: 0 3px 13px rgba(10, 37, 75, .10); }
.reference-service-card > img, .reference-service-card > video { display: block; width: 100%; height: 122px; object-fit: cover; }
.reference-service-card > div { position: relative; min-height: 164px; padding: 19px 16px 14px; }
.reference-icon { position: absolute; top: -24px; left: 16px; width: 42px; height: 42px; border-radius: 50%; background: #09275a; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-size: 1.3rem; }
.reference-service-card h3 { margin: 0 0 8px; color: #0a275a; font-size: 1rem; line-height: 1.15; }
.reference-service-card p { color: #40506c; font-size: .94rem; line-height: 1.45; margin: 0 0 12px; }
.reference-service-card a { color: #08295e; font-size: .78rem; font-weight: 800; text-decoration: none; }
.reference-service-card a:hover { text-decoration: underline; }

/* Large automatic service carousel. */
.service-carousel { position: relative; isolation: isolate; max-width: 1200px; height: 480px; margin: 26px auto 10px; overflow: hidden; border: 1px solid rgba(87,151,219,.28); border-radius: 14px; background: #071f4c; box-shadow: 0 8px 18px rgba(7,31,76,.16), 0 24px 58px rgba(4,22,56,.26), 0 0 0 6px rgba(82,150,218,.055); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease; }
.service-carousel::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; border-top: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -26px 50px rgba(2,19,48,.08); pointer-events: none; }
.service-carousel::after { content: ''; position: absolute; left: 9%; right: 9%; bottom: -1px; z-index: 2; height: 3px; background: linear-gradient(90deg, transparent, #4da3ff 25%, #d1a65f 50%, #4da3ff 75%, transparent); opacity: .85; filter: blur(.2px); pointer-events: none; }
.service-carousel:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(7,31,76,.18), 0 32px 70px rgba(4,22,56,.32), 0 0 0 7px rgba(82,150,218,.075); }
.service-carousel .carousel-inner { position: static; height: 100%; }
.service-carousel .service-carousel-slide, .service-carousel .carousel-item { position: absolute; inset: 0; display: grid; grid-template-columns: 60% 40%; opacity: 0; pointer-events: none; transform: scale(.96) translateX(7%); transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.service-carousel .service-carousel-slide.active, .service-carousel .carousel-item.active { opacity: 1; pointer-events: auto; transform: scale(1) translateX(0); z-index: 1; }
.service-carousel .service-carousel-slide > img, .service-carousel .carousel-item > img, .service-carousel .service-carousel-slide > video, .service-carousel .carousel-item > video { width: 100%; height: 100%; object-fit: cover; background: #071f4c; transition: filter .7s ease, transform 4s ease; box-shadow: inset 0 0 120px rgba(0,0,0,0.12); }
.service-carousel .service-carousel-slide.active > img, .service-carousel .carousel-item.active > img, .service-carousel .service-carousel-slide.active > video, .service-carousel .carousel-item.active > video { filter: brightness(1.04) saturate(1.08) contrast(1.02); transform: scale(1.025); }
.service-carousel .service-carousel-slide > div, .service-carousel .carousel-item > div { min-height: 0; padding: 68px 44px 40px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.service-carousel .service-carousel-slide .reference-icon, .service-carousel .carousel-item .reference-icon { top: 24px; left: 40px; }
.service-carousel .service-carousel-slide h3, .service-carousel .carousel-item h3 { font-size: 1.7rem; }
.service-carousel .service-carousel-slide p, .service-carousel .carousel-item p { max-width: 330px; font-size: .95rem; line-height: 1.65; }
.service-carousel .service-carousel-slide a, .service-carousel .carousel-item a { font-size: .92rem; margin-top: 8px; }
.service-carousel-nav { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(4,27,64,.72); color: #fff; font-size: 2.15rem; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; opacity: 1 !important; }
.service-carousel-nav:hover { background: #b7793b; transform: translateY(-50%) scale(1.08); }
.service-carousel-nav.prev { left: 20px; }.service-carousel-nav.next { right: 20px; }
.service-carousel .carousel-indicators { position: absolute; z-index: 3; bottom: 8px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); margin: 0; }
.service-carousel .carousel-indicators button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; text-indent: -9999px; }
.service-carousel .carousel-indicators button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.45); transform: translate(-50%, -50%); transition: transform .2s ease, background .2s ease; }
.service-carousel .carousel-indicators button.active::after { background: #b7793b; transform: translate(-50%, -50%) scale(1.25); }

.reference-pergola { padding: 76px 0 82px; color: #fff; background: linear-gradient(rgba(77, 36, 15, .78), rgba(77, 36, 15, .86)), url('../images/wood.jpg') center / cover; }
.reference-pergola .reference-section { padding-top: 0; padding-bottom: 0; }
.reference-pergola h2 { color: #fff; margin-bottom: 12px; font-size: 2.45rem; letter-spacing: .035em; }
.reference-pergola .section-intro { max-width: 700px; margin: 0 auto 42px; color: rgba(255, 255, 255, .92); font-size: 1.08rem; line-height: 1.55; }
.reference-pergola .reference-card-grid { align-items: stretch; grid-auto-rows: 1fr; perspective: 1000px; }
.reference-pergola .reference-service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: #352313; border: 1px solid #e4d6c8; border-radius: 12px; box-shadow: 0 14px 34px rgba(39, 18, 7, .24); transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease; transform-style: preserve-3d; }
.reference-pergola .reference-service-card:hover { transform: rotateX(4deg) rotateY(-4deg) translateY(-6px); box-shadow: 0 20px 42px rgba(39, 18, 7, .38); }
.reference-pergola .reference-service-card.reveal:nth-child(1) { transition-delay: 0s; }
.reference-pergola .reference-service-card.reveal:nth-child(2) { transition-delay: .12s; }
.reference-pergola .reference-service-card.reveal:nth-child(3) { transition-delay: .24s; }
.reference-pergola .reference-service-card.reveal:nth-child(4) { transition-delay: .36s; }
.reference-pergola .reference-service-card > img { display: block; width: 100%; height: 195px; object-fit: cover; object-position: center; }
.reference-pergola .reference-service-card:nth-child(1) > img { object-fit: contain; background: #071a3b; }
.reference-pergola .reference-service-card > div { display: flex; flex: 1; flex-direction: column; min-height: 280px; padding: 30px 24px 24px; color: #fff; }
/* Same rotating card palette as the "Egy cég, több üzletág" business cards. */
.reference-pergola .reference-service-card:nth-child(1) > div { background: #071a3b; }
.reference-pergola .reference-service-card:nth-child(2) > div { background: linear-gradient(rgba(133,78,26,.86),rgba(110,59,14,.92)), url('../images/wood.jpg') center / cover; }
.reference-pergola .reference-service-card:nth-child(3) > div { background: linear-gradient(135deg, #06667e, #073b68); }
.reference-pergola .reference-service-card:nth-child(4) > div { background: linear-gradient(135deg, #4b9dcd, #8bc7e8); }
/* About page reference layout */
.about-reference { color: #071a3b; background: #fff; }
.about-reference-inner { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.about-reference h2 { margin: 0; color: #071a3b; font-size: 2rem; line-height: 1.15; text-align: center; }
.about-history { padding: 52px 0 42px; background: #fff; }
.about-intro { max-width: 820px; margin: 18px auto 32px; color: #17243d; text-align: center; font-size: 1rem; line-height: 1.6; }
.about-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; max-width: 1180px; margin: 0 auto; padding-left: 0; }
.about-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 31px; height: 3px; background: #e1e7ef; border-radius: 2px; overflow: hidden; }
.about-timeline::after { content: ''; position: absolute; left: 0; top: 31px; width: var(--timeline-progress, 0%); height: 3px; background: #071a3b; border-radius: 2px; transition: width .45s linear; }
.about-timeline article { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.about-timeline article.visible { opacity: 1; transform: translateY(0); }
.about-timeline article h3, .about-timeline article p { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.about-timeline article.info-visible h3, .about-timeline article.info-visible p { opacity: 1; transform: translateY(0); }
.about-timeline article:not(:last-child)::after { content: ''; position: absolute; top: 31px; left: calc(50% + 34px); width: calc(100% - 68px); height: 1px; background: #8da0b9; }
.timeline-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #fff; background: #071a3b; border: 3px solid #e7edf5; font-size: 1.8rem; line-height: 1; margin: 0 auto 11px; }
.about-timeline time { display: block; color: #ab722f; font-size: 1.6rem; font-weight: 800; }
.about-timeline h3 { min-height: 42px; margin: 7px 0 6px; color: #13213a; font-size: 1.15rem; line-height: 1.15; }
.about-timeline p { margin: 0; color: #354258; font-size: 1.02rem; line-height: 1.4; }
.about-founder { display: grid; grid-template-columns: .62fr 1.38fr; min-height: 320px; overflow: hidden; background: #f6f6f5; }
.about-founder-photo { position: relative; min-height: 320px; background: #d4d4d4; }
.about-founder-photo img, .about-founder-photo video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.puzzle-photo.puzzle-built img { opacity: 0; }
.puzzle-clip-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.puzzle-grid { position: absolute; inset: 0; overflow: hidden; }
.puzzle-piece {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.85);
    transition: transform 1.3s cubic-bezier(.22, 1, .36, 1), opacity .7s ease;
    will-change: transform, opacity;
}
.puzzle-photo.puzzle-assembled .puzzle-piece {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
}
.puzzle-photo img { transition: opacity .35s ease; }
.puzzle-photo.puzzle-done img { opacity: 1; }
.puzzle-photo.puzzle-done .puzzle-grid,
.puzzle-photo.puzzle-done .puzzle-clip-defs { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.about-founder-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 68px; }
.about-founder-copy h2 { text-align: left; font-size: 2.15rem; }
.about-founder-copy > span { margin: 8px 0 25px; color: #ac722d; font-weight: 700; letter-spacing: .12em; }
.about-founder-copy blockquote { margin: 0 0 20px; color: #17243d; font-size: 1rem; font-weight: 600; line-height: 1.55; }
.about-founder-copy blockquote::before { content: '“'; color: #b87932; font-size: 3.4rem; font-weight: 800; line-height: .1; vertical-align: -.42em; margin-right: 10px; }
.about-founder-copy p { margin: 0; font-size: 1.06rem; line-height: 1.6; }
.vcard-download { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #dbe1e9; }
.vcard-download-label { color: #354258; font-size: .88rem; font-weight: 700; }
.vcard-download-buttons { display: flex; flex-wrap: nowrap; gap: 10px; }
.vcard-download a { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 7px 14px; color: #071a3b; font-size: .86rem; font-weight: 800; text-decoration: none; white-space: nowrap; background: #f0ead9; border: 1px solid #d8b765; border-radius: 5px; transition: background .2s ease, transform .2s ease; }
.vcard-download a:hover { background: #e1bd7b; transform: translateY(-2px); }
.about-businesses { padding: 30px 0 42px; background: #fff; }
.about-businesses h2 { margin-bottom: 22px; }
.about-business-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.business-card { display: flex; flex-direction: column; min-height: 455px; padding: 24px 20px 18px; color: #fff; border-radius: 6px; background: #071a3b; box-shadow: 0 8px 22px rgba(4, 23, 55, .14); }
.business-card.pergola { background: linear-gradient(rgba(133,78,26,.86),rgba(110,59,14,.92)), url('../images/wood.jpg') center / cover; }
.business-card.inspection { background: linear-gradient(135deg, #06667e, #073b68); }
.business-card.cleaning { background: linear-gradient(135deg, #4b9dcd, #8bc7e8); }
.business-card > span { display: block; margin-bottom: 14px; font-size: 2.6rem; line-height: 1; }
.business-card h3 { min-height: 50px; margin: 0 0 10px; color: #fff; font-size: 1.35rem; line-height: 1.15; font-weight: 700; }
.business-card p { margin: 0 0 14px; color: rgba(255,255,255,1); font-size: 1rem; line-height: 1.55; font-weight: 500; }
.business-card hr { width: 100%; margin: 10px 0 16px; border: 0; border-top: 1px solid rgba(255,255,255,.55); }
.business-card strong { margin-bottom: 10px; font-size: 1rem; font-weight: 700; color: #fff; }
.business-card a { display: block; margin-top: auto; padding: 12px 10px; border: 1px solid rgba(255,255,255,.9); color: #fff; text-align: center; text-decoration: none; text-transform: uppercase; font-size: .82rem; font-weight: 800; letter-spacing: .04em; background: rgba(255,255,255,.08); }
.about-business-grid { perspective: 1000px; }
.business-card { transition: transform .3s ease, box-shadow .3s ease; transform-style: preserve-3d; }
.business-card:hover { transform: rotateX(4deg) rotateY(-4deg) translateY(-6px); box-shadow: 0 18px 35px rgba(4, 23, 55, .22); }

/* Shared colourful service-card language */
.cleaning-showcase .showcase-card-grid article,
.pricing-page .services-grid .service-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 30px 26px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    box-shadow: 0 10px 26px rgba(4, 23, 55, .16);
    transition: transform .3s ease, box-shadow .3s ease;
}
.cleaning-showcase .showcase-card-grid article:nth-child(1),
.pricing-page .services-grid .service-card:nth-child(1) { background: linear-gradient(145deg, #071a3b, #0b315f); }
.cleaning-showcase .showcase-card-grid article:nth-child(2),
.pricing-page .services-grid .service-card:nth-child(2) { background: linear-gradient(145deg, #08758a, #074568); }
.cleaning-showcase .showcase-card-grid article:nth-child(3) { background: linear-gradient(145deg, #246f9f, #4295c3); }
.pricing-page .services-grid .service-card:nth-child(3) { background: linear-gradient(145deg, #4b9dcd, #7ec3e7); }
.cleaning-showcase .showcase-card-grid article:hover,
.pricing-page .services-grid .service-card:hover { transform: translateY(-7px); box-shadow: 0 19px 38px rgba(4, 23, 55, .24); }
.cleaning-showcase .showcase-card-grid i { width: 66px; height: 66px; margin-bottom: 24px; color: #fff; border: 2px solid rgba(255,255,255,.62); background: rgba(255,255,255,.14); font-size: 2rem; font-weight: 800; box-shadow: 0 8px 22px rgba(2,28,57,.2); }
.cleaning-showcase .showcase-card-grid i svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cleaning-showcase .showcase-card-grid h2,
.cleaning-showcase .showcase-card-grid p,
.cleaning-showcase .showcase-card-grid a,
.pricing-page .services-grid .service-card h3,
.pricing-page .services-grid .service-card p,
.pricing-page .services-grid .service-card .price-tag { color: #fff; }
.cleaning-showcase .showcase-card-grid p { min-height: 92px; font-size: .98rem; font-weight: 500; }
.cleaning-showcase .showcase-card-grid article:nth-child(3) h2,
.cleaning-showcase .showcase-card-grid article:nth-child(3) p,
.cleaning-showcase .showcase-card-grid article:nth-child(3) a { color: #fff; text-shadow: 0 1px 3px rgba(3,35,66,.42); }
.cleaning-showcase .showcase-split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 28px; width: min(100%, 1240px); margin: 0 auto; }
.cleaning-showcase .showcase-split > div { display: flex; min-width: 0; flex-direction: column; }
.cleaning-showcase .showcase-split > div > h2 { min-height: 2em; margin-bottom: 22px; }
.cleaning-showcase .mini-grid { flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(204px, 1fr)); gap: 16px; }
.cleaning-showcase .mini-grid article { display: flex; min-width: 0; min-height: 204px; height: 100%; flex-direction: column; justify-content: flex-start; box-sizing: border-box; }
.cleaning-showcase .mini-grid.image-grid { grid-template-rows: repeat(2, minmax(204px, 1fr)); }
.cleaning-showcase .mini-grid.image-grid article { min-height: 204px; }
.cleaning-showcase .mini-grid.image-grid img { flex: 0 0 132px; }
@media (max-width: 900px) { .cleaning-showcase .showcase-split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 620px) { .cleaning-showcase .mini-grid, .cleaning-showcase .mini-grid.image-grid { grid-template-columns: 1fr; grid-template-rows: none; } .cleaning-showcase .mini-grid article, .cleaning-showcase .mini-grid.image-grid article { min-height: 0; } }
.cleaning-showcase .showcase-card-grid a { display: inline-flex; margin-top: 10px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.cleaning-process-section { padding-top: 54px; padding-bottom: 48px; background: #fff; }
.cleaning-process-section > .centered { margin-bottom: 38px; color: #082f67; font-size: 1.55rem; }
.cleaning-process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px; max-width: 1180px; margin: 0 auto; }
.cleaning-process article { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.cleaning-process article.reveal:nth-child(1) { transition-delay: 0s; }
.cleaning-process article.reveal:nth-child(2) { transition-delay: .3s; }
.cleaning-process article.reveal:nth-child(3) { transition-delay: .6s; }
.cleaning-process article.reveal:nth-child(4) { transition-delay: .9s; }
.cleaning-process article.reveal:nth-child(5) { transition-delay: 1.2s; }
.cleaning-process article:not(:last-child)::after { content: '→'; position: absolute; top: 30px; right: -25px; color: #9eb3ca; font-size: 1.35rem; font-weight: 400; }
.cleaning-process i { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 16px; border-radius: 50%; color: #0a4385; background: linear-gradient(145deg, #f3f8ff, #e5f0ff); box-shadow: 0 8px 22px rgba(18,74,132,.1); }
.cleaning-process i svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cleaning-process b { margin-bottom: 7px; color: #092e63; font-size: .9rem; line-height: 1.3; }
.cleaning-process b span { color: #146ab0; }
.cleaning-process small { max-width: 170px; color: #60728b; font-size: .76rem; line-height: 1.45; }
.cleaning-results { padding: 30px clamp(20px, 5vw, 78px) 58px; background: linear-gradient(180deg, #f8fbff, #eef5fc); }
.cleaning-results > h2 { margin: 0 0 26px; color: #082f67; text-align: center; font-size: clamp(1.55rem, 2.3vw, 2rem); }
.cleaning-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1240px; margin: 0 auto; }
.cleaning-results figure { overflow: hidden; margin: 0; border: 1px solid #d4e1ef; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(6,45,91,.11); }
.before-after-image { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #dce8f3; }
.before-after-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.before-after-image .before-label, .before-after-image .after-label { position: absolute; bottom: 10px; z-index: 2; padding: 5px 9px; border-radius: 3px; color: #fff; background: rgba(4,26,59,.82); font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.before-after-image .before-label { left: 10px; }
.before-after-image .after-label { right: 10px; }
.comparison-arrow { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50%; color: #0b4b88; background: #fff; font-size: 1rem; font-weight: 900; box-shadow: 0 4px 14px rgba(0,0,0,.22); transform: translate(-50%, -50%); }
.cleaning-results figcaption { padding: 12px 14px 14px; color: #173c69; font-size: .84rem; font-weight: 750; text-align: center; }
@media (max-width: 820px) { .cleaning-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; } .cleaning-process article:not(:last-child)::after { display: none; } .cleaning-results-grid { grid-template-columns: 1fr; max-width: 620px; } }
@media (max-width: 520px) { .cleaning-process { grid-template-columns: 1fr; gap: 26px; } .cleaning-process i { width: 62px; height: 62px; margin-bottom: 12px; } .cleaning-process small { max-width: 260px; } .cleaning-results { padding-top: 24px; } }
.pricing-page .services-grid .service-card { display: flex; flex-direction: column; text-align: left; }
.pricing-page .services-grid .service-card::before { display: block; margin-bottom: 22px; font-size: 2.35rem; line-height: 1; }
.pricing-page .services-grid .service-card:nth-child(1)::before { content: '⌕'; }
.pricing-page .services-grid .service-card:nth-child(2)::before { content: '✓'; }
.pricing-page .services-grid .service-card:nth-child(3)::before { content: '▤'; }
.pricing-page .services-grid .service-card h3 { min-height: 52px; font-size: 1.35rem; }
.pricing-page .services-grid .service-card p { font-size: .96rem; font-weight: 500; line-height: 1.6; }
.pricing-page .services-grid .service-card .price-tag { width: 100%; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.5); font-size: 1.45rem; }

/* About-page inspired split heroes */
.cleaning-showcase .showcase-hero,
.inspection-showcase .showcase-hero,
.pergola-showcase-hero,
.prices-showcase-hero { min-height: 430px; color: #fff; background: #050b16; }
.cleaning-showcase .showcase-hero-copy,
.inspection-showcase .showcase-hero-copy,
.pergola-showcase-hero .showcase-hero-copy,
.prices-showcase-hero .showcase-hero-copy { position: relative; flex: 0 0 50%; color: #fff; background: radial-gradient(circle at 80% 35%, rgba(42,78,119,.32), transparent 40%), linear-gradient(135deg, #03070e, #0a1628); }
.cleaning-showcase .showcase-hero h1,
.inspection-showcase .showcase-hero h1,
.pergola-showcase-hero h1,
.prices-showcase-hero h1,
.cleaning-showcase .showcase-hero h2,
.inspection-showcase .showcase-hero h2,
.cleaning-showcase .showcase-hero p,
.inspection-showcase .showcase-hero p,
.prices-showcase-hero p { color: #fff; }
.cleaning-showcase .showcase-kicker,
.inspection-showcase .showcase-kicker,
.pergola-showcase-hero .showcase-kicker,
.prices-showcase-hero .showcase-kicker { color: #c49a58; }
.cleaning-showcase .showcase-hero > img,
.inspection-showcase .showcase-hero > img,
.pergola-showcase-hero > img,
.prices-showcase-hero > img { display: block; flex: 0 0 50%; width: 50%; min-width: 0; object-fit: cover; object-position: center; }
.cleaning-showcase .showcase-btn:not(.primary),
.inspection-showcase .showcase-btn:not(.gold),
.prices-showcase-hero .showcase-btn.light { color: #fff; border-color: rgba(255,255,255,.75); }
@media (max-width: 900px) {
    .cleaning-showcase .showcase-hero-copy,
    .inspection-showcase .showcase-hero-copy,
    .pergola-showcase-hero .showcase-hero-copy,
    .prices-showcase-hero .showcase-hero-copy { flex-basis: auto; width: 100%; }
    .cleaning-showcase .showcase-hero > img,
    .inspection-showcase .showcase-hero > img,
    .pergola-showcase-hero > img,
    .prices-showcase-hero > img { flex-basis: auto; width: 100%; height: 330px; }
}
.about-values { padding: 0 0 28px; background: #fff; }
.about-values h2 { margin-bottom: 18px; }
.about-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #dbe1e9; border-radius: 5px; }
.about-values-grid article { min-height: 135px; padding: 22px; border-right: 1px solid #dbe1e9; }
.about-values-grid article:last-child { border-right: 0; }
.about-values-grid span { float: left; margin: 1px 15px 0 0; font-size: 2rem; }
.about-values-grid h3 { margin: 0 0 5px; font-size: 1rem; }
.about-values-grid p { margin: 0; clear: both; color: #3c4860; font-size: .94rem; line-height: 1.45; }
.about-figures { padding: 10px 0; color: #fff; background: linear-gradient(rgba(4, 28, 59, .94), rgba(4, 28, 59, .96)), url('../images/haz1.png') center / cover; }
.about-figures h2 { color: #fff; margin-bottom: 6px; font-size: 1.1rem; }
.about-figures > div > div { display: grid; grid-template-columns: repeat(4, 1fr); }
.about-figures article { display: grid; gap: 2px; padding: 2px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.5); }
.about-figures article:last-child { border-right: 0; }
.about-figures strong { font-size: 1.15rem; }
.about-figures .stat-number { color: #d1a85e; font-variant-numeric: tabular-nums; text-shadow: 0 6px 22px rgba(209,168,94,.25); }
.about-figures span { font-size: .72rem; line-height: 1.2; }
.about-contact-cta { padding: 35px 0; background: #fbfcfe; }
.about-contact-cta .about-reference-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.about-contact-cta h2 { text-align: left; font-size: 1.5rem; }
.about-contact-cta p { max-width: 690px; margin: 10px 0 0; color: #354258; font-size: 1.02rem; line-height: 1.5; }
.about-contact-cta .btn-primary, .about-contact-cta .btn-secondary { display: inline-block; margin-left: 12px; padding: 13px 20px; border: 1px solid #071a3b; color: #fff; background: #071a3b; text-decoration: none; text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.about-contact-cta .btn-secondary { color: #071a3b; background: transparent; }
@media (max-width: 900px) { .about-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } .about-timeline article::after { display: none; } .about-timeline article { padding: 0 10px; } .about-business-grid, .about-values-grid { grid-template-columns: repeat(2, 1fr); } .about-values-grid article:nth-child(2) { border-right: 0; } .about-values-grid article:nth-child(-n+2) { border-bottom: 1px solid #dbe1e9; } .about-founder-copy { padding: 38px; } }
@media (max-width: 620px) { .about-reference-inner { width: min(100% - 32px, 1180px); } .about-history { padding-top: 36px; } .about-reference h2 { font-size: 1.6rem; } .about-timeline { grid-template-columns: 1fr; gap: 18px; } .about-timeline article { padding: 0 10px; } .about-timeline::before, .about-timeline::after { display: none; } .timeline-icon { width: 56px; height: 56px; font-size: 1.5rem; } .about-founder { grid-template-columns: 1fr; } .about-founder-photo { min-height: 310px; } .about-founder-copy { padding: 32px 24px; } .about-business-grid { gap: 12px; } .business-card { min-height: auto; } .about-values-grid article, .about-values-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid #dbe1e9; } .about-values-grid article:last-child { border-bottom: 0; } .about-figures article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); } .about-figures article:last-child { border-bottom: 0; } .about-contact-cta .about-reference-inner { display: block; } .about-contact-cta .btn-primary, .about-contact-cta .btn-secondary { margin: 18px 8px 0 0; } }
.reference-pergola .reference-service-card h3 { min-height: 94px; color: #fff; font-size: 1.22rem; }
.reference-pergola .reference-service-card h3::before { content: '—'; display: block; margin-bottom: 14px; color: #d1a85e; font-size: 1.7rem; line-height: .5; }
.reference-pergola .reference-service-card p { flex: 1; margin-bottom: 22px; color: rgba(255,255,255,.85); font-size: 1.04rem; line-height: 1.58; }
.reference-pergola .reference-service-card a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 42px; margin-top: auto; padding: 9px 14px; color: #fff; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.55); border-radius: 5px; font-size: .9rem; line-height: 1.25; }

.inspection-section { width: 100%; max-width: none; padding: 42px clamp(18px, 3vw, 48px) 42px; }
.inspection-grid { display: grid !important; grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, 1.05fr) !important; grid-template-areas: "help photo process"; align-items: stretch; width: min(100%, 1400px); max-width: 100%; margin: 0 auto; gap: clamp(18px, 2vw, 30px); overflow: hidden; }
.inspection-grid > img { grid-area: photo !important; display: block; width: 100%; min-width: 0; height: clamp(420px, 38vw, 540px); object-fit: cover; object-position: center; border: 1px solid #d9e4ef; border-radius: 10px; box-shadow: 0 16px 38px rgba(8,45,91,.16); }
.inspection-help { grid-area: help !important; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.inspection-help h3 { min-height: 30px; margin: 0 0 22px; color: #09275a; font-size: 1.2rem; line-height: 1.25; text-align: center; }
.inspection-help .check-list, .inspection-help .check-summary { max-width: 330px; margin-right: auto; margin-left: auto; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; min-height: 30px; color: #30496f; font-size: 1rem; line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.check-list li.typing, .check-list li.checked { opacity: 1; transform: translateY(0); }
.check-box { flex-shrink: 0; width: 34px; height: 34px; border: 2px solid #94a3b8; border-radius: 8px; display: grid; place-items: center; overflow: visible; background: #fff; transition: border-color .3s ease, transform .3s ease; }
.check-mark { display: block; color: #16a34a; font-size: 1.6rem; line-height: 1; font-weight: 900; opacity: 0; transform: scale(0); }
.check-list li.checked .check-box { border-color: #16a34a; }
.check-list li.checked .check-mark { opacity: 1; transform: scale(1); }
.check-list li.typing > span:last-child::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: #16a34a; animation: inspection-caret .7s steps(1) infinite; }
.check-list li:not(.typing) > span:last-child::after { display: none; }
@keyframes inspection-caret { 50% { opacity: 0; } }
@keyframes inspection-check-pop { 0% { transform: scale(0) rotate(-20deg); } 70% { transform: scale(1.35) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
.check-summary { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e2e8f0; display: flex; align-items: center; gap: 10px; color: #09275a; font-size: 1.05rem; font-weight: 700; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.check-summary.visible { opacity: 1; transform: translateY(0); }
.big-check { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 1.6rem; font-weight: 800; }
.inspection-process { grid-area: process !important; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.inspection-process h3 { min-height: 30px; margin: 0 0 22px; color: #09275a; font-size: 1.2rem; line-height: 1.25; text-align: center; }
.process-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 100%; gap: 20px 10px; }
.process-step { display: flex; min-width: 0; max-width: 100%; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 14px 2px; border: 0; border-radius: 0; background: transparent; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1), visibility 0s linear .45s; }
.process-step.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition-delay: 0s; }
.process-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #eff6ff; color: #1d4ed8; }
.process-icon svg { width: 28px; height: 28px; }
.process-content { width: 100%; min-width: 0; }
.process-content strong { display: block; max-width: 100%; margin-bottom: 6px; color: #09275a; font-size: .95rem; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.process-content p { max-width: 100%; margin: 0; color: #334155; font-size: .92rem; line-height: 1.4; overflow-wrap: break-word; }

@media (prefers-reduced-motion: reduce) {
    .check-list li, .check-summary, .process-step { transition: none; }
    .check-list li.typing > span:last-child::after { animation: none; }
}

/* One typography system for every site header and top-page hero, based on index.html. */
.site-header,
.site-header .logo,
.site-header .nav-btn,
.site-header .menu-items a,
.site-header .lang-toggle,
.hero-pro-text,
.hero-split-text,
.showcase-hero-copy,
.page-hero {
    font-family: var(--font-body) !important;
}
.site-header .nav-btn,
.site-header .menu-items a,
.site-header .lang-toggle {
    font-size: .9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}
.hero-pro-text h1,
.hero-split-text h1,
.showcase-hero-copy h1,
.page-hero h1 {
    color: #fff !important;
    font-family: var(--font-display) !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    letter-spacing: normal !important;
}
.hero-pro-text p,
.hero-split-text p,
.showcase-hero-copy p,
.page-hero p {
    color: rgba(255, 255, 255, .85) !important;
    font-family: var(--font-body) !important;
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: normal !important;
}
.hero-pro-kicker,
.hero-kicker,
.showcase-kicker,
.page-hero .kicker {
    color: rgba(228, 214, 214, .85) !important;
    font-family: var(--font-body) !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}
.showcase-hero-copy h2,
.hero-split-text h2 {
    color: #c5e6d6 !important;
    font-family: var(--font-display) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}
@media (max-width: 600px) {
    .hero-pro-text h1,
    .hero-split-text h1,
    .showcase-hero-copy h1,
    .page-hero h1 { font-size: 2rem !important; }
}

/* Final pergola hero emphasis. */
.pergola-showcase-hero .showcase-hero-copy h1 { font-size: clamp(2.8rem, 4.7vw, 4.5rem) !important; line-height: 1 !important; }
.pergola-showcase-hero .showcase-hero-copy h2 { color: #f1d39a !important; font-size: clamp(1.15rem, 1.8vw, 1.55rem) !important; }
.pergola-showcase-hero .showcase-btn { min-height: 50px !important; padding: 14px 25px !important; box-shadow: 0 10px 25px rgba(0,0,0,.24) !important; }
.pergola-showcase-hero .showcase-btn.pergola-primary { border-color: #c9984e !important; color: #071a3b !important; background: linear-gradient(135deg, #e1bd7b, #c89243) !important; }
.pergola-showcase-hero .showcase-btn.light { border: 2px solid #fff !important; color: #fff !important; background: rgba(7,26,59,.42) !important; }
.pergola-showcase-hero .showcase-btn:hover { transform: translateY(-4px) scale(1.025) !important; box-shadow: 0 16px 32px rgba(0,0,0,.34) !important; }
@media (max-width: 600px) { .pergola-showcase-hero .showcase-hero-copy h1 { font-size: 2.65rem !important; } }

/* Unified site footer. */
.site-footer { padding: 0 !important; color: #fff !important; background: #06264a !important; border-top: 1px solid rgba(255,255,255,.18); font-family: var(--font-body) !important; text-align: left !important; }
.site-footer .footer-main { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr) 1.15fr; gap: clamp(28px, 4vw, 70px); width: min(100% - 48px, 1320px); margin: 0 auto; padding: 42px 0 34px; }
.site-footer .footer-brand-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.site-footer .footer-logo-flev { display: flex; align-items: center; gap: 6px; color: var(--brand-blue); font-size: 1.3rem; font-weight: 800; }
.site-footer .footer-logo-flev::after { content: ''; display: block; width: 26px; height: 22px; flex: 0 0 26px; background: url('../images/free-vector-images-house.svg') center / contain no-repeat; }
.site-footer .footer-logo-magyar { color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; letter-spacing: .3px; }
.site-footer .footer-brand p { max-width: 220px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.55; }
.site-footer .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer .footer-column h2 { margin: 0 0 7px; color: #fff; font-family: var(--font-body); font-size: .9rem; font-weight: 800; }
.site-footer .footer-column a, .site-footer .footer-column > span { color: rgba(255,255,255,.82); font-size: .78rem; line-height: 1.35; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.site-footer .footer-column a:hover { color: #e1bd7b; transform: translateX(4px); }
.site-footer .footer-contact a, .site-footer .footer-contact > span { display: flex; align-items: center; gap: 9px; }
.site-footer .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 13px; width: min(100% - 48px, 1320px); margin: 0 auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); text-align: center; }
.site-footer .footer-bottom p { margin: 0; color: rgba(255,255,255,.72); font-size: .72rem; line-height: 1.5; }
.site-footer .footer-bottom a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer .footer-bottom a:hover { color: #e1bd7b; }
.site-footer .footer-website-credit { order: -1; display: inline-flex; align-items: center; max-width: 100%; }
.site-footer .footer-website-credit .footer-credit-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; transition: transform .2s ease, filter .2s ease; }
.site-footer .footer-website-credit .footer-credit-logo { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(140,84,214,.5)); }
.site-footer .footer-website-credit .footer-credit-text { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.site-footer .footer-website-credit .footer-credit-name { font-family: 'Unbounded', 'Segoe UI', Arial, sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: #5b9fe8; padding-bottom: 3px; border-bottom: 2px solid #d8b765; }
.site-footer .footer-website-credit .footer-credit-tagline { align-self: center; width: fit-content; margin-top: 4px; font-family: var(--font-body), 'Segoe UI', Arial, sans-serif; font-size: .56rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: #c7c2d6; text-decoration-line: underline; text-decoration-color: #146fd1; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-footer .footer-website-credit .footer-credit-link:hover { transform: translateY(-1px); filter: brightness(1.14); }
@media (max-width: 950px) { .site-footer .footer-main { grid-template-columns: repeat(2, 1fr); } .site-footer .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer .footer-main { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; width: min(100% - 36px, 1320px); padding: 34px 0 28px; } .site-footer .footer-brand { grid-column: 1 / -1; } .site-footer .footer-column:nth-child(odd) { padding-right: 14px; border-right: 1px solid rgba(255,255,255,.14); } .site-footer .footer-column:nth-child(even) { padding-left: 14px; } .site-footer .footer-bottom { width: min(100% - 36px, 1320px); } .site-footer .footer-website-credit .footer-credit-logo { width: 31px; height: 31px; flex-basis: 31px; } .site-footer .footer-website-credit .footer-credit-name { font-size: .74rem; letter-spacing: .03em; } }

/* Stronger pergola hero hierarchy and calls to action. */
.pergola-showcase-hero .showcase-hero-copy h1 {
    margin-bottom: 6px !important;
    font-size: clamp(2.8rem, 4.7vw, 4.5rem) !important;
    line-height: 1 !important;
}
.pergola-showcase-hero .showcase-hero-copy h2 {
    margin: 0 0 16px !important;
    color: #f1d39a !important;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem) !important;
    line-height: 1.25 !important;
}
.pergola-showcase-hero .showcase-actions { gap: 14px !important; }
.pergola-showcase-hero .showcase-btn {
    min-height: 50px !important;
    padding: 14px 25px !important;
    font-size: 1rem !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.24) !important;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease !important;
}
.pergola-showcase-hero .showcase-btn.pergola-primary {
    border-color: #c9984e !important;
    color: #071a3b !important;
    background: linear-gradient(135deg, #e1bd7b, #c89243) !important;
}
.pergola-showcase-hero .showcase-btn.light {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: rgba(7,26,59,.42) !important;
    backdrop-filter: blur(5px);
}
.pergola-showcase-hero .showcase-btn:hover {
    transform: translateY(-4px) scale(1.025) !important;
    box-shadow: 0 16px 32px rgba(0,0,0,.34) !important;
}
@media (max-width: 600px) {
    .pergola-showcase-hero .showcase-hero-copy h1 { font-size: 2.65rem !important; }
    .pergola-showcase-hero .showcase-actions { gap: 10px !important; }
}

.reference-cleaning { display: grid; grid-template-columns: 40% 60%; min-height: 390px; overflow: hidden; color: #0b285c; background: radial-gradient(circle at 88% 12%, rgba(93,190,255,.2), transparent 30%), linear-gradient(115deg, #f9fcff 0%, #eaf6ff 100%); }
.reference-cleaning-image { position: relative; background: linear-gradient(180deg, transparent 48%, rgba(5,28,65,.62)), url('../images/flev-takaritas.png') center / cover; min-height: 390px; }
.cleaning-image-badge { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 15px 30px 15px 26px; border: 1px solid rgba(255,255,255,.78); border-left: 4px solid #62c8f5; border-radius: 2px; clip-path: polygon(0 0, 94% 0, 100% 50%, 94% 100%, 0 100%, 5% 50%); color: #fff; background: linear-gradient(115deg, rgba(5,31,70,.92), rgba(13,91,143,.78)); backdrop-filter: blur(10px); font-size: .96rem; font-weight: 850; letter-spacing: .045em; text-shadow: 0 1px 10px rgba(0,0,0,.35); box-shadow: 0 12px 32px rgba(0,0,0,.32), inset 0 0 20px rgba(80,190,241,.12); white-space: nowrap; }
.reference-cleaning-content { position: relative; padding: 42px clamp(28px, 4vw, 64px) 38px; }
.cleaning-kicker { display: inline-block; margin-bottom: 9px; color: #1778b9; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.reference-cleaning-content > h2 { margin: 0 0 7px; font-size: clamp(1.65rem, 2.4vw, 2.35rem); letter-spacing: -.025em; }
.reference-cleaning-content > h3 { margin: 0 0 12px; color: #176a9e; font-size: 1.08rem; }
.reference-cleaning-content > p { max-width: 650px; margin: 0 0 22px; font-size: 1.06rem; line-height: 1.65; color: #344a70; }
.cleaning-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cleaning-cards article { min-height: 168px; padding: 18px 16px; background: rgba(255,255,255,.82); border: 1px solid rgba(179,211,232,.75); border-radius: 12px; box-shadow: 0 10px 25px rgba(10,67,108,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cleaning-cards article:hover { transform: translateY(-5px); border-color: #8ac8ed; box-shadow: 0 16px 30px rgba(10,67,108,.14); }
.cleaning-card-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #1686c7, #0b4e88); font-size: 1rem; font-weight: 800; box-shadow: 0 5px 12px rgba(15,105,162,.25); }
.cleaning-card-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cleaning-cards h3 { margin: 0 0 8px; font-size: .94rem; }
.cleaning-cards p { min-height: 50px; margin: 0 0 12px; color: #50617b; font-size: .96rem; line-height: 1.5; }
.cleaning-cards a { display: inline-flex; align-items: center; gap: 6px; color: #0b609b; font-size: .84rem; font-weight: 800; text-decoration: none; }
.cleaning-cards a span { transition: transform .2s ease; }
.cleaning-cards a:hover span { transform: translateX(4px); }

@media (max-width: 1100px) {
    .inspection-grid { grid-template-columns: 1fr !important; grid-template-areas: "help" "photo" "process"; }
    .inspection-grid > img { width: 100%; height: clamp(300px, 55vw, 480px); min-height: 280px; }
    .inspection-help .check-list, .inspection-help .check-summary { max-width: 520px; }
}

@media (max-width: 900px) {
    .reference-benefits { grid-template-columns: repeat(3, 1fr); }
    .reference-card-grid { grid-template-columns: repeat(2, 1fr); }
    .inspection-grid { grid-template-columns: 1fr !important; grid-template-areas: "help" "photo" "process"; }
    .inspection-grid > img, .inspection-help, .inspection-process { width: 100%; }
    .inspection-grid > img { height: 260px; min-height: 220px; }
    .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reference-cleaning { grid-template-columns: 1fr; }
    .reference-cleaning-image { min-height: 250px; }
}

@media (max-width: 560px) {
    .reference-benefits { grid-template-columns: 1fr 1fr; padding: 18px; }
    .reference-benefits div:last-child { grid-column: 1 / -1; }
    .reference-section { padding-left: 16px; padding-right: 16px; }
    .reference-card-grid, .inspection-grid, .cleaning-cards { grid-template-columns: 1fr; }
    .reference-pergola .reference-service-card > img { height: 210px; }
    .reference-pergola .reference-service-card > div { min-height: 250px; }
    .reference-pergola .reference-service-card h3 { min-height: auto; }
    .process-steps { grid-template-columns: 1fr; }
    .service-carousel { height: 540px; }
    .service-carousel .service-carousel-slide, .service-carousel .carousel-item { grid-template-columns: 1fr; grid-template-rows: 54% 46%; }
    .service-carousel .service-carousel-slide > div, .service-carousel .carousel-item > div { padding: 47px 26px 22px; }
    .service-carousel .service-carousel-slide .reference-icon, .service-carousel .carousel-item .reference-icon { top: -23px; left: 24px; }
    .service-carousel .service-carousel-slide h3, .service-carousel .carousel-item h3 { font-size: 1.35rem; }
    .inspection-grid article:last-child { grid-column: auto; }
    .inspection-grid ol { grid-template-columns: 1fr 1fr; }
    .reference-cleaning-content { padding: 26px 16px; }
}

/* Survey wizard form (RapidCheck) */

#surveyForm {
    border-top: 4px solid var(--brass);
}

#surveyForm label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

#surveyForm input[type="text"],
#surveyForm input[type="tel"],
#surveyForm input[type="email"],
#surveyForm input[type="number"],
#surveyForm select,
#surveyForm textarea {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 10px 12px;
}

#surveyForm select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9803f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

#surveyForm select:hover {
    border-color: rgba(11, 93, 69, 0.4);
}

#surveyForm input:focus,
#surveyForm select:focus,
#surveyForm textarea:focus {
    outline: 2px solid var(--brass);
    outline-offset: 1px;
    border-color: var(--brass);
}

#surveyForm input[type="file"] {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
}

#surveyForm textarea {
    resize: vertical;
    font-family: Arial, sans-serif;
}

.grid.two,
.grid.three {
    display: grid;
    gap: 0 20px;
}

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

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

@media (max-width: 700px) {
    .grid.two,
    .grid.three {
        grid-template-columns: 1fr;
    }
}

.compact-input {
    max-width: 160px;
}

.inline-check {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
}

.inline-check input {
    width: auto;
}

.section-help {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 16px;
}

.hint {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Wizard progress */

.wizard-progress {
    margin-bottom: 28px;
}

.wizard-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--navy);
}

.wizard-progress-top strong {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: var(--navy);
}

.wizard-progress-top span {
    font-weight: 700;
}

.wizard-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(11, 93, 69, 0.15);
    overflow: hidden;
}

.wizard-fill {
    height: 100%;
    background: var(--navy);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--navy);
}

.wizard-nav {
    margin-top: 10px;
}

/* Range sliders */

.range-field {
    gap: 8px !important;
}

.range-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
}

.range-value {
    font-weight: 700;
}

.quick-range {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.quick-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: currentColor;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.quick-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: currentColor;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Photo preview */

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.photo-preview .thumb {
    margin: 0;
    text-align: center;
}

.photo-preview .thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.photo-preview .thumb figcaption {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Buttons (wizard uses .btn, site uses .btn-primary) */

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background-color: var(--navy);
    color: #fff;
}

.btn.secondary {
    background-color: var(--navy);
    color: #fff;
}

.btn.ghost {
    background-color: transparent;
    color: var(--navy);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

.hidden {
    display: none !important;
}

/* Status messages */

.status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-top: 16px;
}

.status.info {
    background: rgba(21, 146, 125, 0.12);
    color: #0f6b5a;
}

.status.success {
    background: rgba(40, 167, 69, 0.12);
    color: #1e7e34;
}

.status.warn {
    background: rgba(255, 193, 7, 0.18);
    color: #8a6400;
}

/* Result card */

.result-brand {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 4px;
}

.result-subtitle {
    color: var(--muted);
    margin-top: -6px;
    margin-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px 24px;
    margin-bottom: 20px;
}

.result-grid p {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
}

.result-grid strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    width: fit-content;
}

.chip.ok {
    background: rgba(40, 167, 69, 0.15);
    color: #1e7e34;
}

.chip.warn {
    background: rgba(255, 193, 7, 0.2);
    color: #8a6400;
}

.chip.risk {
    background: rgba(220, 53, 69, 0.15);
    color: #a51c2c;
}

.recommendation {
    background: var(--page-bg);
    border-left: 3px solid var(--brass);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 0.92rem;
    color: var(--navy);
}

.report-actions {
    margin-top: 24px;
}

/* Keep About hero copy above its decorative background video. */
.about-page .hero-split-image img, .about-page .hero-split-image video { object-position: center 20%; }
.about-page .hero-split-text > :not(.hero-pro-bg-video) { position: relative; z-index: 3; }
@media (min-width: 901px) {
    .about-page .hero-split { height: 380px; }
}
@media (max-width: 900px) {
    .about-page .hero-split-text { padding-top: 90px; }
}
.about-page .hero-split-text .hero-pro-bg-video { z-index: 0; opacity: .62; }
.about-page .hero-split-text h1 { color: #fff !important; }
.about-page .hero-split-text h2 { color: #fdf6e8 !important; opacity: 1 !important; }
.about-page .hero-split-text p { color: #fff !important; opacity: .92 !important; }
.about-page .hero-split-text .btn-primary { position: relative; z-index: 3; color: #fff !important; border: 1px solid #c69b58; background: linear-gradient(135deg, #b98236, #d2ad69) !important; box-shadow: 0 8px 20px rgba(0,0,0,.24); opacity: 1 !important; }
.about-page .hero-split-text .btn-primary:hover { background: linear-gradient(135deg, #c8954b, #dfbe7d) !important; }

/* Keep the homepage hero CTA permanently above the loaded background video. */
.homepage-hero-split .hero-pro-bg-video { z-index: 0 !important; pointer-events: none; }
.homepage-hero-split .hero-pro-text > :not(.hero-pro-bg-video) { position: relative; z-index: 5 !important; }
.homepage-hero-split .hero-pro-btn { display: inline-flex !important; position: relative !important; z-index: 10 !important; opacity: 1 !important; visibility: visible !important; color: var(--navy-dark) !important; background: #fff !important; pointer-events: auto !important; }

/* Final navbar visibility rules. */
@media (min-width: 1200px) {
    .site-header .button-container { display: flex !important; visibility: visible !important; opacity: 1 !important; }
    .site-header .button-container { min-width: 0; flex: 1 1 auto; justify-content: flex-end; flex-wrap: nowrap; }
    .site-header .button-container nav { display: flex !important; min-width: 0; flex-wrap: nowrap; gap: clamp(2px, .45vw, 7px); }
    .site-header .mobile-header-actions { display: none !important; }
    .site-header .site-header-inner { padding-right: 18px; padding-left: 18px; gap: 16px; }
    .site-header .logo { flex: 0 0 auto; }
    .site-header .nav-btn { padding: 9px clamp(8px, .7vw, 12px); font-size: clamp(.72rem, .8vw, .84rem) !important; line-height: 1.25 !important; letter-spacing: .01em !important; }
}
@media (max-width: 1199px) {
    .site-header .button-container { display: none !important; }
    .site-header .mobile-header-actions { display: flex !important; visibility: visible !important; opacity: 1 !important; }
    .site-header .hamburger-menu { display: block !important; visibility: visible !important; }
    .site-header .hamburger-icon { display: flex !important; visibility: visible !important; }
    .site-header .hamburger-icon div { display: block !important; background-color: #fff !important; }
}

/* Final hero lock: identical to the About-page split hero. */
.showcase-hero { position: relative !important; display: grid !important; grid-template-columns: 1.1fr 1fr !important; height: 340px !important; min-height: 340px !important; overflow: hidden !important; background: #071a3b !important; }
.showcase-hero .showcase-hero-copy { position: relative !important; z-index: 2 !important; grid-column: 1 !important; width: auto !important; height: 340px !important; min-height: 340px !important; flex-basis: auto !important; padding: 24px 5vw 24px 48px !important; justify-content: center !important; align-items: flex-start !important; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%) !important; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%) !important; }
.showcase-hero .showcase-hero-copy h1 { margin: 0 0 6px !important; color: #fff !important; font-family: var(--font-display) !important; font-size: 2.4rem !important; font-weight: 700 !important; line-height: 1.08 !important; letter-spacing: normal !important; }
.showcase-hero .showcase-hero-copy h1 > span { display: block; }
.showcase-hero .showcase-hero-copy h1 .hero-title-secondary { margin-top: 5px; color: #d9eef0 !important; font-size: .72em; font-weight: 650; line-height: 1.12; }
.inspection-hero .showcase-hero-copy h1 .hero-title-secondary { color: #fff !important; font-size: 1em; font-weight: 700; line-height: 1.08; }
.showcase-hero .showcase-hero-copy h2 { margin: 0 0 14px !important; color: #fdf6e8 !important; font-family: var(--font-display) !important; font-size: 1.1rem !important; font-weight: 700 !important; }
.showcase-hero .showcase-hero-copy p { max-width: 520px !important; margin: 0 0 18px !important; color: #fff !important; font-family: var(--font-body) !important; font-size: 1.05rem !important; line-height: 1.5 !important; opacity: .85 !important; }
.showcase-hero > img { position: absolute !important; inset: 0 0 0 auto !important; z-index: 1 !important; width: 54% !important; height: 340px !important; flex-basis: auto !important; object-fit: cover !important; object-position: center !important; }
@media (max-width: 900px) {
    .showcase-hero { display: block !important; height: auto !important; min-height: 0 !important; }
    .showcase-hero .showcase-hero-copy { width: 100% !important; height: auto !important; min-height: 340px !important; padding: 38px 24px !important; clip-path: none !important; }
    .showcase-hero > img { position: relative !important; inset: auto !important; width: 100% !important; height: 300px !important; }
}
@media (max-width: 600px) {
    .showcase-hero .showcase-hero-copy { min-height: 310px !important; padding: 30px 22px !important; }
    .showcase-hero .showcase-hero-copy h1 { font-size: 2rem !important; }
    .showcase-hero .showcase-hero-copy p { max-width: 34ch !important; font-size: .94rem !important; line-height: 1.45 !important; }
    .showcase-hero .showcase-actions { gap: 10px !important; margin-top: 2px !important; }
}

/* Service heroes: use the exact typography of the index hero. */
.pergola-showcase-hero .showcase-hero-copy,
.inspection-hero .showcase-hero-copy,
.cleaning-hero .showcase-hero-copy {
    font-family: Inter, Arial, sans-serif !important;
}

.pergola-showcase-hero .showcase-kicker,
.inspection-hero .showcase-kicker,
.cleaning-hero .showcase-kicker {
    display: block !important;
    margin: 0 0 16px !important;
    color: rgba(228, 214, 214, .85) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.pergola-showcase-hero .showcase-hero-copy h1,
.inspection-hero .showcase-hero-copy h1,
.cleaning-hero .showcase-hero-copy h1 {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    letter-spacing: normal !important;
}

.pergola-showcase-hero .showcase-hero-copy h2,
.inspection-hero .showcase-hero-copy h2,
.cleaning-hero .showcase-hero-copy h2 {
    margin: -4px 0 14px !important;
    color: #c5e6d6 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
}

.pergola-showcase-hero .showcase-hero-copy p,
.inspection-hero .showcase-hero-copy p,
.cleaning-hero .showcase-hero-copy p {
    max-width: 440px !important;
    margin: 0 0 20px !important;
    color: rgba(255, 255, 255, .85) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: normal !important;
    opacity: 1 !important;
}

.pergola-showcase-hero .showcase-btn,
.inspection-hero .showcase-btn,
.cleaning-hero .showcase-btn {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 11px 24px !important;
    border: 1px solid #fff !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--navy-dark) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .pergola-showcase-hero .showcase-hero-copy h1,
    .inspection-hero .showcase-hero-copy h1,
    .cleaning-hero .showcase-hero-copy h1 {
        font-size: 2rem !important;
    }

    .pergola-showcase-hero .showcase-actions,
    .inspection-hero .showcase-actions,
    .cleaning-hero .showcase-actions {
        width: 100% !important;
        align-items: stretch !important;
    }

    .pergola-showcase-hero .showcase-btn,
    .inspection-hero .showcase-btn,
    .cleaning-hero .showcase-btn {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* Technical-inspection package comparison from the supplied reference. */
.pricing-grid > article > b { display: block; min-height: 44px; margin: 0 0 10px; font-size: .94rem; line-height: 1.35; }
.inspection-showcase #csomagok .pricing-grid {
    width: 88%;
    max-width: 1180px;
    margin-right: 0;
    margin-left: auto;
    padding-left: 0;
    box-sizing: border-box;
}
.inspection-showcase #csomagok > h2.centered { width: 88%; max-width: 1180px; margin-right: 0; margin-left: auto; }
.package-table-wrap { width: 88%; max-width: 1180px; margin: 18px 0 0 auto; overflow-x: auto; border: 1px solid #d7e0e9; background: #fff; -webkit-overflow-scrolling: touch; }
.package-table { width: 100%; min-width: 860px; table-layout: fixed; border-collapse: collapse; color: #0a2b56; font-family: Inter, Arial, sans-serif; font-size: .82rem; }
.package-table th, .package-table td { padding: 9px 14px; border-right: 1px solid #d7e0e9; border-bottom: 1px solid #d7e0e9; line-height: 1.35; text-wrap: balance; }
.package-table tr:last-child th, .package-table tr:last-child td { border-bottom: 0; }
.package-table th:last-child, .package-table td:last-child { border-right: 0; }
.package-table thead th { background: #eef3f8; text-align: center; font-weight: 800; }
.package-table thead th:first-child { width: 38%; text-align: left; }
/* Same navy/teal/light-blue palette as the package cards above, column by column. */
.package-table thead th:nth-child(2) { color: #fff; background: #071a3b; }
.package-table thead .featured-column { color: #fff; background: linear-gradient(135deg, #06667e, #073b68); }
.package-table thead th:nth-child(4) { color: #fff; background: linear-gradient(135deg, #4b9dcd, #8bc7e8); }
.package-table tbody th { text-align: left; font-weight: 650; }
.package-table tbody td { width: 22%; text-align: center; }
.package-table tbody tr { transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.package-table tbody tr:hover { background: #edf5fc; box-shadow: inset 4px 0 0 #b58a48; }
.package-table tbody tr:hover th,
.package-table tbody tr:hover td { background: transparent; }
.package-yes { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #071a3b; font-size: .75rem; font-weight: 900; }
.package-table tbody td:nth-child(3) .package-yes { background: #06667e; }
.package-table tbody td:nth-child(4) .package-yes { background: #4b9dcd; }
.package-yes.gold { background: #06667e; }
.package-no { color: #b8c1cb; font-size: 1.1rem; }
@media (max-width: 900px) {
    .inspection-showcase #csomagok .pricing-grid,
    .inspection-showcase #csomagok > h2.centered,
    .package-table-wrap { width: 100%; }
    .package-table-wrap { margin-top: 14px; }
}

/* More life and interaction throughout the technical-inspection page. */
.inspection-page .reveal {
    transition-delay: var(--inspection-reveal-delay, 0ms);
    transition-duration: .65s;
    transition-timing-function: cubic-bezier(.2, .75, .25, 1);
}
.inspection-hero > img { transition: transform 1.1s cubic-bezier(.2, .75, .25, 1), filter .45s ease !important; }
.inspection-hero:hover > img { transform: scale(1.035); filter: saturate(1.08) contrast(1.03); }
.inspection-showcase .centered::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #092c58, #c09650);
    transition: width .35s ease;
}
.inspection-showcase .showcase-section:hover > .centered::after { width: 92px; }
.inspection-showcase .benefit-row article,
.inspection-showcase .showcase-process article,
.inspection-stats article,
.inspection-showcase .pricing-grid article,
.inspection-showcase .property-grid article,
.inspection-bottom > div {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
/* Same 3D tilt hover as the "Egy cég, több üzletág" business cards. */
.inspection-showcase .benefit-row,
.inspection-showcase .pricing-grid {
    perspective: 1000px;
}
.inspection-showcase .benefit-row article,
.inspection-showcase .pricing-grid article {
    transform-style: preserve-3d;
}
.inspection-showcase .showcase-process article:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 30px rgba(8, 45, 91, .12);
    background: #fff;
}
.inspection-showcase .benefit-row article:hover {
    transform: rotateX(4deg) rotateY(-4deg) translateY(-6px);
    box-shadow: 0 18px 35px rgba(4, 23, 55, .28);
}
.inspection-showcase .benefit-row article i,
.inspection-showcase .showcase-process article i {
    transition: transform .3s ease, color .3s ease, background-color .3s ease;
}
.inspection-showcase .benefit-row article:hover i,
.inspection-showcase .showcase-process article:hover i {
    transform: translateY(-3px) rotate(-4deg) scale(1.08);
    color: #fff;
    background: #0a4d91;
}
.inspection-stats article:hover { transform: translateY(-5px) scale(1.025); background: rgba(255,255,255,.06); }
.inspection-stats article:hover b { text-shadow: 0 7px 22px rgba(209,168,94,.45); }
.inspection-showcase .pricing-grid article:hover {
    z-index: 3;
    transform: rotateX(4deg) rotateY(-4deg) translateY(-8px);
    border-color: #b58a48;
    box-shadow: 0 18px 38px rgba(8,45,91,.16);
}
.inspection-showcase .pricing-grid article.featured:hover { transform: rotateX(4deg) rotateY(-4deg) translateY(-20px); }
.inspection-showcase .pricing-grid a,
.inspection-showcase .showcase-btn { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.inspection-showcase .pricing-grid a:hover,
.inspection-showcase .showcase-btn:hover { transform: translateY(-3px); }
.inspection-showcase .property-grid article:hover {
    transform: translateY(-8px);
    border-color: #b8cce0;
    box-shadow: 0 18px 38px rgba(8,45,91,.15);
}
.inspection-showcase .property-grid img { transition: transform .55s ease, filter .4s ease; }
.inspection-showcase .property-grid article:hover img { transform: scale(1.07); filter: saturate(1.1); }
.inspection-showcase details { transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease; }
.inspection-showcase details:hover { padding-right: 14px; padding-left: 14px; background: #f2f7fc; box-shadow: inset 3px 0 0 #b58a48; }
.inspection-showcase details[open] { background: #f2f7fc; }
.package-table tbody tr:hover .package-yes { animation: inspection-check-pop .38s ease both; }
@keyframes inspection-check-pop {
    50% { transform: scale(1.28) rotate(-8deg); }
}
@media (max-width: 620px) {
    .inspection-showcase .pricing-grid article.featured:hover { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .inspection-page *, .inspection-page *::before, .inspection-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Same dark card palette as the "Egy cég, több üzletág" business cards,
   reused on the inspection page's package cards and "Miben segítünk" cards. */
.inspection-showcase .pricing-grid article {
    color: #fff;
    border: 0;
    border-radius: 6px;
}
.inspection-showcase .pricing-grid article:nth-child(1) { background: #071a3b; }
.inspection-showcase .pricing-grid article:nth-child(2) { background: linear-gradient(135deg, #06667e, #073b68); }
.inspection-showcase .pricing-grid article:nth-child(3) { background: linear-gradient(135deg, #4b9dcd, #8bc7e8); }
.inspection-showcase .pricing-grid article.featured { border-top: 4px solid #d1a85e; }
.inspection-showcase .pricing-grid article a { color: #fff; }
.inspection-showcase .pricing-grid article:hover { border-color: transparent; }

.inspection-showcase .benefit-row article {
    padding: 26px 18px;
    border-radius: 10px;
    color: #fff;
}
.inspection-showcase .benefit-row article:nth-child(3n+1) { background: #071a3b; }
.inspection-showcase .benefit-row article:nth-child(3n+2) { background: linear-gradient(135deg, #06667e, #073b68); }
.inspection-showcase .benefit-row article:nth-child(3n+3) { background: linear-gradient(135deg, #4b9dcd, #8bc7e8); }
.inspection-showcase .benefit-row article i { color: #fff; }
.inspection-showcase .benefit-row article span { color: rgba(255,255,255,.85); }
.inspection-showcase .benefit-row article:nth-child(3n+1):hover { background: #0d2c5c; }
.inspection-showcase .benefit-row article:nth-child(3n+2):hover { background: linear-gradient(135deg, #0a7a95, #094875); }
.inspection-showcase .benefit-row article:nth-child(3n+3):hover { background: linear-gradient(135deg, #5aacdd, #9ad0f0); }

/* Homepage testimonial carousel: one striking quote at a time. */
.testimonial-carousel-section {
    padding: 64px 5vw 74px;
    text-align: center;
    color: #fff;
    background: radial-gradient(120% 140% at 15% 0%, rgba(209,168,94,.14), transparent 55%), linear-gradient(160deg, #071a3b 0%, #04122a 100%);
}
.testimonial-carousel-inner { max-width: 780px; margin: 0 auto; }
.testimonial-carousel-section h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: .02em; }
.testimonial-carousel-section .section-intro { margin: 0 0 34px; color: rgba(255,255,255,.72); font-size: 1.02rem; }
.testimonial-carousel .carousel-inner { overflow: visible; }
.testimonial-slide { padding: 0 10px; }
.testimonial-quote-mark { display: block; margin: 0 auto 6px; color: #d1a85e; font-family: var(--font-display); font-size: 3.6rem; font-weight: 800; line-height: 1; opacity: .85; }
.testimonial-quote { margin: 0 auto 26px; max-width: 640px; color: #fff; font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 600; line-height: 1.5; }
.testimonial-author strong { display: block; color: #d1a85e; font-size: 1.05rem; font-weight: 800; }
.testimonial-author span { display: block; margin-top: 4px; color: rgba(255,255,255,.65); font-size: .9rem; }
.testimonial-carousel-section .carousel-indicators { position: static; display: flex; justify-content: center; gap: 9px; margin: 36px 0 0; }
.testimonial-carousel-section .carousel-indicators button {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
}
.testimonial-carousel-section .carousel-indicators button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transform: translate(-50%, -50%);
    transition: background-color .25s ease, transform .25s ease;
}
.testimonial-carousel-section .carousel-indicators button.active::after { background: #d1a85e; transform: translate(-50%, -50%) scale(1.2); }
@media (max-width: 620px) {
    .testimonial-carousel-section { padding: 48px 24px 56px; }
    .testimonial-quote-mark { font-size: 2.8rem; }
}

/* Final typography lock: no page-specific rule may diverge from the index header. */
.site-header, .site-header *,
.hero-pro-text, .hero-pro-text *,
.hero-split-text, .hero-split-text *,
.showcase-hero-copy, .showcase-hero-copy *,
.page-hero, .page-hero * {
    font-family: var(--font-body) !important;
}
.hero-pro-text h1,
.hero-split-text h1,
.showcase-hero-copy h1,
.page-hero h1 {
    color: #fff !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    letter-spacing: normal !important;
}
.hero-pro-text p,
.hero-split-text p,
.showcase-hero-copy p,
.page-hero p {
    color: rgba(255,255,255,.85) !important;
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: normal !important;
}
.site-header .nav-btn,
.site-header .menu-items a,
.site-header .lang-toggle {
    font-size: .9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}
@media (max-width: 600px) {
    .hero-pro-text h1,
    .hero-split-text h1,
    .showcase-hero-copy h1,
    .page-hero h1 { font-size: 2rem !important; }
}
