/* ========================================
   Darcodai-Riad - Styles de la Page d'Atterrissage
   ======================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-50: #fef7ee;
    --primary-100: #fdecd3;
    --primary-200: #fad5a5;
    --primary-300: #f6b86d;
    --primary-400: #f19132;
    --primary-500: #ed7512;
    --primary-600: #de5a08;
    --primary-700: #b84209;
    --primary-800: #93350f;
    --primary-900: #772e10;
    --blue-morocco: #1e40af;
    --blue-chefchaouen: #3b82f6;
    --terracotta: #c2410c;
    --gold: #d97706;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-900);
    background: linear-gradient(to bottom, var(--primary-50), var(--white));
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--primary-600));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(194, 65, 12, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-green {
    background: var(--green-600);
    color: var(--white);
}

.btn-green:hover {
    background: var(--green-700);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--terracotta);
    color: var(--terracotta);
}

.btn-outline:hover {
    background: var(--primary-50);
}

.btn-white {
    background: var(--white);
    color: var(--primary-800);
}

.btn-white:hover {
    background: var(--primary-50);
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary-800);
}

.badge-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--primary-800);
}

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section { padding: 6rem 0; }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.5rem; }
}

.section-subtitle {
    text-align: center;
    color: var(--primary-800);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== MOROCCAN PATTERN ===== */
.moroccan-pattern {
    background-image: 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='%23c2410c' fill-opacity='0.05'%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");
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-100);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-img {
    height: 3rem;
    width: auto;
}

.logo-divider {
    display: none;
    width: 1px;
    height: 2rem;
    background: var(--primary-200);
}

@media (min-width: 640px) {
    .logo-divider { display: block; }
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-900);
    font-family: 'Playfair Display', Georgia, serif;
}

.logo-text span {
    color: var(--terracotta);
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav a {
    color: var(--primary-800);
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--terracotta);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-800);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
    .burger-menu {
        display: none;
    }
}

.mobile-nav {
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
    border-bottom: 1px solid var(--primary-100);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--primary-800);
    font-weight: 500;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--primary-100);
    transition: color 0.2s;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: var(--terracotta);
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
}

.whatsapp-desktop {
    display: none;
}

@media (min-width: 768px) {
    .whatsapp-desktop {
        display: inline-flex;
    }
}

/* ===== HERO ===== */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--primary-50), rgba(254, 247, 238, 0.9), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-text h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
    .hero-text h1 { font-size: 4rem; }
}

.hero-text h1 span {
    color: var(--terracotta);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--primary-800);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-800);
}

.hero-feature svg {
    color: var(--green-600);
    width: 1.25rem;
    height: 1.25rem;
}

.dashboard-card {
    background: linear-gradient(135deg, var(--primary-200), var(--gold));
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative;
}

.dashboard-inner {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-weight: 600;
    color: var(--primary-900);
}

.dashboard-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green-600);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-stat:last-child {
    margin-bottom: 0;
}

.stat-amber {
    background: rgba(254, 247, 238, 1);
}

.stat-green {
    background: rgba(240, 253, 244, 1);
}

.stat-blue {
    background: rgba(239, 246, 255, 1);
}

.stat-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.stat-icon-amber {
    color: var(--terracotta);
}

.stat-icon-green {
    color: var(--green-600);
}

.stat-icon-blue {
    color: var(--blue-morocco);
}

.stat-label {
    margin-left: 0.75rem;
    color: var(--primary-800);
}

.stat-value {
    font-weight: 700;
    margin-left: auto;
}

.floating-star {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--white);
    border-radius: 9999px;
    padding: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-mosque {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--white);
    border-radius: 9999px;
    padding: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.stat-desc {
    color: var(--primary-200);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--primary-100);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border-color: var(--primary-300);
    transform: translateY(-5px);
}

.service-image {
    height: 12rem;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.service-icon-wrapper {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.service-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--terracotta);
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.service-desc {
    color: var(--primary-800);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-800);
    margin-bottom: 0.5rem;
}

.service-features svg {
    width: 1rem;
    height: 1rem;
    color: var(--green-600);
    flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    background: var(--primary-50);
}

.steps-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    position: relative;
}

.step-number {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-200);
    position: absolute;
    top: -2rem;
    left: 0;
    user-select: none;
    z-index: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.step-content {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--primary-100);
    padding: 1.5rem;
    margin-top: 2rem;
}

.step-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--terracotta);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.step-desc {
    color: var(--primary-800);
    opacity: 0.7;
}

/* ===== DESTINATIONS ===== */
.destinations-section {
    background: linear-gradient(135deg, var(--blue-morocco), #1e3a8a);
    color: var(--white);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.destination-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.destination-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.destination-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destination-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke: rgba(255, 255, 255, 0.9);
}

.destination-name {
    font-weight: 600;
    font-size: 1.125rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.destination-count {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card {
    position: relative;
    height: 16rem;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-200), var(--gold));
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--white);
}

.portfolio-type {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.portfolio-name {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
}

.portfolio-result {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-700);
    border-radius: 1rem;
    padding: 1.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    font-style: italic;
    color: var(--primary-100);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: var(--terracotta);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 600;
}

.author-role {
    font-size: 0.875rem;
    color: var(--primary-300);
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    border-radius: 1rem;
    padding: 2rem;
}

