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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

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

/* ===== HEADER ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #e8e8e8;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
}

.header-info {
    text-align: right;
}

.phone-link {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    display: block;
    transition: color 0.3s;
}

.phone-link:hover {
    color: #d4a76a;
}

.work-hours {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.btn-call-header {
    display: none;
    background: #FFE14D;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #222;
    transition: background 0.3s;
}

.btn-call-header:hover {
    background: #ffd700;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: #FFE14D;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 225, 77, 0.4);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 225, 77, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 225, 77, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 225, 77, 0);
    }
}

.btn-primary.btn-large {
    animation: pulse 2s infinite;
}

.btn-large {
    font-size: 18px;
    padding: 18px 44px;
}

.btn-secondary {
    display: inline-block;
    background: #FFE14D;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0;
}

.btn-secondary:hover {
    background: #ffd700;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding-bottom: 0;
    min-height: auto;
}

.hero::before {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-desktop {
    display: none;
}

/* === Yellow top bar === */
.hero-topbar {
    background: #FFE14D;
    padding: 12px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.3px;
}

.hero-topbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Mobile */
.hero-mobile-photo {
    width: 200px;
    margin: 0 auto 24px;
    border-radius: 16px;
    overflow: hidden;
}

.hero-mobile-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
}

.hero-founder-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

.hero-content {
    text-align: center;
    padding: 30px 0 40px;
    color: #222;
}

.hero-content h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #222;
}

.highlight {
    background: #FFE14D;
    color: #222;
    font-style: italic;
    padding: 0 6px;
    border-radius: 3px;
}

.hero-sub {
    font-size: 22px;
    color: #555;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-note {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* Benefits Grid (mobile) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
    padding-bottom: 40px;
}

.benefit-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    color: #222;
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

/* Hero Desktop */
.hero-content-desktop {
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding: 40px 0 0;
    color: #222;
}

.hero-left {
    flex: 1;
    padding-bottom: 40px;
}

.hero-left h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
    color: #222;
}

.hero-left .hero-sub {
    font-size: 24px;
    margin-bottom: 32px;
    color: #555;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: #FFE14D;
    color: #222;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
}

.benefit-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.hero-cta-block {
    margin-top: 10px;
}

.hero-right {
    width: 440px;
    min-width: 380px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image .hero-founder-text {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
}

/* Placeholder for hero image */
.hero-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: linear-gradient(135deg, #e8e0d4 0%, #d4cfc7 50%, #c9c1b5 100%);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.quiz-promo-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
}

.quiz-promo-text {
    font-size: 15px;
    color: #555;
    margin-top: 20px;
    line-height: 1.6;
}

.quiz-promo-card .hero-note {
    margin-top: 16px;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #222;
}

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

.portfolio-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.portfolio-video {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #222;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

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

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 225, 77, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #222;
    transition: transform 0.3s, background 0.3s;
}

.video-placeholder:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #FFE14D;
}

.portfolio-card h3 {
    padding: 20px 20px 8px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.portfolio-location {
    padding: 0 20px;
    font-size: 14px;
    color: #c4943e;
    font-weight: 500;
    margin-bottom: 4px;
}

.portfolio-card p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: #fff;
    color: #222;
    border-top: 1px solid #eee;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.cta-lead {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.4;
}

