:root {
  --green: #12ca59;
  --green-2: #00c195;
  --green-dark: #0ea34a;
  --grad-1: #10c317;
  --grad-2: #15d09a;
  --dark: #0d1820;
  --dark-2: #111c24;
  --dark-3: #16232c;
  --text: #1a1b1e;
  --muted: #767676;
  --white: #ffffff;
  --light: #f6f8f7;
  --border: #ececec;
  --shadow: 0 18px 45px rgba(13, 24, 32, 0.08);
  --radius: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.accent { color: var(--green); }
.white { color: var(--white); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-green {
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 202, 89, 0.28);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 202, 89, 0.38);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover { background: #15232d; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-light { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  max-width: 620px;
  font-size: 16px;
}

.pattern {
  position: relative;
  overflow: hidden;
}

.pattern::before,
.pattern::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 80px solid rgba(18, 202, 89, 0.05);
  pointer-events: none;
}

.pattern::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -80px;
}

.pattern::after {
  width: 280px;
  height: 280px;
  bottom: -90px;
  left: -70px;
  border-color: rgba(13, 24, 32, 0.04);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(13, 24, 32, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

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

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 0;
  background: var(--green);
  border-radius: 8px;
  cursor: pointer;
  color: var(--white);
  gap: 5px;
  padding: 12px 13px;
  flex-shrink: 0;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 70px 0 40px;
  background:
    radial-gradient(circle at 88% 18%, rgba(18, 202, 89, 0.12), transparent 22%),
    radial-gradient(circle at 8% 80%, rgba(18, 202, 89, 0.08), transparent 18%),
    linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.hero p.lead {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 520px;
}

.quote-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #f1f1f1;
}

.quote-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

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

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

.field.full,
.form-grid .full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  background: #fafafa;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(18, 202, 89, 0.12);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #e5484d;
  background: #fff7f7;
}

.error-text {
  display: none;
  color: #e5484d;
  font-size: 12px;
}

.field.error .error-text { display: block; }

.hero-visual {
  position: relative;
  min-height: 540px;
}

.circle-photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 10px solid var(--white);
  box-shadow: 0 20px 50px rgba(13, 24, 32, 0.16);
}

.circle-main {
  width: 430px;
  height: 430px;
  right: 10px;
  top: 20px;
}

.circle-small {
  width: 180px;
  height: 180px;
  left: 0;
  bottom: 30px;
  border-width: 8px;
}

.green-badge {
  position: absolute;
  right: 30px;
  bottom: 80px;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  color: var(--white);
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(18, 202, 89, 0.3);
  z-index: 2;
}

.green-badge span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}

/* Choose us */
.choose {
  padding: 80px 0 0;
}

.choose-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.choose-photo-wrap {
  position: relative;
  min-height: 430px;
}

.choose-photo {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  border: 12px solid #fff;
  box-shadow: var(--shadow);
}

.choose-card {
  position: absolute;
  right: 10px;
  bottom: 20px;
  width: 230px;
  background: linear-gradient(180deg, var(--grad-1), var(--green-2));
  color: var(--white);
  border-radius: 16px;
  padding: 24px;
}

.choose-card h4 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.choose-card p { font-size: 13px; opacity: 0.95; }

.stats-bar {
  margin-top: 70px;
  background: var(--dark);
  color: var(--white);
  border-radius: 18px;
  padding: 42px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item h3 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 6px;
}

.stat-item h3 span { color: var(--green); }
.stat-item p {
  color: #b7c0c6;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(13, 24, 32, 0.04);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.icon-box {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(18, 202, 89, 0.12);
  color: var(--green);
  font-size: 26px;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card .more {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
}

/* Help section */
.help-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.check-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  color: #d5dde2;
}

.check-list i {
  color: var(--green);
  margin-top: 4px;
}

.check-list strong {
  display: block;
  color: var(--white);
  font-size: 17px;
}

.help-visual {
  position: relative;
  min-height: 420px;
}

.help-visual img {
  width: 380px;
  height: 380px;
  margin-left: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 12px solid rgba(255,255,255,0.08);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 24, 32, 0.05);
  transition: 0.25s ease;
}

.project-card:hover { transform: translateY(-6px); }

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card .body { padding: 22px; }
.project-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.project-card h3 { font-size: 20px; margin: 8px 0; }
.project-card p { color: var(--muted); font-size: 14px; }

/* CTA split */
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cta-visual {
  position: relative;
  min-height: 380px;
}

.cta-visual img {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: auto;
  border: 12px solid rgba(255,255,255,0.08);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-card { text-align: center; }

.team-card img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 8px solid #f3f3f3;
}

.team-card h3 { font-size: 20px; }
.team-card p { color: var(--green); font-weight: 600; font-size: 14px; }
.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--light);
  color: var(--dark);
}

