:root {
  --ink: #171815;
  --muted: #686a64;
  --paper: #f6f2e9;
  --surface: #fffdf8;
  --line: rgba(28, 28, 24, 0.14);
  --teal: #0f766e;
  --gold: #e5ad56;
  --shadow: 0 24px 70px rgba(20, 18, 14, 0.22);
}

/* Reference-matched layout */
.ref-services{--rn:#06283f;--ri:#102d42;--rt:#0d6671;--rg:#f9b91f;--rl:#d8dee0;color:var(--ri);background:#fbfaf7}.ref-trust{min-height:46px;padding:0 8%;display:flex;align-items:center;justify-content:space-around;color:#fff;background:var(--rn);font-size:13px}.ref-header{background:#fff;border-bottom:1px solid var(--rl)}.ref-nav{max-width:1320px;min-height:74px;margin:auto;padding:0 22px;display:flex;align-items:center;gap:42px}.ref-brand{width:115px;color:var(--ri);font-size:18px;font-weight:900;line-height:.9;text-decoration:none}.ref-links{display:flex;gap:34px;flex:1;font-size:14px}.ref-links a{color:var(--ri);text-decoration:none}.ref-nav-contact{display:flex;align-items:center;gap:22px;white-space:nowrap;font-size:12px}.ref-nav-contact strong{font-size:14px}.ref-button,.ref-outline{min-height:46px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;font-weight:900;text-decoration:none;white-space:nowrap}.ref-button{color:#19150a;background:linear-gradient(#ffd66a,var(--rg));box-shadow:0 9px 22px rgba(214,150,0,.18)}.ref-outline{color:var(--ri);border:1px solid #93a3aa}.ref-menu{display:none;border:0;background:none;font-size:22px}.ref-hero{max-width:1320px;min-height:620px;margin:auto;padding:42px 22px 0;display:grid;grid-template-columns:1fr 1.2fr;gap:10px;overflow:hidden;background:#fff}.ref-hero-copy{padding:55px 0 30px 42px}.ref-kicker{color:var(--rt);font-size:13px;font-weight:900;text-transform:uppercase}.ref-hero h1{margin:20px 0;color:var(--ri);font-family:Georgia,serif;font-size:clamp(48px,5vw,70px);line-height:.98}.ref-hero h1 em{color:var(--rg);font-style:normal}.ref-hero-copy>p:not(.ref-kicker){color:#385466;font-size:17px;line-height:1.5}.ref-actions{display:flex;gap:14px;margin-top:26px}.ref-benefits{display:flex;gap:30px;margin-top:34px}.ref-benefits span{display:grid;grid-template-columns:25px 1fr;gap:2px 8px;align-items:center;color:var(--rt);font-size:20px}.ref-benefits b,.ref-benefits small{color:var(--ri);font-size:11px}.ref-benefits b,.ref-benefits small{grid-column:2}.ref-benefits small{color:#647780}.ref-hero-visual{position:relative;min-height:575px}.ref-photo{position:absolute;inset:0 0 0 5%;background:url("assets/servicos-hero.png") 68% center/cover}.ref-hero-card{position:absolute;top:92px;right:34px;width:235px;padding:26px 24px;color:#fff;background:var(--rn);border-radius:10px;box-shadow:0 20px 35px #0002}.ref-hero-card h2{font-family:Georgia,serif;font-size:22px}.ref-hero-card p{font-size:13px;line-height:1.8}.ref-hero-card hr{border:0;border-top:1px solid #fff5}.ref-hero-card small,.ref-hero-card strong{display:block;margin-top:7px;font-size:11px}.ref-hero-card strong{color:var(--rg);font-size:17px}.ref-section{max-width:1320px;margin:auto;padding:48px 64px;background:#fff}.ref-section-title{text-align:center}.ref-section-title h2{margin:0;font:38px Georgia,serif}.ref-section-title p{margin:12px 0 26px;color:#647780}.ref-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ref-service-grid article{min-height:220px;padding:25px;border:1px solid var(--rl);border-radius:8px;background:#fff;box-shadow:0 12px 25px #19323c10}.ref-service-grid i{display:block;color:var(--rt);font-size:42px;font-style:normal}.ref-service-grid article:nth-child(2) i{color:#f4b800}.ref-service-grid article:nth-child(4) i{color:#e94b35}.ref-service-grid h3{margin:16px 0 10px;font-size:17px}.ref-service-grid p{min-height:62px;margin:0;color:#62757c;font-size:13px;line-height:1.45}.ref-service-grid b{display:block;margin-top:18px;font-size:13px}.ref-metrics{max-width:1320px;margin:auto;padding:38px 64px;display:grid;grid-template-columns:1.1fr 1fr 1fr 1.1fr;gap:26px;background:#edf6f6}.ref-metrics>div{padding-right:22px;border-right:1px solid #cfdddd}.ref-metrics b{color:var(--rt);font-size:25px}.ref-metrics h3{display:inline;margin-left:8px;font-size:16px}.ref-metrics p{color:#647780;font-size:13px;line-height:1.45}.ref-metrics span{display:block;width:fit-content;margin-top:8px;padding:6px 9px;color:#37626b;background:#dceced;border-radius:6px;font-size:11px}.ref-metrics strong{display:block;margin-top:15px;font:42px Georgia,serif}.ref-metrics strong small{font:16px Arial,sans-serif}.ref-metrics aside{padding:28px;color:#fff;text-align:center;background:var(--rn);border-radius:9px}.ref-metrics aside h2{font:23px Georgia,serif}.ref-metrics aside p{color:#dbe6e8}.ref-metrics aside .ref-button{width:100%}.ref-quote{max-width:1200px;margin:24px auto;padding:24px;display:grid;grid-template-columns:230px 1fr;gap:24px;align-items:center;border:1px solid var(--rl);border-radius:8px;background:#fff}.ref-quote h2{margin:0;font:25px Georgia,serif}.ref-quote p{color:#647780;font-size:13px}.ref-form{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:10px}.ref-form label{color:#536a73;font-size:10px}.ref-form input,.ref-form select{width:100%;min-height:42px;margin-top:5px;padding:0 10px;border:1px solid var(--rl);border-radius:5px;background:#fbfaf7}.ref-form .ref-button{min-height:42px;border:0}.ref-form small{grid-column:1/-1;color:#54747a;font-size:11px}.ref-footer{padding:38px max(64px,calc((100vw - 1200px)/2));display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:50px;color:#fff;background:var(--rn)}.ref-footer h3{font-family:Georgia,serif}.ref-footer p{color:#d2e0e2;font-size:13px;line-height:1.6}.ref-footer>small{grid-column:1/-1;padding-top:20px;border-top:1px solid #fff3;text-align:center}
@media(max-width:900px){.ref-nav{gap:14px}.ref-links,.ref-nav-contact{display:none}.ref-menu{display:block;margin-left:auto;color:var(--ri)}.ref-hero{display:block;padding:28px 18px 0}.ref-hero-copy{padding:25px 0 18px}.ref-hero h1{font-size:42px}.ref-hero-visual{min-height:390px}.ref-photo{inset:0;border-radius:8px}.ref-hero-card{top:28px;right:18px;width:190px;padding:18px}.ref-hero-card p{font-size:11px;line-height:1.6}.ref-benefits{gap:12px}.ref-benefits span{font-size:16px}.ref-section{padding:42px 18px}.ref-service-grid{grid-template-columns:repeat(2,1fr)}.ref-metrics{grid-template-columns:1fr 1fr;padding:28px 18px}.ref-metrics aside{grid-column:1/-1}.ref-quote{margin:18px;padding:20px;display:block}.ref-form{grid-template-columns:1fr}.ref-form small{margin-top:8px}.ref-footer{grid-template-columns:1fr 1fr;padding:34px 20px;gap:22px}}@media(max-width:520px){.ref-trust{display:none}.ref-hero h1{font-size:37px}.ref-hero-copy>p:not(.ref-kicker){font-size:15px}.ref-actions{display:grid}.ref-actions>*{width:100%}.ref-benefits{display:grid;grid-template-columns:1fr 1fr}.ref-service-grid{grid-template-columns:1fr}.ref-section-title h2{font-size:30px}.ref-metrics{grid-template-columns:1fr}.ref-metrics>div{border-right:0;border-bottom:1px solid #cfdddd;padding:0 0 18px}.ref-footer{grid-template-columns:1fr}.ref-footer>small{grid-column:1}}

/* Page-specific polish after CSS split */
.services-page .details-section {
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 42%, #eef7f3 100%);
}

.services-page .section-heading {
  grid-template-columns: minmax(0, 0.95fr) auto;
  align-items: end;
  gap: 34px;
}

.services-page .section-heading > div {
  max-width: 780px;
}

.services-page .section-heading h2 {
  max-width: 780px;
  text-align: left;
  line-height: 1.02;
  color: #102f36;
}

.services-page .section-heading .button {
  background: #ffd45a;
  color: #142f35;
  border: 0;
  box-shadow: 0 16px 30px rgba(255, 198, 65, 0.28);
}

.services-page .experience-grid {
  grid-template-columns: 1.05fr 0.85fr;
  gap: 24px;
  margin-top: 26px;
}

.services-page .service-kicker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.services-page .service-kicker span {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(13, 95, 95, 0.13);
  border-left: 4px solid #ffd45a;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 47, 54, 0.07);
}

.services-page .service-kicker strong {
  color: #0f8175;
  font-size: 1.05rem;
}

.services-page .service-kicker small {
  color: #52686b;
}

.services-page .service-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.services-page .service-card {
  background: #ffffff;
  border: 1px solid rgba(13, 95, 95, 0.13);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(16, 47, 54, 0.08);
}

.services-page .service-card strong {
  color: #10353b;
}

.services-page .service-card b,
.services-page .service-card i {
  color: #0f8175;
}

.services-page .areas-card {
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid rgba(13, 95, 95, 0.13);
  box-shadow: 0 18px 38px rgba(16, 47, 54, 0.08);
}

.services-page .proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-page .emergency-strip {
  background: #102f36;
  color: #ffffff;
}

@media (max-width: 780px) {
  .services-page .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services-page .section-heading h2 {
    text-align: left;
  }

  .services-page .experience-grid,
  .services-page .service-stack,
  .services-page .proof-grid {
    grid-template-columns: 1fr;
  }

  .services-page .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .services-page .hero-copy {
    row-gap: 18px;
  }

  .services-page .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 4px;
  }

  .services-page .trust-row span {
    padding: 8px 0;
    border-bottom: 1px solid rgba(13, 95, 95, 0.14);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.demo-shell {
  --brand: #11110f;
  --brand-soft: #26382f;
  --accent: #d9a047;
  --accent-strong: #f3bf63;
  --hero-image: url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1800&q=88");
  --section-tint: #f6f2e9;
  min-height: 100vh;
  background: var(--section-tint);
}

@media (min-width: 1180px) {
  body.demo-shell {
    max-width: 1400px;
    margin: 22px auto;
    overflow-x: hidden;
    background: var(--section-tint);
    border: 1px solid rgba(20, 20, 18, 0.18);
    border-radius: 14px;
    box-shadow: 0 28px 80px rgba(20, 18, 14, 0.16);
  }

  body.demo-shell::before {
    content: "";
    height: 28px;
    display: block;
    background:
      radial-gradient(circle, #d95f4c 0 4px, transparent 5px) 18px 50%/18px 18px no-repeat,
      radial-gradient(circle, #e7b84d 0 4px, transparent 5px) 38px 50%/18px 18px no-repeat,
      radial-gradient(circle, #54a66d 0 4px, transparent 5px) 58px 50%/18px 18px no-repeat,
      #101312;
    border-radius: 14px 14px 0 0;
  }

  body.demo-shell .hero {
    border-radius: 0;
  }
}

.barber-page {
  --brand: #11110f;
  --brand-soft: #25362e;
  --accent: #d79b3f;
  --accent-strong: #f4bd62;
  --hero-image: url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1800&q=88");
  --section-tint: #f5f0e7;
}

.cafe-page {
  --brand: #172f29;
  --brand-soft: #8f3f2d;
  --accent: #c9633c;
  --accent-strong: #e3a34c;
  --hero-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=1800&q=88");
  --section-tint: #fbf7ee;
}

.services-page {
  --brand: #0d332e;
  --brand-soft: #123f3a;
  --accent: #e8b83f;
  --accent-strong: #f5c94e;
  --hero-image: url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1800&q=88");
  --section-tint: #f4f7f3;
}

.hero {
  min-height: 760px;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.94), rgba(13, 16, 13, 0.78) 44%, rgba(14, 13, 10, 0.38)),
    var(--hero-image) center/cover;
}

.cafe-page .hero {
  background:
    linear-gradient(90deg, rgba(18, 12, 7, 0.92), rgba(28, 41, 32, 0.72) 46%, rgba(113, 48, 31, 0.28)),
    var(--hero-image) center/cover;
}

.cafe-page .button {
  color: white;
  background: linear-gradient(180deg, #d96a45, #bc4b2e);
  border-color: rgba(220, 100, 68, 0.85);
}

.cafe-page .hero-copy .actions .button:first-child {
  background: linear-gradient(180deg, #174c42, #0d382f);
  border-color: rgba(62, 130, 111, 0.8);
}

.cafe-page .button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.48);
}

.cafe-page .nav-actions .button:not([href="index.html#exemplos"]) {
  background: linear-gradient(180deg, #d96a45, #bc4b2e);
  border-color: rgba(220, 100, 68, 0.85);
}

.services-page .hero {
  background:
    linear-gradient(90deg, rgba(2, 31, 28, 0.94), rgba(8, 51, 46, 0.78) 48%, rgba(12, 38, 36, 0.34)),
    var(--hero-image) center/cover;
}

.demo-nav {
  min-height: 78px;
  padding: 14px min(5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  border: 1px solid rgba(243, 191, 99, 0.88);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.logo-text {
  display: grid;
  line-height: 1.05;
  font-size: 21px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
}

.nav-actions {
  gap: 12px;
}

.nav-actions a[href="index.html#exemplos"] {
  min-height: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 13px;
}

.services-page .nav-actions a[href="index.html#exemplos"] {
  color: rgba(11, 40, 48, 0.72);
}

.nav-links a {
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.nav-links a:first-child {
  color: var(--accent-strong);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #17140d;
  background: linear-gradient(180deg, #ffe08b, var(--accent-strong));
  border: 1px solid rgba(255, 219, 126, 0.9);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: center;
  padding: 70px min(5vw, 76px) 56px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.pill {
  width: fit-content;
  padding: 9px 16px;
  color: #dffaf4;
  background: rgba(15, 118, 110, 0.32);
  border: 1px solid rgba(169, 245, 229, 0.22);
  border-radius: 999px;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 5vw, 76px);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.24);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.trust-row span {
  min-height: 74px;
  padding: 13px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
}

.barber-page .trust-row,
.cafe-page .trust-row {
  max-width: 720px;
}

.barber-page .trust-row span,
.cafe-page .trust-row span {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.barber-page .trust-row i,
.cafe-page .trust-row i {
  color: var(--accent-strong);
  background: transparent;
  border-color: rgba(243, 191, 99, 0.55);
}

.trust-row i,
.service-card i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  color: var(--accent-strong);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.trust-row strong,
.trust-row small {
  display: block;
  grid-column: 2;
  min-width: 0;
  white-space: nowrap;
}

.trust-row strong {
  font-size: 13px;
}

.trust-row small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.hero-panel {
  padding: 14px;
  color: white;
  background: rgba(14, 13, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel.light {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.96);
}

.panel-kicker {
  padding: 8px 8px 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-photo {
  min-height: 230px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.barber-photo {
  background-image: url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1000&q=88");
}

.cafe-photo {
  background-image: url("https://images.unsplash.com/photo-1504754524776-8f4f37790ca0?auto=format&fit=crop&w=1000&q=88");
}

.price-list,
.booking-card,
.quote-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.price-item,
.booking-card > div,
.form-field {
  padding: 13px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.price-item {
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
}

.price-item i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16130d;
  background: var(--accent-strong);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.price-item strong,
.booking-card strong {
  display: block;
}

.price-item span,
.booking-card span,
.form-field span {
  color: rgba(255, 255, 255, 0.72);
}

.price-item b {
  color: white;
  font-size: 18px;
}

.price-item.highlight {
  border-color: rgba(255, 224, 139, 0.52);
}

.hero-panel.light .form-field,
.hero-panel.light .booking-card > div {
  background: #fff;
  border-color: #e7e2d8;
}

.hero-panel.light .form-field span,
.hero-panel.light .booking-card span {
  color: var(--muted);
}

.form-field {
  min-height: 46px;
}

.form-field.tall {
  min-height: 92px;
  align-items: start;
}

.quote-card .button,
.booking-card .button {
  width: 100%;
}

.panel-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section {
  padding: 72px min(5vw, 76px);
}

.showcase-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), transparent 34%),
    var(--section-tint);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(34px, 3.2vw, 50px);
}

.section-heading > a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.image-card {
  min-height: 520px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: white;
  background-color: #16130d;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(26, 24, 20, 0.16);
}

.image-card span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  color: #17140d;
  background: var(--accent-strong);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.image-card strong {
  max-width: 460px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.08;
}

.barber-cut {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.74)),
    url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1000&q=88");
}

.cafe-brunch {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(36, 20, 11, 0.72)),
    url("https://images.unsplash.com/photo-1525351484163-7529414344d8?auto=format&fit=crop&w=1000&q=88");
}

.service-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.area-card,
.proof-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(33, 29, 20, 0.08);
}

.service-card {
  min-height: 248px;
  padding: 24px;
}

.service-card i {
  margin-bottom: 22px;
  color: white;
  background: var(--teal);
  border-color: transparent;
}

.service-card.urgent i {
  color: #17140d;
  background: var(--accent-strong);
}

.service-card strong {
  display: block;
  font-size: 22px;
}

.service-card p,
.proof-grid p,
.area-card p {
  margin-top: 9px;
  color: var(--muted);
}

.service-card b {
  display: block;
  margin-top: 20px;
  color: var(--teal);
  font-size: 20px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.proof-grid article {
  min-height: 170px;
  padding: 24px;
}

.proof-grid span,
.area-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
}

.area-card {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #eaf5f1);
}

.area-card h2 {
  margin-top: 12px;
  font-size: 34px;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.area-list b {
  padding: 10px 12px;
  color: #12433c;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 6px;
}

.cta-panel {
  margin-top: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(23, 21, 16, 0.14);
}

.cta-panel h2 {
  max-width: 720px;
  font-size: clamp(30px, 3vw, 44px);
}

@media (max-width: 1120px) {
  .demo-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .experience-grid,
  .ops-layout {
    grid-template-columns: 1fr;
  }

  .image-card {
    min-height: 420px;
  }
}

@media (max-width: 780px) {
  .demo-nav {
    padding: 14px 18px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .demo-nav::after {
    content: "";
    width: 28px;
    height: 20px;
    display: block;
    background:
      linear-gradient(currentColor, currentColor) 0 0/100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 9px/100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 18px/100% 2px no-repeat;
    color: currentColor;
  }

  .barber-page .demo-nav::after,
  .cafe-page .demo-nav::after {
    color: white;
  }

  .services-page .demo-nav::after {
    color: #0b2830;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section {
    padding: 38px 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .actions,
  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-row,
  .service-stack,
  .proof-grid,
  .area-list {
    grid-template-columns: 1fr;
  }

  .trust-row strong,
  .trust-row small {
    white-space: normal;
  }

  .feature-photo {
    min-height: 190px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-card {
    min-height: 380px;
    padding: 22px;
  }

  .image-card strong {
    font-size: 29px;
  }

  .service-card,
  .proof-grid article {
    min-height: auto;
  }
}

/* Closer match to the generated design references. */
.barber-page .section-heading,
.cafe-page .section-heading {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.barber-page .hero,
.cafe-page .hero {
  min-height: 690px;
}

.barber-page .hero {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.94), rgba(10, 11, 10, 0.76) 42%, rgba(11, 10, 8, 0.18)),
    var(--hero-image) center right/cover;
}

.cafe-page .hero {
  background:
    linear-gradient(90deg, rgba(18, 12, 7, 0.94), rgba(28, 35, 24, 0.7) 44%, rgba(69, 39, 19, 0.18)),
    var(--hero-image) center right/cover;
  position: relative;
  overflow: hidden;
}

.cafe-page .hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -54px;
  height: 120px;
  background: var(--section-tint);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.barber-page .hero-grid,
.cafe-page .hero-grid {
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 0.62fr);
}

.barber-page .hero-panel,
.cafe-page .hero-panel {
  display: none;
}

.barber-page .hero-copy,
.cafe-page .hero-copy {
  padding-block: 34px 70px;
}

.barber-page .logo-text > span,
.cafe-page .logo-text > span {
  display: none;
}

.barber-page .logo-text,
.cafe-page .logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 900;
}

.barber-page .logo-mark,
.cafe-page .logo-mark {
  display: none;
}

.barber-page h1,
.cafe-page h1 {
  max-width: 780px;
  font-size: clamp(48px, 4.4vw, 64px);
}

.barber-page h1::after {
  content: "";
  width: 118px;
  height: 18px;
  display: block;
  margin-top: 22px;
  background:
    linear-gradient(var(--accent-strong), var(--accent-strong)) left 50%/45px 1px no-repeat,
    linear-gradient(var(--accent-strong), var(--accent-strong)) right 50%/45px 1px no-repeat;
}

.barber-page .hero-copy {
  position: relative;
}

.barber-page .actions,
.cafe-page .actions {
  margin-top: 34px;
}

.barber-page .trust-row,
.cafe-page .trust-row {
  margin-top: 34px;
}

.cafe-page .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.cafe-page .trust-row span {
  width: auto;
  display: inline-grid;
  grid-template-columns: 30px auto;
}

.services-page .logo-mark {
  display: none;
}

.services-page .logo-text {
  font-size: 18px;
  line-height: 1;
}

.services-page .logo-text span {
  display: inline;
  margin-left: 4px;
}

.barber-page .experience-grid,
.cafe-page .experience-grid {
  display: block;
}

.barber-page .image-card,
.cafe-page .image-card {
  display: none;
}

.barber-page .service-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cafe-page .service-stack {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.barber-page .service-card,
.cafe-page .service-card {
  min-height: 360px;
}

.barber-page .service-card::before,
.cafe-page .service-card::before {
  min-height: 190px;
}

.barber-page .price-board {
  max-width: 1120px;
  margin-inline: auto;
}

.barber-page .proof-grid,
.cafe-page .proof-grid {
  max-width: 1120px;
  margin-inline: auto;
  margin-top: 24px;
}

.cafe-page .gallery-strip,
.cafe-page .cta-panel {
  max-width: 1120px;
  margin-inline: auto;
}

.barber-page .cta-panel,
.cafe-page .cta-panel {
  min-height: 150px;
}

.barber-page .section-heading h2,
.cafe-page .section-heading h2 {
  margin-inline: auto;
}

.price-board {
  margin-top: 24px;
  padding: 34px;
  color: white;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(9, 12, 11, 0.92), rgba(13, 16, 14, 0.98)),
    url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1400&q=86") center/cover;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(25, 21, 16, 0.16);
}

.price-board h2 {
  margin-bottom: 24px;
  color: white;
  font-size: 34px;
}

.price-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.price-board-grid article {
  min-height: 120px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.price-board-grid article:last-child {
  border-right: 0;
}

.price-board-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.price-board-grid strong {
  color: var(--accent-strong);
  font-size: 30px;
}

.photo-proof {
  min-height: 170px;
  color: white;
  background-size: cover;
  background-position: center;
}

.photo-proof span,
.photo-proof strong {
  color: white;
}

.barber-room {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=900&q=82");
}

.reservation-card {
  color: white;
  background: linear-gradient(160deg, #0d463d, #06352f);
}

.reservation-card span,
.reservation-card p {
  color: rgba(255, 255, 255, 0.74);
}

.reservation-card strong {
  color: white;
}

.reservation-card .button {
  width: 100%;
  margin-top: 18px;
  color: white;
  background: linear-gradient(180deg, #d96844, #bc472b);
  border-color: rgba(230, 104, 68, 0.82);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.gallery-strip figure {
  min-height: 150px;
  margin: 0;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(33, 29, 20, 0.08);
}

.gallery-cafe-one {
  background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=700&q=82");
}

.gallery-cafe-two {
  background-image: url("https://images.unsplash.com/photo-1512568400610-62da28bc8a13?auto=format&fit=crop&w=700&q=82");
}

.gallery-cafe-three {
  background-image: url("https://images.unsplash.com/photo-1525351484163-7529414344d8?auto=format&fit=crop&w=700&q=82");
}

.gallery-cafe-four {
  background-image: url("https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&w=700&q=82");
}

.services-page .hero {
  color: #0b2830;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 54%, #eef4f2 54%, #eef4f2 100%);
}

.services-page .demo-nav {
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(8, 54, 61, 0.12);
}

.services-page .logo,
.services-page .nav-links a,
.services-page .button.secondary {
  color: #0b2830;
}

.services-page h1 {
  color: #102d35;
  text-shadow: none;
}

.services-page .hero-copy > p:not(.eyebrow) {
  color: #243e43;
}

.services-page .hero-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.72fr);
  padding-right: 0;
}

.services-page .eyebrow.pill {
  color: #0e5f66;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.services-page .trust-row span {
  color: #102d35;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.services-page .trust-row small {
  color: #4c6468;
}

.services-page .trust-row {
  max-width: 720px;
  gap: 26px;
}

.services-page .trust-row i {
  color: #0f6670;
  background: transparent;
  border-color: rgba(15, 102, 112, 0.35);
}

.service-hero-card {
  position: relative;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  align-self: stretch;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.service-pro-photo {
  width: 100%;
  height: 100%;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1000&q=88") center/cover;
  border-radius: 0;
}

.service-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 12px 16px;
  color: #0b2830;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 72, 80, 0.14);
  border-radius: 8px;
  font-weight: 900;
}

.mobile-service-photo {
  display: none;
}

.emergency-strip {
  margin-top: 24px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, #075f67, #00454d);
  border-radius: 8px;
}

.emergency-strip span {
  color: var(--accent-strong);
  font-weight: 900;
}

.emergency-strip strong {
  font-size: 28px;
}

.quote-section {
  margin-top: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(33, 29, 20, 0.08);
}

.quote-section h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.quote-section .quote-card {
  margin: 0;
}

.quote-section .form-field {
  background: #fbfaf7;
  border-color: #e7e2d8;
}

.quote-section .form-field span {
  color: var(--muted);
}

.barber-page .service-card,
.cafe-page .service-card,
.services-page .service-card {
  overflow: hidden;
}

.barber-page .service-card::before,
.cafe-page .service-card::before,
.services-page .service-card::before {
  content: "";
  min-height: 170px;
  margin: -24px -24px 22px;
  display: block;
  background-size: cover;
  background-position: center;
}

.barber-page .service-card:nth-child(1)::before {
  background-image: url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=700&q=82");
}

.barber-page .service-card:nth-child(2)::before {
  background-image: url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=700&q=82");
}

.barber-page .service-card:nth-child(3)::before {
  background-image: url("https://images.unsplash.com/photo-1517832606299-7ae9b720a186?auto=format&fit=crop&w=700&q=82");
}

.cafe-page .service-card:nth-child(1)::before {
  background-image: url("https://images.unsplash.com/photo-1525351484163-7529414344d8?auto=format&fit=crop&w=700&q=82");
}

.cafe-page .service-card:nth-child(2)::before {
  background-image: url("https://images.unsplash.com/photo-1512568400610-62da28bc8a13?auto=format&fit=crop&w=700&q=82");
}

.cafe-page .service-card:nth-child(3)::before {
  background-image: url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=700&q=82");
}

.cafe-page .service-card:nth-child(4)::before {
  background-image: url("https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=700&q=82");
}

.services-page .service-card:nth-child(1)::before {
  background-image: url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=700&q=82");
}

.services-page .service-card:nth-child(2)::before {
  background-image: url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=700&q=82");
}

.services-page .service-card:nth-child(3)::before {
  background-image: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=700&q=82");
}

.services-page .service-card:nth-child(4)::before {
  background-image: url("https://images.unsplash.com/photo-1607472586893-edb57bdc0e39?auto=format&fit=crop&w=700&q=82");
}

.barber-page .service-card i,
.cafe-page .service-card i,
.services-page .service-card i {
  margin-top: -46px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--surface);
}

@media (max-width: 780px) {
  .barber-page .section-heading,
  .cafe-page .section-heading {
    align-items: flex-start;
    text-align: left;
  }

  .price-board-grid,
  .gallery-strip,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .barber-page .service-stack,
  .cafe-page .service-stack {
    grid-template-columns: 1fr;
  }

  .barber-page .hero-grid,
  .cafe-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .barber-page h1,
  .cafe-page h1 {
    max-width: none;
    font-size: 42px;
  }

  .barber-page .hero-copy,
  .cafe-page .hero-copy {
    padding-block: 28px 44px;
  }

  .price-board {
    padding: 24px 18px;
  }

  .price-board-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .price-board-grid article:last-child {
    border-bottom: 0;
  }

  .services-page .hero {
    position: relative;
    overflow: hidden;
    background: #fff;
  }

  .services-page h1 {
    max-width: none;
  }

  .mobile-service-photo {
    min-height: 210px;
    display: block;
    margin-top: 0;
    background: url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=700&q=86") center/cover;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(12, 42, 46, 0.13);
  }

  .services-page .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 18px 12px;
    align-items: start;
  }

  .services-page .hero-copy .eyebrow {
    grid-column: 1 / -1;
  }

  .services-page .hero-copy h1 {
    grid-column: 1;
    font-size: 31px;
  }

  .services-page .hero-copy > p:not(.eyebrow) {
    grid-column: 1 / -1;
  }

  .services-page .mobile-service-photo {
    grid-column: 2;
    grid-row: 2;
  }

  .services-page .actions,
  .services-page .trust-row {
    grid-column: 1 / -1;
  }

  .service-hero-card,
  .service-pro-photo {
    min-height: 260px;
  }

  .services-page .service-hero-card {
    display: none;
  }

  .services-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .services-page .trust-row span {
    padding: 13px 0;
    background: transparent;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .emergency-strip {
    grid-template-columns: 1fr;
  }
}

/* Final page-specific layer */
@media (min-width: 1180px) {
  body.services-page {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.services-page::before {
    display: none;
  }
}

.services-page {
  background: #f7fbf8;
}

.services-page .hero {
  min-height: 680px;
  background: linear-gradient(90deg, #ffffff 0 54%, #edf6f2 54% 100%);
}

.services-page .demo-nav {
  background: rgba(255, 255, 255, 0.94);
}

.services-page .section-heading {
  grid-template-columns: minmax(0, 0.95fr) auto;
  align-items: end;
  gap: 34px;
}

.services-page .section-heading h2 {
  max-width: 790px;
  text-align: left;
  color: #102f36;
  line-height: 1.02;
}

.services-page .section-heading .button {
  background: #ffd45a;
  color: #142f35;
  border: 0;
}

.services-page .details-section {
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 42%, #eef7f3 100%);
}

.services-page .experience-grid {
  grid-template-columns: 1.05fr 0.85fr;
  gap: 24px;
  margin-top: 26px;
}

.services-page .service-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.services-page .service-card {
  background: #ffffff;
  border: 1px solid rgba(13, 95, 95, 0.13);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(16, 47, 54, 0.08);
  position: relative;
  min-height: 180px;
  padding: 28px;
  overflow: hidden;
}

.services-page .areas-card {
  align-self: stretch;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(16, 47, 54, 0.08);
}

.services-page .service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #0f8175, #ffd45a);
}

.services-page .service-card i {
  background: #eef7f3;
  border-color: rgba(15, 129, 117, 0.18);
}

.services-page .service-card.urgent {
  background: #102f36;
  color: #ffffff;
}

.services-page .service-card.urgent strong,
.services-page .service-card.urgent p,
.services-page .service-card.urgent i {
  color: #ffffff;
}

.services-page .service-card.urgent i {
  background: rgba(255, 212, 90, 0.18);
  border-color: rgba(255, 212, 90, 0.3);
}

.services-page .area-card {
  background:
    linear-gradient(135deg, rgba(15, 129, 117, 0.12), transparent 50%),
    #ffffff;
  border-left: 6px solid #0f8175;
}

.services-page .area-card h2 {
  color: #102f36;
}

.services-page .area-list b {
  background: #eef7f3;
  border: 1px solid rgba(15, 129, 117, 0.16);
  color: #0f8175;
}

.services-page .emergency-strip {
  border-radius: 14px;
  background:
    linear-gradient(90deg, #102f36 0%, #0f8175 100%);
  box-shadow: 0 20px 50px rgba(16, 47, 54, 0.16);
}

.services-page .emergency-strip .button {
  background: #ffd45a;
  color: #102f36;
  border: 0;
}

@media (max-width: 780px) {
  .services-page .hero {
    min-height: auto;
    padding-bottom: 42px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f7fbf8 72%, #eef7f3 100%);
  }

  .services-page .section-heading,
  .services-page .experience-grid,
  .services-page .service-stack,
  .services-page .service-kicker {
    grid-template-columns: 1fr;
  }

  .services-page .section-heading {
    align-items: start;
  }

  .services-page .section-heading h2 {
    text-align: left;
  }

  .services-page .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .services-page .hero-copy {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 16px 14px;
  }

  .services-page .hero-copy h1 {
    font-size: 29px;
    line-height: 1.05;
    align-self: center;
  }

  .services-page .mobile-service-photo {
    min-height: 214px;
    border-radius: 14px;
    background-position: 46% center;
    box-shadow: 0 20px 46px rgba(16, 47, 54, 0.16);
  }

  .services-page .hero-copy > p:not(.eyebrow) {
    margin-top: 2px;
  }

  .services-page .actions {
    gap: 10px;
  }

  .services-page .trust-row span {
    padding: 10px 0;
    gap: 8px;
  }

  .services-page .service-card {
    min-height: auto;
    padding: 22px;
  }

  .services-page .area-card {
    border-left-width: 4px;
  }
}

@media (max-width: 780px) {
  .demo-nav {
    grid-template-columns: minmax(0, auto) minmax(72px, 92px) 28px;
    gap: 10px;
    overflow: hidden;
  }

  .demo-nav .logo {
    min-width: 0;
    max-width: 150px;
    overflow: hidden;
  }

  .nav-actions {
    display: flex;
    justify-content: end;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .nav-actions .button {
    display: none;
  }

  .nav-actions a[href="index.html#exemplos"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 92px;
    min-height: 34px;
    padding: 7px 10px;
    color: #0b2830;
    border: 1px solid rgba(15, 129, 117, 0.22);
    border-radius: 999px;
    background: rgba(238, 247, 243, 0.82);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0;
  }

  .nav-actions a[href="index.html#exemplos"]::before {
    content: "Exemplos";
    font-size: 12px;
  }

  .demo-nav::after {
    justify-self: end;
  }

  .hero,
  .hero-grid,
  .hero-copy {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
  }

  .hero-copy,
  .section-heading,
  .service-kicker,
  .ops-layout {
    max-width: calc(100vw - 36px);
  }

  body.demo-shell,
  .section,
  .details-section {
    overflow-x: hidden;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: 320px;
    overflow-wrap: break-word;
  }

  .services-page .hero-copy {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  .services-page .mobile-service-photo {
    width: 84px;
    min-height: 168px;
  }

  .services-page .hero-copy h1 {
    font-size: 28px;
    line-height: 1.06;
  }

  .services-page .section-heading h2 {
    font-size: 27px;
    line-height: 1.08;
    max-width: 320px;
  }

  .services-page .hero-copy > p:not(.eyebrow) {
    max-width: 320px;
  }
}

.services-page {
  --hero-image: url("assets/servicos-hero.png");
}

@media (min-width: 781px) {
  body.demo-shell.services-page .hero {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 54%, #eef4f2 54%, #eef4f2 100%) !important;
  }

  body.demo-shell.services-page .service-hero-card {
    display: grid !important;
    min-height: 560px;
  }

  body.demo-shell.services-page .service-pro-photo {
    display: block !important;
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(16, 47, 54, 0) 56%, rgba(16, 47, 54, 0.12) 100%),
      url("assets/servicos-hero.png") 74% center/cover !important;
  }
}

@media (max-width: 780px) {
  body.demo-shell.services-page .hero-copy {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .services-page .mobile-service-photo {
    display: block !important;
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    min-height: 190px;
    border-radius: 14px;
    background-image: url("assets/servicos-hero.png") !important;
    background-size: cover;
    background-position: right center;
  }

  body.demo-shell.services-page .hero-copy h1 {
    grid-column: 1;
    grid-row: 2;
    max-width: 320px;
    font-size: 26px;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.demo-shell.services-page .hero-copy > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: 4;
  }

  body.demo-shell.services-page .demo-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.demo-shell.services-page .nav-links,
  body.demo-shell.services-page .demo-nav::after {
    display: none !important;
  }

  body.demo-shell.services-page .nav-actions {
    grid-column: 2;
    justify-self: end;
  }
}

.services-page .trust-row i,
.services-page .service-card i {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

/* Portfolio direction: bring the local-services demo closer to the darker, premium examples. */
@media (min-width: 781px) {
  body.demo-shell.services-page .hero {
    color: #fff;
    background:
      linear-gradient(90deg, rgba(3, 22, 38, .98) 0%, rgba(5, 34, 56, .94) 54%, rgba(5, 34, 56, .80) 100%),
      url("assets/servicos-hero.png") center/cover !important;
  }

  body.demo-shell.services-page .services-page .demo-nav,
  body.demo-shell.services-page .demo-nav {
    background: transparent;
    border-bottom-color: rgba(255,255,255,.16);
  }

  body.demo-shell.services-page .logo,
  body.demo-shell.services-page .nav-links a,
  body.demo-shell.services-page .button.secondary,
  body.demo-shell.services-page h1,
  body.demo-shell.services-page .hero-copy > p:not(.eyebrow),
  body.demo-shell.services-page .trust-row span,
  body.demo-shell.services-page .trust-row small {
    color: #fff;
  }

  body.demo-shell.services-page .eyebrow.pill {
    padding: 9px 16px;
    color: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
  }

  body.demo-shell.services-page .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(46px, 5vw, 62px);
  }

  body.demo-shell.services-page .service-hero-card {
    background: rgba(5, 34, 56, .82);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 28px 70px rgba(0,0,0,.3);
  }

  body.demo-shell.services-page .service-pro-photo {
    min-height: 390px;
    background-position: center;
  }

  body.demo-shell.services-page .service-badge {
    color: #142c3b;
    background: #fff;
  }

  body.demo-shell.services-page .trust-row i {
    color: var(--accent-strong);
    border-color: var(--accent-strong);
  }
}

@media (min-width: 901px) {
  body.ref-services .ref-hero-card { right: 330px; }
}

@media (min-width: 901px) {
  body.ref-services .ref-nav,
  body.ref-services .ref-hero,
  body.ref-services .ref-section,
  body.ref-services .ref-metrics { max-width: 1400px; }
  body.ref-services .ref-section { padding-left: 44px; padding-right: 44px; }
  body.ref-services .ref-metrics { padding-left: 44px; padding-right: 44px; }
  body.ref-services .ref-quote { max-width: 1320px; }
}

body.ref-services .ref-hero h1 { color: var(--ri) !important; }
body.ref-services .ref-hero h1 em { color: var(--rg) !important; }
body.ref-services .ref-hero h1 { max-width: 610px; font-size: clamp(44px, 4.25vw, 58px); letter-spacing: -1px; }

body.demo-shell.services-page .section-heading h2,
body.demo-shell.services-page .area-card h2,
body.demo-shell.services-page .quote-section h2,
body.demo-shell.services-page .cta-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
}

body.demo-shell.services-page .service-card:hover,
body.demo-shell.services-page .proof-grid article:hover,
body.demo-shell.services-page .area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(10, 28, 48, .14);
}

@media (max-width: 780px) {
  body.demo-shell.services-page .hero {
    color: #fff;
    background:
      linear-gradient(180deg, rgba(3, 22, 38, .92), rgba(5, 34, 56, .78)),
      url("assets/servicos-hero.png") center/cover !important;
  }

  body.demo-shell.services-page .demo-nav {
    background: rgba(3, 22, 38, .64);
    border-bottom-color: rgba(255,255,255,.16);
  }

  body.demo-shell.services-page .logo,
  body.demo-shell.services-page .button.secondary,
  body.demo-shell.services-page .hero-copy > p:not(.eyebrow),
  body.demo-shell.services-page .trust-row span,
  body.demo-shell.services-page .trust-row small,
  body.demo-shell.services-page h1 {
    color: #fff;
  }

  body.demo-shell.services-page .eyebrow.pill {
    color: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
  }

  body.demo-shell.services-page .mobile-service-photo {
    border: 1px solid rgba(255,255,255,.4);
    box-shadow: 0 18px 40px rgba(0,0,0,.24);
  }

  body.demo-shell.services-page .trust-row i {
    color: var(--accent-strong);
    border-color: var(--accent-strong);
  }
}
