/* TOKENS AND BASE */
:root {
  --primary-color: #153e65;
  --secondary-color: #eaf1f6;
  --accent-color: #f6a9a4;
  --text-color: #233b50;
  --muted: #516575;
  --bg-color: #fff;
  --card-bg: #fff;
  --line: #d7e1e8;
  --radius: 20px;
  --container: 1200px;
  --space: 44px;
  --font: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 16px/1.6 var(--font); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
svg { width: 28px; height: 28px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--primary-color); line-height: 1.15; }
h1 { font-size: clamp(32px, 4.15vw, 58px); font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.3vw, 46px); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: 21px; font-weight: 600; }
:focus-visible { outline: 3px solid #b34b44; outline-offset: 5px; }
[hidden] { display: none; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { margin-bottom: 22px; color: var(--muted); font-size: 12px; letter-spacing: .15em; font-weight: 700; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 12px 24px; color: var(--primary-color); background: var(--accent-color); border: 1px solid transparent; border-radius: 8px; font-weight: 600; text-align: center; transition: transform .3s ease, background .3s ease; }
.button:hover { background: #f9bdb8; transform: translateY(-2px); }
.button-outline { color: var(--primary-color); background: transparent; border-color: #a5b8c8; }
.button-outline:hover { background: #dde8f0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-block; min-height: 44px; padding: 9px 0; border-bottom: 1px solid var(--primary-color); font-weight: 600; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--primary-color); font-size: 20px; line-height: 1.1; letter-spacing: -.02em; }
.brand b { font-weight: 700; }
.brand small { display: block; margin-top: 7px; font-size: 8px; font-weight: 600; letter-spacing: .08em; }
.brand-mark { display: grid; width: 40px; height: 44px; place-items: center; color: #b34b44; }
.brand-mark svg { width: 38px; height: 38px; }
.menu-toggle { display: grid; width: 44px; height: 44px; align-content: center; gap: 5px; padding: 10px; color: var(--primary-color); background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle span { height: 2px; background: currentColor; }
nav { display: none; width: 100%; padding-bottom: 15px; }
nav.is-open { display: grid; }
nav a { padding: 10px 0; font-size: 14px; }
nav a:hover { color: #a3443e; }
.header-contact { display: grid; order: 3; width: 100%; margin-top: -10px; padding-bottom: 10px; font-size: 14px; }
.header-contact span, .header-cta { display: none; }
/* HERO SECTION */
.hero { padding: 32px 0 0; background: var(--secondary-color); }
.hero-grid { display: grid; gap: 30px; }
.hero-copy { padding-block: 12px; animation: enter .7s ease both; }
.hero h1 span { color: #4b6d86; }
.hero-description { max-width: 390px; margin: 23px 0 28px; color: var(--muted); font-size: 18px; }
.hero-rating { display: flex; align-items: center; gap: 20px; margin-top: 32px; font-size: 14px; }
.hero-rating a { display: grid; min-height: 44px; }
.hero-rating strong { color: var(--primary-color); font-size: 22px; }
.hero-rating a > span { color: var(--muted); font-size: 12px; }
.stars { color: #956000; font-size: 15px; letter-spacing: 2px; }
.rating-line { width: 1px; height: 38px; background: #b8c9d5; }
.hero-rating p { line-height: 1.4; }
.hero-visual { position: relative; min-width: 0; padding-bottom: 32px; }
.hero-photo { width: 100%; height: 340px; border-radius: 120px 20px 20px 20px; object-position: 53% center; }
.photo-label { position: absolute; right: 12px; bottom: 60px; padding: 18px 24px; color: var(--primary-color); background: #fff; border-radius: 14px; font-size: 15px; line-height: 1.5; box-shadow: 0 10px 35px #153e6512; }
.photo-label b { font-weight: 600; }
.flower { position: absolute; top: -10px; right: 4px; color: var(--accent-color); font-size: 110px; line-height: 1; }
.photo-caption { position: absolute; bottom: 5px; left: 0; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
/* BENEFITS */
.benefits { display: grid; padding-block: 34px; gap: 26px; border-bottom: 1px solid var(--line); }
.benefits article { display: flex; gap: 18px; }
.benefits svg { margin-top: 2px; color: var(--primary-color); }
.benefits h2 { margin-bottom: 8px; font-size: 19px; letter-spacing: -.01em; }
.benefits p { color: var(--muted); font-size: 16px; }
/* SERVICES */
.section-heading { display: grid; gap: 20px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading > p { color: var(--muted); font-size: 16px; }
.service-grid { display: grid; gap: 18px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: #f5f8fa; border: 1px solid #e2eaf0; border-radius: 14px; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #153e6512; }
.card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 28px; }
.icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #b7cbd9; border-radius: 50%; }
.service-tag { color: var(--muted); font-size: 14px; }
.service-card h3 { margin-bottom: 15px; font-size: 21px; line-height: 1.3; }
.service-card p { margin-bottom: 28px; color: var(--muted); font-size: 16px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-bottom strong { color: var(--primary-color); font-size: 23px; white-space: nowrap; }
.card-bottom a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.price-footer { display: grid; gap: 22px; margin-top: 30px; }
.price-footer > p { color: var(--muted); font-size: 14px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] { grid-column: 1 / -1; }
/* ABOUT */
.about { background: var(--secondary-color); }
.about-grid { display: flex; flex-direction: column-reverse; gap: 35px; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); }
.about-detail { display: flex; align-items: center; gap: 16px; margin-top: 32px; color: var(--primary-color); font-size: 14px; }
.about-photos { position: relative; height: 380px; padding-bottom: 36px; }
.about-main { width: 73%; height: 100%; margin-left: auto; border-radius: 100px 18px 18px 18px; }
.about-small { position: absolute; left: 0; bottom: 0; width: 53%; height: 185px; border: 6px solid var(--secondary-color); border-radius: 18px; }
.about-sticker { position: absolute; left: 1%; top: 14px; display: grid; width: 112px; height: 112px; place-content: center; color: var(--primary-color); background: var(--accent-color); border-radius: 50%; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; transform: rotate(-12deg); }
/* CONTACTS */
.contact-grid { display: grid; gap: 30px; }
.contact-phone { display: inline-block; margin-bottom: 18px; color: var(--primary-color); font-size: clamp(23px,3vw,36px); font-weight: 600; letter-spacing: -.03em; }
address { margin-bottom: 14px; font-style: normal; }
.contact-info > p { color: var(--muted); margin-bottom: 25px; }
.social-links { display: flex; gap: 24px; margin-top: 22px; }
.social-links a { display: inline-block; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 5px; }
.location-photo { position: relative; }
.location-photo > img { width: 100%; height: 330px; border-radius: var(--radius); }
.location-link { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px; background: white; border-radius: 10px; font-size: 14px; font-weight: 600; }
/* FOOTER */
.footer { padding: 32px 0; background: var(--primary-color); color: white; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.footer .brand { width: 100%; color: white; }
.footer-main > p, .footer-main > a:not(.brand) { font-size: 13px; }
.footer-main a { padding-block: 10px; }
.medical-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid #ffffff40; color: #d3e0ec; font-size: 15px; }
/* PRICE DIALOG AND PRIVACY */
dialog { width: min(900px, calc(100% - 24px)); max-height: 90dvh; padding: 0; color: var(--text-color); background: white; border: 0; border-radius: 16px; }
dialog::backdrop { background: #092a48b8; }
.dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; background: white; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 25px; }
.close-dialog { flex-shrink: 0; width: 44px; height: 44px; color: var(--primary-color); background: var(--secondary-color); border: 0; border-radius: 50%; font-size: 30px; line-height: 1; }
#price-content { padding: 22px 0; }
#dialog-body { padding: 0 20px 20px; }
.price-search label { display: block; margin-bottom: 8px; font-weight: 600; }
.price-search input { width: 100%; min-height: 48px; padding: 10px 14px; color: var(--text-color); background: #f5f8fa; border: 1px solid #9bb0c0; border-radius: 8px; }
.price-search p, .price-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.table-wrap { margin-top: 24px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { padding-bottom: 10px; color: var(--primary-color); font-size: 18px; font-weight: 600; text-align: left; }
th { color: var(--primary-color); background: var(--secondary-color); text-align: left; }
th, td { padding: 14px 9px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top; }
td:last-child, th:last-child { width: 96px; white-space: nowrap; text-align: right; }
.privacy { max-width: 800px; }
.privacy h1 { margin-block: 30px; font-size: clamp(27px,4vw,44px); overflow-wrap: anywhere; }
.privacy p { margin-bottom: 20px; }
.privacy p a { text-decoration: underline; }
/* TABLET */
@media (min-width: 768px) {
  .header-contact { display: grid; order: 0; width: auto; margin: 0 0 0 auto; padding: 0; }
  .phone { font-weight: 700; color: var(--primary-color); }
  .header-contact span { display: block; color: var(--muted); font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .benefits { grid-template-columns: repeat(3,1fr); gap: 24px; padding-block: 40px; }
  .benefits article { display: block; }
  .benefits svg { margin-bottom: 12px; }
  .section-heading { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .price-footer { grid-template-columns: 1fr auto; align-items: center; }
  .about-photos { height: 500px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-info .button { padding-inline: 16px; }
  .footer .brand { width: auto; margin-right: auto; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --space: 80px; }
  .header-inner { flex-wrap: nowrap; gap: 24px; }
  .menu-toggle { display: none; }
  nav, nav.is-open { display: flex; width: auto; gap: 24px; padding: 0; }
  .header-cta { display: inline-flex; padding-inline: 20px; }
  .brand { font-size: 22px; }
  .hero { padding: 55px 0 45px; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 38px; align-items: center; }
  .hero-copy { padding-block: 6px; }
  .hero-photo { height: 510px; border-radius: 160px 24px 24px 24px; }
  .hero-visual { padding-bottom: 30px; }
  .photo-label { right: -12px; bottom: 72px; }
  .flower { top: -26px; right: -15px; font-size: 135px; }
  .benefits article { display: flex; }
  .service-grid { grid-template-columns: repeat(3,1fr); }
  .service-card { padding: 27px; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
  .about-photos { height: 520px; }
  .about-sticker { width: 135px; height: 135px; font-size: 20px; }
  .contact-grid { gap: 65px; }
  .location-photo > img { height: 355px; }
}
@media (min-width: 1440px) {
  .hero-grid { gap: 55px; }
}
/* MOTION */
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
