/* ================================================
   LINGUAPLUS - Main Stylesheet
   Language School Landing Page
   ================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #2D6A4F;
    --primary-light: #40916C;
    --primary-dark: #1B4332;
    --accent: #F77F00;
    --accent-light: #FCBF49;
    --text-dark: #1A1A2E;
    --text-body: #4A4A6A;
    --text-light: #8888AA;
    --bg-white: #FFFFFF;
    --bg-light: #F8FBF9;
    --bg-section: #EDF7F2;
    --border-color: #D8EDDF;
    --shadow-sm: 0 2px 8px rgba(45, 106, 79, 0.08);
    --shadow-md: 0 8px 30px rgba(45, 106, 79, 0.15);
    --shadow-lg: 0 20px 60px rgba(45, 106, 79, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
}

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

/* --- Section Defaults --- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-section);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--text-dark);
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text-body);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
}

.navbar.scrolled .nav-link:hover {
    background: var(--bg-section);
    color: var(--primary);
}

.nav-link.nav-cta {
    background: var(--accent);
    color: var(--bg-white) !important;
    font-weight: 700;
    padding: 10px 20px;
}

.nav-link.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?w=1600&q=80') center/cover no-repeat;
    opacity: 0.15;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(247, 127, 0, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: var(--bg-white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-highlight {
    color: var(--accent-light);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(247, 127, 0, 0.4);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(247, 127, 0, 0.5);
    color: var(--bg-white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-section {
    background: var(--bg-white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge-float {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--accent);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.level-badge {
    display: inline-block;
    background: var(--bg-section);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

/* ================================================
   BENEFITS SECTION
   ================================================ */
.benefits-section {
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.benefit-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}

.benefit-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================================
   PROCESS SECTION
   ================================================ */
.process-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.process-section .section-tag {
    background: rgba(255,255,255,0.15);
    color: var(--accent-light);
    border-color: rgba(255,255,255,0.2);
}

.process-section .section-title {
    color: var(--bg-white);
}

.process-section .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 16px;
}

.process-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.4);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.process-connector {
    flex: 0 0 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 44px;
    position: relative;
}

.process-connector::after {
    content: '›';
    position: absolute;
    right: -8px;
    top: -12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-body);
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-section);
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.author-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.testimonials-rating {
    text-align: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.rating-stars {
    color: var(--accent);
    font-size: 1.4rem;
    letter-spacing: 4px;
}

.rating-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.rating-platforms {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.platform {
    padding: 8px 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-section {
    background: var(--bg-white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    background: var(--bg-white);
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.faq-item.active .faq-question {
    background: var(--bg-section);
    color: var(--primary);
}

.faq-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--text-light);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ================================================
   GALLERY SECTION
   ================================================ */
.gallery-section {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
}

.gallery-item.gallery-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
    background: var(--bg-white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-map-placeholder {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
}

.contact-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7);
}

.map-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.5);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1rem;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border-color);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.form-group input.error,
.form-group select.error {
    border-color: #E53E3E;
}

.field-error {
    font-size: 0.8rem;
    color: #E53E3E;
    min-height: 16px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-body);
    flex-wrap: wrap;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--primary);
}

.form-checkbox label {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-body);
}

.btn-submit {
    background: var(--primary);
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.4);
}

/* ================================================
   FORM SUCCESS MESSAGE
   ================================================ */
#formSuccess {
    display: none;
    background: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
    border: 2px solid #48BB78;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #48BB78;
    color: white;
    font-size: 1.8rem;
    border-radius: 50%;
    margin-bottom: 20px;
    font-weight: 700;
}

#formSuccess h3 {
    font-size: 1.4rem;
    color: #276749;
    font-weight: 800;
    margin-bottom: 10px;
}

#formSuccess p {
    color: #2F855A;
    font-size: 0.95rem;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.75);
}

.footer-top {
    padding: 80px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: rgba(255,255,255,0.8);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.footer-contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.6);
}

.footer-contact-item a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: rgba(255,255,255,0.8);
}

/* ================================================
   COOKIE CONSENT BANNER
   ================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--text-dark);
    border-top: 3px solid var(--primary);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cookie-banner-text strong {
    display: block;
    color: var(--bg-white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn-customize {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
}

.cookie-btn-customize:hover {
    border-color: rgba(255,255,255,0.6);
    color: var(--bg-white);
}

.cookie-btn-reject {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.2);
    color: var(--bg-white);
}

.cookie-btn-accept {
    background: var(--primary);
    color: var(--bg-white);
}

.cookie-btn-accept:hover {
    background: var(--primary-light);
}

.cookie-custom-panel {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-toggles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.cookie-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    gap: 12px;
}

.cookie-toggle-item strong {
    display: block;
    color: var(--bg-white);
    font-size: 0.85rem;
}

.cookie-toggle-item p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.cookie-toggle {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-light);
    flex-shrink: 0;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-badge-float {
        right: 16px;
        bottom: 16px;
    }

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

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

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

    .gallery-item.gallery-large {
        grid-column: span 2;
    }

    .process-timeline {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        min-width: 150px;
        max-width: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 32px;
        box-shadow: -5px 0 40px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 4px;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        color: var(--text-body);
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-link:hover {
        background: var(--bg-section);
        color: var(--primary);
    }

    .nav-link.nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

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

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

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

    .gallery-item.gallery-large {
        grid-column: span 1;
    }

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

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 16px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .testimonials-rating {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .about-badge-float {
        display: none;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }
}