/**
 * BillBerry Apartments – bbapartments.pl
 * Kolorystyka: #021f3e (granat), #96814e (złoto), #292929 (ciemny szary)
 */

/* reCAPTCHA v3 badge — hidden per Google guidelines (text attribution in footer) */
.grecaptcha-badge { visibility: hidden !important; }

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #021f3e;
    --navy-light: #0a3a6b;
    --gold: #96814e;
    --gold-light: #b8a47c;
    --gold-dark: #7a6940;
    --dark: #292929;
    --dark-light: #444;
    --white: #ffffff;
    --off-white: #f8f7f5;
    --gray-100: #f5f5f3;
    --gray-200: #e8e6e3;
    --gray-300: #d0cec9;
    --gray-500: #5f5f5f;
    --gradient-navy: linear-gradient(135deg, #021f3e 0%, #0a3a6b 100%);
    --gradient-gold: linear-gradient(135deg, #96814e 0%, #b8a47c 100%);
    --gradient-dark: linear-gradient(135deg, #292929 0%, #3d3d3d 100%);
    --shadow-sm: 0 2px 8px rgba(2, 31, 62, 0.06);
    --shadow-md: 0 4px 20px rgba(2, 31, 62, 0.1);
    --shadow-lg: 0 8px 40px rgba(2, 31, 62, 0.15);
    --shadow-xl: 0 16px 60px rgba(2, 31, 62, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

/* Focus visible for keyboard navigation (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(150, 129, 78, 0.15);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem; /* decorative uppercase label — exempt per WCAG (large text equivalent via weight+spacing) */
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-label--light {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 12px;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--gradient-gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn--primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 145, 110, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn--full {
    width: 100%;
}

.btn--large {
    padding: 18px 42px;
    font-size: 1.05rem;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar--scrolled {
    background: rgba(2, 31, 62, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.navbar__link {
    color: rgba(255,255,255,0.9);
    font-size: 0.94rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all var(--transition);
    text-decoration: none;
}

.navbar__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.navbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-light);
    font-size: 0.94rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(167, 145, 110, 0.4);
    border-radius: 6px;
    transition: all var(--transition);
    text-decoration: none;
}

.navbar__phone:hover {
    background: rgba(167, 145, 110, 0.15);
    color: var(--gold-light);
    border-color: var(--gold);
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
}

.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--navy);
    background-image: url('../img/hero-bg.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Semi-transparent navy overlay over photo */
.hero__video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 31, 62, 0.85);
    z-index: 1;
}

/* Decorative gradient accents */
.hero__video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(167, 145, 110, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(10, 58, 107, 0.2) 0%, transparent 60%);
    z-index: 2;
}

.hero__overlay {
    display: none;
}

/* Two-column layout */
.hero__layout {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0 80px;
}

/* Left: photo with play button */
.hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__media-container {
    position: relative;
    width: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    aspect-ratio: 9 / 16;
}

.hero__media-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(2, 31, 62, 0.4) 100%);
    pointer-events: none;
    transition: opacity var(--transition);
}

.hero__media-container:hover::after {
    opacity: 0.6;
}

.hero__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero__media-container:hover .hero__media-img {
    transform: scale(1.03);
}

.hero__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(167, 145, 110, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
    padding-left: 4px;
}

.hero__play-btn:hover {
    background: var(--gold);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(167, 145, 110, 0.5);
}

.hero__media-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 3;
}

.hero__media-container--playing::after {
    display: none;
}

.hero__media-container--playing {
    pointer-events: auto !important;
}

/* Right: text content */
.hero__content {
    position: relative;
    z-index: 3;
    text-align: left;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__title span {
    display: inline-block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
}

.hero__trust-item strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
}

.hero__trust-item span {
    font-size: 0.8rem;
    opacity: 0.85;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.5);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================
   QUICK FORM
   ============================ */
.quick-form {
    padding: 80px 0;
    background: var(--off-white);
}

.quick-form__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quick-form__text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.quick-form__text h2 span {
    color: var(--gold);
}

.quick-form__text p {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.7;
}

.quick-form__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-form__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
}

/* ============================
   FORM ELEMENTS
   ============================ */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(167, 145, 110, 0.1);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 0.95rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: all var(--transition);
    background: var(--white);
    padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 14px;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
}

.form-group--checkbox {
    margin-bottom: 12px;
}

.form-group--checkbox label {
    position: static;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    pointer-events: auto;
    font-size: 0.85rem;
    color: var(--dark-light);
    line-height: 1.5;
    background: none;
    padding: 4px 0;
    min-height: 44px;
}

