:root {
  --green: #1b5e20;
  --green-2: #2e7d32;
  --green-deep: #0d3d12;
  --green-soft: #e7f3e9;
  --ink: #101a13;
  --muted: #3d4d42;
  --bg: #f4f7f4;
  --card: #ffffff;
  --line: #c9d9cd;
  --shadow: 0 12px 36px rgba(13, 61, 18, 0.1);
  --shadow-sm: 0 4px 16px rgba(13, 61, 18, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1100px;
  --header-h: 56px; /* fixed bar height — never overwrite from JS */
  --scroll-pad: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { }

/* Anchor links: leave room for sticky header so section titles stay on screen */
html {
  scroll-padding-top: var(--scroll-pad, calc(var(--header-h) + 16px));
}
#services,
#about,
#quote,
#contact {
  scroll-margin-top: var(--scroll-pad, calc(var(--header-h) + 16px));
}

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }

.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  height: var(--header-h);
  max-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* keep width so the menu doesn't jump when the logo appears */
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
html.header-logo-on .brand {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.35rem;
}
.nav-desktop a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-desktop a:hover {
  background: var(--green-soft);
  color: var(--green);
  text-decoration: none;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ig-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  border: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.ig-btn:hover {
  background: var(--green-soft);
  color: var(--green-2);
  border-color: #a8c9ae;
  text-decoration: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  box-shadow: 0 8px 22px rgba(27, 94, 32, 0.28);
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--green-2); color: #fff !important; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.75);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff !important;
}
.btn-header {
  padding: 0.55rem 1.1rem;
  min-width: 72px;
}
.btn-block { width: 100%; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile[hidden] { display: none !important; }
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: #fff;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 49;
  max-height: calc(100dvh - var(--header-h));
  overflow: auto;
  box-shadow: 0 12px 28px rgba(16, 26, 19, 0.12);
}
.nav-mobile a {
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-mobile a:hover {
  background: var(--green-soft);
  color: var(--green);
  text-decoration: none;
}
.nav-mobile .btn {
  color: #fff !important;
  justify-content: center;
  margin-top: 0.25rem;
}
.nav-mobile-ig { color: var(--green) !important; }

/* ——— Hero ——— */

/* Large logo sits in normal document flow under the fixed header; scrolls away */
.hero-logo-band {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  width: 100%;
  padding: 1.35rem 1.25rem 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.hero-logo-band img {
  width: min(320px, 86vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(16, 26, 19, 0.1));
}
@media (min-width: 861px) {
  .hero-logo-band {
    padding: 1.75rem 1.5rem 1.9rem;
  }
  .hero-logo-band img {
    width: min(480px, 56vw);
  }
}
.hero {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #0f3d16 0%, #1b5e20 42%, #245c2a 72%, #163f1b 100%);
  color: #f2f8f3;
}
.hero-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(255,255,255,0.09) 47px,
      rgba(255,255,255,0.09) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(255,255,255,0.06) 47px,
      rgba(255,255,255,0.06) 48px
    );
}
.hero-motif::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255,255,255,0.03);
}
.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.25rem 0 3rem;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 1.75rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .hero-inner {
    padding: 1.25rem 0 1.75rem;
    grid-template-columns: 1fr;
  }
}
.hero-panel {
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b7e0bc;
}
h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
}
.lede {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  color: #c5dbc9;
  max-width: 34rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero .btn {
  background: #fff;
  color: var(--green-deep) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.hero .btn:hover {
  background: #eef6ef;
  color: var(--green) !important;
}
.hero-note {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: #a8c9ae;
  font-style: italic;
}
.hero-aside {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 55%),
    rgba(0,0,0,0.16);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.ruler-visual {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 72px;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(255,255,255,0.45);
}
.ruler-visual .tick {
  width: 2px;
  height: 18px;
  background: rgba(255,255,255,0.55);
  border-radius: 1px;
}
.ruler-visual .tick:nth-child(3n) { height: 28px; }
.ruler-visual .tick.mid { height: 44px; background: #fff; width: 3px; }
.hero-aside-text {
  margin: 1.5rem 0 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

/* ——— Sections ——— */
.section { padding: 3.25rem 0; }
.section-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}
.section-head { margin-bottom: 1.35rem; max-width: 36rem; }
.section-head h2,
.section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.section-tint {
  background: linear-gradient(180deg, #e8f2ea 0%, #ddeee1 100%);
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: #a8c9ae;
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.card h3::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--green);
}
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card-featured {
  background: linear-gradient(145deg, #ffffff 0%, #eef8f0 100%);
  border-color: #9fc5a6;
}
.price {
  display: inline-block;
  color: var(--green);
  font-size: 1.05rem;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.35rem;
  align-items: start;
}
.about-grid > div > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 0.75rem;
}
.about-grid strong { color: var(--ink); }
.about-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.aside-label {
  margin: 0.75rem 0 0.1rem !important;
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--green) !important;
}
.aside-label:first-child { margin-top: 0 !important; }
.aside-value {
  margin: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 600;
  color: var(--ink) !important;
}
.aside-value.italic { font-style: italic; font-weight: 500; }


.about-main > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 0.75rem;
}
.about-intro {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.1rem 1.25rem;
  align-items: start;
  margin: 0 0 1.15rem;
}
.about-intro > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
  line-height: 1.55;
}
.about-headshot {
  margin: 0;
}
.about-headshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #e8ebe6;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}
.about-gallery figure {
  margin: 0;
}
.about-gallery img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #e8ebe6;
}
.about-gallery figcaption {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 720px) {
  .about-intro {
    grid-template-columns: 100px 1fr;
    gap: 0.85rem;
  }
  .about-gallery {
    gap: 0.45rem;
  }
  .about-gallery img {
    height: 96px;
  }
  .about-gallery figcaption {
    font-size: 0.62rem;
  }
}
@media (min-width: 721px) and (max-width: 980px) {
  .about-gallery img {
    height: 120px;
  }
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.muted { color: var(--muted); margin: 0 0 0.85rem; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-list li { display: flex; flex-direction: column; gap: 0.1rem; }
.cl-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}
.contact-list a {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.contact-list a:hover { color: var(--green); }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green) !important;
  font-weight: 700;
  margin-bottom: 1rem;
  text-decoration: none !important;
}
.ig-link:hover {
  background: var(--green-soft);
  border-color: #a8c9ae;
}
.ig-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.contact-ctas .btn-ghost {
  color: var(--green) !important;
  border-color: var(--green);
  background: transparent;
  box-shadow: none;
}
.contact-ctas .btn-ghost:hover {
  background: var(--green-soft);
  color: var(--green-2) !important;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #101a13;
  padding: 1.25rem 0;
  color: #b7c8bb;
}
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer p {
  margin: 0;
  color: #b7c8bb;
  font-size: 0.9rem;
}
.ig-btn-footer {
  width: 40px;
  height: 40px;
  color: #d7e8db;
  border-color: rgba(255,255,255,0.2);
  background: transparent;
}
.ig-btn-footer:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

