/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal-900: #042f2f;
    --teal-800: #0a3d3d;
    --teal-700: #0D4F4F;
    --teal-600: #1a6b6b;
    --teal-500: #237a7a;
    --teal-100: #d1e8e8;
    --teal-50:  #e8f4f4;
    
    --slate-950: #0a0f0f;
    --slate-900: #0f1a1a;
    --slate-800: #1a2a2a;
    --slate-700: #2d3f3f;
    --slate-600: #4a5f5f;
    --slate-500: #6b8282;
    --slate-400: #94a8a8;
    --slate-200: #c8d6d6;
    --slate-100: #e2ecec;
    --slate-50:  #f0f5f5;
    --slate-25:  #f7fafa;
    --slate-0:   #fbfdfd;
    
    --gold-500: #C9A96E;
    --gold-400: #d4b87e;
    --gold-300: #e0c996;
    --gold-600: #b8944d;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm:  0 1px 2px rgba(10,15,15,0.06);
    --shadow-md:  0 4px 16px rgba(10,15,15,0.08);
    --shadow-lg:  0 8px 32px rgba(10,15,15,0.12);
    --shadow-xl:  0 16px 48px rgba(10,15,15,0.16);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
address { font-style: normal; }

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

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

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold-500);
    color: var(--slate-900);
}
.btn-gold:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-teal {
    background: var(--teal-700);
    color: #fff;
}
.btn-teal:hover {
    background: var(--teal-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-teal {
    background: transparent;
    color: var(--teal-700);
    border: 1.5px solid var(--teal-700);
}
.btn-outline-teal:hover {
    background: var(--teal-700);
    color: #fff;
}

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

/* ── Header ─────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251,253,253,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13,79,79,0.08);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(251,253,253,0.97);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-icon {
    color: var(--gold-500);
}

.logo-light { color: #fff; }

/* ── Navigation ─────────────────────────────────── */
.nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--slate-600);
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}

.nav-list a:hover { color: var(--teal-700); }

.nav-cta {
    background: var(--teal-700) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 500 !important;
    margin-left: 8px;
}
.nav-cta:hover { background: var(--teal-600) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent !important;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(4,47,47,0.92) 0%,
        rgba(13,79,79,0.88) 40%,
        rgba(26,107,107,0.80) 70%,
        rgba(35,122,122,0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.accent-line {
    width: 48px;
    height: 1px;
    background: var(--gold-500);
}

.accent-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--slate-200);
}

.hero-headline .gold {
    color: var(--gold-500);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

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

.service-card {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-700), var(--gold-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

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

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

.service-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--slate-900);
}

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

/* ── About ──────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.about-image { position: relative; }

.about-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-accent-box {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 96px;
    height: 96px;
    background: var(--gold-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-900);
    z-index: 1;
}

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

.about-content .section-title { margin-bottom: 24px; }

.about-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-500);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 36px 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
    border-left: 2px solid var(--gold-500);
}

.feature-label {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-900);
}

.feature-value {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.5;
}

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

.gallery .section-header { margin-bottom: 56px; }

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,47,47,0.4), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

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

/* ── CTA Section ────────────────────────────────── */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,47,47,0.93) 0%, rgba(13,79,79,0.90) 100%);
}

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
}

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

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

/* ── Contact ────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.contact-info .section-title { margin-bottom: 20px; }

.contact-info > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--slate-500);
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

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

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.5;
}

.contact-value a {
    color: var(--teal-700);
    transition: color var(--transition);
}
.contact-value a:hover { color: var(--gold-500); }

/* ── Form ───────────────────────────────────────── */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

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

.form-note {
    font-size: 0.9rem;
    color: var(--slate-400);
    margin-bottom: 32px;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-0);
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder { color: var(--slate-400); }

.form-input:focus {
    border-color: var(--teal-700);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13,79,79,0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg { flex-shrink: 0; }

/* ── Footer ─────────────────────────────────────── */
.footer {
    background: var(--slate-900);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }

.footer-nav a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-500); }

.footer-contact address {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold-500); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ── Scroll Reveal ──────────────────────────────── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Progressive enhancement: hidden by default, revealed by JS */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu ────────────────────────────────── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    
    .nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 999; }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        background: rgba(251,253,253,0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        border-bottom: 1px solid rgba(13,79,79,0.08);
    }
    
    .nav.open .nav-list {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list a {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .nav-cta { margin-left: 0 !important; text-align: center; margin-top: 8px; }
}

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

@media (max-width: 768px) {
    .header-inner { height: 64px; }
    
    .hero-content { padding: 100px 20px 80px; }
    
    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .hero-details { flex-direction: column; gap: 12px; }
    
    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }
    
    .about { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-content { max-width: 100%; }
    .about-accent-box { width: 64px; height: 64px; bottom: -16px; right: -16px; }
    
    .gallery { padding: 80px 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    
    .cta-section { padding: 80px 0; }
    
    .contact { padding: 80px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 32px 24px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 300px; }
    
    .section-header { margin-bottom: 48px; }
}
