/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; line-height: 1.2; }

/* ── Utility ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 12px;
}
.section { padding: 100px 0; }
.section-alt { background: #f8fafc; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); color: #0f172a; margin-bottom: 16px; font-weight: 700; }
.section-sub { font-size: 1.0625rem; color: #64748b; line-height: 1.7; }

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148,163,184,0.15);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(15,23,42,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f172a;
}
.nav-logo-icon { color: #0d9488; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: #0d9488; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0d9488;
  transition: width 0.25s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: #0d9488;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #0f766e; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 22px; height: 1.5px; background: #1e293b; transition: 0.3s; display: block; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 30%, #0d9488 60%, #1e293b 100%);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(20,184,166,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(15,118,110,0.25) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(45,212,191,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 120px 24px 80px;
  color: #fff;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  display: block;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title-accent {
  display: block;
  background: linear-gradient(90deg, #5eead4, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: #0d9488; }
.btn-primary:hover { background: #f0fdfa; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-outline-light { background: transparent; color: #0d9488; border: 1px solid #99f6e4; }
.btn-outline-light:hover { background: #f0fdfa; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Services ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.service-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 32px rgba(13,148,136,0.08);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  margin-bottom: 20px;
}
.service-title { font-size: 1.0625rem; color: #0f172a; margin-bottom: 10px; font-weight: 600; }
.service-desc { font-size: 0.9375rem; color: #64748b; line-height: 1.7; }

/* ── Stats ────────────────────────────────────────── */
.stats {
  background: #0f172a;
  padding: 56px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat { flex: 1; text-align: center; padding: 0 32px; }
.stat-number { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.stat-label { font-size: 0.8125rem; color: #94a3b8; font-weight: 400; }
.stat-divider { width: 1px; height: 40px; background: rgba(148,163,184,0.2); flex-shrink: 0; }

/* ── About ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image { border-radius: 12px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content .eyebrow { margin-bottom: 12px; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-text { font-size: 1rem; color: #64748b; line-height: 1.8; margin-bottom: 16px; }
.about-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: #334155;
}
.about-list li svg { color: #0d9488; flex-shrink: 0; }

/* ── Gallery ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── CTA Section ──────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #0d9488 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-title { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; }
.cta-text { color: rgba(255,255,255,0.8); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 36px; font-weight: 300; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .eyebrow { margin-bottom: 12px; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-text { font-size: 1rem; color: #64748b; line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  flex-shrink: 0;
}
.contact-item dt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 4px; }
.contact-item dd { font-size: 0.9375rem; color: #334155; line-height: 1.6; }
.contact-item a { color: #0d9488; transition: color 0.2s; }
.contact-item a:hover { color: #0f766e; text-decoration: underline; }
.map-container { border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; }

/* ── Form ─────────────────────────────────────────── */
.contact-form-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px;
}
.form-title { font-size: 1.25rem; color: #0f172a; margin-bottom: 24px; font-weight: 600; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2dd4bf;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,212,191,0.12);
}
.form-group-full { grid-column: 1 / -1; }
.form-success {
  text-align: center;
  padding: 40px 20px;
  color: #0d9488;
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 { font-size: 1.25rem; color: #0f172a; margin-bottom: 8px; }
.form-success p { font-size: 0.9375rem; color: #64748b; }

/* ── Footer ───────────────────────────────────────── */
.footer { background: #0f172a; color: #94a3b8; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-logo { color: #fff; }
.footer-links h4,
.footer-contact h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  font-size: 0.9375rem;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: #2dd4bf; }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.8125rem; color: #64748b; }

/* ── Reveal (progressive enhancement) ─────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Nav ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1rem; }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-direction: column; gap: 24px; }
  .stat-divider { width: 48px; height: 1px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
