/* ABQ Popcorn Ceiling Removal — site stylesheet
   Palette: crisp white ground, Sandia-turquoise accent, watermelon-pink detail (sparing) */
:root {
  --white: #ffffff;
  --mist: #f0f6f6;        /* faint turquoise-tinted panel */
  --mist-deep: #e2eeed;
  --ink: #1e2d2c;
  --ink-soft: #51625f;
  --turq: #2b7a78;
  --turq-dark: #1f5c5a;
  --turq-deep: #143d3c;   /* footer / call-bar ground */
  --turq-pale: #bcd9d7;
  --melon: #d9506b;       /* watermelon pink — details only */
  --melon-dark: #bb3d57;
  --line: #d9e6e5;
  --r: 12px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.15rem; }

a { color: var(--turq); }
a:hover { color: var(--turq-dark); }

h1, h2, h3 { font-family: var(--serif); color: var(--turq-deep); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 4.6vw, 2.75rem); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); margin: 2.4rem 0 0.85rem; }
h3 { font-size: 1.18rem; margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1.05rem; }
ul, ol { margin: 0 0 1.05rem 1.35rem; }
li { margin-bottom: 0.45rem; }

/* Serif heading underscore flourish */
h2.rule { position: relative; padding-bottom: 0.55rem; }
h2.rule::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: var(--melon);
  border-radius: 2px;
}

/* ---------- Header ---------- */
.topbar {
  background: var(--white);
  border-bottom: 2px solid var(--mist-deep);
  position: sticky;
  top: 0;
  z-index: 90;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--turq-deep);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.07rem;
  line-height: 1.12;
}
.logo svg { flex: 0 0 auto; }
.logo .tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--melon);
}
.menu-btn {
  border: 2px solid var(--turq);
  color: var(--turq-dark);
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.main-nav { display: none; }
.main-nav.open {
  display: block;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-bottom: 3px solid var(--turq);
  padding: 0.6rem 1.15rem 1.2rem;
  box-shadow: 0 10px 24px rgba(20, 61, 60, 0.14);
}
.main-nav ul { list-style: none; margin: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: 0.55rem 0.2rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
}
.main-nav a:hover { color: var(--turq); }
.main-nav .group {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--melon);
  font-weight: 800;
  padding: 0.85rem 0.2rem 0.1rem;
}
.nav-phone {
  display: inline-block;
  margin-top: 1rem;
  background: var(--turq);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: none !important;
}
.nav-phone:hover { background: var(--turq-dark); }

@media (min-width: 920px) {
  .menu-btn { display: none; }
  .main-nav { display: flex; align-items: center; gap: 0.2rem; }
  .main-nav ul { display: flex; align-items: center; gap: 0; }
  .main-nav a { border-bottom: none; padding: 0.45rem 0.6rem; font-size: 0.92rem; }
  .main-nav .group { display: none; }
  .nav-phone { margin: 0 0 0 0.5rem; padding: 0.5rem 1.05rem; font-size: 0.92rem; }
  .has-sub { position: relative; }
  .has-sub > a::after { content: " ⌄"; font-size: 0.75em; }
  .has-sub ul {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--turq);
    border-radius: 0 0 10px 10px;
    min-width: 230px;
    padding: 0.3rem;
    box-shadow: 0 12px 26px rgba(20, 61, 60, 0.14);
  }
  .has-sub:hover ul, .has-sub:focus-within ul { display: flex; }
  .has-sub ul a { width: 100%; padding: 0.5rem 0.75rem; }
}

/* ---------- Hero (light, photo-framed — not a dark gradient) ---------- */
.hero {
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  position: relative;
  padding: 2.9rem 0 0;
}
.hero-cols { display: grid; gap: 2rem; align-items: center; padding-bottom: 3.4rem; }
@media (min-width: 940px) { .hero-cols { grid-template-columns: 1.25fr 1fr; gap: 2.8rem; } }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--melon);
  margin-bottom: 0.7rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--melon); border-radius: 2px; }
