:root {
  --bg: #231711;
  --bg-alt: #2c1d16;
  --bg-soft: #3a281e;
  --bg-card: rgba(100, 72, 53, 0.34);
  --bg-card-strong: rgba(112, 82, 58, 0.42);
  --text: #f4eee7;
  --muted: #dbcfc1;
  --accent: #e3a52d;
  --accent-strong: #f2c35a;
  --line: rgba(227, 165, 45, 0.26);
  --line-soft: rgba(227, 165, 45, 0.14);
  --shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.22);
  --shadow-glow: 0 14px 34px rgba(227, 165, 45, 0.16);
  --radius: 22px;
  --container: 1180px;
  --watermark-image: url("Sonoralogov2-cropped-transparent.png");
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 14% -6%, rgba(227,165,45,.14) 0%, transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(227,165,45,.1) 0%, transparent 34%),
    linear-gradient(180deg, #39251b 0%, #2d1d15 22%, #261812 58%, #21140f 100%);
}

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

h1, h2, h3, h4 {
  margin: 0 0 .75rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-family: Sora, Inter, sans-serif;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 5.1rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.55rem); }
p { margin: 0; color: var(--muted); }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px) saturate(130%);
  background: linear-gradient(180deg, rgba(52,34,24,.88), rgba(40,25,18,.82));
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo { height: 76px; width: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.brand-mark { height: 54px; width: auto; }
.header-actions, .header-nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.header-nav a {
  color: #ecdcbf;
  font-weight: 500;
  opacity: .92;
}
.header-nav a:hover { color: white; }
.nav-wrap { display:flex; align-items:center; gap:1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .9rem 1.4rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #23160e;
  box-shadow: var(--shadow-glow);
}
.btn-secondary {
  background: linear-gradient(180deg, rgba(103,75,56,.45), rgba(79,56,41,.42));
  color: #f2e1bf;
  border-color: var(--line);
}
.btn-ghost {
  background: transparent;
  color: #f2e1bf;
  border-color: var(--line-soft);
}

.btn-more-services {
  background: transparent;
  color: #f2ddb3;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: .55rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease, transform .18s ease;
}
.btn-more-services:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 14px rgba(227, 165, 45, 0.15);
}

.hero {
  padding: 3.6rem 0 3.2rem;
  position: relative;
  border-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(227,165,45,.16) 0%, transparent 30%),
    radial-gradient(circle at 20% 88%, rgba(227,165,45,.08) 0%, transparent 30%);
}
.hero::after,
.section-watermark::after,
.footer-watermark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-image: var(--watermark-image);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .1;
  mix-blend-mode: screen;
}
.hero::after {
  right: -4rem;
  top: 2rem;
  width: 38rem;
  height: 38rem;
  opacity: .1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 1.2rem;
  align-items: start;
}
.hero h1 {
  font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  max-width: 16ch;
  line-height: 1.08;
}
.hero-copy {
  display: grid;
  gap: .9rem;
  align-content: start;
}
.hero-support {
  margin-top: .45rem;
}
.hero-support-title {
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  margin-bottom: .65rem;
}
.hero-support p {
  max-width: 40rem;
  margin: 0;
}
.hero .lead {
  max-width: 39rem;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
}
.eyebrow {
  margin-bottom: 1rem;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
}
.lead {
  max-width: 41rem;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
}
.availability-note {
  margin-top: 1rem;
  color: #f0ddb5;
  font-size: .98rem;
}
.hero-panel,
.form-shell,
.big-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(107,80,62,.36), rgba(82,58,44,.3));
  box-shadow: var(--shadow-soft);
}
.hero-panel {
  padding: 1.25rem 1.35rem;
  margin-top: .2rem;
}
.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .9rem;
}
.hero-panel li {
  position: relative;
  padding-left: 2rem;
  color: #efe4d2;
}
.hero-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 700;
}
.hero-media {
  display: grid;
  gap: .7rem;
  align-content: start;
}
.image-card {
  margin: 0;
}
.image-card img {
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}
.image-card-hero img {
  height: clamp(300px, 40vw, 520px);
  border-radius: calc(var(--radius) + 4px);
}
.image-card-lg img { height: clamp(270px, 35vw, 470px); }
.image-card-xl img { height: clamp(300px, 34vw, 460px); }
.hero-panel-soft {
  background: linear-gradient(180deg, rgba(105,77,58,.28), rgba(82,58,44,.22));
  border-color: rgba(227,165,45,.2);
}
.hero-feature-image {
  margin: 0;
}
.hero-feature-image img {
  width: 100%;
  height: clamp(245px, 31vw, 380px);
  object-fit: cover;
  object-position: 50% 41%;
  border-radius: calc(var(--radius) + 4px);
}
.editorial-image {
  margin: 0;
}
.editorial-image img {
  width: 100%;
  height: clamp(270px, 35vw, 470px);
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}
.hero-panel::after,
.big-card::after,
.form-shell::after {
  content: "";
  position: absolute;
  right: .85rem;
  bottom: .65rem;
  width: 10rem;
  height: 10rem;
  background-image: var(--watermark-image);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .08;
  pointer-events: none;
}

