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

:root {
  --blue: #1a6fc4;
  --blue-dark: #155ba0;
  --blue-light: #e8f0fb;
  --text: #1a1f2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-alt: #f7f9fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,111,196,.35); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Nav ── */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav-scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.logo strong { color: var(--blue); }
.logo-light { color: #fff; }
.logo-light strong { color: #90c8ff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  background: #0d1a2e;
  color: #fff;
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 25, 50, 0.82) 0%,
    rgba(10, 25, 50, 0.65) 55%,
    rgba(10, 25, 50, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.5rem; font-weight: 800; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.7); font-weight: 500; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.25); }

.hero-image-col {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .35;
  pointer-events: none;
}
.hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--text);
  color: #fff;
  padding: 14px 0;
  font-size: .82rem;
  font-weight: 600;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-inner span { opacity: .85; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Why Us ── */
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-us-text .section-tag { display: block; margin-bottom: 12px; }
.why-us-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.why-sub { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  margin-top: 2px;
}
.why-list li strong { display: block; font-weight: 700; margin-bottom: 4px; }
.why-list li p { font-size: .9rem; color: var(--text-muted); }

/* Testimonials */
.testimonial-stack { display: flex; flex-direction: column; gap: 16px; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.testimonial-offset { margin-left: 24px; }
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 10px; }
.testimonial p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: .9rem; }
.t-author span { font-size: .8rem; color: var(--text-muted); }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item p { padding: 12px 16px; font-size: .83rem; color: var(--text-muted); font-weight: 500; }

/* ── Contact ── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-text .section-tag { display: block; margin-bottom: 12px; }
.contact-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.contact-text > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}
.contact-item a { color: var(--blue); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

/* Form */
.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.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: .85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,196,.12);
}
.form-note { font-size: .78rem; color: var(--text-muted); text-align: center; margin-top: 10px; }
.form-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  margin-top: 12px;
}

/* ── Footer ── */
.footer {
  background: #0d1a2e;
  color: rgba(255,255,255,.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }
.footer-license { font-size: .78rem; margin-top: 8px; opacity: .5; }
.footer-links { display: contents; }
.footer-links > div strong { display: block; color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .88rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-bottom a { color: #90c8ff; }
.footer-bottom a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image-col { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .why-us-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 12px; flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
}
