/* Delvekie Property Group — brand styles
   Charcoal #262626 · Safety orange #FF5A1F · Gray #6B7280 · Light #F5F5F5 */

:root {
  --charcoal: #262626;
  --orange: #FF5A1F;
  --orange-dark: #E04E12;
  --gray: #6B7280;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --radius: 12px;
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 12px; text-align: center; }

.section { padding: 72px 0; }
.section-alt { background: var(--light); }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 40px; font-size: 1.1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #EAEAEA;
}
.header-inner { display: flex; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 12px; }
.brand img { display: block; height: 48px; width: auto; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.75rem; cursor: pointer; color: var(--charcoal); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: var(--radius); border: none; cursor: pointer;
  padding: 12px 24px; font-size: 1rem; text-align: center;
  transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--charcoal); color: var(--white); }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-call { margin-left: 8px; white-space: nowrap; }

/* Hero */
.hero { background: linear-gradient(180deg, #FFF7F0 0%, var(--white) 100%); padding: 88px 0 72px; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.lede { font-size: 1.2rem; color: #444; max-width: 640px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-badges { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.trust-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.badge-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-size: .85rem;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-top: 4px solid var(--orange);
}
.section-alt .card { border-top-color: var(--charcoal); }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: #555; }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.review p { font-style: italic; margin-bottom: 12px; }
.review cite { color: var(--gray); font-style: normal; font-weight: 600; font-size: .95rem; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.steps li {
  background: var(--white); border: 1px solid #EAEAEA; border-radius: var(--radius);
  padding: 28px 24px;
}
.steps strong { display: block; font-size: 1.15rem; margin-bottom: 8px; color: var(--orange-dark); }
.steps span { color: #555; }

/* Form */
#quote-form { display: grid; gap: 18px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
#quote-form input, #quote-form select, #quote-form textarea {
  font: inherit; font-weight: 400; padding: 14px 16px;
  border: 2px solid #DDD; border-radius: var(--radius); width: 100%;
  background: var(--white);
}
#quote-form input:focus, #quote-form select:focus, #quote-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-note { min-height: 1.5em; font-weight: 600; }
.form-note.ok { color: #15803D; }
.form-note.err { color: #B91C1C; }

/* Contact */
.contact-block p { margin-bottom: 10px; font-size: 1.1rem; }
.contact-block a { color: var(--orange-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--charcoal); color: #CCC; padding: 48px 0; }
.footer-inner { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.footer-inner img { filter: brightness(0) invert(1); height: 44px; width: auto; }
.site-footer p { font-size: .95rem; }

/* Photo treatments */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.14); border: 1px solid #EEE; display: block; }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; height: 210px; object-fit: cover; display: block; }
.card-photo .card-body { padding: 28px; }
.card-emergency { background: var(--charcoal); display: flex; }
.card-emergency h3 { color: var(--white); }
.card-emergency p { color: #BBB; margin-bottom: 20px; }
.card-emergency .card-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-band { background: var(--charcoal); color: var(--white); padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { text-align: left; color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #BBB; max-width: 560px; }

/* Responsive */
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 16px 24px 24px;
    border-bottom: 1px solid #EAEAEA; gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .btn-call { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
