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

:root {
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-200: #99F6E0;
  --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 6px -1px rgba(15,23,42,0.07), 0 2px 4px -2px rgba(15,23,42,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15,23,42,0.08), 0 4px 10px -4px rgba(15,23,42,0.05);
  --shadow-xl: 0 20px 50px -12px rgba(15,23,42,0.12);
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: white;
  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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--slate-800); line-height: 1.25; font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--teal-600); color: white;
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.text-teal { color: var(--teal-600); }
.text-center { text-align: center; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--teal-600); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 12px;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 6px 14px; border-radius: 50px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px; font-weight: 700;
  color: var(--slate-900);
}
.section-desc {
  font-size: 1.1rem; color: var(--slate-500);
  max-width: 600px; margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-lg);
  font-size: 0.9375rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600); color: white;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}
.btn-primary:hover {
  background: var(--teal-700);
  box-shadow: 0 6px 20px rgba(13,148,136,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: white; color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-outline:hover {
  border-color: var(--teal-600); color: var(--teal-600);
  transform: translateY(-2px);
}
.btn-outline-sm {
  background: var(--teal-50); color: var(--teal-700);
  border: 1px solid var(--teal-200);
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 500;
}
.btn-outline-sm:hover { background: var(--teal-100); }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-size: 1.05rem; font-weight: 700;
  color: var(--slate-800); line-height: 1.2;
}
.logo-sub { font-size: 0.75rem; font-weight: 500; color: var(--slate-500); }
.logo-text-white { color: white; }
.logo-text-white .logo-sub { color: rgba(255,255,255,0.7); }

/* Nav */
.nav-menu {
  display: flex; align-items: center; gap: 4px;
}
.nav-menu a {
  padding: 8px 16px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
  color: var(--slate-600); transition: var(--transition);
}
.nav-menu a:hover { color: var(--teal-600); background: var(--teal-50); }
.nav-cta {
  display: inline-flex !important; align-items: center; gap: 6px;
  background: var(--teal-50) !important; color: var(--teal-600) !important;
  font-weight: 600 !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--teal-100) !important; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md); transition: var(--transition);
}
.nav-toggle:hover { background: var(--slate-100); }
.hamburger {
  display: block; width: 22px; height: 14px;
  position: relative;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--slate-700); border-radius: 2px;
  position: absolute; left: 0;
  transition: var(--transition);
}
.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: white; flex-direction: column;
    padding: 16px 24px 24px; gap: 4px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0;
    transition: var(--transition); pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0); opacity: 1; pointer-events: all;
  }
  .nav-menu a { padding: 12px 16px; width: 100%; }
  .nav-cta { margin-left: 0 !important; justify-content: center; }
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 0;
  background: linear-gradient(135deg, #F0FDFA 0%, #F8FAFC 50%, #F1F5F9 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding-bottom: 80px; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--teal-100);
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--teal-700); margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge svg { color: var(--teal-600); }
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700; color: var(--slate-900);
  line-height: 1.15; margin-bottom: 20px;
  font-family: var(--font-serif);
}
.hero-desc {
  font-size: 1.125rem; color: var(--slate-500);
  line-height: 1.75; margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--slate-600);
}

/* Hero image */
.hero-image { position: relative; }
.hero-img-wrapper {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-img-wrapper img {
  width: 100%; height: 500px; object-fit: cover;
}
.hero-img-accent {
  position: absolute; bottom: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--teal-600); border-radius: var(--radius-xl);
  opacity: 0.15; z-index: -1;
}
.hero-float-card {
  position: absolute; bottom: 32px; left: -32px;
  background: white; border-radius: var(--radius-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.float-card-icon {
  width: 44px; height: 44px;
  background: var(--teal-600); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card-label { font-size: 0.75rem; color: var(--slate-400); font-weight: 500; }
.float-card-value { font-size: 0.9375rem; font-weight: 600; color: var(--slate-800); }
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; overflow: hidden;
}
.hero-wave svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-img-wrapper img { height: 360px; }
  .hero-float-card { left: 16px; bottom: 16px; }
  .hero-wave { display: none; }
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--slate-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin-top: 48px;
}
.service-card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px; display: block;
  border: 1px solid var(--slate-100);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--teal-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--teal-50); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--teal-100); }
