/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: #1C2D3A;
  background: #FAFAF8;
  -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-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --teal-900: #0A3D40;
  --teal-800: #0D5156;
  --teal-700: #0D7377;
  --teal-600: #108A8E;
  --teal-500: #14A3A8;
  --teal-100: #D0EDEE;
  --teal-50:  #E8F6F7;
  --slate-950: #0B1119;
  --slate-900: #1C2D3A;
  --slate-800: #2A3F50;
  --slate-700: #3D5466;
  --slate-600: #5A7184;
  --slate-400: #94A3B4;
  --slate-300: #B8C5D1;
  --slate-200: #D8E2EA;
  --slate-100: #EEF2F6;
  --slate-50:  #F6F8FA;
  --warm-50:  #FAFAF8;
  --warm-100: #F3F1ED;
  --warm-200: #E8E4DD;
  --gold: #C8A45E;
  --gold-light: #E8D5A8;
  --white: #FFFFFF;
  --nav-h: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── UTILITY ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--slate-900);
  margin-bottom: 24px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--dark {
  background: var(--slate-900);
  color: var(--white);
  border: 2px solid var(--slate-900);
}
.btn--dark:hover { background: var(--teal-800); border-color: var(--teal-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,115,119,0.2); }
.btn--outline {
  background: transparent;
  color: var(--slate-900);
  border: 2px solid var(--slate-300);
}
.btn--outline:hover { border-color: var(--teal-700); color: var(--teal-700); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(28,45,58,0.08); }
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-900);
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal-700);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-700);
  transition: var(--transition);
}
.nav__links a:hover { color: var(--teal-700); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: var(--slate-900);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500;
  transition: var(--transition);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--teal-700); color: var(--white) !important; transform: translateY(-1px); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,17,25,0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--white);
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-overlay.open .mobile-nav { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate-800);
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--teal-700); }
.mobile-nav__cta {
  margin-top: 16px;
  border: none;
  background: var(--teal-700);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 100px;
  text-align: center;
  font-weight: 600;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: var(--nav-h);
  background: var(--warm-50);
  overflow: hidden;
}
.hero__left {
  padding: 64px 64px 64px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.hero__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--slate-900);
  line-height: 1.08;
  font-weight: 700;
}
.hero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate-600);
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}
.hero__trust-item svg { color: var(--teal-600); flex-shrink: 0; }

.hero__right {
  position: relative;
  height: 100%;
  min-height: 600px;
}
.hero__img-wrap {
  position: absolute;
  inset: 48px 48px 48px 0;
  border-radius: 0 24px 24px 0;
  overflow: hidden;
}
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: 48px;
  right: -8px;
  background: var(--teal-700);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(13,115,119,0.3);
}

/* ─── SERVICES ─── */
.services {
  padding: 120px 0;
  background: var(--white);
}
.services__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--warm-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(28,45,58,0.1);
  border-color: var(--teal-100);
}
.card__icon {
  width: 56px;
  height: 56px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  margin-bottom: 24px;
  transition: var(--transition);
}
.card:hover .card__icon { background: var(--teal-700); color: var(--white); border-color: var(--teal-700); }
.card__title {
  font-size: 1.375rem;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.card__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-600);
}

/* ─── ABOUT ─── */
.about {
  padding: 120px 0;
  background: var(--warm-50);
}
.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 7/8;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content { display: flex; flex-direction: column; gap: 20px; }
.about__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate-700);
}
.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}
.stat__number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1.2;
}
.stat__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── GALLERY ─── */
.gallery {
  padding: 120px 0;
  background: var(--white);
}
.gallery__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img { transform: scale(1.06); }

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 120px 0;
  background: var(--slate-900);
}
.testimonials__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.testimonials__header .section__eyebrow { color: var(--teal-500); }
.testimonials__header .section__title { color: var(--white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}
.quote:hover { border-color: var(--teal-600); transform: translateY(-4px); }
.quote__mark { color: var(--teal-600); flex-shrink: 0; }
.quote p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-300);
  flex: 1;
}
.quote__footer { margin-top: auto; }
.quote__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-400);
  letter-spacing: 0.04em;
}

/* ─── CONTACT ─── */
.contact {
  padding: 120px 0;
  background: var(--warm-50);
}
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate-600);
}
.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.contact__detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-400);
  margin-bottom: 6px;
}
.contact__detail dd a,
.contact__detail dd span {
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.7;
}
.contact__detail dd a:hover { color: var(--teal-700); text-decoration: underline; }

.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 48px;
}
.contact__form-title {
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 32px;
}
.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form__input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--slate-900);
  background: var(--warm-50);
  transition: var(--transition);
  outline: none;
}
.form__input:focus { border-color: var(--teal-600); background: var(--white); box-shadow: 0 0 0 4px rgba(13,115,119,0.1); }
.form__input::placeholder { color: var(--slate-400); }
.form__select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A7184' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form__textarea { resize: vertical; min-height: 120px; }
.form__note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-align: center;
  margin-top: 16px;
}
.form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-sm);
  color: var(--teal-800);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ─── MAP ─── */
.map-section { padding: 0; }
.map-section__inner {
  width: 100%;
  height: 360px;
  filter: grayscale(0.4) contrast(1.05);
}
.map-section__inner iframe { width: 100%; height: 100%; }

/* ─── FOOTER ─── */
.footer {
  background: var(--slate-950);
  padding: 72px 0 0;
  color: var(--slate-400);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--slate-800);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__brand .nav__logo-mark { width: 44px; height: 44px; font-size: 1.25rem; }
.footer__brand span:not(.nav__logo-mark) {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate-600);
  max-width: 280px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: 0.9375rem;
  color: var(--slate-400);
  transition: var(--transition);
}
.footer__links a:hover { color: var(--teal-400); }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__contact a {
  font-size: 0.9375rem;
  color: var(--slate-400);
  transition: var(--transition);
}
.footer__contact a:hover { color: var(--teal-400); }
.footer__contact span { font-size: 0.9375rem; color: var(--slate-500); }
.footer__bottom {
  padding: 24px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--slate-600);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .container--split { grid-template-columns: 1fr; gap: 40px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 80px 40px 48px; order: 1; }
  .hero__right { order: 0; height: 50vh; min-height: 360px; }
  .hero__img-wrap { inset: 0; border-radius: 0; }
  .hero__badge { right: 24px; bottom: 24px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__left { padding: 64px 24px 40px; }
  .hero__headline { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__right { height: 45vh; min-height: 280px; }
  .services, .about, .gallery, .testimonials, .contact { padding: 80px 0; }
  .services__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .contact__form-wrap { padding: 32px 24px; }
  .contact__details { grid-template-columns: 1fr; }
  .about__stats { flex-direction: column; gap: 20px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: 12px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery__item img { transition: none; }
  html { scroll-behavior: auto; }
}
