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

:root {
  --blue: #1b6ec2;
  --blue-dark: #0f4c81;
  --blue-light: #e8f2fd;
  --accent: #ff7a1a;
  --text: #1a1a2e;
  --muted: #5a6275;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: #e3e8ef;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 76, 129, 0.08);
  --maxw: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-small { padding: 10px 20px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 3px; background: var(--text); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 80px 0;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.8rem; line-height: 1.15; margin: 16px 0 18px; }
.hero-text p { font-size: 1.15rem; opacity: .92; max-width: 480px; }
.badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions .btn { background: #fff; color: var(--blue-dark); }
.hero-actions .btn:hover { background: var(--accent); color: #fff; }
.hero-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.hero-actions .btn-outline:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }

.hero-visual { flex: 0 0 280px; }
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; }
.hero-stat span { font-size: .9rem; opacity: .85; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 2.2rem; color: var(--blue-dark); }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 1.1rem; }

/* ===== Cards Grid ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--blue-dark); }
.card p { color: var(--muted); }

/* ===== About ===== */
.about-inner { display: flex; gap: 60px; align-items: center; }
.about-text { flex: 1; }
.about-text h2 { font-size: 2.2rem; color: var(--blue-dark); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 20px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { font-weight: 500; }
.about-visual { flex: 0 0 320px; }
.about-card {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}
.about-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.about-card p { opacity: .92; }

/* ===== Pricing ===== */
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.price-featured { border: 2px solid var(--blue); transform: scale(1.04); }
.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
}
.price-card h3 { font-size: 1.2rem; color: var(--blue-dark); margin-bottom: 12px; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 20px; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card ul li { padding: 8px 0; color: var(--muted); border-bottom: 1px solid var(--border); }
.price-card ul li:last-child { border-bottom: none; }

/* ===== Testimonials ===== */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.stars { color: #ffb400; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial p { color: var(--text); margin-bottom: 16px; font-style: italic; }
.author { font-weight: 700; color: var(--blue-dark); }

/* ===== Contact Form ===== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; gap: 16px; }
.form-row input, .form-row select { flex: 1; }
input, select, textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
textarea { resize: vertical; }
.form-note { text-align: center; font-weight: 600; color: var(--blue); min-height: 24px; }

/* ===== Footer ===== */
.site-footer { background: var(--blue-dark); color: #fff; padding: 48px 0 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 32px; }
.site-footer .logo { color: #fff; }
.site-footer p { opacity: .8; margin-top: 8px; }
.footer-contact p { margin: 6px 0; }
.footer-contact a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: .9rem; opacity: .7; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text p { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { flex: none; width: 100%; max-width: 320px; }
  .about-inner { flex-direction: column; }
  .about-visual { flex: none; width: 100%; max-width: 320px; }
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .price-featured { transform: none; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .section-head h2, .about-text h2 { font-size: 1.7rem; }
  .form-row { flex-direction: column; }
  .section { padding: 56px 0; }
}