.cta-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta-action {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-points {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 36px;
    margin-bottom: 40px;
    text-align: left;
}

.cta-points h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.cta-points ul {
    list-style: none;
}

.cta-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

.cta-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #222;
    font-weight: 700;
    background: #FFE14D;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    top: 2px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.contact-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.contact-card > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-group input[type="tel"],
.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus {
    border-color: #FFE14D;
    box-shadow: 0 0 0 3px rgba(255, 225, 77, 0.2);
}

.form-hint {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: #222;
    color: rgba(255,255,255,0.7);
    padding: 40px 0 30px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-brand {
    font-size: 14px;
}

.footer-link {
    font-size: 14px;
    color: #FFE14D;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.footer-contact span {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-dev {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}

.footer-dev:hover {
    color: #FFE14D;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 540px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal .btn-primary {
    width: 100%;
    margin-top: 8px;
}

/* ===== QUIZ MODAL ===== */
.quiz-modal {
    max-width: 580px;
}

.quiz-progress {
    height: 4px;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFE14D, #ffd700);
    border-radius: 4px;
    width: 20%;
    transition: width 0.4s ease;
}

.quiz-step {
    display: none;
}

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

.quiz-step h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}

.quiz-option:hover {
    border-color: #FFE14D;
    background: rgba(255, 225, 77, 0.06);
}

.quiz-option input[type="radio"] {
    accent-color: #ffd700;
    width: 18px;
    height: 18px;
}

.quiz-option input[type="radio"]:checked + span {
    font-weight: 500;
    color: #222;
}

.quiz-option:has(input:checked) {
    border-color: #FFE14D;
    background: rgba(255, 225, 77, 0.1);
}

.quiz-fields {
    margin-bottom: 24px;
}

.quiz-fields label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.quiz-fields input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.quiz-fields input:focus {
    border-color: #FFE14D;
    box-shadow: 0 0 0 3px rgba(255, 225, 77, 0.2);
}

.quiz-next {
    width: 100%;
}

.quiz-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.quiz-nav .quiz-next {
    flex: 1;
}

.btn-back {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 14px;
    font-family: inherit;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-back:hover {
    border-color: #bbb;
    color: #333;
    background: #f5f5f5;
}

.quiz-back-solo {
    margin-top: 16px;
}

.quiz-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFE14D, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #222;
    margin: 0 auto 24px;
}

.quiz-success p {
    color: #666;
    font-size: 16px;
}

/* ===== EXIT MODAL ===== */
.exit-modal h3 {
    font-size: 28px;
    text-align: center;
    color: #c0392b;
}

.exit-lead {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.exit-modal > p {
    text-align: center;
    color: #666;
}

.exit-quote {
    font-size: 15px;
    font-style: italic;
    color: #333;
    text-align: center;
    background: #fffbea;
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 3px solid #FFE14D;
    margin: 16px 0 24px;
}

.messenger-choice {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.radio-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.radio-btn input {
    display: none;
}

.radio-btn.active,
.radio-btn:has(input:checked) {
    border-color: #FFE14D;
    background: rgba(255, 225, 77, 0.12);
    color: #222;
    font-weight: 500;
}

/* ===== PRIVACY MODAL ===== */
.privacy-modal {
    max-width: 700px;
}

.privacy-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px;
    color: #222;
}

.privacy-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ===== VIDEO LIGHTBOX ===== */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    animation: lightboxFadeIn 0.3s ease;
}

.video-lightbox.active {
    display: flex;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-lightbox-content {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.video-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 10;
}

.video-lightbox-close:hover {
    opacity: 0.7;
}

.video-lightbox-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-lightbox-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1024px) {
    .hero-mobile {
        display: none;
    }
    .hero-desktop {
        display: block;
    }
}

@media (max-width: 1023px) {
    .hero-mobile {
        display: block;
    }
    .hero-desktop {
        display: none;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .section-title {
        font-size: 24px;
    }
    .cta-content h2 {
        font-size: 28px;
    }
    .cta-points {
        padding: 24px 20px;
    }
    .contact-card {
        padding: 36px 24px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .header .phone-link,
    .header .work-hours,
    .header .header-info {
        display: none;
    }
    .header .btn-secondary {
        display: none;
    }
    .btn-call-header {
        display: flex;
    }
    .hero-content h1 {
        font-size: 22px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .btn-large {
        font-size: 16px;
        padding: 16px 28px;
        width: 100%;
    }
    .modal {
        padding: 28px 20px;
        border-radius: 16px;
    }
}
