/* Preserve the approved wide layout; reflow the same content on smaller screens. */
@media(max-width:1600px){
  .footer-wordmark{font-size:18vw}
}
@media(min-width:1201px) and (max-width:1600px){
  #about .distance-playground,#about .distance-beach,#about .distance-yalta,
  #about .distance-park,#about .distance-alushta{width:clamp(250px,22vw,350px)}
  #about .distance .distance-photo{height:clamp(200px,18vw,280px)}
  #about .place-copy{width:clamp(360px,32vw,510px)}
  #about .place-copy h2{font-size:clamp(42px,3.5vw,56px)}
  #about .place-copy p{font-size:18px}
  .rooms-section .catalogue-tools{flex-wrap:wrap;gap:16px}
  .rooms-section .filter{padding:12px 15px;font-size:15px}
  #contact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
  #contact h2{font-size:54px}
  #included .comfort-grid{column-gap:40px}
  #included .comfort-item h3{font-size:23px}
  #included .comfort-item p{font-size:17px}
}
@media(max-width:1200px){
  .hero h1{font-family:Geologica,Manrope,sans-serif;font-size:clamp(48px,6.2vw,72px);line-height:1.08;letter-spacing:-.055em}
  .hero h1>.hero-word,.hero h1>.hero-line,.hero h1>.hero-last{display:block;font-size:1em;line-height:1.08;margin:0;color:#fff}
  .hero h1 .hero-distance,.hero h1 .hero-number{font-size:1em;color:var(--orange)}
  .hero h1>.hero-word{font-size:1.25em;margin-bottom:12px}
  .hero h1>.hero-last{margin-top:8px}
  .hero .booking-bar .hero-note{grid-column:1/-1;margin:0;padding:8px 12px;color:var(--muted);font-size:12px;line-height:1.5;text-align:center;max-width:none}
  #about{height:auto;padding:70px 0;width:calc(100% - 64px);margin:auto}
  #about .place-stage{position:static;height:auto;width:100%;pointer-events:auto}
  #about .place-copy{position:static;width:min(600px,100%);margin:0 auto 40px;transform:none;text-align:center}
  #about .place-sun{display:block;width:40px;height:40px;margin:0 auto 22px;color:var(--orange);fill:currentColor}
  #about .place-copy h2{font-family:Geologica,Manrope,sans-serif;font-size:clamp(36px,4.5vw,54px);line-height:1.12;letter-spacing:-.05em}
  #about .place-copy p{font-size:17px;line-height:1.6;margin:22px auto 0;max-width:520px;color:var(--muted)}
  #about .place-gallery-link{display:inline-flex;align-items:center;gap:16px;margin-top:24px;padding:14px 20px;background:var(--blue);color:#fff;border-radius:12px;font-size:15px;font-weight:600}
  #about .distances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px;padding:0;border:0}
  #about .distance,#about .distance:last-child{position:static;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;padding:0;border:0;align-content:start;animation:none;transform:none;opacity:1}
  #about .distance-photo,#about .distance:last-child .distance-photo{grid-column:1/-1;grid-row:1;height:auto;aspect-ratio:5/4;width:100%;margin:0 0 10px;border-radius:20px}
  #about .distance strong{grid-column:1;grid-row:2/4;font-size:26px;gap:4px}
  #about .distance strong small{font-size:14px}
  #about .distance h3{grid-column:2;grid-row:2;min-height:0;margin:0;font-size:17px}
  #about .distance p{grid-column:2;grid-row:3;min-height:0;margin:0;font-size:14px;line-height:1.5}
  #gallery .gallery-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:0;width:calc(100% - 64px);margin:auto;padding:0;overflow:hidden;border-radius:24px}
  #gallery .gallery-photo,#gallery .gallery-photo.is-portrait{flex:none;width:100%;height:auto;aspect-ratio:1;min-width:0;border-radius:0}
  #gallery .gallery-heading{display:block;text-align:center;margin:0 auto 30px}
  #gallery h2{font-family:Geologica,Manrope,sans-serif;font-size:clamp(36px,4.5vw,52px);line-height:1.12}
  #gallery .gallery-photo>span{left:14px;bottom:14px;font-size:14px;max-width:calc(100% - 60px)}
  #gallery .gallery-photo>.image-zoom{left:auto;right:12px;bottom:12px;width:30px;height:30px}
  .footer-wordmark>span{position:relative;display:flex;justify-content:space-between;letter-spacing:0}
  .footer-wordmark-sun{position:absolute;width:7vw;height:7vw;right:0;top:-3vw;color:var(--orange);fill:currentColor}
}
@media(min-width:761px) and (max-width:1200px){
  .wrap,.header .wrap,#top .hero-content,.rooms-section>.wrap,#included,#reviews>.wrap,#where,#contact,#faq,.footer>.wrap{width:calc(100% - 64px)}
  .header .wrap{gap:16px}
  .header .nav{gap:14px;font-size:13px}
  .header .brand strong{font-size:30px}
  .header-actions{gap:12px}
  .header .phone{display:none}
  .header .button{padding:14px 18px}
  .hero-stage{grid-template-columns:minmax(0,1fr) 260px;gap:24px}
  .hero-postcard{width:260px;height:330px}
  .hero-content{padding-top:140px}
  .rooms-section .room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rooms-section .catalogue-tools{flex-direction:column;align-items:stretch;gap:18px}
  .rooms-section .capacity-label{flex-direction:row;align-items:center;justify-content:flex-end;gap:16px}
  .rooms-section .room-photo{height:260px}
  .rooms-section .room-info{padding:24px}
  .rooms-section .room-info h3{font-size:24px;min-height:2.5em;max-width:none}
  #included{display:block;padding:70px 0}
  #included .comfort-grid{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:20px}
  #included .comfort-beach{grid-column:1/-1;grid-row:auto;height:460px}
  #included .comfort-item{grid-column:auto;grid-row:auto;min-height:180px}
  #included .extra-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  #included .extras-heading{margin-top:36px}
  #contact{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:30px}
  #contact .contact-form{padding:26px}
  #contact h2{font-size:42px}
  #contact .phone-big{font-size:27px}
  .faq,.where-section{gap:32px}
}
@media(max-width:1080px){
  .header .nav{display:none;position:absolute;top:82px;left:24px;right:24px;flex-direction:column;gap:8px;padding:24px;border-radius:18px;background:var(--card);color:var(--ink);font-size:18px;box-shadow:0 16px 36px #071d2b18}
  .header .nav.open{display:flex}
  .header .menu-toggle{display:grid;place-items:center}
  .footer-links{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:32px;font-size:16px}
  .footer-links>div{min-width:0}
  .footer-top{display:block}
  .reviews{background:var(--cream);color:var(--ink)}
  .reviews-heading p{color:var(--muted)}
}
@media(max-width:760px){
  .wrap,.header .wrap,#top .hero-content,.rooms-section>.wrap,#included,#reviews>.wrap,#where,#contact,#faq,.footer>.wrap{width:calc(100% - 40px)}
  h2{font-size:clamp(30px,8.2vw,42px);line-height:1.15}
  .header .wrap{gap:8px;padding:18px 0}
  .header .brand{padding-right:22px;flex-shrink:0}
  .header .brand strong{font-size:26px}
  .header .brand small{font-size:8px}
  .header .brand-sun{right:0;top:-9px;width:24px;height:24px}
  .header-actions{gap:8px}
  .header .button{display:none}
  .header .theme-toggle,.header .menu-toggle{width:40px;height:40px}
  .header .nav{top:76px;left:20px;right:20px}
  #top.hero{min-height:0;height:auto;margin:8px;border-radius:24px;padding-bottom:25px}
  #top .hero-content{padding-top:116px}
  #top .hero-stage{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:22px 12px}
  #top .hero-copy{display:contents}
  #top h1{grid-column:1/-1;margin:0;font-size:clamp(36px,10vw,62px);line-height:1.08;max-width:100%}
  #top h1>.hero-word{font-size:1.4em;margin-bottom:10px}
  #top h1>.hero-last{font-size:1em;margin-top:8px}
  #top .hero-description{grid-column:1;grid-row:2;margin:0;padding:0;font-size:15px;line-height:1.6;max-width:none}
  #top .hero-description>span{display:block}
  #top .hero-description br{display:block}
  #top .hero-postcard{grid-column:2;grid-row:2;width:130px;height:166px;margin:0}
  #top .hero-postcard .postcard-heading strong{font-size:13px}
  #top .booking-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:28px;padding:10px;border-radius:18px}
  #top .booking-bar label{grid-column:auto;min-width:0;padding:8px;border:0;font-size:12px}
  #top .booking-bar label:nth-child(3){grid-column:1/-1}
  #top .booking-bar input,#top .booking-bar select{font-size:16px;min-height:30px;margin-top:5px}
  #top .booking-bar .button{grid-column:1/-1;min-height:52px;padding:14px 18px;min-width:0;font-size:16px}
  #top .booking-bar .hero-note{font-size:11px;line-height:1.5;padding:4px 8px;color:var(--muted);text-shadow:none}
  #top .hero-bottom{font-size:10px;letter-spacing:.03em;margin-top:20px}
  #about{width:calc(100% - 40px);padding:56px 0}
  #about .place-copy h2{font-size:clamp(32px,8.5vw,46px)}
  #about .place-copy p{font-size:16px;margin-top:20px}
  #about .distances{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}
  #about .distance,#about .distance:last-child{grid-template-columns:minmax(0,1fr);gap:6px}
  #about .distance strong{grid-column:1;grid-row:2;font-size:24px}
  #about .distance h3{grid-column:1;grid-row:3;font-size:16px}
  #about .distance p{grid-column:1;grid-row:4;font-size:14px}
  #about .distance:last-child{grid-column:auto}
  #about .distance-photo,#about .distance:last-child .distance-photo{border-radius:18px;aspect-ratio:1;height:auto;margin-bottom:8px}
  .rooms-section h2{font-family:Geologica,Manrope,sans-serif;font-size:clamp(30px,8.2vw,42px);letter-spacing:-.05em}
  .rooms-section .room-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;padding:0;border:0;background:var(--cream)}
  .rooms-section .room-info{padding:22px}
  .rooms-section .room-info h3{font-size:23px;line-height:1.25;min-height:0}
  .rooms-section .room-meta{font-size:14px;gap:8px 14px}
  .rooms-section .room-footer{gap:12px}
  .rooms-section .room-open{width:auto;height:auto;min-height:44px;border-radius:30px;display:inline-flex;gap:10px;padding:12px 15px}
  .rooms-section .room-open span{display:inline}
  .rooms-section .room-footer strong{font-size:21px}
  .rooms-section .capacity-label{width:100%;display:flex;justify-content:space-between;gap:10px}
  .rooms-section .capacity-label select{min-width:0;flex:1;max-width:210px}
  #included .comfort-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:20px}
  #included .comfort-beach{grid-column:1;grid-row:auto;height:auto;display:grid;grid-template-rows:auto auto;background:var(--blue);color:#fff}
  #included .comfort-beach:after{display:none}
  #included .comfort-beach img{height:auto;aspect-ratio:4/3}
  #included .comfort-beach-copy{position:static;padding:24px;background:var(--blue);color:#fff}
  #included .comfort-beach h3{font-size:26px}
  #included .comfort-item{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;min-height:0;gap:18px;padding:14px 0;background:none;color:var(--ink)}
  #included .comfort-item>.ui-icon{width:48px;height:48px;padding:12px;border-radius:16px;background:var(--cream);color:var(--blue)}
  #included .comfort-item h3{font-size:21px;line-height:1.25}
  #included .comfort-item p{font-size:16px;color:var(--muted);margin-top:7px}
  #included .extras-heading{display:block;margin-top:32px}
  #included .extras-heading h3{font-size:24px}
  #included .extras-heading p{font-size:14px;margin-top:8px;color:var(--muted)}
  #included .extra-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;padding-top:0}
  #included .extra-services article{background:var(--cream);border-radius:16px;padding:18px}
  #included .extra-services h3{font-size:17px}
  #included .extra-services p{font-size:14px;line-height:1.55}
  #gallery{background:var(--card);padding:24px 0 56px;color:var(--ink)}
  #gallery .gallery-heading{width:calc(100% - 40px);margin-bottom:25px}
  #gallery h2{font-size:34px}
  #gallery .gallery-strip{width:calc(100% - 40px);grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}
  #gallery .gallery-photo:last-child{grid-column:1/-1;aspect-ratio:2/1}
  #gallery .gallery-photo>span{font-size:12px;left:12px;bottom:12px;max-width:calc(100% - 24px)}
  #gallery .gallery-photo>.image-zoom{display:none}
  #where .where-photo{height:360px}
  #where .where-photo-caption{left:24px;right:24px;bottom:24px}
  #where .where-photo-caption>strong{font-size:28px}
  #where .route-options>div{display:block;padding:18px;background:var(--cream);border-radius:16px}
  #where .route-options>div:before{display:none;content:none}
  #contact .contact-form{padding:24px}
  #contact .field-grid input,#contact .field-grid select{font-size:16px;min-height:48px}
  #contact .contact-form .button{min-height:52px;font-size:16px}
  #contact .form-note{font-size:12px;line-height:1.6}
  .footer-links{grid-template-columns:minmax(0,1fr);gap:30px}
  .footer-links a{font-size:16px;overflow-wrap:anywhere}
  .footer-wordmark{font-family:Geologica,Manrope,sans-serif;font-size:16.5vw;line-height:1.15;margin:52px 0 24px}
  .footer-wordmark-sun{top:-5vw;width:8vw;height:8vw}
  .footer-bottom{font-size:12px}
  #room-dialog,#photo-dialog{width:calc(100% - 24px);max-width:none;max-height:calc(100svh - 24px);overflow-y:auto;padding:12px;border-radius:22px}
  #room-dialog .dialog-copy{padding:22px 12px}
  #room-dialog h3{font-size:25px;line-height:1.25}
  #room-dialog .dialog-photo{height:220px}
  #photo-dialog #large-photo{height:auto;max-height:65svh;object-fit:contain}
  #photo-dialog .photo-nav{width:42px;height:42px}
}
@media(max-width:420px){
  #included .extra-services{grid-template-columns:minmax(0,1fr)}
  #top .hero-stage{grid-template-columns:minmax(0,1fr) 115px;gap:20px 10px}
  #top .hero-postcard{width:115px;height:146px}
  .rooms-section .room-footer small{font-size:12px}
}
