/* Make Masjid — Clean rebuild of makemasjid.com */
:root {
  --gold: #d89d54;
  --gold-dark: #c4893f;
  --gold-soft: #fff6eb;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --gray: #f3f1ee;
  --white: #ffffff;
  --footer: #0c0b09;
  --overlay: rgba(12, 11, 9, 0.72);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(12, 11, 9, 0.1);
  --shadow-soft: 0 6px 24px rgba(12, 11, 9, 0.06);
  --container: 1140px;
  --font: "Kumbh Sans", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(216, 157, 84, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 3000;
  background: var(--gold);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 0.85rem 1.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
  cursor: pointer;
  min-height: 48px;
  text-align: center;
}

.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(216, 157, 84, 0.38);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.price-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.35rem;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(216, 157, 84, 0.16);
  border: 1px solid rgba(216, 157, 84, 0.45);
  color: #ffe2b8;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.price-pill strong {
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 11, 9, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(12, 11, 9, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo img {
  width: 72px;
  height: auto;
  transition: transform 0.3s var(--ease);
}

.logo:hover img {
  transform: scale(1.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 157, 84, 0.35);
  background: var(--gold-soft);
  transition: background 0.2s, transform 0.2s;
}

.header-phone:hover {
  background: #ffe9cf;
  transform: translateY(-1px);
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(12, 11, 9, 0.88) 0%, rgba(12, 11, 9, 0.55) 55%, rgba(12, 11, 9, 0.35) 100%),
    url("../images/2023/04/sl_bg_1.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(216, 157, 84, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.hero-bismillah {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 15ch;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
  text-wrap: balance;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero .btn-row,
.hero .price-pills {
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.hero-visual {
  animation: fadeIn 1.1s 0.2s var(--ease) both;
}

.hero-visual img {
  margin-inline: auto;
  max-width: 400px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(rgba(12, 11, 9, 0.8), rgba(12, 11, 9, 0.72)),
    url("../images/2023/04/sl_bg_1.jpg") center / cover;
  color: var(--white);
  padding: 3.75rem 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  text-wrap: balance;
}

.page-hero p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Sections */
.section {
  padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

.section--gray {
  background: var(--gray);
}

.section--soft {
  background: linear-gradient(180deg, #fbf8f3 0%, #fff 100%);
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-title span {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
}

.section-title.text-center {
  text-align: center;
}

.section-lead {
  color: var(--muted);
  max-width: 60ch;
}

.section-title.text-center + .section-lead,
.section-title.text-center ~ .section-lead {
  margin-inline: auto;
  text-align: center;
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split img {
  margin-inline: auto;
  max-width: 420px;
}

.check-list {
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.check-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--gold);
}

.prose {
  color: var(--muted);
}

.prose p + p {
  margin-top: 1rem;
}

/* Gift cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid rgba(216, 157, 84, 0.12);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(216, 157, 84, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(216, 157, 84, 0.15);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.card b {
  color: var(--ink);
}

.card-price {
  display: inline-block;
  margin-bottom: 0.7rem;
  background: var(--white);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  color: var(--muted);
  margin: 1.25rem 0;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.stats li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  background: var(--white);
  padding: 0.9rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(12, 11, 9, 0.05);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}

.stats li:hover {
  transform: translateX(4px);
}

/* Carousel / gallery strip */
.media-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: #ddd;
}

.media-carousel .slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.media-carousel .slide {
  min-width: 100%;
  height: 100%;
}

.media-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  inset: auto 0.75rem 0.75rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}

.carousel-nav button:hover {
  background: var(--gold);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.is-active {
  background: var(--gold);
  width: 22px;
  border-radius: 999px;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid rgba(12, 11, 9, 0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  opacity: 0.45;
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-style: normal;
  display: block;
}

.testimonial .name {
  font-weight: 700;
  display: block;
}

.testimonial .place {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

/* CTA band */
.cta-band {
  position: relative;
  background:
    linear-gradient(rgba(12, 11, 9, 0.78), rgba(12, 11, 9, 0.78)),
    url("../images/2023/04/help.jpg") center / cover;
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.cta-band span {
  display: block;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-band p {
  max-width: 48ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #ddd;
  position: relative;
}

.gallery a::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 11, 9, 0.35);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery a:hover::after {
  opacity: 1;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.06);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(216, 157, 84, 0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  color: var(--gold);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card p,
.contact-card a {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}

.contact-card a:hover {
  color: var(--gold-dark);
}

.contact-form {
  background: var(--white);
  border: 1px solid rgba(12, 11, 9, 0.07);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2rem);
  margin-bottom: 0.45rem;
}

.form-row {
  margin-bottom: 0.95rem;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  font: inherit;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 48px;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 157, 84, 0.18);
  background: var(--white);
}

.form-status {
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  min-height: 1.4em;
  font-size: 0.95rem;
}

.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  width: 90px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 28ch;
  font-size: 0.95rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.socials a:hover {
  background: var(--gold);
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Quick actions */
.fab-stack {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  color: var(--white);
  text-decoration: none;
}

.fab:hover {
  transform: translateY(-3px) scale(1.04);
}

.fab--call {
  background: var(--gold);
}

.fab--top {
  background: var(--footer);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.fab--top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.fab svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
  height: auto;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .impact-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 240px;
    margin-inline: auto;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-copy {
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero .btn-row,
  .hero .price-pills {
    justify-content: center;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(12, 11, 9, 0.08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(12, 11, 9, 0.06);
  }

  .split > div:first-child {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .cards,
  .gallery,
  .footer-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 2.5rem 0 3rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .btn {
    width: 100%;
  }

  .btn-row .btn {
    width: auto;
    flex: 1 1 auto;
  }

  .fab-stack {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
