*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--slate-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus {
  top: 0;
}

/* HEADER */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--teal);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: -2px;
}

/* NAV */
#nav-menu {
  display: flex;
  align-items: center;
}

#nav-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

#nav-menu a {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate-600);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

#nav-menu a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 13px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--slate-700);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.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);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(13, 148, 136, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-headline br {
  display: none;
}

.hero-desc {
  font-size: 18px;
  font-weight: 300;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-desc br {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--slate-400);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 1;
}

.hero-scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* SECTION COMMON */
.section-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 20px;
}

/* SERVICES */
.services {
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.3s;
}

.service-card:hover {
  background: var(--slate-50);
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-out);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ABOUT */
.about {
  padding: 120px 0;
  background: var(--slate-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 6 / 7;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content > p {
  font-size: 16px;
  color: var(--slate-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
}

.stat-label {
  font-size: 13px;
  color: var(--slate-500);
}

/* WHY US */
.why-us {
  padding: 120px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}

.why-item {
  background: var(--white);
  padding: 48px 40px;
}

.why-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-item p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.75;
  max-width: 360px;
}

/* CONTACT */
.contact {
  padding: 120px 0;
  background: var(--slate-900);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact .section-title {
  color: var(--white);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 48px;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal-light);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 16px;
  color: var(--slate-200);
  transition: color 0.2s;
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--teal-light);
}

/* FORM */
.contact-form-wrap {
  background: var(--slate-800);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--slate-700);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-600);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 10px;
  color: var(--teal-light);
  font-size: 14px;
  font-weight: 500;
}

.form-success svg {
  flex-shrink: 0;
}

/* FOOTER */
.footer {
  background: var(--slate-900);
  border-top: 1px solid var(--slate-800);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate-500);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

.footer-contact a {
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--teal-light);
}

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

.footer-bottom p {
  font-size: 13px;
  color: var(--slate-600);
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    gap: 48px;
  }
  .contact-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  #nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--white);
    padding: 100px 32px 40px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 100;
  }

  #nav-menu.open {
    transform: translateX(0);
  }

  #nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  #nav-menu a {
    font-size: 16px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero-headline br {
    display: block;
  }

  .hero-desc br {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

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

  .about-image {
    aspect-ratio: 4 / 3;
    order: -1;
  }

  .about-stats {
    gap: 24px;
  }

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

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

  .contact-form-wrap {
    padding: 28px;
  }

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

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .services,
  .about,
  .why-us,
  .contact {
    padding: 80px 0;
  }

  .service-card {
    padding: 28px 24px;
  }

  .why-item {
    padding: 32px 24px;
  }
}
