*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--teal-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.loader-icon {
    animation: pulse-loader 1.2s ease-in-out infinite;
}
@keyframes pulse-loader {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}
.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: #ffffff;
    color: var(--slate-900);
    border-color: #ffffff;
}
.btn-outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-outline-dark:hover {
    background: var(--slate-50);
    border-color: var(--teal-700);
    color: var(--teal-700);
}
.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}
.btn-block {
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
}
.text-teal { color: var(--teal-700); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-700);
    transition: width 0.25s ease;
}
.nav-link:hover { color: var(--teal-700); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--slate-700);
}
.menu-icon-close { display: none; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--slate-900);
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 118, 110, 0.7) 50%,
        rgba(15, 23, 42, 0.8) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--teal-200);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}
.hero-badge svg { opacity: 0.9; }

.hero-headline {
    font-size: clamp(2.75rem, 6vw, 5rem);
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.08;
    font-weight: 700;
}
.text-teal-light { color: var(--teal-300); }

.hero-subheadline {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.hero-subheadline strong {
    color: #ffffff;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    backdrop-filter: blur(8px);
    max-width: 520px;
}
.hero-stat {
    flex: 1;
    text-align: center;
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Section Common */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--slate-900);
}
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.7;
}
.section-header-light { margin-bottom: 64px; }
.section-tag-light { color: var(--teal-300); }
.section-title-light { color: #ffffff; }
.section-subtitle-light { color: rgba(255,255,255,0.7); }
.section-title-dark { color: var(--slate-900); }

/* Services */
.services {
    padding: 100px 0;
    background: var(--slate-50);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-700);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-200);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--teal-700);
    color: #ffffff;
}
.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--slate-900);
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.65;
}

/* About */
.about {
    padding: 100px 0;
    background: #ffffff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}
.about-image-accent img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-lg);
}
.about-experience-badge {
    background: var(--teal-700);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.about-content { padding-left: 8px; }
.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 28px 0 32px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}
.feature-check {
    color: var(--teal-700);
    flex-shrink: 0;
}
.about-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Why Us */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--teal-900) 100%);
    position: relative;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.why-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}
.why-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 16px;
}
.why-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.why-card p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--slate-50);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-text {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 36px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-detail {
    display: flex;
    gap: 16px;
}
.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-700);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-900);
    margin-bottom: 4px;
}
.contact-detail p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
}
.contact-detail a {
    color: var(--teal-700);
    text-decoration: none;
    font-weight: 600;
}
.contact-detail a:hover { text-decoration: underline; }

.contact-form-wrap {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
}
.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--slate-900);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-600);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success svg { margin-bottom: 16px; }
.form-success h4 {
    font-size: 1.375rem;
    color: var(--slate-900);
    margin-bottom: 8px;
}
.form-success p {
    color: var(--slate-500);
    font-size: 0.9375rem;
}

/* Map */
.map-section {
    height: 400px;
    border-top: 4px solid var(--teal-700);
}
.map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--slate-900);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 280px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .nav-logo-text { color: #ffffff; }
.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--teal-400); }
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9375rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.55);
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: 0.7; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
}
.footer-bottom a:hover { color: var(--teal-400); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-700);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}
.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .menu-icon-open { display: block; }
    .menu-icon-close { display: none; }
    .nav-menu.open .menu-icon-open { display: none; }
    .nav-menu.open .menu-icon-close { display: block; }
    .nav-cta { width: 100%; text-align: center; justify-content: center; }

    .hero-headline { font-size: clamp(2.25rem, 8vw, 3.5rem); }
    .hero-stats { flex-direction: column; gap: 16px; padding: 24px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .hero-scroll-indicator { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image-accent { bottom: -24px; right: 0; }
    .about-image-accent img { width: 140px; height: 140px; }
    .about-content { padding-left: 0; }
    .about-features { grid-template-columns: 1fr; }

    .why-grid { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { width: 100%; }
    .about-image-accent { position: relative; bottom: 0; right: 0; flex-direction: row; margin-top: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
}
