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

/* ── Custom Properties ── */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --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;
  --white: #ffffff;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section Shared ── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 540px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 0 auto; }

/* ── 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: 50px;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal-600);
  color: var(--white);
  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.25);
}
.btn--ghost {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-200);
}
.btn--ghost:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--white);
  color: var(--teal-700);
  border-color: var(--white);
}
.btn--light:hover {
  background: var(--teal-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* ── 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 var(--slate-100);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06); }
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--slate-800);
}
.nav__logo-icon { color: var(--teal-600); }
.nav__logo-text { display: none; }
@media (min-width: 640px) {
  .nav__logo-text { display: inline; }
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate-500);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal-600);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--teal-700); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 20px;
  background: var(--teal-600);
  color: var(--white);
  border-radius: 50px;
  transition: all var(--transition);
}
.nav__cta:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--slate-700);
  transition: all var(--transition);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
}

/* Mobile menu */
.nav__menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 99;
}
.nav__menu.open { transform: translateX(0); }
.nav__menu .nav__link { font-size: 1.25rem; color: var(--slate-700); }
.nav__menu .nav__cta { font-size: 1rem; padding: 14px 32px; }
@media (min-width: 1024px) {
  .nav__menu {
    position: static;
    transform: none;
    background: none;
    flex-direction: row;
    justify-content: flex-end;
    gap: 32px;
  }
}

/* ── Hero ── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--slate-50);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    padding: 80px 48px 96px;
    gap: 64px;
  }
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--teal-600);
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--slate-900);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--slate-500);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal-700);
}
.hero__trust-label {
  font-size: 0.8rem;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}
.hero__trust-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

/* Hero image */
.hero__image { position: relative; }
.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--teal-200);
  border-radius: var(--radius-lg);
  z-index: -1;
}
@media (min-width: 1024px) {
  .hero__image-accent { top: -32px; right: -32px; width: 160px; height: 160px; }
}

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--white);
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  padding: 36px 32px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: var(--white);
}
.service-card:hover {
  border-color: var(--teal-200);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.08);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  margin-bottom: 20px;
}
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: var(--slate-50);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.about__image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.about__badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: 0.04em;
}
.about__content .section-title { margin-bottom: 24px; }
.about__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate-500);
  margin-bottom: 20px;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.about__value {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}
.about__value-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  margin-top: 7px;
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
  background: var(--white);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.gallery__item:nth-child(2),
.gallery__item:nth-child(3),
.gallery__item:nth-child(5) {
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.gallery__item:hover img { transform: scale(1.05); }

/* ── CTA ── */
.cta {
  padding: 100px 0;
  background: var(--teal-800);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}
.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 16px;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.cta__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--teal-200);
  margin-bottom: 36px;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--slate-50);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.contact__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-500);
  margin-bottom: 36px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.contact__detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 4px;
}
.contact__detail-value {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.5;
}
.contact__link {
  color: var(--teal-700);
  transition: color var(--transition);
}
.contact__link:hover { color: var(--teal-500); }
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Contact form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-100);
}
.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 8px;
}
.contact__form-sub {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 28px;
}
.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--slate-800);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form__input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.form__input::placeholder { color: var(--slate-300); }
.form__select { appearance: none; cursor: pointer; 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 14px center; padding-right: 40px; }
.form__textarea { resize: vertical; min-height: 100px; }
.form__success {
  text-align: center;
  padding: 40px 20px;
}
.form__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form__success-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--slate-800);
  margin-bottom: 8px;
}
.form__success-text {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  background: var(--slate-900);
  padding: 56px 0 32px;
}
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer__brand { max-width: 320px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__logo-icon { color: var(--teal-400); }
.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-400);
}
.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__link {
  font-size: 0.875rem;
  color: var(--slate-400);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--teal-400); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--slate-500);
}
.footer__addr {
  font-size: 0.8rem;
  color: var(--slate-500);
}
.footer__phone { color: var(--teal-400); transition: color var(--transition); }
.footer__phone:hover { color: var(--teal-300); }

/* ── Scroll Animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal[data-reveal="left"] { transform: translateX(-24px); }
  .reveal[data-reveal="right"] { transform: translateX(24px); }
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
