/* ===== CSS Custom Properties ===== */
:root {
    --terracotta: #C65D3E;
    --terracotta-dark: #A84B30;
    --terracotta-light: #D4785C;
    --sand: #E8D5C4;
    --sand-light: #F5EDE5;
    --sand-dark: #C4A882;
    --neutral-900: #1A1A1A;
    --neutral-800: #2D2D2D;
    --neutral-700: #404040;
    --neutral-600: #555555;
    --neutral-500: #6B6B6B;
    --neutral-400: #888888;
    --neutral-300: #B0B0B0;
    --neutral-200: #D4D4D4;
    --neutral-100: #ECECEC;
    --neutral-50: #F7F7F7;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::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(--neutral-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-100);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--neutral-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-800);
    border-color: var(--neutral-200);
}

.btn-outline:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-white {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--sand-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-nav {
    background: var(--terracotta);
    color: var(--white);
    padding: 10px 20px;
    font-size: 13px;
}

.btn-nav:hover {
    background: var(--terracotta-dark);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 0;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--white) 50%, var(--sand) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--sand-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terracotta);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--terracotta);
    position: relative;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    padding: 20px;
}

.hero-card-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-card-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.hero-card-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.hero-card-1 {
    bottom: -10px;
    left: -20px;
    animation-delay: 0s;
}

.hero-card-2 {
    top: -10px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--neutral-500);
    font-weight: 500;
    margin-top: 4px;
}

/* ===== Stats Bar ===== */
.hero-stats {
    background: var(--neutral-900);
    padding: 32px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--terracotta-light);
}

.stat-text {
    font-size: 13px;
    color: var(--neutral-400);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--neutral-700);
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--neutral-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--terracotta-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--sand-light);
}

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

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-image-accent img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

.about-content .section-tag {
    text-align: left;
}

.about-lead {
    font-size: 17px;
    color: var(--neutral-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-body {
    font-size: 15px;
    color: var(--neutral-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
}

.about-feature svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.why-card:hover {
    border-color: var(--sand-dark);
    box-shadow: var(--shadow-md);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.why-card:hover .why-number {
    color: var(--terracotta-light);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    color: var(--neutral-400);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-lead {
    font-size: 16px;
    color: var(--neutral-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--neutral-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--terracotta);
}

.contact-item a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    font-size: 14px;
    color: var(--neutral-500);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--neutral-800);
    background: var(--neutral-50);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(198, 93, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--terracotta);
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 14px;
    color: var(--neutral-500);
}

/* ===== Footer ===== */
.footer {
    background: var(--neutral-900);
    padding: 60px 0 0;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 14px;
    color: var(--neutral-400);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--neutral-400);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact p {
    font-size: 14px;
    color: var(--neutral-400);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--terracotta-light);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--neutral-500);
}

.footer-bottom a {
    color: var(--terracotta-light);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ===== Mobile Menu ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        max-width: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--neutral-100);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 0 0;
    }
    
    .hero-grid {
        padding-bottom: 40px;
    }
    
    .hero-card-float {
        display: none;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-image-main img {
        height: 400px;
    }
    
    .about-image-accent {
        right: 0;
        bottom: -20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