.form-group--checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    position: relative;
    transition: all var(--transition);
    margin-top: 1px;
}

.form-group--checkbox input:checked + .checkmark {
    background: var(--gold);
    border-color: var(--gold);
}

.form-group--checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text a {
    color: var(--gold);
    text-decoration: underline;
}

.form-group--error input,
.form-group--error textarea {
    border-color: #e74c3c;
}

.form-group--error .checkmark {
    border-color: #e74c3c;
}

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

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-message--success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message--error {
    display: block;
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* ============================
   EBOOK SECTION
   ============================ */
.ebook {
    padding: 100px 0;
    background: var(--white);
}

.ebook__wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.ebook__mockup {
    display: flex;
    justify-content: center;
}

.ebook__cover {
    width: 260px;
    height: 360px;
    border-radius: 4px 12px 12px 4px;
    box-shadow: var(--shadow-xl), -4px 0 0 var(--gold);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: perspective(800px) rotateY(-8deg);
    transition: transform var(--transition);
    position: relative;
    overflow: hidden;
    background: url('../img/apartament_2.webp') center center / cover no-repeat;
}

.ebook__cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 31, 62, 0.3) 0%, rgba(2, 31, 62, 0.85) 100%);
    z-index: 1;
}

.ebook__cover:hover {
    transform: perspective(800px) rotateY(-2deg);
}

.ebook__cover-inner {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.ebook__badge {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.ebook__cover h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ebook__cover p {
    font-size: 0.82rem;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ebook__cover-logo {
    margin-top: 20px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ebook__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.ebook__content h2 span {
    color: var(--gold);
}

.ebook__list {
    list-style: none;
    margin-bottom: 28px;
}

.ebook__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--dark-light);
}

.ebook__list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ebook__form {
    background: var(--off-white);
    padding: 28px;
    border-radius: var(--radius-md);
}

.ebook__form .form-group label {
    background: var(--off-white);
}

/* ============================
   BENEFITS
   ============================ */
.benefits {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.benefit-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
    text-align: left;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(167, 145, 110, 0.2);
}

.benefit-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(167, 145, 110, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================
   SERVICES
   ============================ */
.services {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

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

.service-item {
    text-align: left;
    padding: 32px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--transition);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-item__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(167, 145, 110, 0.15);
    margin-bottom: 12px;
    line-height: 1;
}

.service-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================
   PROCESS / TIMELINE
   ============================ */
.process {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.process__timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Vertical connector line */
.process__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gray-200) 100%);
    transform: translateX(-50%);
}

.process__step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
    position: relative;
}

/* Gold dot on the timeline */
.process__step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--off-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(167, 145, 110, 0.2);
}

/* Default: image LEFT, content RIGHT */
.process__step-visual {
    order: 1;
}

.process__step-content {
    order: 2;
    text-align: left;
}

/* Reverse: content LEFT, image RIGHT */
.process__step--reverse .process__step-visual {
    order: 2;
}

.process__step--reverse .process__step-content {
    order: 1;
    text-align: right;
}

/* Image styling */
.process__step-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(2, 31, 62, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process__step-visual img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(2, 31, 62, 0.18);
}

/* Step number badge */
.process__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 3px;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(167, 145, 110, 0.3);
}

.process__step-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.process__step-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================
   CALCULATOR
   ============================ */
.calculator {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
}

.calculator__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
    line-height: 1.3;
}

.calculator__content h2 span {
    color: var(--gold-light);
}

.calculator__content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.calculator__total {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(167, 145, 110, 0.2);
}

.calculator__total-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.calculator__total-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

.calculator__total-label small {
    font-size: 0.8rem;
    color: var(--gold-light);
}

.calculator__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.calculator__item.visible {
    opacity: 1;
    transform: translateX(0);
}

.calculator__item-info {
    display: flex;
    flex-direction: column;
}

.calculator__item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.calculator__item-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
}

.calculator__item-bar {
    grid-column: 1 / -1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.calculator__item-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    width: 0;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator__item-hours {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-light);
    min-width: 30px;
    text-align: right;
}

/* ============================
   STATISTICS
   ============================ */
