/*
Theme Name: Spilanapa Blocks
Description: Local block homepage for Flora.
Template: twentytwentyfive
Version: 1.1.8
Requires PHP: 8.4
*/

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --paper:#f6f3e9; --white:#fffdf7; --forest:#17372d; --forest-deep:#10291f; --ink:#1b2a23; --muted:#53685b; --line:#d5ddd2; --yellow:#ede54c; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'Open Sans',sans-serif; font-weight:400; }
button, input, select, textarea { font-family:inherit; }
img { max-width:100%; }
a { color:inherit; text-underline-offset:.15em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid var(--yellow); outline-offset:3px; box-shadow:0 0 0 6px var(--forest); }
.wp-site-blocks { overflow-x:clip; }
.wp-site-blocks > footer.wp-block-template-part { margin-block-start:0; }
.wp-block-post-content { margin:0; }
.skip-link { position:absolute; left:12px; top:-80px; z-index:100; padding:12px 18px; background:var(--yellow); color:var(--forest); }
.skip-link:focus-within { top:12px; }
.site-header { max-width:none; margin:0; padding:12px max(24px,calc((100vw - 1240px)/2)); display:flex; align-items:center; gap:28px; background:var(--white); border-bottom:1px solid var(--line); font-family:'Open Sans',sans-serif; font-size:14px; font-weight:700; line-height:20px; }
.site-header > * { margin-block:0; }
.site-header .wp-block-image { margin:0; flex:none; }
.site-header .wp-block-image a { display:block; }
.site-header .header-brand { margin-right:auto; font-family:Georgia,serif; font-weight:400; font-size:26px; line-height:1.2; color:var(--forest); }
.site-header .wp-block-image img { display:block; width:52px; height:54px; object-fit:contain; }
.site-header p { margin:0; }
.site-header a { text-decoration:none; }
.site-header nav.header-nav { display:flex; align-items:center; gap:24px; font-size:14px; font-weight:600; color:var(--forest); }
.site-header .header-nav .wp-block-navigation__container { gap:24px; flex-wrap:nowrap; font:inherit; }
.site-header .header-phone { font-size:16px; font-weight:700; white-space:nowrap; color:var(--forest); }
.site-header .wp-block-button__link { white-space:nowrap; padding:12px 18px; font-size:14px; font-weight:600; line-height:20px; }
.section { padding:clamp(64px,7vw,116px) max(24px,calc((100vw - 1240px)/2)); }
.section > .wp-block-heading { max-width:780px; margin:0 0 32px; font-family:Georgia,serif; font-size:clamp(34px,3.5vw,58px); font-weight:400; line-height:1.12; letter-spacing:-.035em; }
.section > p:first-child, .price-copy > p:first-child { margin:0 0 16px; color:#567664; font-size:11px; font-weight:800; letter-spacing:.18em; }
.section p { line-height:1.65; }
.section .wp-block-columns { gap:clamp(24px,3vw,48px); margin-bottom:0; }
.section .wp-block-column { min-width:0; }
.wp-block-button__link, .wpcf7 input[type=submit] { display:inline-block; border:0; border-radius:3px; background:var(--yellow); color:var(--forest-deep); font-weight:600; font-size:15px; text-decoration:none; padding:16px 24px; cursor:pointer; }
.wp-block-button__link:hover, .wpcf7 input[type=submit]:hover { background:#fff47b; }
.hero { background:var(--paper); padding-top:48px; padding-bottom:90px; }
.hero > .wp-block-columns { align-items:center; gap:clamp(42px,5vw,90px); }
.hero-copy { max-width:590px; }
.hero-copy > p:first-child { color:#52755f; font-size:11px; letter-spacing:.16em; font-weight:800; }
.hero h1 { margin:16px 0 24px; color:var(--forest-deep); font-family:Georgia,serif; font-size:clamp(48px,5.6vw,84px); font-weight:400; line-height:1.02; letter-spacing:-.055em; }
.hero-copy > p { max-width:530px; font-size:17px; }
.hero-copy > .wp-block-buttons { margin:32px 0 18px; }
.hero-copy > p:last-child { font-size:14px; font-weight:700; }
.hero-visual { position:relative; padding-bottom:40px; }
.hero-visual > .wp-block-image { margin:0; }
.hero-visual > .wp-block-image img { display:block; width:100%; height:clamp(430px,43vw,590px); object-fit:cover; object-position:52% center; border-radius:2px; }
.hero-person { position:absolute; right:-18px; bottom:-6px; display:flex; align-items:center; gap:14px; width:min(295px,85%); margin:0; padding:12px 16px; background:var(--white); box-shadow:0 15px 38px #10291f25; }
.hero-person .wp-block-image { margin:0; flex:none; }
.hero-person img { display:block; width:56px; height:56px; object-fit:cover; object-position:center 35%; border-radius:50%; }
.hero-person p { margin:0; font-size:12px; line-height:1.4; }
.services { background:var(--white); }
.services > .wp-block-columns { margin-top:48px; }
.service-card { height:100%; border-top:1px solid var(--forest); padding:24px 10px 18px 0; }
.service-card h3 { margin:0 0 16px; font-family:Georgia,serif; font-size:27px; font-weight:400; }
.service-card p { margin:0; color:var(--muted); }
.service-proof { display:grid; grid-template-columns:1fr 1.4fr; gap:45px; margin-top:65px; padding:42px; background:#eaf0e6; }
.service-proof h3 { margin:0 0 12px; font-family:Georgia,serif; font-size:clamp(30px,3vw,35px); font-weight:400; }
.service-proof p { margin:0; }
.benefits { margin:0; padding-left:22px; }
.benefits li { margin:0 0 14px; padding-left:7px; line-height:1.5; }
.benefits li::marker { color:#3d6e4f; }
.partners { background:#e8eee7; }
.partner-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.partner-card { min-width:0; padding:14px 14px 18px; background:var(--white); }
.partner-card > .wp-block-image { margin:0 0 14px; }
.partner-card > .wp-block-image img { display:block; width:100%; height:168px; object-fit:cover; }
.partner-card p, .partner-card summary { margin:0; font-size:14px; font-weight:700; line-height:1.4; }
.partner-card summary { cursor:pointer; padding:3px 0; }
.partner-card details[open] { position:relative; z-index:2; }
.partner-card details p, .partner-card details li { font-size:13px; font-weight:400; }
.price-request { background:var(--forest); color:var(--white); }
.price-copy { max-width:690px; }
.price-copy > p:first-child { color:var(--yellow); }
.price-copy h2 { margin:0 0 15px; font-family:Georgia,serif; font-size:clamp(36px,4vw,60px); font-weight:400; line-height:1.1; }
.price-request .wp-block-columns { align-items:center; margin-top:42px; }
.price-request .wp-block-image { margin:0; }
.price-request .wp-block-image img { display:block; width:100%; height:480px; object-fit:cover; object-position:50% 45%; }
.price-request .wp-block-column:last-child { padding:26px clamp(0px,3vw,44px); }
.wpcf7 { max-width:510px; }
.wpcf7 label { display:block; margin:0 0 18px; font-size:13px; font-weight:700; }
.wpcf7 input:not([type=submit]), .wpcf7 select { display:block; width:100%; max-width:100%; margin-top:8px; padding:14px 15px; border:1px solid #9aa99e; border-radius:3px; background:#fff; color:#172b22; font:inherit; font-size:16px; }
.wpcf7 input[type=submit] { margin-top:3px; }
.wpcf7-response-output { color:inherit; }
.rentals { background:var(--paper); }
.rentals > .wp-block-columns { gap:18px; align-items:stretch; }
.rentals > .wp-block-columns > .wp-block-column { background:var(--white); padding:20px; border:1px solid var(--line); }
.rentals .wp-block-column h3 { min-height:58px; margin:0 0 18px; color:var(--forest); font-family:Georgia,serif; font-size:23px; font-weight:400; }
.rentals .wp-block-image { margin:0 0 22px; }
.rentals .wp-block-image img { display:block; width:100%; height:230px; object-fit:contain; background:#edf0e9; }
.rentals .wp-block-column p { margin:0 0 14px; font-size:14px; }
.rentals .wp-block-column em { color:var(--forest); font-size:19px; font-style:normal; font-weight:600; white-space:nowrap; }
.rental-form { margin-top:38px; padding:32px; background:#e5ece3; }
.rental-form > p { max-width:760px; margin:0; font-size:17px; }
.rental-form > .wp-block-contact-form-7-contact-form-selector { margin-top:24px; }
.rental-form .wpcf7 { width:100%; max-width:none; margin:0; }
.rental-form form > p { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto 24px; gap:20px; align-items:start; margin:0; }
.rental-form form > p > br { display:none; }
.rental-form label { margin:0; font-size:14px; font-weight:600; line-height:20px; }
.rental-form input:not([type=submit]) { min-height:54px; font-weight:400; }
.rental-form input[type=submit] { min-height:54px; margin:28px 0 0; line-height:20px; }
.rental-form .wpcf7-spinner { margin:43px 0 0; }
.rental-form .wpcf7 form .wpcf7-response-output { margin:20px 0 0; padding:12px 16px; font-size:14px; line-height:1.5; }
.certificates { background:var(--white); }
.certificates > p { max-width:620px; margin-top:-14px; color:var(--muted); }
.cert-gallery { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding:26px 0 35px; }
.cert-gallery .wp-block-image { flex:0 0 calc((100% - 72px)/4); min-width:0; scroll-snap-align:start; margin:0; padding:8px; border:1px solid var(--line); background:#fff; }
.cert-gallery img { display:block; width:100%; height:340px; object-fit:contain; }
.testimonials { background:#e8eee7; }
.testimonials > p { max-width:650px; color:var(--muted); }
.testimonials .wp-block-columns { margin-top:32px; }
.testimonials .wp-block-embed { margin:0; }
.testimonials .wp-block-embed__wrapper { aspect-ratio:16/9; background:#10291f; }
.testimonials iframe { width:100%; height:100%; border:0; }
.testimonials .wp-block-column > p { font-size:13px; font-weight:700; }
.callback { background:var(--forest-deep); color:var(--white); }
.callback > p:first-child { color:var(--yellow); }
.callback .wp-block-columns { align-items:start; margin-top:22px; }
.callback-intro h2 { max-width:600px; margin:0 0 22px; font-family:Georgia,serif; font-size:clamp(36px,3.8vw,60px); font-weight:400; line-height:1.1; }
.callback-intro p { max-width:550px; font-size:18px; font-weight:300; }
.callback .wpcf7 { max-width:540px; margin:0; }
.site-footer { margin:0; padding:70px max(24px,calc((100vw - 1240px)/2)); background:#0d231b; color:#edf4e8; font-size:14px; }
.site-footer .wp-block-columns { gap:34px; }
.site-footer .wp-block-heading { font-family:Georgia,serif; font-size:19px; font-weight:400; }
.site-footer a { color:#edf4e8; }
.site-footer .footer-social { display:flex; flex-wrap:wrap; gap:0; }
.site-footer .footer-social .wp-block-button:not(:last-child)::after { content:" · "; white-space:pre; }
.site-footer .footer-social .wp-block-button__link { display:inline; padding:0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; }
html:has(.cert-lightbox[open]) { overflow:hidden; padding-right:var(--cert-scrollbar-width,0px); }
.cert-lightbox { width:min(1100px,calc(100% - 48px)); height:min(860px,calc(100vh - 48px)); height:min(860px,calc(100dvh - 48px)); max-width:none; max-height:none; margin:auto; padding:20px; border:1px solid #ffffff26; border-radius:4px; background:var(--forest-deep); color:var(--white); box-shadow:0 24px 80px #0007; }
.cert-lightbox[open] { display:grid; grid-template-rows:auto minmax(0,1fr); gap:16px; }
.cert-lightbox::backdrop { background:#07130ee6; }
.cert-lightbox__toolbar { display:grid; grid-template-columns:1fr auto 44px; align-items:center; gap:16px; padding-bottom:16px; border-bottom:1px solid #ffffff26; }
.cert-lightbox__title { font-size:16px; font-weight:600; }
.cert-lightbox__count { font-size:14px; color:#d5ddd2; white-space:nowrap; }
.cert-lightbox__stage { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:20px; align-items:center; min-height:0; }
.cert-lightbox img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
.cert-lightbox button { display:grid; place-items:center; width:44px; height:44px; margin:0; padding:0; border:1px solid #ffffff50; border-radius:50%; background:transparent; color:var(--white); cursor:pointer; }
.cert-lightbox button:hover:not(:disabled) { background:#ffffff1f; }
.cert-lightbox button:disabled { opacity:.35; cursor:default; }
.cert-lightbox .cert-lightbox__close { border-color:transparent; border-radius:3px; }
.cert-lightbox button svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:600px) {
 .cert-lightbox { width:calc(100% - 16px); height:calc(100vh - 16px); height:calc(100dvh - 16px); padding:12px; }
 .cert-lightbox__toolbar { gap:12px; padding-bottom:12px; }
 .cert-lightbox__title { font-size:14px; }
 .cert-lightbox__stage { grid-template-columns:1fr 1fr; grid-template-rows:minmax(0,1fr) 44px; gap:12px; }
 .cert-lightbox img { grid-column:1 / -1; grid-row:1; }
 .cert-lightbox__previous { grid-column:1; grid-row:2; justify-self:end; }
 .cert-lightbox__next { grid-column:2; grid-row:2; justify-self:start; }
}
@media (max-width:1050px) {
 .site-header { gap:14px; }
 .site-header .header-nav, .site-header .header-nav .wp-block-navigation__container { gap:12px; }
 .site-header .wp-block-button { display:none; }
 .hero h1 { font-size:clamp(44px,6vw,68px); }
 .partner-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:781px) {
 .site-header { display:grid; grid-template-columns:1fr auto auto 1fr; gap:0; padding:0; }
 .site-header > .wp-block-image { grid-column:2; margin:14px 0; }
 .site-header .header-brand { grid-column:3; margin:0 0 0 12px; }
 .site-header .wp-block-image img { width:46px; height:48px; }
 .site-header > .wp-block-buttons { display:none; }
 .site-header nav.header-nav { grid-column:1 / -1; grid-row:2; width:100%; justify-content:center; margin:0; padding:4px 16px; border-top:1px solid var(--line); background:#edf1e8; font-size:14px; font-weight:400; }
 .site-header .header-nav .wp-block-navigation__container { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; max-width:640px; gap:0; }
 .site-header .header-nav .wp-block-navigation-item { width:100%; justify-content:center; }
 .site-header .header-nav .wp-block-navigation-item__content { display:flex; width:100%; min-height:44px; align-items:center; justify-content:center; text-align:center; }
 .site-header .header-phone { position:fixed; bottom:0; left:0; z-index:50; width:100%; margin:0; padding:0; background:var(--yellow); color:var(--forest-deep); text-align:center; font-size:16px; font-weight:600; box-shadow:0 -4px 16px #10291f30; }
 .site-header .header-phone a { display:flex; min-height:52px; align-items:center; justify-content:center; padding:0 18px env(safe-area-inset-bottom); }
 body { padding-bottom:calc(52px + env(safe-area-inset-bottom)); }
 .section { padding:70px 22px; }
 .section .wp-block-columns { display:block; }
 .hero { padding-top:40px; }
 .hero .wp-block-columns { display:flex; flex-direction:column; align-items:stretch; gap:30px; }
 .hero h1 { font-size:clamp(42px,10vw,66px); }
 .hero-copy > p { font-size:16px; }
 .hero-visual { padding-right:16px; }
 .hero-visual > .wp-block-image img { height:420px; }
 .hero-person { right:0; }
 .service-proof { display:block; padding:28px; }
 .service-proof .benefits { margin:26px 0 0; }
 .callback .wpcf7 { margin-top:28px; }
 .service-card { margin-bottom:16px; }
 .price-request .wp-block-column:last-child { padding:28px 0 0; }
 .price-request .wp-block-image img { height:380px; }
 .rentals > .wp-block-columns > .wp-block-column { margin-bottom:20px; }
 .rentals .wp-block-column h3 { min-height:0; }
 .rental-form { padding:26px; }
 .rental-form form > p { grid-template-columns:minmax(0,1fr) 24px; }
 .rental-form label { grid-column:1 / -1; }
 .rental-form input[type=submit] { justify-self:start; margin:0; }
 .rental-form .wpcf7-spinner { align-self:center; margin:0; }
 .cert-gallery .wp-block-image { flex-basis:45%; }
 .site-footer .wp-block-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:520px) {
 .site-header .header-nav .wp-block-navigation__container { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:420px; }
 .section { padding:62px 18px; }
 .section > .wp-block-heading { font-size:37px; }
 .hero h1 { font-size:clamp(36px,10.8vw,46px); overflow-wrap:break-word; }
 .hero-visual > .wp-block-image img { height:330px; }
 .partner-grid { grid-template-columns:1fr; gap:16px; }
 .partner-card > .wp-block-image img { height:185px; }
 .price-request .wp-block-image img { height:300px; }
 .cert-gallery .wp-block-image { flex-basis:82%; }
 .cert-gallery img { height:320px; }
 .site-footer .wp-block-columns { display:block; }
 .site-footer .wp-block-column { margin-bottom:30px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .cert-gallery { scroll-behavior:auto; } }
.price-request .wpcf7-not-valid-tip, .callback .wpcf7-not-valid-tip { color:#ffb7ae; }
.rentals .wpcf7-not-valid-tip { color:#8f1515; }
