/* ============================================================
   INSIGHT PROPERTY SERVICES — Complete Redesign
   Bright · Friendly · Professional · South Carolina Coastal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand */
  --orange: #fe670a;
  --orange-light: #ff8c42;
  --orange-glow: rgba(254,103,10,.18);
  --green: #207849;
  --green-light: #28a05f;
  --green-glow: rgba(32,120,73,.15);

  /* Neutrals */
  --bg: #f8faff;
  --panel: #ffffff;
  --panel2: #f0f4ff;
  --text: #0c1a36;
  --muted: #5a6a88;
  --line: rgba(12,26,54,.10);
  --line2: rgba(12,26,54,.06);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(12,26,54,.08);
  --shadow-md: 0 8px 28px rgba(12,26,54,.10);
  --shadow-lg: 0 20px 50px rgba(12,26,54,.13);
  --shadow-orange: 0 10px 30px rgba(254,103,10,.25);
  --shadow-green: 0 10px 30px rgba(32,120,73,.22);

  /* Layout */
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1160px;

  /* Typography */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Subtle dot-grid background texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(12,26,54,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); }
h1 { margin: 0 0 14px; font-size: clamp(32px,4.5vw,54px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; }
h2 { margin: 0 0 10px; font-size: clamp(22px,3vw,34px); font-weight: 800; line-height: 1.15; }
h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
p  { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ── TOP BAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #fff; }
.topbar a:hover { color: rgba(255,255,255,.75); }
.topbar-items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-icon { width: 14px; height: 14px; fill: rgba(255,255,255,.75); flex-shrink: 0; }

/* ── HEADER ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.brand-text .name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.3px;
  color: var(--text);
  line-height: 1.1;
}
.brand-text .tagline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  transition: background .18s, color .18s;
}
.nav a:hover, .nav a.active {
  background: var(--panel2);
  color: var(--text);
}
.nav a.active { color: var(--orange); }

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-orange);
  margin-left: 6px;
  transition: transform .18s, box-shadow .18s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(254,103,10,.32) !important; }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Hero decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  top: -250px; right: -200px;
  background: radial-gradient(circle, rgba(254,103,10,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--orange-glow);
  border: 1px solid rgba(254,103,10,.25);
  border-radius: 999px;
  color: #9b3900;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-kicker::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .65; }
}

.hero h1 { color: var(--text); }
.hero h1 span { color: var(--orange); }
.hero-sub { font-size: 18px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; font-weight: 600; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.trust-icon { width: 18px; height: 18px; fill: var(--green); flex-shrink: 0; }

/* Hero contact card */
.hero-card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card-header {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  padding: 20px 22px;
  color: #fff;
}
.hero-card-header h3 { color: #fff; font-size: 18px; margin: 0; }
.hero-card-header p { color: rgba(255,255,255,.85); margin: 4px 0 0; font-size: 14px; }
.hero-card-body { padding: 22px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line2);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon-wrap {
  width: 42px; height: 42px;
  background: var(--panel2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon { width: 20px; height: 20px; fill: var(--orange); }
.contact-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.contact-value { font-weight: 800; font-size: 15px; color: var(--text); line-height: 1.2; margin-top: 2px; }
.contact-value a { color: var(--orange); }

/* ── SECTION BASE ─────────────────────────────────────────── */
.section { padding: 70px 0; }
.section-sm { padding: 48px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header .kicker { display: inline-flex; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--orange-glow);
  border: 1px solid rgba(254,103,10,.22);
  border-radius: 999px;
  color: #7a2f00;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.kicker.green {
  background: var(--green-glow);
  border-color: rgba(32,120,73,.22);
  color: #0e4a2b;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }

.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border: none;
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn.primary:hover { box-shadow: 0 14px 36px rgba(254,103,10,.32); }

.btn.secondary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border: none;
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn.secondary:hover { box-shadow: 0 14px 36px rgba(32,120,73,.30); }

.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn.lg { padding: 16px 28px; font-size: 17px; border-radius: 16px; }

/* ── BADGES ───────────────────────────────────────────────── */
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.badge {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.80);
  color: var(--muted);
  font-weight: 700;
}

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
.services-bg {
  background: linear-gradient(180deg, var(--bg) 0%, #eef3ff 100%);
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--orange-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .22s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(254,103,10,.25); }
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 64px; height: 64px;
  background: var(--orange-glow);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.service-icon { width: 32px; height: 32px; fill: var(--orange); }
.service-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 800; }
.service-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── WHY US ───────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-points { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-num {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-family: var(--font-head);
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: var(--shadow-orange);
}
.why-point-text h4 { font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.why-point-text p { font-size: 14px; color: var(--muted); margin: 0; }

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.stat-box.accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border: none;
  color: #fff;
}
.stat-box.accent2 {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border: none;
  color: #fff;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -1px;
}
.stat-box.accent .stat-num,
.stat-box.accent2 .stat-num { color: #fff; }
.stat-box.span2 { grid-column: span 2; }
.stat-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.stat-box.accent .stat-label,
.stat-box.accent2 .stat-label { color: rgba(255,255,255,.80); }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-grid { display: flex; flex-direction: column; gap: 32px; }
.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.project-header {
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line2);
}
.project-header h2 { font-size: 22px; }
.project-header p { color: var(--muted); font-size: 15px; margin: 0; }
.project-photos { display: grid; grid-template-columns: 1fr 1fr; }
.photo-side { position: relative; }
.photo-side img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.photo-side:first-child { border-right: 1px solid var(--line); }
.photo-label {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
}
.label-before { background: rgba(12,26,54,.70); color: #fff; }
.label-after  { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }

/* ── AREAS SECTION ────────────────────────────────────────── */
.areas-bg {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.areas-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.areas-inner {
  text-align: center;
  color: #fff;
}
.areas-inner h2 { color: #fff; }
.areas-inner .muted { color: rgba(255,255,255,.80); }
.area-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.area-badge {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.40);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(26px,3.5vw,40px); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 0; }
.cta-band .btn { background: #fff; color: var(--orange); border: none; font-weight: 900; }
.cta-band .btn:hover { background: #fff8f4; }
.cta-band .btn.outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.cta-band .btn.outline:hover { background: rgba(255,255,255,.10); }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 32px; }

.form label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px var(--orange-glow);
}
.form input::placeholder,
.form textarea::placeholder { color: #b0bccc; }

.notice {
  border: 1.5px dashed rgba(12,26,54,.20);
  background: var(--panel2);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* ── SERVICES PAGE ────────────────────────────────────────── */
.services-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.service-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.service-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-row-icon {
  width: 52px; height: 52px;
  background: var(--orange-glow);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-row-icon svg { width: 26px; height: 26px; fill: var(--orange); }
.service-row h2 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.service-row p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── HR ───────────────────────────────────────────────────── */
.hr { height: 1px; background: var(--line); border: 0; margin: 18px 0; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer-top {
  background: var(--text);
  color: rgba(255,255,255,.70);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom {
  background: rgba(0,0,0,.20);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}
.social { display: flex; gap: 10px; align-items: center; }
.iconbtn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  transition: background .18s, transform .18s;
}
.iconbtn:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.icon { width: 17px; height: 17px; fill: rgba(255,255,255,.70); }

/* ── THANKS PAGE ──────────────────────────────────────────── */
.thanks-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 360px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .project-photos { grid-template-columns: 1fr; }
  .photo-side:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
  .header-inner { flex-wrap: wrap; position: relative; }
  .topbar-items { gap: 10px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 50px 0; }
}

@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
