/* Fluid layouts and deliberately restrained motion. */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); }
html { scrollbar-gutter: stable; }
main, .header-inner, .section-head > *, .about-grid > *, .contact-shell > *,
.form-grid > *, .footer-grid > *, .calendar-content > * { min-width: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
.article-body { overflow-wrap: anywhere; }
.article-body p { white-space: normal; }
.menu-toggle { flex-shrink: 0; position: relative; }
.menu-toggle .icon { transition: transform .22s var(--ease-out); }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.menu-toggle[aria-expanded="true"] { background: #e6f2d7; }
.mobile-contact, .month-picker, .services-navigation { display: none; }
.close-dialog, .lightbox-toolbar button { min-width: 44px; min-height: 44px; }
.lightbox-image { touch-action: pan-y pinch-zoom; }
.gallery-swipe-hint { display: none; }
.btn:active, .filter-btn:active, .month-btn:active { transform: scale(.97); }
.filter-btn, .month-btn { transition: background .18s, color .18s, transform .18s; }
.btn, .filter-btn, .month-btn, .menu-toggle, .gallery-item { touch-action: manipulation; }
.services-navigation button:disabled { opacity: .32; }

@keyframes garden-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes garden-image {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
@keyframes garden-dialog {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero > img { animation: garden-image 1.2s var(--ease-out) both; }
  .hero-top { animation: garden-enter .6s var(--ease-out) both; }
  .hero-copy { animation: garden-enter .7s .08s var(--ease-out) both; }
  .article-hero { animation: garden-enter .55s var(--ease-out) both; }
  .mobile-nav.open { animation: garden-enter .2s var(--ease-out) both; }
  .lightbox[open] { animation: garden-dialog .24s var(--ease-out) both; }
}
@media (hover: hover) and (pointer: fine) {
  .knowledge-card img { transition: transform .35s var(--ease-out); }
  .knowledge-card:hover img { transform: translateY(-3px); }
}
@media (hover: none) {
  .btn:hover { transform: none; }
  .service-card:hover img, .gallery-item:hover img { transform: none; }
  .gallery-item .zoom { opacity: 1; }
}

@media (min-width: 1550px) {
  .wrap { width: min(1380px, calc(100% - 100px)); }
  .hero { min-height: 735px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: 73px; }
  .service-card { min-height: 410px; }
  .nav { font-size: 13px; }
  .nav a { padding: 8px 13px; }
}
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 40px); }
  .nav { gap: 0; font-size: 12px; }
  .nav a { padding: 8px; }
  .header-phone { display: none; }
  .header-inner { gap: 12px; }
  .about-grid { gap: 40px; }
  .services-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #c0d3b4 transparent;
    padding: 2px 0 14px;
    scroll-padding-inline: 2px;
  }
  .service-card { scroll-snap-align: start; flex: 0 0 calc((100% - 42px) / 3); min-width: 220px; }
  .services-navigation {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-top: 15px; color: var(--muted); font-size: 13px;
  }
  .services-navigation > div { display: flex; gap: 8px; }
  .services-navigation button {
    width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 50%; background: white; font-size: 20px;
  }
  [dir="ltr"] .services-navigation button { transform: scaleX(-1); }
  .contact-shell { gap: 32px; padding: 32px; }
  .price-card { padding: 23px 16px; }
  .hero { min-height: 660px; }
}
@media (max-width: 1000px) {
  html { scroll-padding-top: 104px; }
  .site-header {
    position: sticky; top: 0; padding-block: 10px; width: 100%;
    padding-inline: 20px; background: var(--paper);
  }
  .header-inner { position: relative; z-index: 2; }
  .nav { display: none; }
  .menu-toggle { display: flex; width: 44px; height: 44px; }
  .header-actions { margin-inline-start: auto; gap: 10px; }
  .header-actions .btn { min-height: 44px; }
  .mobile-nav.open {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px; background: white; border: 1px solid var(--line);
    border-radius: 22px; position: absolute; top: calc(100% - 1px);
    inset-inline: 20px; box-shadow: 0 16px 35px #0b23171f;
    max-height: calc(100dvh - 110px); overflow-y: auto;
  }
  .mobile-nav a { padding: 12px 14px; min-height: 48px; font-size: 15px; border-radius: 12px; }
  .mobile-nav a:hover, .mobile-nav a:focus-visible { background: #eef5e7; }
  .hero { margin-top: 5px; }
  .section { padding-block: 58px; }
  .hero h1 { font-size: clamp(44px, 6vw, 58px); }
  .hero-copy p { font-size: 16px; }
  .hero-top .local-label { display: none; }
  .section-title { font-size: clamp(29px, 4vw, 36px); }
  .trust-strip { gap: 16px; flex-wrap: wrap; }
  .hero-feature { padding: 13px; gap: 9px; }
  .hero-feature strong { font-size: 13px; }
  .hero-feature small { font-size: 11px; }
  .hero-feature .feature-icon { width: 32px; height: 32px; }
  .about-grid { gap: 32px; }
  .portrait { aspect-ratio: 4/5; }
  .step { padding: 22px; }
  .step h3 { font-size: 20px; }
  .step:first-child img { height: 310px; }
  .process-grid { gap: 14px; }
  .calendar-shell { padding: 26px; }
  .calendar-content { grid-template-columns: 1fr 210px; gap: 20px; padding: 23px; }
  .calendar-content img { width: 210px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card h3 { min-height: 0; }
  .contact-shell { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .contact-copy h2 { font-size: 38px; }
  .contact-form { padding: 30px; }
  .field { font-size: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; min-height: 52px; }
  .field textarea { min-height: 120px; }
  .contact-form > p { font-size: 14px; }
  .footer-grid { gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1/-1; }
  .footer-grid > div:last-child .footer-links { flex-direction: row; gap: 25px; flex-wrap: wrap; }
  .knowledge-card img { height: 170px; }
  .library-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { padding: 28px; min-height: 640px; }
  .hero-features { gap: 8px; }
  .hero-feature { align-items: start; flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .portrait { max-width: none; aspect-ratio: 3/2; justify-self: stretch; }
  .portrait img { object-position: 50% 40%; }
  .about-copy h2 { max-width: 590px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step:first-child { grid-column: 1/-1; grid-row: auto; }
  .step:first-child img { height: 290px; }
  .process-bottom { grid-column: 1/-1; }
  .calendar-content { grid-template-columns: 1fr; }
  .calendar-content img { width: 100%; height: 230px; }
  .knowledge-grid { gap: 16px; }
  .knowledge-card h3 { font-size: 19px; }
  .services-grid > .service-card { flex-basis: calc((100% - 38px) / 2); }
  .services { padding-top: 24px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 90px; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 42px; }
  .site-header {
    width: 100%; padding: max(8px, env(safe-area-inset-top, 0px)) 16px 8px;
  }
  .header-inner { padding: 8px 10px; min-height: 64px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-emblem { width: 36px; height: 36px; }
  .brand-emblem .icon { width: 21px; height: 21px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9px; }
  .header-actions { gap: 7px; }
  .header-actions .btn { font-size: 12px; padding: 10px 13px; gap: 7px; }
  .header-actions .arrow { width: 22px; height: 22px; font-size: 14px; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-nav.open { inset-inline: 16px; }
  .hero {
    margin-top: 4px; border-radius: 25px; padding: 23px 22px 22px;
    min-height: 0; gap: 28px;
  }
  .hero > img { object-position: 62% center; }
  .hero:before { background: linear-gradient(270deg, #06190ee6, #06190e85); }
  .hero-top .pill { font-size: 11px; padding: 7px 12px; line-height: 1.6; }
  .hero-top .pill .icon { flex-shrink: 0; }
  .hero-copy { padding-block: 4px; }
  .hero-copy .kicker { font-size: 12px; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(35px, 10vw, 48px); line-height: 1.16; margin-bottom: 20px; }
  .hero-copy p { font-size: 15px; line-height: 1.85; margin-bottom: 24px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-buttons .btn { font-size: 14px; padding: 12px 16px; min-height: 50px; }
  .hero-features { grid-template-columns: 1fr; gap: 8px; padding-top: 20px; }
  .hero-feature { flex-direction: row; align-items: center; min-height: 59px; padding: 10px 13px; gap: 12px; }
  .hero-feature strong { display: block; font-size: 13px; }
  .hero-feature small { display: block; font-size: 11px; line-height: 1.6; }
  .hero-feature .feature-icon { height: 34px; width: 34px; }
  .hero-feature .icon { height: 19px; width: 19px; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; font-size: 11px; padding: 26px 2px; }
  .trust-strip div { gap: 7px; align-items: start; }
  .trust-strip .icon { height: 18px; width: 18px; }
  .section-title, .about-copy h2 { font-size: clamp(27px, 7.5vw, 32px); }
  .section-title br { display: none; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head > p, .section-head > .text-link { margin-top: 14px; font-size: 14px; }
  .kicker { font-size: 12px; margin-bottom: 12px; }
  .about-copy p { font-size: 15px; }
  .about-copy .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-copy .actions .btn { padding-inline: 12px; font-size: 13px; gap: 7px; }
  .portrait { aspect-ratio: 5/4; }
  .portrait strong { font-size: 24px; }
  .portrait small { font-size: 13px; }
  .services { padding-top: 10px; }
  .services-grid {
    gap: 13px;
    margin-inline-end: -16px; padding-inline-end: 16px; scrollbar-width: none;
  }
  .services-grid > .service-card { flex-basis: calc(100% - 35px); min-width: 0; }
  .service-card { min-height: 390px; padding: 24px; }
  .service-card h3 { font-size: 25px; }
  .service-card p { font-size: 14px; }
  .service-card .btn { min-height: 48px; font-size: 13px; padding-inline: 17px; }
  .service-card .arrow { width: 27px; height: 27px; }
  .service-top { top: 20px; right: 20px; left: 20px; }
  .service-top > span { font-size: 11px; }
  .services-navigation { font-size: 12px; margin-top: 10px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .step, .step:first-child { grid-column: auto; padding: 24px; }
  .step:first-child img { height: 250px; }
  .step img { height: 210px; }
  .step h3 { font-size: 23px; }
  .step p { font-size: 15px; }
  .process-bottom { grid-column: auto; gap: 15px; padding: 22px; }
  .process-bottom .feature-icon { width: 42px; height: 42px; }
  .process-bottom h3 { font-size: 21px; }
  .calendar-shell { padding: 24px 18px; border-radius: 25px; }
  .months { display: none; }
  .month-picker { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 650; margin-bottom: 20px; }
  .month-picker select { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); border: 1px solid #cdd9c6; border-radius: 12px; background: #f7f9f5; }
  .calendar-content { padding: 21px 18px; gap: 22px; }
  .calendar-content h3 { font-size: 23px; }
  .calendar-content p, .calendar-content ul { font-size: 14px; }
  .calendar-content li + li { margin-top: 10px; }
  .calendar-content img { height: 190px; }
  .text-link { min-height: 44px; align-items: center; font-size: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .gallery-item { min-height: 0; aspect-ratio: 4/5; border-radius: 20px; }
  .gallery-item:first-child { grid-column: 1/-1; grid-row: auto; min-height: 0; aspect-ratio: 4/3; }
  .gallery-item .caption { font-size: 14px; inset-inline: 16px; bottom: 17px; }
  .gallery-item .tag { font-size: 10px; }
  .gallery-item .zoom { opacity: 1; width: 32px; height: 32px; left: 13px; top: 13px; }
  .gallery-filters { gap: 8px; margin-bottom: 22px; }
  .filter-btn { min-height: 44px; font-size: 13px; padding: 9px 16px; }
  .gallery-actions .btn { min-height: 48px; width: 100%; }
  .pricing-section { border-radius: 25px; padding: 27px 18px; }
  .pricing-grid { gap: 12px; }
  .price-card { padding: 22px 16px; }
  .price-card h3 { font-size: 15px; min-height: 36px; }
  .price-value { font-size: 37px; }
  .price-card p { font-size: 12px; }
  .pricing-note { font-size: 14px; }
  .knowledge-grid { grid-template-columns: 1fr; gap: 30px; }
  .knowledge-card img { height: auto; aspect-ratio: 3/2; }
  .knowledge-card h3 { font-size: 23px; }
  .knowledge-card p { font-size: 15px; }
  .contact-shell { gap: 28px; padding: 27px 19px; border-radius: 27px; }
  .contact-copy h2 { font-size: clamp(29px, 8.5vw, 37px); }
  .contact-copy > p { font-size: 15px; }
  .contact-copy .area-note { font-size: 13px; }
  .contact-form { padding: 25px 20px; border-radius: 22px; }
  .contact-form h3 { font-size: 25px; }
  .contact-form > p { font-size: 13px; }
  .form-grid { gap: 17px; }
  .form-submit { min-height: 52px; font-size: 15px; }
  .form-note { font-size: 12px !important; line-height: 1.7; }
  .form-status { font-size: 14px; }
  .footer { padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 20px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand p, .footer-links { font-size: 14px; }
  .footer h3 { font-size: 15px; margin-bottom: 12px; }
  .footer-links { gap: 0; }
  .footer-links a { padding-block: 9px; min-height: 44px; }
  .footer-grid > div:last-child .footer-links { flex-direction: column; gap: 0; }
  .languages { gap: 20px; margin-top: 15px; font-size: 14px; }
  .languages a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom { align-items: start; flex-direction: column; font-size: 12px; gap: 8px; margin-top: 27px; }
  .footer-bottom > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .footer-bottom button, .footer-bottom a { min-height: 44px; font-size: 12px; display: inline-flex; align-items: center; }
  .floating-wa { display: none; }
  .mobile-contact {
    position: fixed; z-index: 26; inset-inline: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
    padding: 11px max(16px, env(safe-area-inset-right, 0px)) calc(11px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: #f7f9f5f5; border-top: 1px solid #dfe6dccc;
    box-shadow: 0 -5px 24px #0b23170c; backdrop-filter: blur(12px);
    visibility: hidden; opacity: 0; transform: translateY(100%);
    transition: transform .25s var(--ease-out), opacity .25s, visibility .25s;
  }
  .mobile-contact.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-contact .btn { min-height: 48px; padding: 10px 14px; font-size: 14px; gap: 9px; }
  .mobile-contact .icon { width: 20px; height: 20px; }
  body:has(dialog[open]) .mobile-contact { visibility: hidden; }
  .article-main { padding-block: 24px; }
  .article-hero { padding: 30px 24px; margin-bottom: 24px; }
  .article-hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .article-hero p { font-size: 15px; }
  .article-body { padding: 27px 22px; font-size: 16px; }
  .article-body img { height: auto; }
  .article-body h2 { font-size: 24px; }
  .library-list { grid-template-columns: 1fr; gap: 15px; }
  .library-link { padding: 24px; }
  .library-link p { font-size: 14px; }
  .lightbox:not(.info-dialog) { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; overflow: hidden; padding-top: max(58px, env(safe-area-inset-top, 0px)); }
  .lightbox-image { height: calc(100dvh - 168px - env(safe-area-inset-bottom, 0px)); }
  .lightbox-toolbar { padding: 12px 16px; gap: 12px; }
  .lightbox-toolbar p { font-size: 13px; text-align: center; }
  .lightbox-toolbar button { width: 46px; height: 46px; flex-shrink: 0; }
  .close-dialog { left: 16px; top: max(12px, env(safe-area-inset-top, 0px)); }
  .gallery-swipe-hint { display: block; text-align: center; font-size: 11px; color: #a4b79e; padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .info-dialog { padding: 29px 24px; max-height: calc(100dvh - 32px); }
}
@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:first-child { aspect-ratio: 4/3; grid-column: auto; }
  .gallery-item .caption { font-size: 16px; }
  .gallery-item .tag { font-size: 11px; }
  .step:first-child img { height: 225px; }
}
@media (max-width: 420px) {
  .header-actions > .btn { display: none; }
  .header-phone { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; min-width: 44px; padding: 10px; font-size: 0; }
  .header-phone .icon { width: 20px; height: 20px; }
  .hero-top .pill { font-size: 10px; }
  .process-bottom { flex-direction: column; align-items: start; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 24px); }
  .site-header { width: 100%; padding-inline: 12px; }
  .mobile-nav.open { inset-inline: 12px; grid-template-columns: 1fr; }
  .hero { padding-inline: 19px; }
  .hero h1 { font-size: 34px; }
  .hero-top .pill { font-size: 10px; padding-inline: 9px; }
  .trust-strip { gap: 16px 8px; font-size: 10px; }
  .about-copy .actions { grid-template-columns: 1fr; }
  .services-grid { margin-inline-end: -12px; padding-inline-end: 12px; }
  .services-grid > .service-card { flex-basis: calc(100% - 24px); }
  .service-card { padding-inline: 20px; }
  .contact-shell { padding-inline: 15px; }
  .contact-form { padding-inline: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card h3 { min-height: 0; }
  .price-value { margin-top: 7px; }
  .footer-grid { column-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
