:root {
  --primary: #6528f7;
  --primary-dark: #5511f8;
  --text: #0f172a;
  --muted: #4b5563;
  --bg: #f9fafb;
  --card: #ffffff;
  --accent: #ffb703;
  --green: #1b7f4b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 600;
}
.nav-links a.active { color: var(--green); }
.nav-social {
  display: flex;
  gap: 14px;
  margin-left: 20px;
}
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-social svg { width: 22px; height: 22px; }
main {
  background: repeating-linear-gradient(
    180deg,
    #6f8ff7 0px,
    #7fb8e8 225px,
    #7fd9c4 450px,
    #a7e8c8 675px,
    #6f8ff7 900px
  );
  padding: 40px 20px 60px;
}
.section-card {
  max-width: 1200px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  padding: 60px;
}
.section-card:last-child { margin-bottom: 0; }
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.checklist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.checklist div { color: var(--muted); font-size: 0.98rem; }
.checklist span { color: var(--green); font-weight: 700; margin-right: 6px; }
.phone-inline {
  margin-left: 6px;
  font-weight: 600;
  color: var(--text);
}
.pill {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  background: #e6f4ea;
  color: var(--green);
  font-size: 14px;
  border-radius: 999px;
  font-weight: 700;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.hero p { font-size: 1.06rem; color: var(--muted); max-width: 560px; }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-secondary { background: var(--green); color: #fff; }
.hero-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}
.hero-video video {
  width: 100%;
  display: block;
  background: #000;
}
.sound-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: 0;
  cursor: pointer;
}
.section-title { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-title p { color: var(--muted); font-size: 1.02rem; }
.grid-4 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.about {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.about img { width: 100%; border-radius: 18px; }
.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.quote {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}
.quote .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; }
.faq {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.faq-item {
  background: var(--bg);
  padding: 24px 28px;
  border-radius: 16px;
}
.contact {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.map {
  max-width: 1100px;
  margin: 24px auto 0;
  border-radius: 16px;
  overflow: hidden;
}
.or-divider {
  margin: 32px 0 20px;
  color: var(--muted);
  font-weight: 600;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: left;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  justify-self: center;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}
iframe { display: block; width: 100%; height: 350px; border: 0; }
footer {
  background: #f3f4f6;
  padding: 28px 24px 36px;
  text-align: center;
  color: var(--muted);
}
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}
.fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab-whatsapp { background: #25d366; color: #fff; }
.fab-call { background: var(--accent); color: #000; }

/* Blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}
.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.blog-card .blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: #e6f4ea;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}
.blog-card h3 { font-size: 1.1rem; margin: 0; }
.blog-card p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.blog-card .read-more { margin-top: 8px; font-weight: 700; color: var(--green); }
.blog-empty { text-align: center; color: var(--muted); }

/* Single blog post */
.blog-post-header { max-width: 800px; margin: 0 auto 32px; text-align: center; }
.blog-post-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.blog-post-image {
  max-width: 900px;
  margin: 0 auto 32px;
  border-radius: 18px;
  overflow: hidden;
}
.blog-post-image img { width: 100%; display: block; }
.blog-post-content { max-width: 760px; margin: 0 auto; color: var(--text); }
.blog-post-content h3 { margin-top: 32px; }
.blog-post-content p { margin: 0 0 16px; color: var(--text); }
.blog-post-content a { color: var(--green); text-decoration: underline; font-weight: 600; }
.blog-post-back { display: block; max-width: 760px; margin: 32px auto 0; font-weight: 700; color: var(--green); }

/* Admin */
.admin-login { max-width: 420px; margin: 0 auto; display: grid; gap: 16px; }
.admin-posts { max-width: 900px; margin: 40px auto 0; display: grid; gap: 14px; }
.admin-post-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: 14px;
}
.admin-post-row span { font-weight: 600; }
.admin-post-row a { color: #b91c1c; font-weight: 700; }
.form-note { color: var(--muted); font-size: 0.9rem; margin-top: -8px; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 3D tilt hover */
.tilt { transition: transform 0.2s ease-out; will-change: transform; }

/* Decorative gradient blobs */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero::before { width: 280px; height: 280px; background: #7fb8e8; top: -100px; right: 120px; }
.hero::after { width: 220px; height: 220px; background: #7fd9c4; bottom: -80px; left: 40%; }
.hero > div, .hero > .hero-video { position: relative; z-index: 1; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  background: linear-gradient(160deg, #eefaf2, #eef2ff);
  border: 1px solid #e6ebf0;
  border-radius: 18px;
  padding: 28px 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.08); }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: var(--green);
  display: block;
  line-height: 1;
}
.stat-label { color: var(--muted); font-weight: 600; margin-top: 10px; font-size: 0.92rem; }

/* Process steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps::before {
  content: '';
  position: absolute;
  top: 33px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: repeating-linear-gradient(to right, #cfd8e3 0 10px, transparent 10px 20px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 16px;
  padding: 24px 14px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.08); }
.step-icon {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #2fae6d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  box-shadow: 0 12px 24px rgba(27,127,75,0.3);
}
.step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* FAQ accordion */
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.25s ease;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item p { margin: 14px 0 0; color: var(--muted); }

/* Blog teaser on homepage */
.blog-teaser-footer { text-align: center; margin-top: 36px; }

@media (max-width: 900px) {
  .hero, .about, .grid-4, .gallery, .reviews, .blog-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-card { padding: 32px 20px; }
  .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps::before { display: none; }
  .step { display: flex; align-items: flex-start; gap: 16px; text-align: left; padding: 18px 16px; }
  .step-icon { margin: 0; flex-shrink: 0; }
}
