@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@700;900&display=swap");

:root {
  --bg: #fdfcf0;
  --text: #1a1a1a;
  --primary: #8e2323;
  --primary-dark: #7a1e1e;
  --border: #d4cfc3;
  --muted: #6b6658;
  --surface: #f5f2e8;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(63, 42, 29, 0.12);
  --serif: "Noto Serif SC", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

button {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - 2rem, 80rem);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(253, 252, 240, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.brand-name {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name strong,
.footer-brand strong {
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 800;
}

.desktop-nav button,
.site-footer button {
  transition: color 180ms ease;
}

.desktop-nav button:hover,
.site-footer button:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  transition: background 180ms ease;
}

.header-cta:hover {
  background: var(--primary);
}

.menu-button {
  display: none;
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  align-items: center;
  gap: 4rem;
}

.hero-copy {
  animation: rise-in 560ms ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 5px 14px rgba(63, 42, 29, 0.06);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: box-shadow 180ms ease;
}

.eyebrow:hover {
  box-shadow: 0 10px 24px rgba(63, 42, 29, 0.12);
}

.eyebrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

h1,
h2,
.special-copy > strong,
.modal-panel h2 {
  font-family: var(--serif);
}

h1 {
  margin: 2rem 0 0;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  color: var(--primary);
}

.hero-text {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 2rem;
  border-radius: 0.75rem;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(142, 35, 35, 0.3);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--primary-dark);
}

.secondary-button {
  border: 2px solid var(--border);
  color: var(--text);
}

.secondary-button:hover {
  background: var(--surface);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  animation: scale-in 680ms ease 240ms both;
}

.panel-lines {
  display: grid;
  gap: 1rem;
  width: 70%;
}

.panel-lines span:first-child {
  width: 6rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--border);
}

.panel-lines span:nth-child(2),
.panel-lines span:nth-child(3) {
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(63, 42, 29, 0.04);
}

.panel-lines span:nth-child(3) {
  width: 75%;
}

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

.metric-card {
  display: grid;
  place-items: center;
  min-height: 6rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(63, 42, 29, 0.04);
  color: var(--primary);
  font-family: var(--serif);
  font-style: italic;
}

.metric-card strong {
  font-size: 1.5rem;
}

.metric-card span {
  margin-top: -0.75rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-style: normal;
}

.services {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(63, 42, 29, 0.08);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  transition: background 180ms ease, color 180ms ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card strong {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.service-card > span:last-child {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.special-section {
  padding: 1rem 0 6rem;
}

.special-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--primary);
  border-radius: 1.5rem;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.special-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.special-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 38rem;
}

.special-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 1.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.special-copy > strong {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.special-description {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  line-height: 1.8;
}

.special-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.special-actions span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.special-card:hover .special-actions span {
  background: var(--white);
  color: var(--primary);
}

.special-actions svg {
  width: 1.25rem;
  height: 1.25rem;
}

.blessing-orb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 14rem;
  height: 14rem;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fde68a;
  opacity: 0.86;
  transition: transform 180ms ease, border-color 180ms ease;
}

.special-card:hover .blessing-orb {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.42);
}

.blessing-orb svg {
  width: 5rem;
  height: 5rem;
}

.blessing-orb span {
  margin-top: -1rem;
  color: #fef3c7;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 900;
}

.special-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.special-glow-left {
  top: -16rem;
  left: -18rem;
  width: 40rem;
  height: 40rem;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(90px);
}

.special-glow-right {
  right: -10rem;
  bottom: -10rem;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 0, 0, 0.12);
  filter: blur(45px);
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.footer-brand {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.site-footer p {
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.site-footer button,
.phone {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.phone {
  padding-top: 0.5rem;
  color: var(--text);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(100%, 24rem);
  padding: 2.5rem;
  border-top: 0.5rem solid var(--primary);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  text-align: center;
  transform: translateY(1rem) scale(0.96);
  transition: transform 180ms ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--border);
  transition: color 180ms ease;
}

.modal-close:hover {
  color: var(--text);
}

.modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.modal-panel h2 {
  margin: 0 2rem 0.5rem;
  font-size: 1.5rem;
}

.modal-panel p {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.qr-box {
  display: grid;
  place-items: center;
  width: 14rem;
  height: 14rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  overflow: hidden;
}

.qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.countdown-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
}

.countdown-note span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse 1.2s ease infinite;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    padding: 8rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-panel {
    max-width: 28rem;
  }

  .service-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .special-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 80rem);
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .brand-logo {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.25rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-panel {
    min-height: 19rem;
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .special-card {
    border-radius: 1rem;
  }

  .blessing-orb {
    width: 12rem;
    height: 12rem;
    align-self: center;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-panel {
    padding: 2.25rem 1.5rem;
  }

  .qr-box {
    width: min(14rem, 100%);
    height: auto;
    aspect-ratio: 1;
  }
}