.team-social a:hover { background: var(--green); color: var(--white); }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.quote-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.testimonial-slider {
  display: grid;
  gap: 18px;
}

.testi-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.testi-card p { color: #555; margin-bottom: 16px; }
.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-user img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-user strong { display: block; }
.testi-user span { color: var(--muted); font-size: 13px; }
.stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 8px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.contact-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

/* Insights */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 24, 32, 0.05);
}

.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card .body { padding: 22px; }
.news-card span { color: var(--green); font-size: 13px; font-weight: 600; }
.news-card h3 { font-size: 20px; margin: 8px 0; }
.news-card p { color: var(--muted); font-size: 14px; }

/* Page banner */
.page-banner {
  background:
    linear-gradient(120deg, rgba(13,24,32,0.82), rgba(13,24,32,0.55)),
    url("../images/modern-house.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
}

.page-banner h1 { color: var(--white); font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.breadcrumb { color: #d5dde2; font-size: 14px; }
.breadcrumb a { color: var(--green); }

/* Content pages */
.rich-content h2,
.rich-content h3 { margin: 28px 0 12px; }
.rich-content p { color: #555; margin-bottom: 14px; }
.rich-content ul,
.rich-content ol { margin: 0 0 16px 22px; color: #555; }
.rich-content li { margin-bottom: 8px; list-style: disc; }
.rich-content ol li { list-style: decimal; }

.legal-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px;
  position: relative;
  transition: 0.25s ease;
}

.price-card.featured {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-12px);
  border: 0;
}

.price-card.featured h3,
.price-card.featured .amount { color: var(--white); }

.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured:hover { transform: translateY(-16px); }

.badge-pop {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.amount {
  font-size: 48px;
  font-family: "Montserrat", sans-serif;
  margin: 10px 0 6px;
}

.amount span { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card.featured .amount span { color: #b7c0c6; }
.price-card ul { margin: 22px 0; }
.price-card li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #555;
}
.price-card.featured li { color: #d5dde2; }
.price-card li i { color: var(--green); margin-top: 4px; }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}

.faq-item .faq-body {
  display: none;
  padding: 0 22px 18px;
  color: var(--muted);
}

.faq-item.open .faq-body { display: block; }
.faq-item.open button { color: var(--green); }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #b7c0c6;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 18px;
}

.site-footer p { font-size: 14px; line-height: 1.8; }
.site-footer .logo img { height: 48px; margin-bottom: 16px; filter: brightness(1.05); }

.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--green); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #16232c;
  color: var(--white);
  display: grid;
  place-items: center;
}

.socials a:hover { background: var(--green); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 13px;
}

.footer-legal a { color: #9aa6ad; }
.footer-legal a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-form .field {
  flex: 1;
  margin: 0;
}
.footer-form input {
  flex: 1;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  font-family: inherit;
  background: #fff;
}

.success-banner {
  display: none;
  background: #e9fbf0;
  color: #0b7a3a;
  border: 1px solid #b6ebc8;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
  font-weight: 600;
}

.form-wrap.submitted .success-banner { display: block; }
.form-wrap.submitted form { display: none; }

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #555;
}

.check-row.error { color: #e5484d; }
.check-row .error-text { display: none; }
.check-row.error .error-text { display: block; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0 10px;
}

.mini-feature {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(13,24,32,0.05);
}

.mini-feature i { color: var(--green); font-size: 24px; margin-bottom: 8px; }
.mini-feature h4 { font-size: 15px; }

.overlay-nav {
  display: none;
}

.overlay-nav a {
  display: block;
  padding: 8px 0;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .header-inner .btn { padding: 12px 18px; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .choose-grid,
  .help-grid,
  .cta-split,
  .testi-grid,
  .contact-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .circle-main { width: 340px; height: 340px; position: relative; right: auto; top: auto; margin: 0 auto; }
  .hero-visual, .choose-photo-wrap, .help-visual, .cta-visual { min-height: auto; }
  .circle-small, .green-badge { display: none; }
  .choose-photo, .help-visual img, .cta-visual img { margin: 0 auto; }
  .stats-bar, .feature-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .price-card.featured { transform: none; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; }
  .header-inner > .btn { display: none; }
  .logo img { height: 44px; }
  .overlay-nav.open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 0 20px;
  }
  .service-grid,
  .project-grid,
  .news-grid,
  .team-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
  .service-grid,
  .project-grid,
  .news-grid,
  .team-grid,
  .pricing-grid,
  .stats-bar,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .header-inner { min-height: 74px; }
  .section { padding: 70px 0; }
  .footer-bottom { flex-direction: column; }
  .legal-wrap { padding: 22px; }
  .choose-photo, .circle-main, .help-visual img, .cta-visual img {
    width: min(320px, 90vw);
    height: min(320px, 90vw);
  }
}