/* ——— Responsive ——— */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
  .btn-header { display: none; }
  .brand img { height: 36px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 2.25rem 0 2rem;
    gap: 1rem;
  }
  .hero-aside { display: none; }
  .hero-panel { padding: 1.5rem 1.25rem 1.35rem; }
  .cards, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .cta-row .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .header-inner { width: calc(100% - 1.25rem); }
  .section-inner, .hero-inner, .footer-inner { width: calc(100% - 1.25rem); }
  .cta-row .btn { width: 100%; }
  .brand img { height: 34px; }
}

@media (min-width: 861px) {
  .nav-mobile { display: none !important; }
}

.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:960px){.cards-3{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.cards-3{grid-template-columns:1fr}}

.about-kicker{
  margin:0 0 .5rem; font-size:.8rem; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; color:var(--green,#1b5e20);
}

.aside-sub{display:block;margin-top:.35rem;font-size:.85rem;font-weight:600;color:var(--muted);line-height:1.35}
.motto-band{
  background:#000;
  color:#fff;
  padding:3.25rem 1.25rem;
  text-align:center;
}
.motto-inner{width:min(var(--max),100%);margin:0 auto}
.motto-line{
  margin:0;
  font-size:clamp(1.75rem,4.5vw,3rem);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
  color:#fff;
  text-transform:none;
}
.motto-line + .motto-line{margin-top:.35rem}
.motto-sub{
  margin:1.15rem 0 0;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
}

/* ——— Quote form ——— */
.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  position: relative;
}

/* Single outer stack — every field shares the same left/right edges */
.quote-fields {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Name + phone: equal halves that still span the same outer edges */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  width: 100%;
  min-width: 0;
}

.field label,
.field-label {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.3;
}

.req {
  color: var(--green-2);
  font-weight: 700;
}

.optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85rem;
}

