/* Shared layout rules loaded after the page and chat styles. */
body { font-family: "DM Sans", "Segoe UI", Arial, sans-serif; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; text-wrap: balance; }
.container { width: min(1160px, calc(100% - 64px)); }
.section { padding-block: 88px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.16; }
p { line-height: 1.75; }
.text-justify, .hero-copy > p:not(.eyebrow) { text-align: left; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head > p:not(.eyebrow) { max-width: 620px; }
.nav-wrap { gap: 20px; }
.brand { flex-shrink: 0; }
nav { gap: 16px; white-space: nowrap; }
.desktop-cta { flex-shrink: 0; padding-inline: 16px; font-size: .8rem; }
header { background: #42100aeb; backdrop-filter: blur(12px); }
.hero { min-height: 740px; }
.hero-copy { padding-block: 150px 64px; }
.hero h1 { max-width: 780px; font-size: clamp(3.2rem, 5.4vw, 5rem); line-height: 1.08; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; font-size: 1rem; }
.hero-copy > .eyebrow { color: #f5ce69; }
.hero-shade { background: linear-gradient(90deg, #300906f5 0%, #300906d9 45%, #30090638 100%); }
.trust { max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.trust span { display: flex; align-items: baseline; }
.btn { line-height: 1.4; padding-block: 13px; }
.btn-gold { color: #321b18; background: #e5ba58; }
.split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
.split > *, .package-grid > *, .proof-layout > *, .footer-grid > *, .chat-grid > * { min-width: 0; }
.photo-stack img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; }
.reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reason-grid article { padding: 28px; }
.reason-grid h3 { margin-top: 20px; line-height: 1.3; }
.package-grid, .package-grid.auto-mode { gap: 24px; }
.package-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.package-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.package-body h3 { line-height: 1.25; }
.package-body ul { min-height: 0; padding-left: 20px; margin-block: 20px 28px; }
.package-body li { margin-block: 7px; }
.package-cta { margin-top: auto; }
.package-cta .btn { width: 100%; }
.price strong { font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.25; }
.proof-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.proof-main > img { height: auto; aspect-ratio: 4 / 3; }
.proof-main > div { padding: 28px; }
.proof-main h3 { font-size: 1.8rem; line-height: 1.25; margin-top: 10px; }
.awards { background: var(--paper); }
.award-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.award-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.award-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 20px; gap: 16px; border: 0; border-bottom: 1px solid var(--line); background: #f3eadc; cursor: zoom-in; }
.award-preview img { width: 100%; height: 270px; object-fit: contain; }
.award-preview span { font-size: .75rem; color: var(--red); font-weight: 700; }
.award-preview:hover { background: #eadcc7; }
.award-copy { padding: 22px; }
.award-copy .eyebrow { font-size: .65rem; letter-spacing: .1em; }
.award-copy h3 { font-size: 1.35rem; line-height: 1.25; }
.award-copy > p:last-child { font-size: .85rem; margin-bottom: 0; }
.certificate-dialog { width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 48px 16px 16px; border: 0; border-radius: 16px; background: #fffaf1; }
.certificate-dialog::backdrop { background: #180b08dc; }
.certificate-dialog img { max-width: 100%; max-height: calc(100dvh - 110px); width: auto; height: auto; object-fit: contain; margin-inline: auto; }
.certificate-close { position: absolute; right: 8px; top: 4px; width: 44px; height: 44px; border: 0; background: none; font-size: 2rem; cursor: pointer; }
body:has(.certificate-dialog[open]) { overflow: hidden; }
.chat-bg { min-height: 0; flex: 1; }
.phone-chat { display: flex; flex-direction: column; }
.chat-input { margin-top: auto; }
.faq-list button { gap: 20px; cursor: pointer; line-height: 1.5; }
.faq-list button span { flex-shrink: 0; }
.top { z-index: 44; background: var(--cream); box-shadow: var(--shadow-soft); cursor: pointer; }
footer { padding-bottom: 96px; }
.footer-grid { gap: 28px; }
.text-list { padding-left: 18px; }
@media (max-width: 1100px) {
  nav { position: absolute; top: 84px; left: 0; right: 0; display: none; flex-direction: column; gap: 4px; padding: 18px 32px; background: var(--red); max-height: calc(100dvh - 84px); overflow-y: auto; }
  .open nav { display: flex; }
  nav a { display: flex; align-items: center; min-height: 44px; }
  .desktop-cta { display: none; }
  .menu { display: block; margin-left: auto; }
  .award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-grid.auto-mode { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split .photo-stack { width: 100%; max-width: 520px; }
  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 4rem); }
  .hero-shade { background: linear-gradient(90deg, #300906ec, #300906a8); }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 36px); }
  .section { padding-block: 60px; }
  .nav-wrap { height: 72px; }
  .brand img { width: 125px; max-height: 52px; }
  nav { top: 72px; max-height: calc(100dvh - 72px); padding-inline: 18px; }
  .hero { min-height: 0; display: block; }
  .hero > img { height: 360px; object-fit: cover; object-position: 65% top; }
  .hero-shade { background: linear-gradient(180deg, #35100c30 72px, #35100c80 190px, #35100c 350px); }
  .hero-copy { padding-top: 245px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 3.4rem); }
  .hero-copy > p:not(.eyebrow) { font-size: .95rem; }
  .hero-copy > .eyebrow { font-size: .68rem; letter-spacing: .14em; }
  .actions { margin-block: 24px; }
  .trust { grid-template-columns: 1fr; font-size: .8rem; gap: 10px; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(1.95rem, 7.5vw, 2.6rem); }
  .reason-grid, .package-grid, .package-grid.auto-mode, .proof-layout, .footer-grid { grid-template-columns: 1fr; }
  .reason-grid article { min-height: 0; padding: 24px; }
  .reason-grid h3 { margin-top: 14px; }
  .package-body, .proof-main > div { padding: 24px; }
  .price strong { font-size: 2rem; }
  .proof-main h3 { font-size: 1.6rem; }
  .award-grid { gap: 14px; }
  .award-preview { padding: 12px; gap: 10px; }
  .award-preview img { height: 200px; }
  .award-copy { padding: 16px; }
  .award-copy h3 { font-size: 1.15rem; }
  .award-copy > p:last-child { font-size: .8rem; }
  .float-wa { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); padding: 14px; }
  .float-wa span { display: none; }
  .top { right: 18px; bottom: 80px; }
  .cta { padding-block: 64px; }
}
@media (max-width: 380px) {
  .award-grid { grid-template-columns: 1fr; }
  .award-preview img { height: 280px; }
}
