/* ===== Reset & Base ===== */
*, *::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-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --transition: 0.3s ease;
}

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;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== Typography ===== */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
}

em {
    font-style: italic;
    color: var(--teal-700);
}

/* ===== Section Labels ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 520px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 64px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--slate-900);
    border-color: #fff;
}

.btn-outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-outline-dark:hover {
    background: var(--slate-800);
    color: #fff;
    border-color: var(--slate-800);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.nav-logo .logo-icon {
    color: var(--teal-400);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--slate-300);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: #fff;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-400);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--teal-600);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--teal-500);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--slate-900);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--slate-200);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--teal-400);
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--teal-400);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.82) 0%,
        rgba(15, 23, 42, 0.70) 50%,
        rgba(13, 148, 136, 0.35) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 28px;
}

.tag-line {
    width: 40px;
    height: 2px;
    background: var(--teal-400);
    border-radius: 2px;
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-headline em {
    color: var(--teal-300);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--slate-300);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--slate-300);
}

.hero-detail svg {
    color: var(--teal-400);
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--teal-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ===== Services ===== */
.services {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 32px;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: var(--teal-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal-600);
    color: #fff;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 120px 0;
    background: #fff;
}

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

.about-image {
    position: relative;
}

.about-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--teal-600);
    color: #fff;
    padding: 20px 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35);
}

.about-accent .accent-number {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.about-accent .accent-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
}

.about-content {
    max-width: 480px;
}

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

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0 40px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-700);
}

.value-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ===== Gallery ===== */
.gallery {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #fff;
}

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

.gallery-item--large img {
    min-height: 520px;
}

.gallery-item--wide {
    grid-column: span 7;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    grid-column: span 4;
}

.gallery-item:not(.gallery-item--large) img {
    min-height: 240px;
}

/* ===== Quote Section ===== */
.quote-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.quote-bg {
    position: absolute;
    inset: 0;
}

.quote-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 148, 136, 0.88) 0%,
        rgba(15, 118, 110, 0.92) 100%
    );
}

.quote-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.quote-mark {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.quote-content blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    font-style: italic;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 28px;
}

.quote-author {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal-200);
    letter-spacing: 0.05em;
}

/* ===== Contact ===== */
.contact {
    padding: 120px 0;
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-label {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--teal-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--slate-50);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--slate-200);
}

.form-title {
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: #fff;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    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-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--teal-600);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--slate-900);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo .logo-icon {
    color: var(--teal-400);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--slate-400);
    margin-top: 8px;
    max-width: 240px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--slate-500);
}

.footer-bottom a {
    color: var(--slate-400);
    transition: var(--transition);
}

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

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

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

    .about-layout {
        gap: 48px;
    }

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

    .gallery-item--wide {
        grid-column: span 6;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-accent {
        right: 0;
        bottom: -16px;
    }

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

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

    .gallery-item--large img {
        min-height: 300px;
    }

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

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 1;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .services,
    .about,
    .gallery,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

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

    .contact-form-wrapper {
        padding: 24px;
    }
}
