/* Base */
:root {
  --bg: #0e1116;
  --surface: #ffffff;
  --ink: #0c1321;
  --muted: #667085;
  --brand: #4f46e5; /* indigo-600 */
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-100: #eef2ff;
  --ring: 0 0 0 4px rgba(79,70,229,0.15);
  --shadow: 0 10px 25px rgba(16, 24, 40, 0.08), 0 2px 8px rgba(16, 24, 40, 0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #f7f7fb;
  line-height: 1.6;
}

/* Global responsive images */
img { max-width: 100%; height: auto; display: block; }
.img-cover { width: 100%; height: var(--img-h, 220px); object-fit: cover; }
.img-contain { width: 100%; height: var(--img-h, 220px); object-fit: contain; background: #fff; }

.container { width: min(1100px, 92%); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.1rem;
  border-radius: .7rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn.primary:hover { transform: translateY(-1px); filter: brightness(1.02); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #eef0f5;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.logo-dot { width: .9rem; height: .9rem; border-radius: 50%; background: var(--brand); display: inline-block; }
.brand-logo { height: clamp(28px, 5vw, 40px); width: auto; object-fit: contain; display: inline-block; border-radius: 6px; background: transparent; }
.brand-name { letter-spacing: .3px; }


.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--brand-700); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; isolation: isolate; }
.hero-bg { width: 100%; height: 56vh; object-fit: cover; filter: brightness(.7); display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 60% 10%, rgba(79,70,229,.25), transparent 60%);
  z-index: -1;
}
.hero-content {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: left; color: white;
}
.hero h1 { font-size: clamp(1.9rem, 3.6vw + 1rem, 3rem); margin: 0 0 .6rem; line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero p { max-width: 680px; margin: 0 0 1.1rem; font-size: 1.05rem; opacity: .95; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: #f3f4ff; }
.section-title { text-align: center; font-size: 1.9rem; margin: 0 0 1.4rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16,24,40,.12); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.about-media img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.bullets { margin: .6rem 0 0; padding-left: 1.1rem; }
.bullets li { margin: .35rem 0; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.testimonial { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 1rem 1.1rem; }
.testimonial p { margin: 0 0 .6rem; }
.testimonial footer { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-section { background: #0b1020; color: #e9ecf8; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.contact-list { padding-left: 0; list-style: none; }
.contact-list li { margin: .4rem 0; }
.contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); padding: 1rem; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; margin-bottom: .8rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .85rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(6,10,20,.6); color: #e9ecf8; outline: none; transition: .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { box-shadow: var(--ring); border-color: #7c83ff; }
.form-status { margin: .5rem 0 0; min-height: 1.2rem; color: #c6d0ff; }

/* Footer */
.site-footer { background: #060913; color: #c0c7dd; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.social { display: flex; gap: .8rem; color: #c0c7dd; }
.social a { color: inherit; opacity: .9; }
.social a:hover { opacity: 1; color: #ffffff; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 58px; right: 4%; background: #fff; box-shadow: var(--shadow); border-radius: 10px; padding: .6rem; flex-direction: column; }
  .nav-toggle { display: inline-block; }
  .cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .hero-bg { height: 58vh; }
}
