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

:root {
  --blue:      #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light:#eff6ff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-600:  #4b5563;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,.06), 0 10px 40px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

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

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:active { transform: scale(.98); }

.btn-outline {
  background: transparent;
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-full { width: 100%; text-align: center; }

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: transform .3s ease;
  overflow: visible;
}

.navbar--hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 140px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 48px;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
}
nav a:hover { color: var(--blue); }
nav .btn { color: var(--white); }

/* ─── Hero ─── */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--white) 60%);
}

.hero-inner {
  display: grid;
  gap: 40px;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: .3px;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -.5px;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  align-self: start;
}

.stat-list {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.stat { text-align: center; flex: 1; min-width: 100px; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 4px;
  display: block;
}

.divider-v {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
}

/* ─── Sections ─── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
}
.section-header p {
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 17px;
}

.section-note {
  text-align: center;
  margin-top: 40px;
  color: var(--gray-600);
  font-size: 15px;
}
.section-note a { color: var(--blue); font-weight: 600; }
.section-note a:hover { text-decoration: underline; }

/* ─── Service Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card-grid .card:last-child {
  grid-column: 1 / -1;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-highlight {
  border-color: var(--blue);
  background: var(--blue-light);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: .3px;
}

.card-icon { font-size: 32px; margin-bottom: 12px; }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.55;
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.note {
  font-size: 12px;
  color: var(--gray-400);
}

/* ─── About ─── */
.about-inner {
  display: grid;
  gap: 56px;
  align-items: center;
}

.about-inner--centered {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-inner--centered .check-list {
  display: inline-block;
  text-align: left;
}

.about-img {
  display: flex;
  justify-content: center;
}

.img-placeholder {
  width: 280px;
  height: 320px;
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 13px;
}
.img-placeholder span { font-size: 40px; }

.about-photo {
  width: 280px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700, #374151);
  font-weight: 500;
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Testimonials ─── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.reviewer {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

/* ─── Contact ─── */
.contact-inner {
  display: grid;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700, #374151);
  transition: color .2s;
}
a.contact-item:hover { color: var(--blue); }
.contact-icon { font-size: 20px; }

/* ─── Form ─── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700, #374151);
}

input, select, textarea {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

textarea { resize: vertical; }

.form-success {
  background: #d1fae5;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.hidden { display: none; }

/* ─── Footer ─── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 32px 0;
  text-align: center;
}

.footer .logo {
  display: flex;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 6px;
}

.footer p { font-size: 13px; }

/* ─── Responsive ─── */
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 420px; align-items: center; }
  .about-inner { grid-template-columns: 320px 1fr; }
  .about-inner--centered { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .stat-list { flex-direction: column; gap: 16px; }
  .divider-v { width: 60px; height: 1px; }
  nav { gap: 16px; }
  nav a:not(.btn) { display: none; }
}
