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

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --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;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.container--footer { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 48px; }

/* ── Section shared ──────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

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

.section-title--light { color: var(--slate-50); }

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 520px;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}
.btn--primary:hover {
  background: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--slate-700);
  border: 2px solid var(--slate-200);
}
.btn--outline:hover {
  border-color: var(--teal-600);
  color: var(--teal-600);
}

.btn--white {
  background: #fff;
  color: var(--teal-700);
  box-shadow: var(--shadow);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

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

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-800);
}

.nav__logo { flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: 8px;
  transition: var(--transition);
}
.nav__links a:hover { color: var(--teal-600); background: var(--teal-50); }

.nav__cta {
  background: var(--teal-600) !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--teal-700) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__burger span {
  display: block;
  height: 2.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: var(--slate-50);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero__geometric {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}
.hero__geo--circle {
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--teal-600);
  top: -150px; left: -200px;
}
.hero__geo--triangle {
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 120px 200px 120px;
  border-color: transparent transparent var(--teal-400) transparent;
  bottom: 10%; right: 48%;
  opacity: 0.06;
}
.hero__geo--dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-500);
  top: 25%; left: 46%;
  opacity: 0.3;
}
.hero__geo--ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 6px solid var(--teal-300);
  bottom: 18%; left: 46%;
  opacity: 0.2;
}

.hero__left {
  padding: 0 48px 0 8%;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid var(--teal-200);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--slate-900);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

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

.hero__stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-600);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

/* Hero right */
.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 8%;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero__img-accent {
  position: absolute;
  inset: 16px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.hero__floating-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  z-index: 2;
}

/* ── SERVICES ────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-600), var(--slate-400));
}

.services .container { text-align: center; }
.services .section-sub { margin: 0 auto 56px; }

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

.card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition);
}

.card:hover { transform: translateY(-6px); }

.card--teal {
  background: var(--teal-600);
  color: #fff;
}
.card--teal:hover { box-shadow: 0 16px 48px rgba(13,148,136,0.3); }

.card--slate {
  background: var(--slate-800);
  color: #fff;
}
.card--slate:hover { box-shadow: 0 16px 48px rgba(30,41,59,0.3); }

.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card__desc {
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.65;
}

/* ── ABOUT ───────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--teal-800);
  opacity: 0.15;
  top: -100px; right: -100px;
  pointer-events: none;
}

.about__media { position: relative; }

.about__img-stack { position: relative; }

.about__img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__img-main img { width: 100%; height: 400px; object-fit: cover; }

.about__img-float {
  position: absolute;
  bottom: -40px;
  right: -30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--slate-800);
}
.about__img-float img { width: 240px; height: 180px; object-fit: cover; }

.about__badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--teal-600);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(13,148,136,0.4);
}

.about__content { position: relative; z-index: 1; }

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

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--slate-200);
  font-size: 0.95rem;
}

/* ── GALLERY ─────────────────────────────────────── */
.gallery {
  padding: 100px 0 80px;
  background: var(--slate-50);
}

.gallery .container { text-align: center; margin-bottom: 56px; }
.gallery .section-sub { margin: 0 auto; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

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

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

.gallery__overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Playfair Display', serif;
}

.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover .gallery__overlay { opacity: 1; }

/* ── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  background: var(--teal-700);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner__geo {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  background: #fff;
}
.cta-banner__geo--circle {
  width: 400px; height: 400px;
  border-radius: 50%;
  top: -150px; left: -100px;
}
.cta-banner__geo--rect {
  width: 200px; height: 200px;
  border-radius: var(--radius-lg);
  bottom: -60px; right: 5%;
  transform: rotate(25deg);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner__text {
  color: var(--teal-100);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ── CONTACT ─────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact__info { max-width: 100%; }

.contact__text {
  color: var(--slate-500);
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact__details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__detail svg { flex-shrink: 0; margin-top: 2px; }

.contact__detail strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.contact__detail span,
.contact__detail a {
  color: var(--slate-700);
  font-size: 1rem;
  font-weight: 500;
}
.contact__detail a:hover { color: var(--teal-600); }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.contact__map a { display: block; }
.contact__map img { width: 100%; height: 200px; object-fit: cover; }

.contact__map-label {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--slate-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

/* Form */
.contact__form-wrap {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--slate-200);
}

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

.contact__form-sub {
  color: var(--slate-500);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 8px;
}

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

.form-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
}

.footer__top { padding: 72px 0 48px; }

.footer__brand { max-width: 300px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-100);
  margin-bottom: 16px;
}

.footer__tagline { font-size: 0.9rem; line-height: 1.7; }

.footer__links,
.footer__contact { display: flex; flex-direction: column; gap: 10px; }

.footer__links strong,
.footer__contact strong {
  color: var(--slate-100);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.footer__links a,
.footer__contact a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: var(--transition);
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--teal-400); }

.footer__bottom {
  border-top: 1px solid var(--slate-800);
  padding: 24px 0;
}

.footer__bottom p {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ── MOBILE NAV ──────────────────────────────────── */
@media (max-width: 900px) {
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--slate-200);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; text-align: center; padding: 12px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero__left { padding: 0; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__right { padding-right: 0; }
  .hero__img-wrap img { height: 380px; }
  .hero__floating-card { left: 10px; bottom: -10px; }

  .container--split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .about__img-float { right: 10px; bottom: -20px; }
  .about__img-float img { width: 180px; height: 140px; }
  .about__badge { left: 10px; }
  .about__features { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .container--footer { grid-template-columns: 1fr; gap: 32px; }

  .contact__form-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__img-wrap img { height: 300px; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
