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

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

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15), 0 8px 20px rgba(15, 23, 42, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--slate-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: var(--shadow-md);
}

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

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

.logo span {
  letter-spacing: -0.02em;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-600);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.btn-nav {
  background: var(--teal-600) !important;
  color: white !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 20px !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}

.btn-nav:hover {
  background: var(--teal-700) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--slate-50) 50%, var(--teal-50) 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.04) 0%, transparent 40%),
                    radial-gradient(circle at 70% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--teal-200);
  color: var(--teal-700);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title em {
  color: var(--teal-600);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-500);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-600);
  color: white;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

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

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

.btn-outline:hover {
  border-color: var(--teal-300);
  color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: white;
  color: var(--teal-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

/* FLOATING STAT CARDS */
.hero-cards {
  position: relative;
  height: 420px;
}

.stat-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
  animation: float 4s ease-in-out infinite;
}

.stat-card--top {
  top: 0;
  right: 0;
  animation-delay: 0s;
}

.stat-card--mid {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 1.3s;
}

.stat-card--bottom {
  bottom: 0;
  right: 20px;
  animation-delay: 2.6s;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-800);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.stat-card--mid {
  animation-name: floatMid;
}

@keyframes floatMid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.8;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: white;
}

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

.service-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
  background: white;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
}

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

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

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

.about-image {
  position: relative;
}

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

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--teal-200);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

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

.about-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.about-list li svg {
  flex-shrink: 0;
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--teal-700) 0%, var(--teal-800) 100%);
  color: white;
}

.why-us .section-tag {
  color: var(--teal-200);
}

.why-us .section-title {
  color: white;
}

.why-us .section-sub {
  color: var(--teal-200);
}

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

.why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--teal-200);
  line-height: 1.7;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 100px 0;
  background: white;
}

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

.review-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-700);
  letter-spacing: 0.02em;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: var(--slate-800);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 64px;
  box-shadow: var(--shadow-xl);
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--teal-100);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

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

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

.contact-info .section-tag {
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 12px;
}

.contact-info .section-sub {
  margin-bottom: 36px;
}

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

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin: 0;
}

.contact-item a {
  color: var(--teal-600);
  font-weight: 600;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

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

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

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  background: white;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 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: none;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-md);
  color: var(--teal-800);
  font-weight: 600;
}

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

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

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

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

.footer-links a {
  color: var(--slate-400);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--slate-400);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .hero-cards {
    height: 280px;
    max-width: 400px;
  }

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

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

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

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 48px 40px;
  }

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

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

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-cards {
    height: 240px;
    margin: 0 auto;
  }

  .stat-card {
    padding: 18px 22px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content .section-tag,
  .about-content .section-title,
  .contact-info .section-tag,
  .contact-info .section-title {
    text-align: center;
  }

  .about-content > p {
    text-align: center;
  }

  .about-image-accent {
    display: none;
  }

  .cta-card {
    padding: 36px 28px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    justify-content: center;
  }

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

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

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

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

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

  .hero-cards {
    height: 200px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .stat-card {
    animation-duration: 4s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .service-card,
  .why-card,
  .review-card {
    animation: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
