/* =========================================================
   .mod-home — მთავარი გვერდი (ვებ-სტუდიის ლოგიკა)
   ტოკენები იდენტურია .mod-services-ის
   ========================================================= */
.mod-home {
    --primary: rgba(34, 72, 129, 1);
    --primary-light: rgba(34, 72, 129, 0.1);
    --primary-dark: rgba(24, 52, 99, 1);
    --accent-green: #7ac043;
    --accent-orange: #f9ae41;
    --accent-red: #ee4035;
    --accent-blue: #4f91cd;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.07), 0 8px 24px rgba(0,0,0,.13);
}
.mod-home * { box-sizing: border-box; }
.mod-home {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark); line-height: 1.7; overflow-x: hidden; width: 100%;
}
.mod-home h1,.mod-home h2,.mod-home h3,.mod-home h4,.mod-home h5,.mod-home h6 {
    font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.2;
    margin-bottom: 1rem; color: var(--text-dark);
}
.mod-home h1 { font-size: 3.5rem; }
.mod-home h2 { font-size: 2.75rem; }
.mod-home h3 { font-size: 2rem; }
.mod-home h4 { font-size: 1.5rem; }
.mod-home p { margin-bottom: 1.25rem; color: var(--text-light); font-size: 1.05rem; }
.mod-home .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ღილაკები */
.mod-home .btn { padding: 1rem 2.5rem; border-radius: 12px; text-decoration: none; font-weight: 600;
    font-size: 1.05rem; transition: all .3s ease; display: inline-flex; align-items: center; gap: .75rem; cursor: pointer; border: none; }
.mod-home .btn-primary { background: var(--accent-green); color: var(--white); box-shadow: 0 8px 20px rgba(122,192,67,.3); }
.mod-home .btn-primary:hover { background: #6ab637; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(122,192,67,.4); color: var(--white); text-decoration: none; }
.mod-home .btn-secondary { background: rgba(255,255,255,.15); color: var(--white); border: 2px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); }
.mod-home .btn-secondary:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5); color: var(--white); text-decoration: none; }
.mod-home .btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.mod-home .btn-outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }

/* ---------- ჰერო ---------- */
.mod-home .hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 7rem 0 6rem; position: relative; overflow: hidden; }
.mod-home .hero::before { content:''; position:absolute; width:500px; height:500px; background:rgba(255,255,255,.05); border-radius:50%; top:-250px; right:-100px; }
.mod-home .hero::after { content:''; position:absolute; width:400px; height:400px; background:rgba(255,255,255,.03); border-radius:50%; bottom:-200px; left:-50px; }
.mod-home .hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.mod-home .hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.25rem;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
    border-radius: 50px; font-size: .9rem; font-weight: 600; margin-bottom: 1.75rem;
    animation: homeFadeInUp .8s ease; }
.mod-home .hero-badge i { color: var(--accent-green); }
.mod-home .hero h1 { color: var(--white); margin-bottom: 1.5rem; animation: homeFadeInUp .8s ease .1s both; }
.mod-home .hero h1 em { font-style: normal; color: var(--accent-green); }
.mod-home .hero-subtitle { font-size: 1.35rem; color: rgba(255,255,255,.9); margin-bottom: 2.5rem; line-height: 1.6; animation: homeFadeInUp .8s ease .2s both; }
.mod-home .hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; animation: homeFadeInUp .8s ease .3s both; }
.mod-home .hero-note { margin-top: 1.5rem; font-size: .95rem; color: rgba(255,255,255,.7); animation: homeFadeInUp .8s ease .35s both; }
.mod-home .hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 3.5rem; animation: homeFadeInUp .8s ease .4s both; }
.mod-home .hero-stat { text-align: center; }
.mod-home .hero-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent-green); display: block; font-family: 'Sora', sans-serif; }
.mod-home .hero-stat-label { font-size: .95rem; color: rgba(255,255,255,.8); margin-top: .5rem; }

/* ---------- სექციები ---------- */
.mod-home .section-light { padding: 6rem 0; background: var(--white); }
.mod-home .section-alt { padding: 6rem 0; background: var(--bg-light); }
.mod-home .section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.mod-home .section-tag { display: inline-block; padding: .5rem 1.25rem; background: var(--primary-light);
    color: var(--primary); border-radius: 50px; font-weight: 600; font-size: .9rem; margin-bottom: 1rem;
    text-transform: uppercase; letter-spacing: 1px; }
.mod-home .section-footer { text-align: center; margin-top: 3rem; }

/* ---------- რას ვქმნით (6 ბარათი) ---------- */
.mod-home .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mod-home .service-card { background: var(--white); padding: 2.5rem; border-radius: 20px; box-shadow: var(--shadow);
    transition: all .4s cubic-bezier(.4,0,.2,1); border-left: 5px solid; }
