/* ============================================================
   ProtectHouse – Custom Styles
   Colors: #070d07 bg | #00B140 green | #0d1a0d dark
============================================================ */

:root {
    --ph-bg:     #070d07;
    --ph-dark:   #0d1a0d;
    --ph-card:   #0f1f0f;
    --ph-border: rgba(0, 177, 64, 0.15);
    --ph-green:  #00B140;
    --ph-glight: #00d94f;
    --ph-gdark:  #00842f;
    --ph-glow:   rgba(0, 177, 64, 0.25);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--ph-bg);
    color: #f0f0f0;
}

::selection {
    background: var(--ph-green);
    color: #000;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ph-bg); }
::-webkit-scrollbar-thumb { background: var(--ph-gdark); border-radius: 3px; }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(7, 13, 7, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ph-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ph-green);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.ham-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #f0f0f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#hamburger.open .ham-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#hamburger.open .ham-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#hamburger.open .ham-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    color: #d1d5db;
    font-medium: 500;
    border-bottom: 1px solid var(--ph-border);
    transition: color 0.2s;
}

.mobile-link:last-of-type { border-bottom: none; }
.mobile-link:hover { color: var(--ph-green); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ph-green);
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--ph-glight);
    box-shadow: 0 0 28px var(--ph-glow), 0 4px 16px rgba(0, 177, 64, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #f0f0f0;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--ph-border);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: rgba(0, 177, 64, 0.5);
    background: rgba(0, 177, 64, 0.06);
    box-shadow: 0 0 16px rgba(0, 177, 64, 0.1);
}

/* ============================================================
   BADGE
============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 177, 64, 0.08);
    border: 1px solid rgba(0, 177, 64, 0.25);
    border-radius: 9999px;
    padding: 6px 16px;
    color: var(--ph-green);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ============================================================
   HERO
============================================================ */
#hero {
    background: var(--ph-bg);
}

/* Animated grid */
.hero-grid {
    background-image:
        linear-gradient(rgba(0, 177, 64, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 177, 64, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Glow orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 177, 64, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: orb-float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 177, 64, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.95); }
}

/* Hero gradient text */
.hero-gradient {
    background: linear-gradient(135deg, var(--ph-green) 0%, var(--ph-glight) 50%, #7fff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats cards */
.stat-card {
    background: rgba(13, 26, 13, 0.7);
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    border-color: rgba(0, 177, 64, 0.4);
    box-shadow: 0 0 20px rgba(0, 177, 64, 0.1);
}

/* Scroll hint */
.scroll-hint {
    opacity: 0.6;
}

.scroll-dot {
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================================
   SERVICE CARDS
============================================================ */
.service-card {
    position: relative;
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: rgba(0, 177, 64, 0.4);
    box-shadow: 0 8px 40px rgba(0, 177, 64, 0.12), 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

/* Featured variant */
.service-card--featured {
    border-color: rgba(0, 177, 64, 0.4);
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.08) 0%, var(--ph-card) 60%);
    box-shadow: 0 4px 24px rgba(0, 177, 64, 0.1);
}

.service-card--featured:hover {
    box-shadow: 0 8px 50px rgba(0, 177, 64, 0.2);
}

.featured-pill {
    display: inline-block;
    background: var(--ph-green);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 8px;
}

/* Service icon */
.svc-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 177, 64, 0.1);
    border: 1px solid rgba(0, 177, 64, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ph-green);
    transition: all 0.3s;
}

.service-card:hover .svc-icon {
    background: rgba(0, 177, 64, 0.18);
    box-shadow: 0 0 16px rgba(0, 177, 64, 0.2);
}

.svc-icon--featured {
    background: rgba(0, 177, 64, 0.15);
    border-color: rgba(0, 177, 64, 0.35);
}

.svc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.svc-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.svc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    space-y: 6px;
}

.svc-list li {
    font-size: 0.8125rem;
    color: #6b7280;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.svc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--ph-green);
    border-radius: 50%;
}

.svc-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ph-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s, opacity 0.2s;
    opacity: 0;
}