.stats {
    padding: 80px 0;
    background: var(--off-white);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 28px 16px;
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* ============================
   TEAM
   ============================ */
.team {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

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

.team__member {
    text-align: center;
    padding: 32px 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.team__member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(167, 145, 110, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team__member h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.team__role {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}

.team__member p {
    font-size: 0.94rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 12px;
}

.team__contact {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
}

/* ============================
   FAQ
   ============================ */
.faq {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.faq__list {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.faq__item {
    border-bottom: 1px solid var(--gray-200);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    gap: 16px;
    transition: color var(--transition);
}

.faq__question:hover {
    color: var(--gold);
}

.faq__question svg {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq__item.active .faq__question svg {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq__answer p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-section__inner {
    text-align: center;
    padding: 60px 40px;
    background: var(--gradient-navy);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-section__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(167, 145, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(10, 58, 107, 0.3) 0%, transparent 50%);
}

.cta-section__inner > * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-section h2 span {
    color: var(--gold-light);
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

/* ============================
   CONTACT
   ============================ */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact__info h2 span {
    color: var(--gold);
}

.contact__info > p {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact__detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(167, 145, 110, 0.08);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact__detail span {
    font-size: 0.94rem;
    color: var(--gray-500);
}

.contact__detail a {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
}

.contact__form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.94rem;
    line-height: 1.6;
}

.footer__links h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
    font-size: 0.94rem;
}

.footer__links a {
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--gold-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__company {
    font-size: 0.82rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer__copy {
    font-size: 0.82rem;
    opacity: 0.7;
}

/* ============================
   ANIMATION CLASSES
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.benefits__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.benefits__grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.benefits__grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.benefits__grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.benefits__grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.benefits__grid .fade-in:nth-child(6) { transition-delay: 0.4s; }
.benefits__grid .fade-in:nth-child(7) { transition-delay: 0.48s; }
.benefits__grid .fade-in:nth-child(8) { transition-delay: 0.56s; }

.services__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.services__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.services__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.services__grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.services__grid .fade-in:nth-child(5) { transition-delay: 0.4s; }
.services__grid .fade-in:nth-child(6) { transition-delay: 0.5s; }

.process__step.fade-in:nth-child(1) { transition-delay: 0s; }
.process__step.fade-in:nth-child(2) { transition-delay: 0.15s; }
.process__step.fade-in:nth-child(3) { transition-delay: 0.3s; }
.process__step.fade-in:nth-child(4) { transition-delay: 0.45s; }
.process__step.fade-in:nth-child(5) { transition-delay: 0.6s; }

.team__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.team__grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.team__grid .fade-in:nth-child(3) { transition-delay: 0.3s; }

/* ============================
   SCROLL TO TOP BUTTON
   ============================ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: var(--gold-light);
    border: 2px solid var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(2, 31, 62, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(167, 145, 110, 0.45);
}

.scroll-top:active {
    transform: scale(0.92);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .hero__layout {
        gap: 40px;
    }

    .hero__media-container {
        width: 220px;
    }

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

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

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

    .calculator__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ebook__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ebook__visual {
        order: -1;
    }

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

    .process__step {
        gap: 40px;
    }

    .process__timeline::before {
        display: none;
    }

    .process__step::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar__hamburger {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__link {
        font-size: 1.05rem;
        padding: 12px 0;
        width: 100%;
    }

    .navbar__phone {
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .hero__layout {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 100px 0 60px;
    }

    .hero__media {
        order: -1;
    }

    .hero__media-container {
        width: 200px;
        margin: 0 auto;
    }

    .hero__play-btn {
        width: 60px;
        height: 60px;
    }

    .hero__play-btn svg {
        width: 22px;
        height: 22px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__subtitle {
        margin: 0 auto 36px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero__cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero__trust {
        gap: 16px;
        justify-content: center;
    }

    .hero__trust-divider {
        height: 30px;
    }

    .quick-form__wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

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

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-section__inner {
        padding: 40px 24px;
    }

    .process__timeline::before {
        left: 20px;
        transform: none;
    }

    .process__step {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0;
    }

    .process__step::after {
        display: none;
    }

    /* On mobile, always image on top, content below */
    .process__step-visual {
        order: 1 !important;
    }

    .process__step-content {
        order: 2 !important;
        text-align: left !important;
    }

    .process__step-visual img {
        border-radius: 12px;
    }

    .process__step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .ebook__cover {
        width: 220px;
        height: 300px;
        padding: 24px 18px;
    }

    .ebook__cover h3 {
        font-size: 0.9rem;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .hero__trust {
        flex-direction: column;
    }

    .hero__trust-divider {
        width: 40px;
        height: 1px;
    }

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

/* ============================
   REDUCED MOTION (accessibility)
   ============================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
    .calculator__item {
        opacity: 1;
        transform: none;
    }
}

/* ============================
   PRINT
   ============================ */
@media print {
    .navbar, .hero__scroll, .btn, form, .calculator, .cta-section {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        background: #fff;
    }

    .hero__content {
        color: #000;
        padding: 20px 0;
    }
}