.mod-home .service-card:nth-child(1) { border-left-color: var(--accent-green); }
.mod-home .service-card:nth-child(2) { border-left-color: var(--accent-orange); }
.mod-home .service-card:nth-child(3) { border-left-color: var(--accent-red); }
.mod-home .service-card:nth-child(4) { border-left-color: var(--accent-blue); }
.mod-home .service-card:nth-child(5) { border-left-color: var(--accent-green); }
.mod-home .service-card:nth-child(6) { border-left-color: var(--accent-orange); }
.mod-home .service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mod-home .service-icon { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center;
    border-radius: 16px; margin-bottom: 1.5rem; font-size: 2rem; transition: all .3s ease; }
.mod-home .service-card:nth-child(1) .service-icon { background: rgba(122,192,67,.1); color: var(--accent-green); }
.mod-home .service-card:nth-child(2) .service-icon { background: rgba(249,174,65,.1); color: var(--accent-orange); }
.mod-home .service-card:nth-child(3) .service-icon { background: rgba(238,64,53,.1); color: var(--accent-red); }
.mod-home .service-card:nth-child(4) .service-icon { background: rgba(79,145,205,.1); color: var(--accent-blue); }
.mod-home .service-card:nth-child(5) .service-icon { background: rgba(122,192,67,.1); color: var(--accent-green); }
.mod-home .service-card:nth-child(6) .service-icon { background: rgba(249,174,65,.1); color: var(--accent-orange); }
.mod-home .service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.mod-home .service-card h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.mod-home .service-card p { font-size: .98rem; margin-bottom: 1rem; }
.mod-home .service-meta { font-size: .9rem; font-weight: 600; color: var(--primary); font-family: 'Sora', sans-serif; }

/* ---------- პორტფოლიო ---------- */
.mod-home .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.mod-home .portfolio-card { display: block; text-decoration: none; background: var(--white); border-radius: 20px;
    overflow: hidden; box-shadow: var(--shadow); transition: all .4s cubic-bezier(.4,0,.2,1); }
.mod-home .portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); text-decoration: none; }
.mod-home .portfolio-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem;
    background: var(--bg-light); border-bottom: 1px solid #e5e7eb; }