.section {
  position: relative;
  padding: 4.8rem 0;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.section-alt {
  background: linear-gradient(180deg, rgba(65,42,30,.42), rgba(52,34,24,.28));
}
.section-watermark.left::after {
  left: -3rem; bottom: -1rem; width: 24rem; height: 24rem; opacity: .065;
}
.section-watermark.right::after {
  right: -2rem; top: 1rem; width: 24rem; height: 24rem; opacity: .065;
}
.section-watermark.center::after {
  right: 10%; top: -2rem; width: 18rem; height: 18rem; opacity: .05;
}
.section-intro { max-width: 48rem; margin-bottom: 1.35rem; }

.grid { display: grid; gap: 1.15rem; margin-top: 1.35rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(110,80,60,.36), rgba(84,60,45,.28));
  box-shadow: var(--shadow-soft);
}
.featured-card {
  background: linear-gradient(180deg, rgba(124,90,64,.46), rgba(94,65,47,.33));
  box-shadow: 0 18px 38px rgba(0,0,0,.24), 0 0 0 1px rgba(227,165,45,.08) inset;
}
.card-price {
  margin-bottom: .52rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--accent-strong);
  font-weight: 800;
}
.price-note-link {
  color: var(--accent-strong);
}
.price-note-link:hover,
.price-note-link:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
}
.card p:last-child { color: #ecdcc9; }

.service-chip {
  padding: 1.2rem 1.35rem;
  font-size: 1.1rem;
}
.service-area-list { color: #f7f0e6; font-weight: 700; }

.editorial-split {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.06fr .94fr;
  align-items: start;
}
.editorial-split.reverse {
  grid-template-columns: .94fr 1.06fr;
}
.editorial-copy {
  width: 100%;
  display: grid;
  align-content: start;
  gap: .9rem;
}
.editorial-copy .section-intro {
  margin-bottom: 0;
  max-width: 38ch;
}
.authority-inline {
  margin: 0;
}
.authority-inline img {
  width: 100%;
  height: clamp(250px, 29vw, 390px);
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}
.editorial-image img {
  height: clamp(250px, 29vw, 390px);
}
.proof-support-grid {
  margin-top: 1.8rem;
}
.proof-support-grid .card.full {
  grid-column: 1 / -1;
  display: grid;
  gap: .7rem;
  align-content: center;
}

.authority-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.authority-image {
  margin: 0;
}
.authority-image img {
  width: 100%;
  height: clamp(220px, 28vw, 340px);
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .95rem;
}
.quote-form label {
  display: grid;
  gap: .42rem;
  color: #f1e2c7;
  font-size: .95rem;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(227,165,45,.24);
  background: linear-gradient(180deg, rgba(120,91,69,.34), rgba(89,63,47,.3));
  color: var(--text);
  padding: .8rem .9rem;
  outline: none;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,165,45,.14);
}
.hidden-field { display: none; }
.full { grid-column: 1 / -1; }
.form-shell { padding: 1.35rem; }

.footer {
  position: relative;
  padding: 4.8rem 0 6rem;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(63,41,30,.44), rgba(40,25,18,.62));
}
.footer-watermark::after {
  right: -2rem; bottom: -2rem; width: 24rem; height: 24rem; opacity: .07;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.footer-logo { height: 76px; width: auto; margin-bottom: 1rem; }
.footer-note { max-width: 42rem; }
.footer-links { display:flex; gap:1rem; flex-wrap:wrap; margin-top:1rem; color:#efd8af; }

.mobile-call { display: none; }

.service-hero {
  padding: 4.6rem 0 3.2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero::after {
  content:"";
  position:absolute; right:-3rem; top:1rem; width:34rem; height:34rem;
  background: var(--watermark-image) no-repeat center/contain; opacity:.085; pointer-events:none;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 1.15rem;
  align-items: start;
}
.service-hero-grid h1 {
  font-size: clamp(2.2rem, 3.7vw, 3.3rem);
  max-width: 16ch;
}
.service-hero-grid .lead {
  max-width: 38rem;
}
.service-hero-proof {
  display: grid;
  gap: .85rem;
  align-content: start;
}
.service-proof-compact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(110,80,60,.2), rgba(84,60,45,.14));
}
.service-proof-compact img {
  width: 100%;
  height: clamp(130px, 16vw, 190px);
  object-fit: cover;
}
.service-proof-compact h3 {
  margin: 0;
  padding: .92rem 1rem 1rem;
}
.proof-gallery {
  display: grid;
  gap: 1rem;
  margin-bottom: .9rem;
}
.proof-gallery-beyond {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(110,80,60,.28), rgba(84,60,45,.2));
  box-shadow: var(--shadow-soft);
}
.proof-card img {
  width: 100%;
  height: clamp(180px, 24vw, 300px);
  object-fit: cover;
}
.proof-card-body {
  padding: .92rem 1rem 1rem;
}
.kicker-row { display:flex; gap:.75rem; align-items:center; flex-wrap:wrap; margin-bottom:1rem; }
.kicker-pill {
  padding: .4rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f2ddb3;
  background: rgba(95,69,52,.24);
  font-size: .82rem;
  font-weight: 700;
}
.cta-row { display:flex; gap:.75rem; flex-wrap:wrap; justify-content:center; margin-top:1.35rem; }
.service-cta { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1.35rem; }
.hero-copy .cta-row {
  justify-content: flex-start;
  margin-top: .95rem;
}
.feature-list { display:grid; gap:.8rem; margin-top:1rem; }
.feature-item { padding-left: 1.2rem; position: relative; }
.feature-item::before { content:""; width: .45rem; height: .45rem; border-radius:50%; background: var(--accent-strong); position:absolute; left:0; top:.65rem; }
.small-grid { display:grid; gap:1rem; grid-template-columns:repeat(3, minmax(0,1fr)); }
.process-list { counter-reset: step; display:grid; gap:1rem; }
.process-step { position:relative; padding-left:3.25rem; }
.process-step::before { counter-increment: step; content: counter(step); position:absolute; left:0; top:.1rem; width:2.25rem; height:2.25rem; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,var(--accent-strong),var(--accent)); color:#25170d; font-weight:800; }
.breadcrumbs { color:#edd3a3; font-size:.94rem; margin-bottom: 1rem; display:flex; gap:.5rem; flex-wrap:wrap; }
.breadcrumbs span { opacity:.6; }

/* FAQ Section */
.faq-intro {
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2rem;
}
.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 52rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(110,80,60,.28), rgba(84,60,45,.2));
  transition: border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(227,165,45,.38);
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 0 0 1px rgba(227,165,45,.06) inset;
}
.faq-question {
  padding: 1.2rem 1.5rem;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-strong);
  transition: transform .2s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 1.5rem 1.3rem;
}
.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: .98rem;
}
.faq-answer ul {
  margin: .75rem 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
.faq-answer li {
  margin: .35rem 0;
}
.faq-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.faq-closing {
  color: var(--muted);
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  margin-bottom: 1.25rem;
}

@media (max-width: 1080px) {
  .hero-grid, .footer-grid, .small-grid, .editorial-split, .editorial-split.reverse, .authority-grid, .service-hero-grid { grid-template-columns: 1fr; }
  .nav-wrap { gap: 1rem; }
  .editorial-copy .section-intro {
    max-width: 48rem;
  }
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .proof-gallery-beyond { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 1.35rem)); }

  /* Header: two-row stacked layout */
  .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    padding-top: .65rem;
    padding-bottom: .65rem;
    gap: .5rem;
  }
  .brand-logo { height: 54px; }
  .nav-wrap {
    width: 100%;
    justify-content: center;
    gap: .5rem;
  }
  .nav-wrap .header-nav { display: none; }
  .header-actions {
    width: 100%;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
  }
  .header-actions .btn-secondary { display: none; }
  .header-actions .btn-more-services {
    font-size: .8rem;
    padding: .45rem .85rem;
  }
  .header-actions .btn-primary {
    font-size: .85rem;
    padding: .65rem 1rem;
  }

  /* Hero & service hero */
  .hero, .service-hero { padding-top: 3.9rem; padding-bottom: 2.8rem; }
  .hero::after, .service-hero::after {
    width: 18rem; height: 18rem; right: -4rem; top: 4rem; opacity: .06;
  }
  .hero-feature-image img {
    height: clamp(235px, 60vw, 375px);
  }
  .hero-support {
    margin-top: .35rem;
  }
  .service-hero-grid .lead {
    max-width: 100%;
  }
  .service-proof-compact img {
    height: clamp(145px, 52vw, 240px);
  }
  .editorial-image img,
  .authority-inline img {
    height: clamp(220px, 58vw, 340px);
  }

  /* Grids go single column */
  .grid-2, .grid-3, .quote-form, .authority-grid { grid-template-columns: 1fr; }

  /* CTA rows: stack buttons */
  .cta-row, .service-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn, .service-cta .btn {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .footer { padding-bottom: 7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-cta { align-items: stretch; }

  /* Watermarks smaller on mobile */
  .section-watermark.left::after, .section-watermark.right::after, .section-watermark.center::after,
  .footer-watermark::after { width: 14rem; height: 14rem; opacity: .04; }

  /* Fixed call button */
  .mobile-call {
    display: inline-flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: .8rem;
    z-index: 80;
    padding: .85rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #24160e;
    font-weight: 800;
    font-size: .9rem;
    box-shadow: 0 14px 36px rgba(227,165,45,.32);
    white-space: nowrap;
    max-width: calc(100% - 2rem);
  }

  /* Cards and panels: prevent overflow */
  .card, .hero-panel, .form-shell, .big-card, .faq-item {
    max-width: 100%;
  }

  /* Buttons: prevent text overflow */
  .btn {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }
}
