/* ============================================
   VARIABLES & RESET
   ============================================ */
/* Font display swap for Google Fonts */
@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
    src: local('Playfair Display');
}

@font-face {
    font-family: 'Open Sans';
    font-display: swap;
    src: local('Open Sans');
}

:root {
    --color-cream: #FDF6EC;
    --color-cream-dark: #F5E6D0;
    --color-navy: #1A2B4A;
    --color-navy-light: #2A3B5A;
    --color-gold: #C8A97E;
    --color-gold-light: #D4BC94;
    --color-gold-dark: #B08D5F;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-white: #FFFFFF;
    --color-error: #E74C3C;
    --color-success: #27AE60;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(26, 43, 74, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 43, 74, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 43, 74, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s ease;
    --max-width: 1200px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   UTILITY
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--color-white);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    margin-right: 10px;
    vertical-align: middle;
}

.section-header.light .section-tag {
    color: var(--color-white);
}

.section-header.light .section-tag::before {
    background: var(--color-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 4px 16px rgba(200, 169, 126, 0.4);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 169, 126, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 236, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-navy);
    min-height: 48px;
    padding: 8px;
}

.logo-icon {
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
    background: rgba(200, 169, 126, 0.1);
}

.nav-cta {
    display: none;
    padding: 10px 24px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--color-gold-dark);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-description strong {
    color: var(--color-navy);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.4;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* ============================================
   PROBLEMS
   ============================================ */
.problems {
    padding: 100px 0;
    background: var(--color-white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--color-cream);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 169, 126, 0.3);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   METHODS PREVIEW
   ============================================ */
.methods-preview {
    padding: 100px 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.methods-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.method-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 36px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.method-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.method-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.5;
    margin-bottom: 20px;
    line-height: 1;
}

.method-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.method-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.method-link {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.method-link:hover {
    color: var(--color-gold-light);
    padding-left: 8px;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    padding: 100px 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 20px;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-navy);
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    margin: 24px 0 32px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.about-list .check {
    width: 24px;
    height: 24px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--color-white);
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 400px;
    scroll-snap-align: start;
    background: var(--color-cream);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 169, 126, 0.2);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-navy);
}

.author-info {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-cream);
    border: 1px solid rgba(200, 169, 126, 0.3);
    color: var(--color-navy);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.testimonial-btn:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info .section-tag.light {
    color: var(--color-gold-light);
}

.contact-info .section-title.light {
    color: var(--color-white);
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.contact-value {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition);
}

.contact-value:hover {
    color: var(--color-gold);
}

.telegram-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.telegram-channel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
}

.tg-icon {
    font-size: 1.3rem;
}

.tg-arrow {
    margin-left: auto;
    color: var(--color-gold);
    transition: transform var(--transition);
}

.telegram-channel:hover .tg-arrow {
    transform: translateX(4px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
}

.form-group .required {
    color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #E0D5C5;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-cream);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-gold);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    cursor: pointer;
}

.error-message {
    font-size: 0.8rem;
    color: var(--color-error);
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--color-error);
}

.btn-loader {
    display: none;
}

.btn-loading .btn-text {
    display: none;
}

.btn-loading .btn-loader {
    display: inline;
}

.form-success {
    text-align: center;
    padding: 24px;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-success);
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-success);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--color-cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid rgba(200, 169, 126, 0.2);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform var(--transition);
    font-weight: 300;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px 24px;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
    display: block;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-contact a {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .about-grid {
        gap: 50px;
    }

    .contact-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 8px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-badge {
        left: 10px;
        bottom: 10px;
        padding: 12px 16px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .problems,
    .methods-preview,
    .about-preview,
    .testimonials,
    .contact-section,
    .faq {
        padding: 60px 0;
    }

    .problem-card,
    .method-card {
        padding: 28px 24px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .faq-item summary {
        padding: 20px 24px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 24px 20px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@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;
    }
}

/* ============================================
   FOCUS STYLES (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .hero-scroll,
    .testimonials-nav,
    .btn,
    .contact-form-wrapper,
    .footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}


/* Footer headings fix for accessibility */
.footer-nav .footer-heading,
.footer-contact .footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 20px;
}


/* ============================================
   ARTICLE STYLES
   ============================================ */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-navy);
    margin: 48px 0 20px;
    line-height: 1.3;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin: 32px 0 16px;
}

.article-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    color: var(--color-text-light);
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: var(--color-navy);
    font-weight: 600;
}

.article-lead {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-navy);
    line-height: 1.6;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(200, 169, 126, 0.3);
}

.article-cta {
    background: var(--color-cream);
    padding: 40px;
    border-radius: var(--radius-md);
    margin: 48px 0;
    text-align: center;
    border: 1px solid rgba(200, 169, 126, 0.3);
}

.article-cta h3 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    margin-bottom: 12px;
    margin-top: 0;
}

.article-cta p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: left;
    border: 1px solid rgba(200, 169, 126, 0.3);
}

.compare-table th {
    background: var(--color-navy);
    color: var(--color-white);
    font-weight: 600;
}

.compare-table td {
    background: var(--color-cream);
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-cta {
        padding: 28px 20px;
    }

    .compare-table {
        font-size: 0.85rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px;
    }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 0;
}

/* Telegram Float Button */
.telegram-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0088cc, #0099e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: float-pulse 2s infinite;
}

.telegram-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.5);
}

.telegram-float svg {
    width: 28px;
    height: 28px;
}

@keyframes float-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(0, 136, 204, 0.6); }
}

@media (max-width: 768px) {
    .telegram-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
    .telegram-float svg {
        width: 24px;
        height: 24px;
    }
}
