/* ============================================================
   UrbanAxis Property Services — EcoLux faithful rebuild v3
   ============================================================ */

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

:root {
  /* EcoLux colour palette */
  --green:        #4F6B38;   /* CTA button, active nav */
  --green-dark:   #3A5028;   /* hover */
  --green-light:  #EBF2E0;   /* badge bg, feature icon bg */
  --green-mid:    #5E7E45;   /* accents */
  --text:         #111111;   /* headings */
  --body:         #3D3D3D;   /* body copy */
  --muted:        #6B7280;   /* captions, secondary text */
  --white:        #FFFFFF;
  --off-white:    #F8FAF5;   /* alternating section bg */
  --border:       #DDE5D5;
  --footer-bg:    #1B2715;   /* deep forest footer */
  --footer-text:  rgba(255,255,255,0.65);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);
  --radius:       8px;
  --radius-lg:    14px;
  --radius-pill:  100px;
  --t:            0.22s ease;
  --font:         'Poppins', sans-serif;
  --max-w:        1180px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--body); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

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

/* ── Typography helpers ─────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

h1,h2,h3,h4 { color: var(--text); line-height: 1.2; }

.section-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,107,56,0.35);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--text);
}
.btn-white {
  background: var(--white);
  color: var(--text);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; text-align: center; justify-content: center; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  margin-right: 40px;
}
.logo-mark { color: var(--green); font-size: 18px; line-height: 1; }
.logo-name  { font-size: 17px; font-weight: 700; line-height: 1; }
.logo-name .u { color: var(--text); }
.logo-name .a { color: var(--green); }
.logo-tagline { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 2px; align-self: flex-end; padding-bottom: 2px; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius);
  transition: color var(--t);
}
.main-nav a:hover, .main-nav a.active { color: var(--green); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}
.header-phone:hover { color: var(--green); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: 16px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); padding: 12px 28px 20px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 11px 0; font-size: 15px; font-weight: 500; color: var(--body); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 12px; align-self: flex-start; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 64px;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12,18,8,0.50);
}
.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 820px;
  width: 100%;
}
.hero-body h1 {
  color: var(--white);
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-body p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 34px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btn { display: inline-flex; }

/* ── Section spacing ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }
.bg-white  { background: var(--white); }
.bg-off    { background: var(--off-white); }
.bg-dark   { background: var(--footer-bg); }
.bg-green  { background: var(--green); }
.bg-green-dark { background: #2E4420; }

/* ── Why Us ─────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.why-feature:last-child { border-bottom: none; }
.why-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.why-feature-text h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.why-feature-text p  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.why-image { border-radius: var(--radius-lg); overflow: hidden; }
.why-image img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* ── Service cards ──────────────────────────────────────────── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t);
  display: block;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card-body p  { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.card-link { font-size: 13px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.card-link:hover { color: var(--green-dark); }

/* ── Services list ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  margin: 32px 0;
}
.services-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.services-grid li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Promise / photo band ───────────────────────────────────── */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.promise-image { border-radius: var(--radius-lg); overflow: hidden; }
.promise-image img { width: 100%; height: 420px; object-fit: cover; }

/* ── Savings / Promo ────────────────────────────────────────── */
.savings {
  background: linear-gradient(135deg, #2E4420 0%, #1B2B12 100%);
  text-align: center;
  padding: 72px 0;
  color: var(--white);
}
.savings h2 { color: var(--white); font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.savings p  { font-size: 17px; color: rgba(255,255,255,0.80); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.savings strong { color: #C8E09A; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: var(--font);
  background: none;
  cursor: pointer;
  transition: color var(--t);
  gap: 12px;
}
.faq-btn:hover { color: var(--green); }
.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t);
  line-height: 1;
}
.faq-item.open .faq-toggle { background: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-answer p { padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 180px; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: 36px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.contact-info .brand-name { font-size: 16px; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.contact-info > p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.contact-detail-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t);
}
.contact-detail-list a:hover { color: var(--green); }
.c-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--off-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.social-row a:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* Form */
.form-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--border); }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(79,107,56,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #C0C0C0; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-mark { color: #8CC872; }
.footer-brand .logo-name .u { color: rgba(255,255,255,0.85); }
.footer-brand .logo-name .a { color: #8CC872; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.35); }
.footer-brand > p { font-size: 13px; line-height: 1.75; margin: 16px 0 20px; max-width: 260px; color: var(--footer-text); }
.footer-contact a { display: block; font-size: 13px; color: rgba(255,255,255,0.60); padding: 3px 0; transition: color var(--t); }
.footer-contact a:hover { color: #8CC872; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 16px; }
.footer-col a  { display: block; font-size: 13px; color: var(--footer-text); padding: 4px 0; transition: color var(--t); }
.footer-col a:hover { color: #8CC872; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.35); font-size: 12px; transition: color var(--t); }
.footer-social a:hover { color: #8CC872; }

/* ── Page hero (service pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 64px;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12,18,8,0.58);
}
.page-hero-body {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 28px 52px;
  max-width: 720px;
}
.page-hero-body .back { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 18px; transition: color var(--t), border-color var(--t); }
.page-hero-body .back:hover { color: var(--white); border-color: rgba(255,255,255,0.65); }
.page-hero-body .label { margin-bottom: 14px; }
.page-hero-body h1 { color: var(--white); font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 14px; line-height: 1.15; }
.page-hero-body p  { font-size: 16px; opacity: 0.85; max-width: 520px; line-height: 1.7; margin-bottom: 24px; }

/* ── Service items grid ─────────────────────────────────────── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.item-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}
.item-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left;
}
.item-card:hover { border-color: var(--green-light); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.item-card:hover::after { transform: scaleX(1); }
.item-num { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); margin-bottom: 10px; }
.item-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.item-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band { background: var(--green); text-align: center; padding: 64px 0; color: var(--white); }
.cta-band h2 { color: var(--white); font-size: clamp(22px, 3.5vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-band p  { font-size: 16px; opacity: 0.85; max-width: 460px; margin: 0 auto 28px; line-height: 1.7; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid     { grid-template-columns: 1fr; }
  .why-image img { height: 360px; }
  .promise-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .main-nav, .header-right { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  .hero { height: 440px; }
  .hero-body h1 { font-size: 30px; letter-spacing: -0.5px; }
  .hero-body p  { font-size: 15px; }

  .cards-row    { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .items-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .page-hero { height: 360px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { height: 380px; }
}
