/* ==========================================================================
   Dardania Construction — Modern design system
   Bright, polished: white background, blue brand color, soft shadows,
   rounded cards. Inter throughout.
   ========================================================================== */

:root {
  --blue-900: #192E5F;
  --blue-800: #25448C;
  --blue-700: #3159B8;
  --blue-600: #557AD2;
  --blue-500: #7D99DC;
  --blue-100: #FBEEE0;
  --blue-50:  #FCF6EC;

  --amber-500: #D9762F;
  --amber-600: #B85F1F;

  --ink: #221C14;
  --gray-700: #5A5148;
  --gray-500: #837A6E;
  --gray-300: #E4D9C7;
  --gray-200: #EFE6D6;
  --gray-100: #F7F1E6;
  --white: #FFFFFF;
  --cream: #F5EEDF;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16,19,26,0.05), 0 1px 3px rgba(16,19,26,0.06);
  --shadow-md: 0 8px 24px rgba(20,40,92,0.08), 0 2px 6px rgba(20,40,92,0.05);
  --shadow-lg: 0 24px 48px rgba(20,40,92,0.14), 0 6px 16px rgba(20,40,92,0.06);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--blue-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: var(--white);
  border-color: var(--gray-300);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--blue-800);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253,250,244,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.brand-sub { font-size: 11.5px; color: var(--gray-500); font-weight: 600; letter-spacing: 0.03em; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  padding: 6px;
  border-radius: var(--radius-pill);
}
nav.main-nav a {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-700);
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a.active { background: var(--white); color: var(--blue-800); box-shadow: var(--shadow-sm); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { display: none; font-weight: 700; font-size: 15px; color: var(--ink); }
.phone-link .ic { color: var(--blue-600); margin-right: 6px; }

.nav-toggle {
  display: none;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; border-radius: 2px;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 50;
  padding: 28px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav a {
  font-size: 28px; font-weight: 800; color: var(--ink); padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 100px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 20px 0 20px;
}
.hero h1 .accent { color: var(--blue-700); }
.hero p.lede { font-size: 19px; color: var(--gray-700); max-width: 46ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust .stars { color: var(--amber-500); font-size: 15px; letter-spacing: 2px; }
.hero-trust p { margin: 2px 0 0; font-size: 13.5px; color: var(--gray-500); }

.hero-photo-wrap { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.float-card .fc-num { font-size: 26px; font-weight: 800; color: var(--blue-800); line-height: 1; }
.float-card .fc-label { font-size: 12.5px; color: var(--gray-500); font-weight: 600; margin-top: 2px; }
.float-card-bl { bottom: -24px; left: -24px; }
.float-card-tr { top: 24px; right: -24px; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 8px 0 56px; }
.trust-strip .wrap {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
  padding: 22px 32px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); flex-shrink: 0; }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 14px;
  line-height: 1.08;
}
.section-head p { font-size: 17px; color: var(--gray-700); margin: 0; }
.section-head-center { max-width: 640px; margin: 0 auto 52px; text-align: center; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-photo { aspect-ratio: 4/3; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 26px 26px 28px; flex-grow: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.service-body p { font-size: 15px; color: var(--gray-700); margin: 0 0 18px; flex-grow: 1; }
.service-link { font-size: 14.5px; font-weight: 700; color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--blue-800); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-step { position: relative; }
.process-num {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-700);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.process-step h4 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.process-step p { font-size: 14.5px; color: var(--gray-700); margin: 0; }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat-box { padding: 32px 24px; border-right: 1px solid var(--gray-200); }
.stat-box:last-child { border-right: none; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--blue-800); letter-spacing: -0.01em; }
.stat-label { font-size: 13.5px; color: var(--gray-500); font-weight: 600; margin-top: 6px; }

/* ---------- Photo grid (about) ---------- */
.photo-collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.photo-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.photo-collage .tall { grid-row: 1/3; aspect-ratio: 3/4; }
.photo-collage .wide { aspect-ratio: 4/3; }

/* ---------- Quote / testimonial ---------- */
.testimonial {
  background: var(--blue-600);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: "\201C";
  position: absolute; top: -10px; left: 32px;
  font-size: 160px;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.testimonial p.quote { font-size: 26px; font-weight: 600; line-height: 1.4; margin: 0 0 20px; position: relative; max-width: 60ch; }
.testimonial .quote-attr { font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(37,68,140,0.85), rgba(85,122,210,0.8)), url('images/projects/waterfront-estate/pool-twilight.jpg') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 64px;
  color: var(--white);
  margin: 0 28px;
}
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0; max-width: 16ch; letter-spacing: -0.02em; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Project cards ---------- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip {
  font-size: 13.5px; font-weight: 700; padding: 10px 18px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-pill); color: var(--gray-700); background: var(--white);
  font-family: inherit; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.filter-chip:hover { border-color: var(--blue-700); color: var(--blue-700); }
.filter-chip.active:hover { color: var(--white); }
.filter-chip.active { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { display: block; }
.project-photo {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.project-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-photo img { transform: scale(1.05); }
.project-card .cat-tag { font-size: 12px; font-weight: 700; color: var(--blue-700); text-transform: uppercase; letter-spacing: 0.03em; }
.project-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 8px 0 6px; }
.project-card p { margin: 0; font-size: 14.5px; color: var(--gray-700); }

.featured-case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px;
}
.featured-case .featured-photo {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.featured-case .featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.featured-case h2 { font-size: 30px; font-weight: 800; margin: 14px 0 12px; color: var(--ink); letter-spacing: -0.01em; }
.featured-case p { color: var(--gray-700); margin: 0 0 22px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 56px 0 60px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; color: var(--ink); margin: 16px 0 0; letter-spacing: -0.02em; }
.page-hero p { max-width: 56ch; color: var(--gray-700); font-size: 17px; margin-top: 16px; }

/* ---------- Service detail block (services page) ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service-detail-photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.service-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-detail h2 { font-size: 30px; font-weight: 800; color: var(--ink); margin: 14px 0 12px; letter-spacing: -0.01em; }
.service-detail p { color: var(--gray-700); margin: 0 0 16px; }
.service-detail ul { padding-left: 20px; color: var(--gray-700); font-size: 15px; margin: 0 0 22px; }
.service-detail ul li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--gray-200); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--gray-200); }
.faq-item h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--gray-700); font-size: 15px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1/-1; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font-family: var(--font); font-size: 15px; padding: 13px 16px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }

.contact-info-card {
  background: var(--blue-700); color: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md);
}
.contact-info-card .ci-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info-card .ci-row:last-child { border-bottom: none; }
.contact-info-card .ci-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-card .ci-label { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; margin-bottom: 2px; }
.contact-info-card .ci-value { font-size: 15px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 38px; }
.footer-brand span { font-weight: 800; font-size: 18px; }
.footer-grid h5 { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 18px; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 14.5px; color: rgba(255,255,255,0.85); }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 14.5px; max-width: 34ch; margin: 0; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { font-size: 13.5px; color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (min-width: 860px) { .phone-link { display: inline-flex; align-items: center; } }
@media (max-width: 980px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-box { border-bottom: 1px solid var(--gray-200); }
  .stat-box:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .photo-collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .photo-collage .tall { grid-row: auto; aspect-ratio: 4/3; }
  .featured-case, .service-detail { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 72px; }
  .hero { padding: 40px 0 64px; }
  section { padding: 60px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-grid { grid-template-columns: 1fr; }
  .photo-collage { grid-template-columns: 1fr; }
  .testimonial { padding: 36px 28px; }
  .testimonial p.quote { font-size: 21px; }
  .float-card { display: none; }
  .trust-strip .wrap { padding: 20px; }
}

/* ---------- Advanced contact form additions ---------- */
.form-section-label {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--blue-700); margin: 28px 0 14px;
}
.form-section-label:first-child { margin-top: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-chip {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--gray-700);
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.check-chip:hover { border-color: var(--blue-600); }
.check-chip input { width: 17px; height: 17px; accent-color: var(--blue-700); margin: 0; flex-shrink: 0; }
.check-chip input:checked + span { color: var(--ink); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-pill);
  padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--gray-700); cursor: pointer;
  white-space: nowrap; flex: 0 0 auto;
}
.radio-chip input {
  accent-color: var(--blue-700); margin: 0; flex-shrink: 0;
  width: 17px; height: 17px;
}
.trust-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gray-700); }
.trust-badge .tb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-700); }

/* ---------- Empty photo placeholders (photos removed, pending re-upload) ---------- */
.service-photo, .project-photo, .featured-photo, .service-detail-photo,
.hero-photo, .photo-collage img, .hero-photo-img {
  background: var(--gray-200);
}
.photo-collage img { display: block; }
