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

  --blue:#5c5c5f;
  --blue-dark:#010416;
  --blue-pale:#edf8f3;

  --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:'Inter', system-ui, Arial, sans-serif;
  --font-body:'Inter', system-ui, Arial, sans-serif;
  --font-mono:'Inter', system-ui, Arial, sans-serif;
}



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

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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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: var(--blue);
    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-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #080c1f;
    text-decoration: none;
    white-space: nowrap;
}

.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;
    }
}

@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;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    object-fit: fill;
    display: block;
    margin: 0 auto 16px;
}

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

.nav-btn {
    background-color: transparent;
    color: #fff;
    padding: 8px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s 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);
}

.nav-btn.active {
    color: var(--gold-lightest);
    font-weight: 700;
    font-size: large;
    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);
}

.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-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 38px), linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 90px 5vw 100px;
    overflow: hidden;
    display: flex;
    justify-content: 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: 6.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 14px 0 6px;
}

.error-404-inner h1 {
    font-size: 1.7rem;
    margin: 8px 0 14px;
}

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

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

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

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

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

.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 {
    position: relative;
}

.hero-pro-bg {
    position: relative;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 38px), linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 22px 5vw 46px;
    overflow: hidden;
}

.hero-pro-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: saturate(0.55);
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
}

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

.hero-pro-bg::before {
    width: 100px;
    height: 100px;
    top: -80px;
    left: 15%;
    animation: hero-blob-drift-1 16s ease-in-out infinite;
}

.hero-pro-bg::after {
    width: 80px;
    height: 80px;
    bottom: -80px;
    right: 8%;
    animation: hero-blob-drift-2 19s ease-in-out infinite;
}

.hero-pro-text {
    position: relative;
    z-index: 1;
    color: #fff;
}

.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: #c48220;
    animation-delay: 0.1s;
}

.hero-pro-brand.orszag {
    color: #fff;
    animation-delay: 0.4s;
}

@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-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-image {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
    height: 230px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.hero-pro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: hero-image-drift 10s ease-in-out infinite alternate;
}

.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;
}

.stats-pro {
    background: var(--navy-dark);
    padding: 92px 5vw 24px;
    margin-top: -70px;
}

.stats-pro-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-pro-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    min-width: 0;
}

.stat-pro-item > div {
    min-width: 0;
}

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

.stat-pro-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0.85;
    animation: icon-pulse 2.6s ease-in-out infinite;
}

.stat-pro-item:nth-child(1) svg { animation-delay: 0s; }
.stat-pro-item:nth-child(2) svg { animation-delay: 0.4s; }
.stat-pro-item:nth-child(3) svg { animation-delay: 0.8s; }
.stat-pro-item:nth-child(4) svg { animation-delay: 1.2s; }

@keyframes icon-pulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.stats-pro-grid .stat-pro-number {
    display: block;
    font-size: 1.5rem;
    color: #fff;
}

.stats-pro-grid .stat-pro-label {
    display: block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
}

@media (max-width: 980px) {
    .hero-pro-bg {
        grid-template-columns: 1fr;
        padding-bottom: 50px;
    }

    .hero-pro-image {
        height: 260px;
    }

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

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

    .stats-pro {
        padding-top: 220px;
    }

    .stats-pro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-pro-item {
        border-right: none;
        padding: 0 12px;
    }
}

@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-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 hero-image-drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, -1.5%); }
}

@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 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@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: 260px;
    }
}

/* Marquee */

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

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

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

@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;
    }
}


/* --- ALAP SZÖVEG STÍLUSOK --- */
  .process-section {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
    font-family: Arial, sans-serif;
  }

  .process-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
  }

  .process-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
  }

  /* --- GRID ELRENDEZÉS --- */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    margin-bottom: 50px;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
  }

  /* --- KÁRTYÁK --- */
  .card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 350px;
    text-align: left;
  }

  .card-number {
    font-size: 40px;
    font-weight: 700;
    color: #0077ff;
    margin-bottom: 15px;
  }

  .card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
  }

  .card-text {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
  }

  .grid-2 {
  display: flex;
  justify-content: center;   
  align-items: flex-start;   
  gap: 2rem;                  
  width: 100%;
}

@media (max-width: 768px) {
  .grid-2 {
    flex-direction: column;
    align-items: center;
  }
}


  /* --- MOBIL NÉZET --- */
  @media (max-width: 900px) {
    .grid-3 {
      grid-template-columns: 1fr;
    }
    .grid-2 {
      grid-template-columns: 1fr;
    }
  }

.process-section {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
    font-family: Arial, sans-serif;
  }

  .process-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
  }

  .process-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
  }

  

/* 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);
}

.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 {
    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);
}

.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,
.service-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: 28px;
}

@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-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;
}

/* Why us */

.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: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 48px;
}

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

.why-us-text p {
    color: var(--muted);
    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-image img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    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;
}

.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 {
    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;
}

.back-to-top a {
    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 {
    width: 20px;
    height: 20px;
}

@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;
}

/* 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;
}
