/* ===================================================================
   Kimi & Co — style.css
   Palette: teal #159b8f / orange #f5a623 / navy #0b2233
=================================================================== */

:root {
  --teal: #159b8f;
  --teal-dark: #0d7d73;
  --teal-light: #2dd4bf;
  --orange: #f5a623;
  --orange-dark: #e0921a;
  --navy-900: #0b2233;
  --navy-800: #112c3f;
  --navy-700: #16394f;
  --ink: #101d2b;
  --gray-600: #55677a;
  --gray-500: #64748b;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;

  --font-display: 'Baloo 2', 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11,34,51,0.08);
  --shadow-md: 0 8px 24px rgba(11,34,51,0.10);
  --shadow-lg: 0 20px 50px rgba(11,34,51,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--orange);
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(245,166,35,0.30);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 14px 28px rgba(245,166,35,0.38); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(21,155,143,0.28);
}
.btn-teal:hover { background: var(--teal-dark); }

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

.btn-outline-dark {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--navy-900); }

.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-link img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--teal);
  transition: right 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 100% 0%, #1a4a63 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--orange); }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.01em;
}
.hero h1 .accent-teal { color: var(--teal-light); }
.hero h1 .accent-orange { color: var(--orange); }

.hero p.lede {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art img { width: min(360px, 90%); filter: drop-shadow(0 24px 40px rgba(0,0,0,0.35)); }
.hero-art .float-badge {
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-bg-gray { background: var(--gray-50); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--navy-900); }
.section-head p { margin-top: 14px; color: var(--gray-600); font-size: 16px; line-height: 1.6; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-media {
  height: 190px;
  position: relative;
  color: var(--white);
}
.service-media svg { width: 100%; height: 100%; display: block; }
.service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21,155,143,0.12);
  color: var(--teal);
}
.service-icon svg { width: 22px; height: 22px; }
.service-body h3 { font-size: 19px; color: var(--navy-900); }
.service-body p { color: var(--gray-600); font-size: 14.5px; line-height: 1.6; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal); font-weight: 700; font-size: 14.5px;
  margin-top: 4px;
}
.service-link svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink); }
.why-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.why-copy p { color: var(--gray-600); line-height: 1.7; font-size: 16px; margin-top: 16px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card .num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--teal); }
.stat-card:nth-child(2) .num { color: var(--orange); }
.stat-card:nth-child(3) .num { color: var(--navy-800); }
.stat-card:nth-child(4) .num { color: var(--teal); }
.stat-card .label { margin-top: 6px; color: var(--gray-600); font-size: 14px; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { display: flex; gap: 3px; color: var(--orange); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { color: var(--ink); font-size: 15px; line-height: 1.7; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--navy-700));
  color: var(--white); font-weight: 700; font-family: var(--font-display);
}
.testimonial-person strong { display: block; font-size: 14px; }
.testimonial-person span { display: block; font-size: 13px; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-900);
}
.faq-question svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p { padding: 0 22px 20px; color: var(--gray-600); font-size: 14.5px; line-height: 1.7; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal) 0%, #2a7fb0 100%);
  color: var(--white);
  padding: 76px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 36px); }
.cta-banner p { margin-top: 14px; color: rgba(255,255,255,0.9); font-size: 16px; }
.cta-banner .btn-primary { margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: flex-start;
}
.contact-info {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info h3 { font-size: 22px; }
.contact-info p.muted { color: rgba(255,255,255,0.68); font-size: 14.5px; line-height: 1.7; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .ic svg { width: 18px; height: 18px; color: var(--teal-light); }
.contact-item strong { display: block; font-size: 14px; }
.contact-item span { display: block; font-size: 14px; color: rgba(255,255,255,0.72); margin-top: 2px; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-tabs { display: flex; gap: 8px; margin-bottom: 24px; background: var(--gray-100); padding: 6px; border-radius: 999px; }
.form-tab {
  flex: 1;
  border: none; background: transparent;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: var(--gray-600);
  transition: background 0.2s ease, color 0.2s ease;
}
.form-tab.active { background: var(--white); color: var(--teal); box-shadow: var(--shadow-sm); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(21,155,143,0.14);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-msg {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(21,155,143,0.12); color: var(--teal-dark); }
.form-msg.error { background: rgba(220,38,38,0.1); color: #b91c1c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h4 { color: var(--teal-light); font-size: 15px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 13.5px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 999;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px;
    transform: translateX(-100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
  .header-actions .btn-teal { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}
