:root {
  --ink: #3d302d;
  --muted: #756862;
  --paper: #fbf8f3;
  --cream: #f2e9df;
  --line: #e7dcd0;
  --accent: #a43132;
  --red-dark: #812629;
  --red-soft: #f4e6e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { max-width: 1080px; margin: auto; padding: 0 24px; }

header { padding: 17px 0; border-top: 5px solid var(--accent); border-bottom: 1px solid var(--line); background: #fffaf5; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.top-socials { display: flex; align-items: center; gap: 8px; }
.social-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d8b9af; border-radius: 50%; color: var(--accent); background: transparent; transition: color .2s ease, background .2s ease, transform .2s ease; }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { color: white; background: var(--accent); transform: translateY(-2px); }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 83% 22%, #f0d9d2 0, transparent 37%), linear-gradient(135deg, #fffaf4, #f4e8df); }
.hero::before, .hero::after { content: ""; position: absolute; width: 140px; height: 140px; pointer-events: none; opacity: .24; background: repeating-linear-gradient(45deg, transparent 0 16px, var(--accent) 16px 19px, transparent 19px 36px), repeating-linear-gradient(-45deg, transparent 0 16px, var(--accent) 16px 19px, transparent 19px 36px); transform: rotate(45deg); }
.hero::before { right: 7%; top: 17%; }
.hero::after { right: 18%; bottom: -95px; width: 110px; height: 110px; opacity: .12; }
.newhero { padding: 45px 0 55px; background: linear-gradient(115deg, #f6eee4, #ead8c7); }
.hero-grid { display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: 48px; position: relative; z-index: 1; }
.hero-photo { height: auto; aspect-ratio: 735 / 853; position: relative; overflow: hidden; border-radius: 220px 220px 16px 16px; background: #5b2b20; box-shadow: 0 16px 40px #542b1d2b; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: "✣"; color: var(--accent); font-size: 22px; line-height: 1; }
.hero-copy h1 { margin: 20px 0 10px; color: #7e2021; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 4vw, 56px); font-weight: 400; line-height: 1.08; }
.hero-copy .hero-lead { margin: 0; color: #4a302a; font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.directions { display: grid; gap: 10px; margin: 24px 0 25px; padding: 0; list-style: none; }
.directions li { position: relative; padding-left: 24px; font-size: 17px; }
.directions li::before { content: "✦"; position: absolute; left: 0; top: 4px; color: var(--accent); font-size: 13px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 23px; border: 1px solid var(--accent); border-radius: 100px; color: white; background: var(--accent); cursor: pointer; font-size: 14px; font-weight: 700; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { color: white; background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn.secondary { color: var(--accent); background: transparent; }
.btn.secondary:hover { color: var(--red-dark); background: var(--red-soft); }

main { padding: 62px 0 85px; }
.section { margin: 0 0 65px; }
.section h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 44px); font-weight: 400; }
.section h2::before { content: "✦"; margin-right: 13px; color: var(--accent); font-family: Georgia, serif; font-size: .48em; vertical-align: middle; }
.section > p { margin: 0 0 24px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.card { min-height: 205px; position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: white; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card::before { content: ""; width: 64px; height: 3px; position: absolute; top: 0; left: 0; background: var(--accent); }
.card:hover { border-color: #caa19a; box-shadow: 0 13px 35px rgb(91 43 32 / 8%); transform: translateY(-2px); }
.card .category { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card h3 { margin: 13px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; line-height: 1.2; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-size: 25px; font-weight: 700; white-space: nowrap; }
.card-action { min-height: 40px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border: 1px solid #d8b9af; border-radius: 999px; color: var(--accent); background: #fffaf7; cursor: pointer; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.card-action i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-style: normal; transition: transform .2s ease; }
.card-action:hover { color: white; background: var(--accent); border-color: var(--accent); }
.card-action:hover i { background: white; color: var(--accent); transform: translateX(2px); }

.cta { position: relative; overflow: hidden; padding: 44px; border: 1px solid #e4c7bd; border-radius: 20px; background: linear-gradient(120deg, #f1dfd7, #f8eee7); }
.cta::before { content: "✣"; position: absolute; right: 30px; top: -65px; color: var(--accent); font-size: 220px; line-height: 1; opacity: .07; }
.cta > * { position: relative; }
.cta h2 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 400; }
.cta p { max-width: 610px; color: var(--muted); }
.cta .btn { margin: 12px 8px 0 0; }

footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bottom a { color: var(--accent); text-decoration: none; }

.service-modal { width: min(980px, calc(100% - 32px)); max-width: 980px; max-height: min(90dvh, 860px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgb(43 21 17 / 28%); }
.service-modal::backdrop { background: rgb(61 48 45 / 52%); backdrop-filter: blur(5px); }
.modal-panel { max-height: min(90dvh, 860px); overflow: auto; }
.modal-topbar { height: 64px; position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 28px; border-bottom: 1px solid var(--line); background: rgb(251 248 243 / 95%); backdrop-filter: blur(12px); }
.modal-home { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 700; text-decoration: none; }
.modal-close { width: 38px; height: 38px; position: relative; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: white; }
.modal-close span { width: 15px; height: 1px; position: absolute; top: 18px; left: 11px; background: var(--ink); transform: rotate(45deg); }
.modal-close span + span { transform: rotate(-45deg); }
.modal-content { padding: 40px; }
.modal-hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 36px; align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.modal-category { margin: 0 0 12px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.modal-hero h1 { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 5vw, 54px); font-weight: 400; letter-spacing: -.025em; line-height: 1.03; overflow-wrap: anywhere; }
.modal-summary { margin: 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.modal-price { padding: 22px; border-radius: 14px; color: white; background: var(--accent); }
.modal-price small { display: block; margin-bottom: 5px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.modal-price strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.modal-tags span { padding: 4px 7px; border: 1px solid rgb(255 255 255 / 34%); border-radius: 999px; font-size: 8px; }
.modal-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 40px; padding-top: 34px; }
.modal-intro p { margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.detail-block { padding: 25px 0; border-top: 1px solid var(--line); }
.detail-block h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; }
.detail-block ul, .detail-block ol, .detail-block > div { margin: 0; padding: 0; }
.detail-block li { position: relative; margin: 0 0 9px; padding-left: 20px; list-style: none; font-size: 14px; }
.detail-block li::before { content: "✦"; position: absolute; left: 0; top: 2px; color: var(--accent); font-size: 10px; }
.detail-block p { margin: 0 0 10px; font-size: 14px; }
.result-box { padding: 21px; border-radius: 13px; background: var(--cream); }
.result-box strong { display: block; margin-bottom: 7px; color: var(--accent); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.result-box p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.detail-disclaimer { color: var(--muted); font-size: 10px; }
.share-link { display: inline-flex; margin-top: 20px; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; color: var(--accent); background: transparent; cursor: pointer; font-size: 12px; }

.order-panel { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.order-panel h2 { margin: 0 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; }
.order-panel > p { margin: 0 0 20px; color: var(--muted); font-size: 11px; }
.order-form { display: grid; gap: 12px; }
.field label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.field input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #fdfaf6; }
.field input:focus { border-color: var(--accent); background: white; }
.consent { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--accent); }
.payment-button { width: 100%; min-height: 48px; border: 0; border-radius: 999px; color: white; background: var(--accent); cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.payment-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.payment-button:disabled { cursor: wait; opacity: .65; }
.payment-note { margin: 0 !important; color: var(--muted); font-size: 9px !important; text-align: center; }
.form-message { margin: 0; color: var(--accent); font-size: 10px; }
.form-message:empty { display: none; }
.form-message.error { color: #a31c1c; }
.success-card { text-align: center; }
.success-mark { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; color: white; background: var(--accent); font-size: 22px; }
.success-card h2 { margin-bottom: 15px; }
.success-card p { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.success-card .signature { color: var(--accent); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; padding: 11px 17px; border-radius: 999px; color: white; background: var(--red-dark); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .newhero { padding: 20px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-photo { width: 100%; max-width: 420px; margin: auto; border-radius: 170px 170px 12px 12px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy .hero-lead { font-size: 24px; }
  .directions li { font-size: 16px; }
  .hero::before { right: -75px; top: 15%; opacity: .1; }
  .hero::after { display: none; }
  .modal-content { padding: 28px 22px 35px; }
  .modal-hero { grid-template-columns: 1fr; gap: 22px; }
  .modal-price { max-width: 260px; }
  .modal-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .brand { max-width: 210px; font-size: 12px; }
  .social-icon { width: 37px; height: 37px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 165px; padding: 22px; }
  .card h3 { font-size: 23px; }
  .price { font-size: 22px; }
  .cta { padding: 30px 22px; }
  .cta h2 { font-size: 32px; }
  .section h2::before { margin-right: 8px; }
  .service-modal { width: calc(100% - 16px); max-height: 95dvh; border-radius: 15px; }
  .modal-panel { max-height: 95dvh; }
  .modal-topbar { padding: 0 15px 0 19px; }
  .modal-hero h1 { font-size: 37px; }
  .modal-summary { font-size: 16px; }
  .card-action { padding-left: 13px; }
}

@media (max-width: 390px) {
  .card .foot { align-items: flex-start; flex-direction: column; }
  .card-action { width: 100%; justify-content: space-between; }
}