.hero .lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 42rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.trust-line {
  list-style: none;
  margin: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.trust-line li { margin: 0; display: flex; align-items: center; gap: 0.45rem; }

/* Framed hero photo: turquoise offset frame + pink corner tab */
.hero-photo { position: relative; display: none; }
@media (min-width: 940px) { .hero-photo { display: block; } }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 3px solid var(--turq-pale);
  border-radius: 18px;
  z-index: 0;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
}
.hero-photo::after {
  content: "";
  position: absolute;
  top: -10px; right: 16px;
  width: 34px; height: 12px;
  background: var(--melon);
  border-radius: 6px;
  z-index: 2;
}
.hero-photo-mobile { margin: 0 0 1.3rem; }
.hero-photo-mobile img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: cover; border-radius: 14px; }
@media (min-width: 940px) { .hero-photo-mobile { display: none; } }

/* Sandia ridge divider */
.ridge { display: block; width: 100%; height: 52px; margin-bottom: -1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-solid { background: var(--turq); color: #fff; }
.btn-solid:hover { background: var(--turq-dark); color: #fff; }
.btn-line { background: var(--white); color: var(--turq-dark); border-color: var(--turq); }
.btn-line:hover { background: var(--mist); color: var(--turq-deep); }
.btn-deep { background: var(--turq-deep); color: #fff; }
.btn-deep:hover { background: var(--turq-dark); color: #fff; }

/* ---------- Content ---------- */
main { padding: 2.4rem 0 3.2rem; }
.panel {
  background: var(--mist);
  border-radius: var(--r);
  padding: 1.7rem 1.5rem;
  margin: 2.1rem 0;
}
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }

.tile-grid { display: grid; gap: 1.05rem; margin: 1.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 680px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tile-grid.three { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--turq);
  border-radius: var(--r);
  padding: 1.25rem 1.2rem 1.1rem;
}
.tile h3 { margin-top: 0; }
.tile p:last-child { margin-bottom: 0; }
.tile.pink { border-top-color: var(--melon); }

/* Process list: big serif numerals */
.process { list-style: none; margin: 1.6rem 0; }
.process > li {
  position: relative;
  padding: 0 0 1.45rem 3.4rem;
  margin: 0;
  border-left: 2px dashed var(--turq-pale);
  margin-left: 1.15rem;
}
.process > li:last-child { border-left-color: transparent; padding-bottom: 0.3rem; }
.process > li::before {
  counter-increment: none;
  content: attr(data-n);
  position: absolute;
  left: -1.25rem;
  top: -0.15rem;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--white);
  border: 2px solid var(--turq);
  color: var(--turq-dark);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process h3 { margin: 0 0 0.35rem; }
.process p { margin-bottom: 0; }

/* Tables */
.scroll-x { overflow-x: auto; margin: 1.3rem 0; }
table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.96rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
th {
  background: var(--turq);
  color: #fff;
  text-align: left;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
}
td { padding: 0.68rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--white); }
tbody tr:nth-child(even) td { background: var(--mist); }
tr:last-child td { border-bottom: none; }

/* FAQ */
.qa details {
  border: 1px solid var(--line);
  border-left: 4px solid var(--turq);
  border-radius: 10px;
  background: var(--white);
  margin-bottom: 0.7rem;
}
.qa details[open] { border-left-color: var(--melon); }
.qa summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--turq-deep);
  font-size: 1.04rem;
  padding: 0.95rem 2.5rem 0.95rem 1.1rem;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "›";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.35rem;
  color: var(--turq);
  transition: transform 0.15s ease;
}
.qa details[open] summary::after { transform: translateY(-50%) rotate(-90deg); color: var(--melon); }
.qa .a { padding: 0 1.15rem 1.05rem; }
.qa .a p:last-child { margin-bottom: 0; }

/* Notices */
.callout {
  border: 1px solid var(--turq-pale);
  background: var(--mist);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}
.callout.alert { border-color: #ecc4cd; background: #fbf0f2; }
.callout p:last-child { margin-bottom: 0; }

/* Big CTA band */
.band {
  background: var(--turq-deep);
  color: #dcecea;
  border-radius: 16px;
  padding: 2.1rem 1.6rem;
  margin: 2.6rem 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  background: linear-gradient(0deg, rgba(43, 122, 120, 0.35), transparent);
  clip-path: polygon(0 100%, 0 55%, 12% 30%, 26% 62%, 38% 18%, 52% 55%, 64% 25%, 78% 58%, 90% 20%, 100% 45%, 100% 100%);
  pointer-events: none;
}
.band h2 { color: #fff; margin-top: 0; }
.band p { max-width: 42rem; margin-left: auto; margin-right: auto; }
.band .cta-row { justify-content: center; }
.band .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.band .btn-line:hover { background: rgba(255,255,255,0.12); color: #fff; }
.band .btn-solid { background: var(--melon); }
.band .btn-solid:hover { background: var(--melon-dark); }

/* ---------- Quote form ---------- */
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--melon);
  border-radius: var(--r);
  padding: 1.55rem 1.35rem;
  max-width: 560px;
  box-shadow: 0 8px 26px rgba(20, 61, 60, 0.08);
}
.quote-form h3 { margin-top: 0; }
.quote-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--turq-deep);
  margin: 0.95rem 0 0.25rem;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--turq);
  outline-offset: 1px;
  background: var(--white);
}
.quote-form button { width: 100%; margin-top: 1.25rem; }
.quote-form .fine { font-size: 0.83rem; color: var(--ink-soft); margin: 0.7rem 0 0; }
.split { display: grid; gap: 1.7rem; align-items: start; margin: 1.6rem 0; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 1fr; } }

