*, *::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;
    --slate-950: #020617;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--teal-700);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus {
    top: 1rem;
}

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

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--slate-900);
    font-weight: 700;
    font-size: 1.25rem;
}
.logo-icon {
    color: var(--teal-600);
}
.logo-text {
    letter-spacing: -0.02em;
}

/* NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-menu a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    position: relative;
    transition: background 0.3s;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    left: 0;
    transition: transform 0.3s;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-menu a {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-sans);
}
.btn-primary {
    background: var(--teal-600);
    color: white;
    border-color: var(--teal-600);
}
.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}
.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}
.btn-outline-teal {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-600);
}
.btn-outline-teal:hover {
    background: var(--teal-50);
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 5rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 30%, var(--slate-700) 70%, var(--slate-900) 100%);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(20,184,166,0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(15,118,110,0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(2,6,23,0.2) 0%, transparent 70%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--teal-200);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--slate-300);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-300);
    font-size: 0.9375rem;
    font-weight: 500;
}
.trust-item svg {
    color: var(--teal-400);
}

/* SECTION STYLES */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-600);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* SERVICES */
.services {
    padding: 6rem 0;
    background: white;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: var(--teal-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: white;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: white;
}
.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.625rem;
}
.service-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ABOUT */
.about {
    padding: 6rem 0;
    background: var(--slate-50);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}
.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 200px;
    height: 200px;
    background: var(--teal-600);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.15;
}
.about-content {
    max-width: 480px;
}
.about-text {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--teal-700);
    line-height: 1;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image img { height: 400px; }
    .about-content { max-width: 100%; }
}

/* PROCESS */
.process {
    padding: 6rem 0;
    background: white;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-200), var(--teal-400), var(--teal-200));
    z-index: 0;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-700);
    background: white;
    border: 2px solid var(--teal-300);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.process-step:hover .step-number {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: white;
}
.step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}
.step-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .process-steps::before { display: none; }
}
@media (max-width: 500px) {
    .process-steps { grid-template-columns: 1fr; }
}

/* TESTIMONIALS */
.testimonials {
    padding: 6rem 0;
    background: var(--slate-900);
}
.testimonials .section-tag { color: var(--teal-400); }
.testimonials .section-title { color: white; }
.testimonials .section-subtitle { color: var(--slate-400); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.testimonial-quote {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--teal-700);
    opacity: 0.3;
}
.testimonial-text {
    font-size: 1rem;
    color: var(--slate-300);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-700);
    border-radius: 50%;
    color: var(--teal-200);
    flex-shrink: 0;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-weight: 700;
    color: white;
    font-size: 0.9375rem;
}
.author-location {
    font-size: 0.8125rem;
    color: var(--slate-400);
}

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* CTA */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 50%, var(--slate-700) 100%);
    position: relative;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.cta-text {
    font-size: 1.125rem;
    color: var(--teal-200);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CONTACT */
.contact {
    padding: 6rem 0;
    background: white;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info {
    max-width: 440px;
}
.contact-text {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    margin-bottom: 0.25rem;
}
.contact-value {
    font-size: 1rem;
    color: var(--slate-800);
    font-weight: 500;
}
.contact-value a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-value a:hover {
    color: var(--teal-500);
    text-decoration: underline;
}

/* FORM */
.contact-form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}
.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    color: var(--teal-800);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-info { max-width: 100%; }
}

/* FOOTER */
.footer {
    background: var(--slate-950);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--slate-800);
}
.logo-light {
    color: white;
    margin-bottom: 1rem;
}
.footer-desc {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}
.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-300);
    margin-bottom: 1.25rem;
}
.footer-links ul,
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-links a,
.footer-contact a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: var(--teal-400);
}
.footer-contact span {
    color: var(--slate-400);
    font-size: 0.9375rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--slate-500);
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* SCROLL REVEAL */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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