/* laserpainreliefoc.com - redesign (v2). Same content, new layout, type and colour. */
:root {
  --ink: #14282b;          /* deep slate */
  --ink-2: #1c3a3e;
  --teal: #0f5e68;
  --teal-d: #0b464e;
  --gold: #f2b134;
  --gold-d: #d99a1c;
  --paper: #f5f2e9;
  --card: #fffefa;
  --text: #25302f;
  --muted: #566160;
  --line: #e2dcc9;
  --wrap: 75rem;
  --radius: 1rem;
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.7 var(--sans); color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 20; font-weight: 700; }
.skip:focus { left: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }

/* ---------- header + nav ---------- */
.site-header { background: var(--ink); color: #fff; }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; font: 700 1.25rem/1.1 var(--serif); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.call { color: var(--ink); background: var(--gold); text-decoration: none; font-weight: 700; padding: .55rem 1.1rem; border-radius: 2rem; white-space: nowrap; transition: background .15s; }
.call:hover { background: #ffc653; color: var(--ink); }
.call-label { font-weight: 600; opacity: .75; }
.nav-toggle { display: none; font: 700 1rem var(--sans); color: #fff; background: transparent; border: 2px solid rgba(255,255,255,.6); border-radius: .5rem; padding: .5rem .9rem; cursor: pointer; }

.site-nav { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid var(--gold); }
.site-nav ul { list-style: none; margin: 0 auto; padding: 0 .6rem; max-width: var(--wrap); display: flex; justify-content: center; flex-wrap: wrap; }
.site-nav a { display: block; padding: .85rem .5rem; color: #e9efee; text-decoration: none; font-weight: 600; font-size: .85rem; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.site-nav a:hover { color: #fff; border-bottom-color: rgba(242,177,52,.6); }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44rem); background: var(--ink); color: #fff; overflow: hidden; }
.hero-text { padding: 2.6rem 2rem 2.6rem max(1.25rem, calc((100vw - var(--wrap)) / 2 + 1.25rem)); align-self: center; }
.hero-text h1 { font: 700 clamp(1.7rem, 3.2vw, 2.7rem)/1.15 var(--serif); margin: 0; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
.hero-cta { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 3rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc653; color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-img { margin: 0; position: relative; min-height: 15rem; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-home .hero-img { min-height: 20rem; }
.hero-home .hero-text h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); }

/* ---------- layout ---------- */
.page { max-width: var(--wrap); margin: 0 auto; padding: 2rem 1.25rem 3rem; display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
.content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 2.4rem 2.6rem; box-shadow: 0 1px 2px rgba(20,40,43,.05), 0 8px 24px -12px rgba(20,40,43,.12); min-width: 0; }
.content > p:first-child { font-size: 1.14rem; color: #1c2a29; }
.content h1 { font: 700 1.8rem/1.2 var(--serif); margin: 0 0 1rem; }
.content h2 { font: 700 1.4rem/1.25 var(--serif); color: var(--teal-d); margin: 2rem 0 .6rem; }
.content p { margin: 0 0 1.1rem; }
.content ul, .content ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.content li { margin-bottom: .45rem; padding-left: .2rem; }
.content li::marker { color: var(--gold-d); }
.content strong { color: #17312f; }
.content .term { font-weight: 700; color: var(--teal-d); }
.content a { overflow-wrap: anywhere; font-weight: 500; }
.img-left, .img-right { max-width: 38%; height: auto; border-radius: .6rem; box-shadow: 0 4px 14px -6px rgba(20,40,43,.35); }
.img-left { float: left; margin: .25rem 1.4rem .9rem 0; }
.img-right { float: right; margin: .25rem 0 .9rem 1.4rem; }
.img-inline { max-width: 100%; border-radius: .6rem; margin: .5rem 0; }
.content::after { content: ""; display: table; clear: both; }

.quote { position: sticky; top: 1.2rem; background: linear-gradient(160deg, var(--teal) 0%, var(--teal-d) 100%); color: #eef5f4; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.7rem; font-size: 1rem; line-height: 1.65; box-shadow: 0 10px 28px -14px rgba(11,70,78,.7); }
.quote .aside-photo { display: block; width: 100%; max-width: 197px; height: auto; border-radius: .5rem; margin: 0 0 1.1rem; }
.quote p { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.quote p.cta { font: 700 1rem var(--sans); font-style: normal; margin: 1.3rem 0 0; }
.quote .cta a { display: inline-block; background: var(--gold); color: var(--ink); text-decoration: none; padding: .7rem 1.3rem; border-radius: 3rem; }
.quote .cta a:hover { background: #ffc653; }
.quote strong { color: var(--gold); }
.quote a { color: #ffd77f; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.4rem; }
.contact-details { background: var(--paper); border-radius: .8rem; padding: 1.3rem 1.4rem; align-self: start; }
.contact-details a { overflow-wrap: anywhere; }
.contact-form p { margin: 0 0 1.1rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .3rem; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 2px solid #c9c2aa; border-radius: .6rem; padding: .7rem .85rem; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); outline: 3px solid rgba(242,177,52,.6); outline-offset: 0; }
.contact-form button { font: 700 1rem var(--sans); color: var(--ink); background: var(--gold); border: 2px solid var(--gold); border-radius: 3rem; padding: .7rem 1.6rem; cursor: pointer; }
.contact-form button:hover { background: #ffc653; }
.contact-form button.secondary { background: transparent; color: var(--teal-d); border-color: var(--teal); }
.form-ok { color: #14602a; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d7e0df; font-size: .95rem; border-top: 3px solid var(--gold); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem 3rem; padding-block: 2.2rem 2.6rem; }
.site-footer p { margin: 0 0 .8rem; }
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer strong { color: #fff; }
.site-footer a { color: var(--gold); }
.site-footer .tel { font-weight: 700; font-size: 1.15rem; }
.legal-links span + span { margin-left: 1.2rem; }

/* ---------- tablet / phone ---------- */
@media (max-width: 78em) {
  .nav-toggle { display: inline-block; }
  .call-label { display: none; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: .4rem 1.25rem .8rem; }
  .site-nav a { padding: .8rem .2rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); margin: 0; }
  .site-nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.1); }
  .page { grid-template-columns: minmax(0, 1fr); padding-top: 1.4rem; }
  .quote { position: static; }
}
@media (max-width: 52em) {
  .hero, .hero-home { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding: 1.8rem 1.25rem 1.2rem; order: 2; }
  .hero-img { order: 1; min-height: 0; aspect-ratio: 775 / 337; -webkit-mask-image: none; mask-image: none; }
  .hero-home .hero-img { min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 36em) {
  body { font-size: 1rem; }
  .header-row { flex-wrap: wrap; gap: .7rem; padding-block: .8rem; min-height: 0; }
  .brand { flex: 1 0 100%; font-size: 1.15rem; }
  .call { flex: 1; text-align: center; }
  .content { padding: 1.5rem 1.2rem 1.8rem; border-radius: .8rem; }
  .page { padding-inline: .75rem; }
  .content h1 { font-size: 1.5rem; }
  .img-left, .img-right { max-width: 38%; }
  .hero-cta .btn { flex: 1; text-align: center; padding-inline: 1rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .btn, .call { transition: none; } }
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-nav, .skip, .nav-toggle, .quote, .hero-img, .hero-cta { display: none; }
  .hero, .page { display: block; background: #fff; color: #000; padding: 0; }
  .hero-text { padding: 0; } .hero-text h1 { color: #000; }
  .content { border: 0; box-shadow: none; padding: 0; }
  .site-footer { background: none; color: #000; border: 0; } .site-footer a { color: #000; }
}