.service-card:hover .svc-link {
    opacity: 1;
    gap: 8px;
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-glow {
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 177, 64, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.why-item:hover {
    border-color: rgba(0, 177, 64, 0.35);
    box-shadow: 0 2px 12px rgba(0, 177, 64, 0.08);
}

.why-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: rgba(0, 177, 64, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ph-green);
}

.about-visual {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.about-stat-card {
    text-align: center;
    padding: 24px;
    background: rgba(0, 177, 64, 0.05);
    border: 1px solid rgba(0, 177, 64, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
}

.mini-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s;
}

.mini-card:hover {
    border-color: rgba(0, 177, 64, 0.3);
}

/* ============================================================
   PROCESS SECTION
============================================================ */
.process-card {
    position: relative;
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: rgba(0, 177, 64, 0.4);
    box-shadow: 0 4px 24px rgba(0, 177, 64, 0.1);
    transform: translateY(-4px);
}

.process-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 177, 64, 0.2);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.process-card:hover .process-number {
    color: rgba(0, 177, 64, 0.5);
}

/* ============================================================
   PARTNERS
============================================================ */
.partner-card {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: rgba(0, 177, 64, 0.4);
    box-shadow: 0 4px 30px rgba(0, 177, 64, 0.1);
    transform: translateY(-4px);
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.partner-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ph-green);
    background: rgba(0, 177, 64, 0.08);
    border: 1px solid rgba(0, 177, 64, 0.2);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-top: 12px;
}

.brand-tag {
    font-size: 0.8rem;
    color: #6b7280;
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    padding: 6px 14px;
    border-radius: 9999px;
    transition: all 0.2s;
}

.brand-tag:hover {
    color: var(--ph-green);
    border-color: rgba(0, 177, 64, 0.3);
}

/* ============================================================
   FAQ
============================================================ */
.faq-item {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(0, 177, 64, 0.3);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #f0f0f0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-q:hover { color: var(--ph-green); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--ph-green);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 22px;
}

.faq-a p {
    padding-bottom: 18px;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding-top: 2px;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-glow {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 177, 64, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-info-card:hover {
    border-color: rgba(0, 177, 64, 0.35);
    box-shadow: 0 2px 16px rgba(0, 177, 64, 0.08);
}

.contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(0, 177, 64, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ph-green);
}

/* Honeypot — niewidoczne dla ludzi, boty wypełniają */
.hp-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Form */
.contact-form {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 32px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 11px 14px;
    color: #f0f0f0;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: #4b5563;
}

.form-input:focus {
    border-color: var(--ph-green);
    box-shadow: 0 0 0 3px rgba(0, 177, 64, 0.12);
    background: rgba(0, 177, 64, 0.03);
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
}

/* Select styling */
select.form-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300B140'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

select.form-input option {
    background: #0f1f0f;
    color: #f0f0f0;
}

/* ============================================================
   FOOTER SOCIAL
============================================================ */
.social-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    color: #9ca3af;
    transition: all 0.2s;
}

.social-btn:hover {
    border-color: rgba(0, 177, 64, 0.4);
    color: var(--ph-green);
    background: rgba(0, 177, 64, 0.06);
}

/* ============================================================
   HERO SLIDER
============================================================ */

/* Slider overflow guard */
.hero-slider {
    overflow: hidden;
}

/* Dark gradient at top — hides any content bleeding behind transparent nav */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(7,13,7,0.95) 0%, transparent 100%);
    z-index: 15;
    pointer-events: none;
}

/* Each slide */
.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.hero-slide--active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide background photo */
.hero-slide-bg {
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    transition: opacity 0.9s ease;
}

.hero-slide--active .hero-slide-bg {
    opacity: 0.22;
}

/* Slide text animate-in */
.hero-slide--active .hero-slide-inner {
    animation: slide-in 0.7s ease both;
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 13, 7, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--ph-border);
    border-radius: 50%;
    color: #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 177, 64, 0.15);
    border-color: rgba(0, 177, 64, 0.5);
    color: var(--ph-green);
    box-shadow: 0 0 20px rgba(0, 177, 64, 0.2);
}

.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }

@media (min-width: 1024px) {
    .hero-arrow--prev { left: 32px; }
    .hero-arrow--next { right: 32px; }
}

/* Dots */
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(0, 177, 64, 0.5);
    transform: scale(1.2);
}

.hero-dot--active {
    background: var(--ph-green);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 177, 64, 0.5);
}

/* Progress bar */
.hero-progress-wrap {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    background: var(--ph-green);
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 0%;
    box-shadow: 0 0 6px rgba(0, 177, 64, 0.6);
}

/* ============================================================
   SERVICE CARD IMAGES
============================================================ */
.svc-img-wrap {
    margin: -28px -28px 0 -28px;
    height: 180px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
}

.svc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55) saturate(0.6);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.service-card:hover .svc-img {
    transform: scale(1.06);
    filter: brightness(0.65) saturate(0.75);
}

.svc-img-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, transparent, var(--ph-card));
}

/* Badge on featured card image */
.featured-pill--img {
    position: absolute;
    top: 12px;
    left: 16px;
    z-index: 2;
}