.mod-home .portfolio-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mod-home .portfolio-dot:nth-child(1) { background: var(--accent-red); }
.mod-home .portfolio-dot:nth-child(2) { background: var(--accent-orange); }
.mod-home .portfolio-dot:nth-child(3) { background: var(--accent-green); }
.mod-home .portfolio-url { margin-left: .75rem; font-size: .82rem; color: var(--text-light);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-home .portfolio-shot { position: relative; width: 100%; aspect-ratio: 16 / 8; overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.mod-home .portfolio-shot img { width: 100%; display: block; }
.mod-home .portfolio-visit { position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
    background: rgba(255,255,255,.92); color: var(--primary); border-radius: 50px; padding: .45rem 1rem;
    font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all .3s ease; }
.mod-home .portfolio-card:hover .portfolio-visit { opacity: 1; transform: translateY(0); }
.mod-home .portfolio-body { padding: 1.75rem; }
.mod-home .portfolio-body h4 { margin-bottom: .5rem; font-size: 1.2rem; }
.mod-home .portfolio-body p { font-size: .95rem; margin-bottom: 1rem; }
.mod-home .portfolio-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.mod-home .portfolio-tag { font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 50px;
    background: var(--primary-light); color: var(--primary); }

/* ---------- სამუშაო პროცესი ---------- */
.mod-home .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.mod-home .process-steps::before { content: ''; position: absolute; top: 50px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(to right, var(--accent-green), var(--accent-orange), var(--accent-red), var(--accent-blue)); z-index: 0; }
.mod-home .process-step { text-align: center; position: relative; z-index: 1; }
.mod-home .process-number { width: 100px; height: 100px; margin: 0 auto 1.5rem; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; font-size: 2.5rem; font-weight: 800; color: var(--white);
    font-family: 'Sora', sans-serif; box-shadow: var(--shadow); }
.mod-home .process-step:nth-child(1) .process-number { background: var(--accent-green); }
.mod-home .process-step:nth-child(2) .process-number { background: var(--accent-orange); }
.mod-home .process-step:nth-child(3) .process-number { background: var(--accent-red); }
.mod-home .process-step:nth-child(4) .process-number { background: var(--accent-blue); }
.mod-home .process-step h4 { margin-bottom: .75rem; }
.mod-home .process-step p { font-size: .95rem; }

/* ---------- რატომ ჩვენ ---------- */
.mod-home .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mod-home .benefit-card { padding: 2rem; text-align: center; transition: transform .3s ease; }
.mod-home .benefit-card:hover { transform: translateY(-5px); }
.mod-home .benefit-icon { font-size: 3rem; margin-bottom: 1rem; }
.mod-home .benefit-card:nth-child(1) .benefit-icon { color: var(--accent-green); }
.mod-home .benefit-card:nth-child(2) .benefit-icon { color: var(--accent-orange); }
.mod-home .benefit-card:nth-child(3) .benefit-icon { color: var(--accent-red); }
.mod-home .benefit-card:nth-child(4) .benefit-icon { color: var(--accent-blue); }
.mod-home .benefit-card:nth-child(5) .benefit-icon { color: var(--accent-green); }
.mod-home .benefit-card:nth-child(6) .benefit-icon { color: var(--accent-orange); }
.mod-home .benefit-card h4 { margin-bottom: .75rem; font-size: 1.25rem; }

/* ---------- პაკეტები ---------- */
.mod-home .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.mod-home .pricing-card { background: var(--white); padding: 3rem 2.5rem; border-radius: 20px; box-shadow: var(--shadow);
    transition: all .3s ease; text-align: center; position: relative; border-top: 4px solid; }
.mod-home .pricing-card:nth-child(1) { border-top-color: var(--accent-green); }
.mod-home .pricing-card:nth-child(2) { border-top-color: var(--accent-orange); }
.mod-home .pricing-card:nth-child(3) { border-top-color: var(--accent-blue); }
.mod-home .pricing-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); }
.mod-home .pricing-card.featured { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.mod-home .pricing-card.featured * { color: var(--white); }
.mod-home .pricing-badge { display: inline-block; padding: .5rem 1rem; background: var(--accent-orange); color: var(--white);
    border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.mod-home .pricing-card h3 { font-size: 1.75rem; margin-bottom: .5rem; }
.mod-home .pricing-amount { font-size: 3rem; font-weight: 800; font-family: 'Sora', sans-serif; margin: 1.25rem 0; }
.mod-home .pricing-amount span { font-size: 1.25rem; font-weight: 400; }
.mod-home .pricing-features { list-style: none; padding: 0; margin: 1.5rem 0 2rem; text-align: left; }
.mod-home .pricing-features li { padding: .6rem 0; padding-left: 2rem; position: relative; color: var(--text-light); }
.mod-home .pricing-features li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: var(--accent-green); }
.mod-home .pricing-card.featured .pricing-features li::before { color: var(--accent-orange); }

/* ---------- შეკვეთა / კონტაქტი ---------- */
.mod-home .order-section { padding: 6rem 0; background: var(--white); }
.mod-home .order-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.mod-home .contact-item { margin-bottom: 2rem; display: flex; align-items: start; gap: 1.25rem; }
.mod-home .contact-item-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; font-size: 1.4rem; flex-shrink: 0; }
.mod-home .contact-item:nth-child(1) .contact-item-icon { background: rgba(122,192,67,.1); color: var(--accent-green); }
.mod-home .contact-item:nth-child(2) .contact-item-icon { background: rgba(249,174,65,.1); color: var(--accent-orange); }
.mod-home .contact-item:nth-child(3) .contact-item-icon { background: rgba(238,64,53,.1); color: var(--accent-red); }
.mod-home .contact-item:nth-child(4) .contact-item-icon { background: rgba(79,145,205,.1); color: var(--accent-blue); }
.mod-home .contact-item h4 { margin-bottom: .25rem; font-size: 1.1rem; }
.mod-home .contact-item p { margin: 0; font-size: .98rem; }
.mod-home .contact-item a { color: var(--primary); text-decoration: none; font-weight: 600; }
.mod-home .contact-item a:hover { text-decoration: underline; }
.mod-home .order-form { background: var(--bg-light); padding: 3rem; border-radius: 20px; }
.mod-home .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mod-home .form-group { margin-bottom: 1.5rem; }
.mod-home .form-group label { display: block; margin-bottom: .5rem; font-weight: 600; color: var(--text-dark); }
.mod-home .form-group input, .mod-home .form-group select, .mod-home .form-group textarea {
    width: 100%; padding: 1rem; border: 2px solid #e5e7eb; border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; transition: border-color .3s ease; background: var(--white); }
.mod-home .form-group input:focus, .mod-home .form-group select:focus, .mod-home .form-group textarea:focus { outline: none; border-color: var(--primary); }
.mod-home .form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- ბოლო CTA ---------- */
.mod-home .cta-section { padding: 5rem 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center; position: relative; overflow: hidden; }
.mod-home .cta-section::before { content:''; position:absolute; width:500px; height:500px; background:rgba(255,255,255,.05); border-radius:50%; top:-250px; right:-100px; }
.mod-home .cta-content { position: relative; z-index: 1; }
.mod-home .cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.mod-home .cta-section p { color: rgba(255,255,255,.9); font-size: 1.2rem; margin-bottom: 2rem; }
.mod-home .cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* ---------- ანიმაცია ---------- */
@keyframes homeFadeInUp { from { opacity:0; transform: translateY(30px);} to { opacity:1; transform: translateY(0);} }
.mod-home .reveal { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.mod-home .reveal.active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .mod-home .reveal, .mod-home .hero * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- რესპონსივი ---------- */
@media (max-width: 992px) {
    .mod-home h1 { font-size: 2.5rem; }
    .mod-home h2 { font-size: 2rem; }
    .mod-home h3 { font-size: 1.5rem; }
    .mod-home .services-grid { grid-template-columns: repeat(2, 1fr); }
    .mod-home .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .mod-home .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .mod-home .process-steps { grid-template-columns: repeat(2, 1fr); }
    .mod-home .process-steps::before { display: none; }
    .mod-home .pricing-grid { grid-template-columns: 1fr; }
    .mod-home .order-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .mod-home .container { padding: 0 1.5rem; }
    .mod-home .hero { padding: 5rem 0 4rem; }
    .mod-home h1 { font-size: 2rem; }
    .mod-home .hero-stats { gap: 2rem; }
    .mod-home .services-grid, .mod-home .portfolio-grid, .mod-home .benefits-grid, .mod-home .process-steps { grid-template-columns: 1fr; }
    .mod-home .form-row { grid-template-columns: 1fr; }
    .mod-home .order-form { padding: 2rem; }
    .mod-home .service-card { padding: 2rem; }
    .mod-home .hero-buttons, .mod-home .cta-buttons { flex-direction: column; }
    .mod-home .btn { width: 100%; justify-content: center; }
}

/* ---------- მუქი თემა ---------- */
[data-bs-theme="dark"] .mod-home {
    --bg-main-dark: rgba(40,41,40,1); --bg-card-dark: rgba(21,21,21,1);
    --text-dark-mode: #e5e7eb; --text-light-dark-mode: #a1a1aa; --border-dark-mode: rgba(255,255,255,.1);
}
[data-bs-theme="dark"] .mod-home .section-light, [data-bs-theme="dark"] .mod-home .order-section { background: var(--bg-card-dark); }
[data-bs-theme="dark"] .mod-home .section-alt { background: var(--bg-main-dark); }
[data-bs-theme="dark"] .mod-home h1, [data-bs-theme="dark"] .mod-home h2,
[data-bs-theme="dark"] .mod-home h3, [data-bs-theme="dark"] .mod-home h4 { color: var(--text-dark-mode); }
[data-bs-theme="dark"] .mod-home p { color: var(--text-light-dark-mode); }
[data-bs-theme="dark"] .mod-home .service-card,
[data-bs-theme="dark"] .mod-home .portfolio-card,
[data-bs-theme="dark"] .mod-home .pricing-card:not(.featured) {
    background: var(--bg-card-dark); box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.4); }
[data-bs-theme="dark"] .mod-home .service-card:hover,
[data-bs-theme="dark"] .mod-home .portfolio-card:hover,
[data-bs-theme="dark"] .mod-home .pricing-card:not(.featured):hover { box-shadow: 0 2px 6px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.5); }
[data-bs-theme="dark"] .mod-home .portfolio-bar { background: var(--bg-main-dark); border-bottom-color: var(--border-dark-mode); }
[data-bs-theme="dark"] .mod-home .portfolio-url,
[data-bs-theme="dark"] .mod-home .pricing-features li { color: var(--text-light-dark-mode); }
[data-bs-theme="dark"] .mod-home .section-tag { background: rgba(34,72,129,.2); color: #4a90ff; }
[data-bs-theme="dark"] .mod-home .portfolio-tag { background: rgba(34,72,129,.25); color: #4a90ff; }
[data-bs-theme="dark"] .mod-home .service-meta,
[data-bs-theme="dark"] .mod-home .contact-item a { color: #4a90ff; }
[data-bs-theme="dark"] .mod-home .order-form { background: var(--bg-main-dark); }
[data-bs-theme="dark"] .mod-home .form-group input,
[data-bs-theme="dark"] .mod-home .form-group select,
[data-bs-theme="dark"] .mod-home .form-group textarea { background: var(--bg-card-dark); border-color: var(--border-dark-mode); color: var(--text-dark-mode); }
[data-bs-theme="dark"] .mod-home .form-group label { color: var(--text-dark-mode); }
[data-bs-theme="dark"] .mod-home .btn-outline { color: #4a90ff; border-color: #4a90ff; }
[data-bs-theme="dark"] .mod-home .btn-outline:hover { background: #4a90ff; color: #fff; }
