/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #99f6e4;
  --teal-bg: #f0fdfa;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 800;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  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); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-white:hover { background: var(--slate-100); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--teal); transform: translateY(-2px); }
.btn-outline-primary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-primary:hover { background: var(--teal); color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Section Tags ─── */
.section-tag {
  display: inline-block;
  background: var(--teal-bg);
  color: var(--teal);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--slate-500); max-width: 600px; margin: 0 auto; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
}
.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}
.logo-text-footer { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── Hero ─── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--teal-bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  color: var(--slate-900);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-500);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; 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.9rem;
  font-weight: 600;
  color: var(--slate-600);
}
.hero-image { position: relative; }
.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-img-wrapper img { width: 100%; height: 420px; object-fit: cover; }
.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-900);
}

/* ─── Services ─── */
.services { padding: 100px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--teal); }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-card h3 { font-size: 1.2rem; 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-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; height: 380px; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 220px; object-fit: cover; }
.about-text { font-size: 1.05rem; color: var(--slate-600); margin-bottom: 20px; }
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-number {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--slate-500); margin-top: 4px; }

/* ─── Why Us ─── */
.why-us { padding: 100px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.why-card {
  background: var(--slate-50);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.why-card:hover {
  background: var(--teal-bg);
  border-color: var(--teal-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.why-number {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { font-size: 0.95rem; color: var(--slate-500); }

/* ─── CTA Banner ─── */
.cta-banner { padding: 80px 0; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--white); margin-bottom: 12px; }
.cta-text { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 500px; }
.cta-actions { display: flex; gap: 16px; 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-desc { font-size: 1.05rem; color: var(--slate-500); margin-bottom: 36px; }
.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: 48px;
  height: 48px;
  background: var(--teal-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-family: 'Nunito', sans-serif; color: var(--slate-900); margin-bottom: 2px; }
.contact-item p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.6; }
.contact-item a { color: var(--teal); }
.map-placeholder { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ─── Form ─── */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
}
.form-title { font-size: 1.4rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--slate-700);
  transition: border-color var(--transition);
  background: var(--white);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--slate-400); text-align: center; margin-top: 12px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 { font-size: 1.4rem; margin-bottom: 8px; color: var(--slate-900); }
.form-success p { color: var(--slate-500); margin-bottom: 24px; }

/* ─── Footer ─── */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p { font-size: 0.9rem; margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--slate-400); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--teal-light); }
.footer-contact p { font-size: 0.9rem; line-height: 1.8; }
.footer-contact a { color: var(--teal-light); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ─── Mobile Menu ─── */
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-img-wrapper img { height: 300px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { order: -1; }
  .about-img-secondary { right: 10px; bottom: -20px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.8rem; }
  .contact-form-wrapper { padding: 24px; }
}

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