/* Push icon down a bit when image present */
.svc-img-wrap + .svc-icon {
    margin-top: 20px;
}

/* ============================================================
   ABOUT SECTION PHOTO
============================================================ */
.about-photo-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
}

.about-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) saturate(0.6);
    transition: transform 0.5s ease;
}

.about-visual:hover .about-photo {
    transform: scale(1.02);
}

.about-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,177,64,0.08) 0%, transparent 50%),
                linear-gradient(to bottom, transparent 40%, rgba(7,13,7,0.7) 100%);
}

.about-photo-stat {
    position: absolute;
    background: rgba(7, 13, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    padding: 12px 18px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.about-photo-stat--tl {
    top: 16px;
    left: 16px;
}

.about-photo-stat--br {
    bottom: 16px;
    right: 16px;
}

/* ============================================================
   CANVAS PARTICLES
============================================================ */
#particles {
    opacity: 0.4;
}

/* ============================================================
   COUNTER ANIMATION
============================================================ */
.counter {
    display: inline-block;
}

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
    }
    .process-card:hover,
    .partner-card:hover {
        transform: none;
    }
}

/* ============================================================
   HORIZONTAL TIMELINE (Realizacja w 4 krokach)
============================================================ */
.h-timeline {
    display: flex;
    align-items: flex-start;
}

.h-tl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Numbered circle */
.h-tl-node {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 177, 64, 0.1);
    border: 2px solid var(--ph-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(0, 177, 64, 0.05), 0 0 18px rgba(0, 177, 64, 0.15);
    transition: background 0.3s, box-shadow 0.3s;
}

.h-tl-node--last {
    background: rgba(0, 177, 64, 0.14);
    box-shadow: 0 0 0 8px rgba(0, 177, 64, 0.07), 0 0 26px rgba(0, 177, 64, 0.25);
}

.h-tl-step:hover .h-tl-node {
    background: rgba(0, 177, 64, 0.2);
    box-shadow: 0 0 0 8px rgba(0, 177, 64, 0.09), 0 0 28px rgba(0, 177, 64, 0.3);
}

.h-tl-num {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--ph-green);
    letter-spacing: 0.04em;
    font-family: ui-monospace, 'Courier New', monospace;
}

/* Short vertical line from node to card */
.h-tl-connector {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, rgba(0, 177, 64, 0.5), rgba(0, 177, 64, 0.06));
    flex-shrink: 0;
}

/* Card */
.h-tl-card {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    width: 100%;
    flex: 1;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.h-tl-card--last {
    border-color: rgba(0, 177, 64, 0.25);
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.06) 0%, var(--ph-card) 60%);
}

.h-tl-step:hover .h-tl-card {
    border-color: rgba(0, 177, 64, 0.4);
    box-shadow: 0 6px 28px rgba(0, 177, 64, 0.12);
    transform: translateY(-4px);
}

/* Icon inside card */
.h-tl-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 177, 64, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ph-green);
    margin: 0 auto 12px;
    transition: background 0.3s;
}

.h-tl-step:hover .h-tl-icon {
    background: rgba(0, 177, 64, 0.18);
}

/* Arrow between steps — vertically centered with the nodes */
.h-tl-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 14px; /* (52px node - 24px icon) / 2 = 14px */
    flex-shrink: 0;
    padding-left: 4px;
    padding-right: 4px;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .h-timeline {
        flex-direction: column;
        gap: 0;
    }

    .h-tl-step {
        width: 100%;
    }

    .h-tl-arrow {
        display: none;
    }

    /* Extend connector between stacked steps */
    .h-tl-step:not(:first-child) {
        margin-top: 4px;
    }

    .h-tl-card {
        text-align: left;
    }

    .h-tl-icon {
        margin: 0 0 12px 0;
    }
}

/* ============================================================
   GOOGLE REVIEWS
============================================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Individual review card */
.review-card {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.review-card:hover {
    border-color: rgba(0, 177, 64, 0.3);
    box-shadow: 0 6px 28px rgba(0, 177, 64, 0.1);
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 177, 64, 0.15);
}

.review-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f0f0f0;
    line-height: 1.3;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.review-stars {
    color: #FBBC05;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    line-height: 1;
}

.review-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.review-text {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.65;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* Skeleton loading cards */
.review-skeleton {
    background: var(--ph-card);
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sk-line {
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    animation: sk-pulse 1.6s ease-in-out infinite;
}

.sk-short  { width: 40%; }
.sk-medium { width: 65%; }
.sk-long   { width: 90%; }

@keyframes sk-pulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.8; }
}

/* ============================================================
   UTILITIES
============================================================ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ph-border), transparent);
    margin: 0;
}