.pricing-default {
    background: var(--primary-800);
    color: var(--white);
}

.pricing-popular {
    background: var(--white);
    color: var(--primary-900);
    border: 2px solid var(--terracotta);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@media (min-width: 768px) {
    .pricing-popular {
        margin-top: -1rem;
        margin-bottom: -1rem;
    }
}

.popular-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--terracotta), var(--gold));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.pricing-price {
    margin-bottom: 0.5rem;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
}

.pricing-price .period {
    opacity: 0.7;
}

.pricing-desc {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pricing-features svg {
    width: 1.25rem;
    height: 1.25rem;
}

.pricing-default .pricing-features svg {
    color: #86efac;
}

.pricing-popular .pricing-features svg {
    color: var(--green-600);
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--primary-50);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--primary-100);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--terracotta);
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-800);
    opacity: 0.7;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        flex-direction: row;
    }
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .contact-info h2 { font-size: 2.5rem; }
}

.contact-info > p {
    color: var(--primary-800);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--primary-100);
    transition: box-shadow 0.2s;
}

.contact-method:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.contact-icon-green {
    background: rgba(240, 253, 244, 1);
    color: var(--green-600);
}

.contact-icon-amber {
    background: var(--primary-100);
    color: var(--terracotta);
}

.contact-icon-blue {
    background: rgba(239, 246, 255, 1);
    color: var(--blue-morocco);
}

.contact-icon-purple {
    background: rgba(243, 232, 255, 1);
    color: #9333ea;
}

.contact-label {
    font-weight: 600;
    color: var(--primary-900);
}

.contact-value {
    color: var(--terracotta);
}

.contact-form {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--primary-200);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-800);
    margin-bottom: 0.25rem;
}

.form-label .required {
    color: var(--terracotta);
    margin-left: 0.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--primary-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--terracotta);
    background-color: rgba(194, 65, 12, 0.05);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

.char-counter {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: var(--terracotta);
}

.field-error {
    display: block;
    font-size: 0.75rem;
    color: var(--terracotta);
    margin-top: 0.25rem;
}

.success-message, .error-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.5s ease;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Honeypot - hidden field for anti-spam */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 3rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-name {
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.footer-desc {
    color: var(--primary-200);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--primary-300);
    font-size: 0.875rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--primary-200);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-200);
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--primary-700);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--primary-300);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: var(--primary-300);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== CAPTCHA STYLES ===== */
.captcha-group {
    margin-bottom: 1.5rem;
}

.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.captcha-box {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    border: 1px solid var(--primary-200);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--white);
}

.captcha-box canvas {
    border-radius: 0.25rem;
    display: block;
}

.captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    background: var(--primary-100);
    border: none;
    border-left: 1px solid var(--primary-200);
    cursor: pointer;
    color: var(--terracotta);
    transition: all 0.2s;
    min-width: 44px;
}

.captcha-refresh:hover {
    background: var(--primary-200);
    color: var(--primary-700);
}

.captcha-input {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-align: center;
}

.captcha-input::placeholder {
    letter-spacing: 0;
    font-size: 0.875rem;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

/* ===== CHAT WIDGET STYLES ===== */
.chat-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--terracotta), var(--gold));
    color: var(--white);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(194, 65, 12, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
}

.chat-window {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 350px;
    max-width: calc(100vw - 2rem);
    height: 500px;
    max-height: calc(100vh - 10rem);
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--terracotta), var(--gold));
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.25rem;
}

.chat-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
}

.chat-message.assistant {
    background: var(--primary-100);
    color: var(--primary-900);
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--terracotta), var(--gold));
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.chat-message a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

.chat-message.assistant a {
    color: var(--terracotta);
}

.chat-message.user a {
    color: #fff;
}

.chat-message a:hover {
    opacity: 0.8;
}

.chat-message strong, .chat-message b {
    font-weight: 700;
}

.chat-message em, .chat-message i {
    font-style: italic;
}

.chat-message p {
    margin-bottom: 0.5rem;
}

.chat-message p:last-child {
    margin-bottom: 0;
}

.chat-message ul, .chat-message ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.chat-message li {
    margin-bottom: 0.25rem;
}

.chat-message br {
    display: block;
    content: "";
    margin: 0.25rem 0;
}

.chat-message.assistant.typing {
    opacity: 0.7;
}

.chat-input-wrapper {
    padding: 1rem;
    border-top: 1px solid var(--primary-100);
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--primary-200);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--terracotta);
}

.chat-send {
    background: linear-gradient(135deg, var(--terracotta), var(--gold));
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send:hover {
    opacity: 0.9;
}

.chat-send svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== CHAT DISCLAIMER ===== */
.chat-disclaimer {
    text-align: center;
    padding: 0.4rem 1rem;
    background: var(--white);
    color: #9ca3af;
    font-size: 0.65rem;
    opacity: 0.8;
    font-style: italic;
    border-top: 1px solid var(--primary-50);
    flex-shrink: 0;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border: 1px solid var(--primary-200);
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-50);
    border-color: var(--terracotta);
}

.scroll-top svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--terracotta);
}

@media (max-width: 767px) {
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
    }
    .dashboard-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .contact-grid {
        flex-direction: column;
    }
}