/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scroll Reveal ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}
@supports not (animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94)) {
  .reveal { transition-duration: 0.6s; }
}

/* ── Navigation ───────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; 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: box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav__logo { letter-spacing: 0.08em; }
.nav__links { gap: 2.5rem; align-items: center; }
.nav__link { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400; }
.nav__menu-btn { flex-direction: column; justify-content: center; align-items: flex-end; }
.menu-line { transition: all 0.3s ease; }
.nav__menu-btn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.nav__menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
.nav__menu-btn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 1.5rem; }

/* ── Mobile Menu ──────────────────────────────────────── */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mobile-menu__link { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 300; letter-spacing: 0.06em; color: #1e293b; transition: color 0.3s; }
.mobile-menu__link:hover { color: #0D9488; }
.mobile-menu__cta { margin-top: 2rem; }

/* ── Buttons ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 2px; transition: all 0.3s ease; }
.btn--primary { background: #0D9488; color: #fff; border: 1.5px solid #0D9488; }
.btn--primary:hover { background: #0f766e; border-color: #0f766e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(13,148,136,0.25); }
.btn--white { background: #fff; color: #0f172a; border: 1.5px solid #fff; }
.btn--white:hover { background: #f8fafc; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.2); }
.btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--lg { padding: 1rem 2.5rem; font-size: 0.7rem; }
.btn--full { width: 100%; }

/* ── Section Shared ───────────────────────────────────── */
.section { padding: 8rem 0; }
.section__header { text-align: center; margin-bottom: 5rem; }
.section__eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #0D9488; margin-bottom: 1rem; }
.section__eyebrow--light { color: #5eead4; }
.section__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15; color: #0f172a; margin-bottom: 1.5rem; }
.section__line { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, #0D9488, transparent); margin: 0 auto; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(4,47,46,0.82) 0%, rgba(15,23,42,0.72) 50%, rgba(4,47,46,0.6) 100%); }
.hero__content { position: relative; z-index: 2; padding-top: 80px; }
.hero__eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: #5eead4; margin-bottom: 1.5rem; }
.hero__headline { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 300; line-height: 1.05; color: #fff; margin-bottom: 1.5rem; max-width: 700px; }
.hero__sub { font-size: 1.1rem; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.78); max-width: 520px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), 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 { background: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { padding: 2.5rem 2rem; border: 1px solid rgba(0,0,0,0.07); border-radius: 4px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #0D9488, #5eead4); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(13,148,136,0.2); border-radius: 50%; margin-bottom: 1.5rem; color: #0D9488; transition: all 0.3s; }
.service-card:hover .service-card__icon { background: #0D9488; color: #fff; border-color: #0D9488; }
.service-card__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 500; color: #0f172a; margin-bottom: 0.75rem; }
.service-card__desc { font-size: 0.9rem; line-height: 1.7; color: #64748b; font-weight: 300; }

/* ── About ────────────────────────────────────────────── */
.about { background: #f8fafc; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about__image { border-radius: 4px; overflow: hidden; }
.about__img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.about__content { }
.about__text { font-size: 1rem; line-height: 1.85; color: #475569; font-weight: 300; margin-bottom: 1.25rem; }
.about__stats { display: flex; align-items: center; gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(0,0,0,0.08); }
.stat__number { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.4rem; font-weight: 400; color: #0D9488; line-height: 1; }
.stat__label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b8; margin-top: 0.4rem; }
.stat__divider { width: 1px; height: 48px; background: rgba(0,0,0,0.1); }

/* ── Gallery ──────────────────────────────────────────── */
.gallery { background: #fff; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery__item { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,47,46,0.75) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.4s ease; }
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; font-weight: 400; color: #fff; letter-spacing: 0.04em; }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials { background: #f8fafc; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: #fff; padding: 2.5rem 2rem; border-radius: 4px; border: 1px solid rgba(0,0,0,0.06); position: relative; transition: all 0.3s; }
.testimonial-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.06); transform: translateY(-2px); }
.testimonial-card__quote { position: absolute; top: 1.5rem; right: 1.5rem; color: rgba(13,148,136,0.15); }
.testimonial-card__text { font-size: 0.95rem; line-height: 1.8; color: #475569; font-weight: 300; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-card__name { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #0D9488; }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section { position: relative; padding: 8rem 0; overflow: hidden; }
.cta-section__bg { position: absolute; inset: 0; }
.cta-section__img { width: 100%; height: 100%; object-fit: cover; }
.cta-section__scrim { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(4,47,46,0.88) 0%, rgba(15,23,42,0.82) 100%); }
.cta-section__content { position: relative; z-index: 2; }
.cta-section__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; color: #fff; margin-bottom: 1.25rem; }
.cta-section__text { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.72); font-weight: 300; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────────── */
.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact__item { display: flex; gap: 1.25rem; margin-bottom: 2rem; }
.contact__icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(13,148,136,0.2); border-radius: 50%; color: #0D9488; }
.contact__label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: #94a3b8; margin-bottom: 0.3rem; }
.contact__value { font-size: 0.95rem; line-height: 1.7; color: #475569; font-weight: 300; }
.contact__link { color: #0D9488; transition: color 0.3s; }
.contact__link:hover { color: #0f766e; text-decoration: underline; }

/* ── Form ─────────────────────────────────────────────── */
.contact__form-wrap { background: #f8fafc; padding: 2.5rem; border-radius: 4px; border: 1px solid rgba(0,0,0,0.06); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; margin-bottom: 0.5rem; }
.form-input { width: 100%; padding: 0.875rem 1rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 2px; font-size: 0.9rem; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; color: #1e293b; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; outline: none; }
.form-input:focus { border-color: #0D9488; box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.form-input::placeholder { color: #94a3b8; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-textarea { resize: vertical; min-height: 120px; }
.contact__success { text-align: center; padding: 3rem 1rem; }
.contact__success svg { color: #0D9488; margin: 0 auto 1.25rem; }
.contact__success-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; font-weight: 400; color: #0f172a; margin-bottom: 0.75rem; }
.contact__success-text { font-size: 0.95rem; color: #64748b; font-weight: 300; line-height: 1.7; }
.hidden { display: none; }

/* ── Map ──────────────────────────────────────────────── */
.map-section { height: 400px; filter: grayscale(0.4) contrast(1.05); }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: #0f172a; padding: 5rem 0 0; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__logo { color: #fff; }
.footer__tagline { max-width: 280px; }
.footer__heading { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #5eead4; margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__link { font-size: 0.88rem; font-weight: 300; color: #94a3b8; transition: color 0.3s; }
.footer__link:hover { color: #fff; }
.footer__address { font-size: 0.88rem; font-weight: 300; color: #94a3b8; line-height: 1.7; margin-bottom: 0.75rem; }
.footer__phone, .footer__email { display: block; font-size: 0.88rem; font-weight: 300; color: #94a3b8; transition: color 0.3s; margin-bottom: 0.4rem; }
.footer__phone:hover, .footer__email:hover { color: #5eead4; }
.footer__bottom { padding: 1.5rem 0; text-align: center; }
.footer__copy { font-size: 0.78rem; font-weight: 300; color: #475569; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 3rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .section__header { margin-bottom: 3rem; }
  .nav__links { display: none; }
  .hero__headline { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .services__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__image { max-height: 400px; }
  .about__image img { height: 100%; }
  .about__stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat__divider { display: none; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item { aspect-ratio: 16/9; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .cta-section { padding: 5rem 0; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__actions .btn { width: 100%; max-width: 300px; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .map-section { height: 280px; }
}

@media (max-width: 480px) {
  .nav__inner { padding: 0 1.25rem; }
  .hero__content { padding: 0 1.25rem; }
  .contact__form-wrap { padding: 1.5rem; }
}