.service-title {
  font-size: 1.1875rem; font-weight: 600;
  margin-bottom: 10px; color: var(--slate-800);
}
.service-desc {
  font-size: 0.9375rem; color: var(--slate-500);
  line-height: 1.7; margin-bottom: 16px;
}
.service-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--teal-600); display: inline-flex;
  align-items: center; gap: 6px; transition: var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ===== ABOUT ===== */
.about { padding: 80px 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-image { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 360px; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -32px; right: -24px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 4px solid white;
  width: 55%;
}
.about-img-secondary img { width: 100%; height: 200px; object-fit: cover; }
.about-experience {
  position: absolute; top: -20px; left: -20px;
  background: var(--teal-600); color: white;
  border-radius: var(--radius-lg); padding: 20px 24px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.exp-number {
  display: block; font-size: 1.75rem; font-weight: 700;
  line-height: 1; margin-bottom: 4px;
}
.exp-label { font-size: 0.6875rem; opacity: 0.85; font-weight: 500; }
.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 20px; }
.about-text {
  font-size: 1rem; color: var(--slate-500);
  line-height: 1.8; margin-bottom: 16px;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 28px 0 32px;
}
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500; color: var(--slate-700);
}
.feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--teal-50); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 480px; margin: 0 auto; }
  .about-features { grid-template-columns: 1fr; }
}

/* ===== WHY US ===== */
.why-us {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: white; position: relative; overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.why-us .section-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: var(--teal-200); }
.why-us .section-title { color: white; }
.why-us .section-title .text-teal { color: var(--teal-300); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 48px; position: relative; z-index: 1;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.why-num {
  font-size: 2.5rem; font-weight: 800;
  color: rgba(255,255,255,0.08); line-height: 1;
  margin-bottom: 16px; font-family: var(--font-serif);
}
.why-title {
  font-size: 1.125rem; font-weight: 600;
  color: white; margin-bottom: 10px;
}
.why-desc { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.75; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 80px 0; background: var(--slate-50); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin-top: 48px;
}
.testimonial-card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--slate-100);
  transition: var(--transition); position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-quote {
  font-size: 4rem; line-height: 1; color: var(--teal-200);
  font-family: var(--font-serif); position: absolute;
  top: 20px; right: 28px;
}
.testimonial-text {
  font-size: 1rem; color: var(--slate-600);
  line-height: 1.8; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-name { font-size: 0.9375rem; font-weight: 600; color: var(--slate-800); }
.author-location { font-size: 0.8125rem; color: var(--slate-400); }

/* ===== CONTACT ===== */
.contact { padding: 80px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-info .section-tag { margin-bottom: 12px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-desc {
  font-size: 1rem; color: var(--slate-500);
  line-height: 1.75; margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--teal-50); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.contact-label {
  font-size: 0.75rem; font-weight: 600;
  color: var(--slate-400); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 2px;
}
.contact-value { font-size: 0.9375rem; font-weight: 500; color: var(--slate-700); line-height: 1.6; }
.contact-link { color: var(--teal-600); transition: var(--transition); }
.contact-link:hover { color: var(--teal-700); text-decoration: underline; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; }

/* Form */
.contact-form-wrap {
  background: white; border-radius: var(--radius-xl);
  padding: 40px; border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 1.375rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 8px;
}
.form-desc { font-size: 0.9rem; 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: 0.8125rem; font-weight: 600;
  color: var(--slate-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  font-family: var(--font-sans); font-size: 0.9375rem;
  color: var(--slate-800); transition: var(--transition);
  background: var(--slate-50); width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
  background: white;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Success */
.form-success {
  text-align: center; padding: 24px 0;
}
.success-icon { margin: 0 auto 16px; }
.success-title { font-size: 1.25rem; margin-bottom: 8px; color: var(--slate-800); }
.success-text { font-size: 0.9375rem; color: var(--slate-500); margin-bottom: 20px; }
.form-success[hidden] { display: none; }
.contact-form[hidden] { display: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--slate-900); color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-tagline { font-size: 0.875rem; line-height: 1.75; margin-top: 16px; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
  color: white; font-size: 0.875rem; font-weight: 600;
  margin-bottom: 16px; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  font-size: 0.875rem; transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--teal-400); }
.footer-contact svg { flex-shrink: 0; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8125rem;
}
.footer-bottom a { color: var(--teal-400); transition: var(--transition); }
.footer-bottom a:hover { color: var(--teal-300); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
