/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--teal-700);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 14px;
}
.skip-link:focus {
  top: 16px;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}

.logo--light { color: var(--white); }
.logo-icon { color: var(--teal-600); }
.logo--light .logo-icon { color: var(--teal-200); }

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.hamburger {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

.btn-teal {
  background: var(--teal-600);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
}
.btn-outline-dark:hover {
  border-color: var(--slate-800);
  color: var(--slate-900);
}

.btn-white {
  background: var(--white);
  color: var(--teal-800);
}
.btn-white:hover {
  background: var(--slate-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ===== HERO ===== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0 80px;
}

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

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 400;
}

.trust-item svg { color: var(--teal-600); }

.hero-image {
  position: relative;
}

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

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

.hero-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* ===== SECTION COMMON ===== */
.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-header--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--teal-700);
}

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

.service-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--teal-700);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.badge-label {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.4;
}

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

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

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

.stat-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

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

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

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: var(--slate-900);
  color: var(--white);
}

.why-us .section-eyebrow { color: var(--teal-300); }
.why-us .section-title { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.why-item {
  position: relative;
  padding-left: 56px;
}

.why-number {
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 48px;
  font-weight: 600;
  color: var(--teal-700);
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0.6;
}

.why-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-desc {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: var(--teal-700);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 16px;
  color: var(--teal-200);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.contact-desc {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

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

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

.contact-detail a {
  font-size: 15px;
  color: var(--slate-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: color var(--transition);
}

.contact-detail a:hover { color: var(--teal-700); }
.contact-detail a svg { flex-shrink: 0; margin-top: 3px; color: var(--teal-600); }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-900);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

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

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

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

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

.form-success svg { color: var(--teal-600); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--slate-500);
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

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

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-500);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  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; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 36px; }
}

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

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--slate-200);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    max-height: 400px;
    padding: 16px 24px;
    gap: 8px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-menu li:last-child a { border-bottom: none; }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 60px;
  }

  .hero-image { order: -1; }
  .hero-img-wrapper { border-radius: var(--radius-md); }
  .hero-accent { display: none; }

  .hero-title { font-size: clamp(32px, 8vw, 48px); }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }

  .about { padding: 64px 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge {
    bottom: -12px;
    left: 12px;
  }

  .why-us { padding: 64px 0; }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-item { padding-left: 44px; }
  .why-number { font-size: 36px; }

  .cta-banner { padding: 56px 0; }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn-lg { width: 100%; justify-content: center; }

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

  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 40px 0 24px; }
  .footer-links { gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 72px; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .about-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 36px; height: 1px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