/* ---------- Imagery ---------- */
figure.photo { margin: 0; }
.photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  object-fit: cover;
}
.photo figcaption { font-size: 0.86rem; color: var(--ink-soft); padding: 0.5rem 0.2rem 0; }
.photo-duo { display: grid; gap: 1.1rem; margin: 1.8rem 0; }
.photo-duo .photo img { aspect-ratio: 4 / 3; }
@media (min-width: 680px) { .photo-duo { grid-template-columns: 1fr 1fr; } }
.side-by-side { display: grid; gap: 1.6rem; margin: 2rem 0; align-items: center; }
.side-by-side .photo img { aspect-ratio: 4 / 3; }
.side-by-side .photo img.portrait { aspect-ratio: 3 / 4; max-height: 460px; }
.side-by-side > div > h2:first-child, .side-by-side > div > h3:first-child { margin-top: 0; }
@media (min-width: 840px) {
  .side-by-side { grid-template-columns: 1.15fr 0.85fr; }
  .side-by-side.swap .photo { order: -1; }
  .side-by-side.swap { grid-template-columns: 0.85fr 1.15fr; }
}
@media (max-width: 839px) {
  .side-by-side .photo img, .side-by-side .photo img.portrait { aspect-ratio: 4 / 3; max-height: 340px; }
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--turq-deep);
  color: #b9d3d1;
  margin-top: 3.2rem;
  padding: 2.5rem 0 1.6rem;
  font-size: 0.94rem;
}
.foot-grid { display: grid; gap: 1.7rem; grid-template-columns: 1fr; }
@media (min-width: 740px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-foot h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.site-foot ul { list-style: none; margin: 0; }
.site-foot li { margin-bottom: 0.35rem; }
.site-foot a { color: #cfe3e1; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-phone { font-weight: 800; font-size: 1.06rem; color: #fff !important; }
.foot-legal {
  margin-top: 1.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  color: #9dbcba;
}
.foot-legal p { margin-bottom: 0.5rem; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  z-index: 95;
  box-shadow: 0 -4px 14px rgba(20, 61, 60, 0.3);
}
.callbar a {
  flex: 1;
  text-align: center;
  padding: 0.92rem 0.4rem;
  font-weight: 800;
  font-size: 0.97rem;
  text-decoration: none;
  color: #fff;
}
.callbar .cb-call { background: var(--turq); }
.callbar .cb-quote { background: var(--turq-deep); }
@media (min-width: 920px) { .callbar { display: none; } }
@media (max-width: 919px) { body { padding-bottom: 3.5rem; } }

/* Misc */
.crumb { font-size: 0.87rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.crumb a { color: var(--ink-soft); }
.center { text-align: center; }
.fine-print { font-size: 0.88rem; color: var(--ink-soft); }
.check { color: var(--turq); font-weight: 900; }
.oops { text-align: center; padding: 3.2rem 0; }
.oops .code { font-family: var(--serif); font-size: 5.2rem; font-weight: 700; color: var(--turq); line-height: 1; }
.oops .code span { color: var(--melon); }

/* auto: unset CTAs hidden until configured */
.phone-cta { display: none !important; }