.field-hint {
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Shared control chrome — same width, padding, radius, height rhythm */
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.45;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231b5e20' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a9a8e;
}

.hp-wrap {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -10000px !important;
}

.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  /* Do NOT use display:none — iOS Safari blocks the picker */
}

label.photo-dropzone {
  font-weight: inherit;
  color: inherit;
  display: flex;
}

.photo-dropzone {
  position: relative;

  width: 100%;
  box-sizing: border-box;
  border: 2px dashed #a8c9ae;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.7rem 0.9rem;
  margin: 0;
}

.photo-dropzone:hover,
.photo-dropzone:focus-visible,
.photo-dropzone.is-dragover {
  border-color: var(--green);
  background: #dceee0;
  outline: none;
}

.photo-dropzone-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
  text-align: left;
}

.photo-dropzone-icon {
  display: inline-flex;
  color: var(--green);
  flex-shrink: 0;
  margin: 0;
}

.photo-dropzone-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.3;
}

.photo-thumbs {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.photo-thumbs:empty {
  display: none;
}

.photo-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  align-items: start;
  width: 100%;
}

.photo-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--green);
  background: #eef3ef;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.photo-thumb.is-pending::after {
  content: "…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(16, 26, 19, 0.75);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
}

.photo-remove:hover {
  background: rgba(16, 26, 19, 0.92);
}

.photo-caption-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
}

.photo-caption-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.photo-caption-label .optional {
  font-weight: 500;
  color: var(--muted);
}

.photo-caption {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}

.photo-caption:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.photo-dropzone.is-loading {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
  border-style: solid;
  border-color: var(--green);
}

.photo-dropzone.has-photos {
  border-style: solid;
  border-color: var(--green);
  background: #e8f5ea;
}

.photo-ready {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.35;
}

.photo-ready--busy {
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 720px) {
  .photo-item {
    grid-template-columns: 72px 1fr;
    gap: 0.6rem;
  }

  .photo-thumb {
    width: 72px;
    height: 72px;
  }
}

.quote-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.quote-actions .btn {
  min-width: 200px;
}

.quote-actions .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  box-shadow: none;
}

.quote-fine {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36rem;
}

.quote-fine a {
  font-weight: 600;
}

.quote-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.quote-status--success {
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid #a8c9ae;
}

.quote-status--error {
  background: #fdecea;
  color: #8a1c14;
  border: 1px solid #f0b4ae;
}

@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .quote-form {
    padding: 1.2rem 1rem 1.25rem;
  }
  .quote-actions .btn {
    width: 100%;
  }
}

/* Hard stack: label above full-width control (mobile-safe) */
.quote-form .field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
}
.quote-form .field > label,
.quote-form .field > .field-label {
  display: block !important;
  width: 100% !important;
  float: none !important;
}
.quote-form .field > input,
.quote-form .field > select,
.quote-form .field > textarea,
.quote-form .field > .photo-dropzone,
.quote-form .field > .photo-thumbs {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.quote-form .field-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.1rem !important;
  width: 100% !important;
}




.contact-pref {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.contact-pref-option {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.contact-pref-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.contact-pref-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.contact-pref-option:hover span {
  border-color: var(--green);
}

.contact-pref-option input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.contact-pref-option input:checked + span {
  border-color: var(--green);
  background: #e8f5ea;
  box-shadow: inset 0 0 0 1px var(--green);
  color: var(--green);
}

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