/* ================================================================
   JankArt Beauty – reszponzív beállítások
   Tablet és mobil képernyőkre.
   ================================================================ */

@media (max-width: 1100px) {
  .primary-navigation { gap: 18px; }
  .nav-list { gap: 15px; }
  .nav-list a, .dropdown-toggle { font-size: .6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .service-card-content { min-height: 224px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding: 92px 0; }
  .header-inner { min-height: 73px; }

  /* ===== MOBIL MENÜ ===== */
  .menu-toggle { position: relative; z-index: 110; display: flex; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: transparent; color: currentColor; cursor: pointer; }
  .menu-toggle span:not(.visually-hidden) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform var(--ease), opacity var(--ease); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .primary-navigation { position: fixed; z-index: 105; top: 0; right: 0; display: flex; width: min(390px, 88vw); height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 22px; padding: 104px 35px 35px; background: var(--cream); box-shadow: -16px 0 45px rgba(0,0,0,.14); color: var(--ink); opacity: 0; overflow-y: auto; pointer-events: none; transform: translateX(100%); transition: opacity var(--ease), transform var(--ease); }
  .primary-navigation.is-open { opacity: 1; pointer-events: auto; transform: translateX(0); }
  .nav-list { display: block; width: 100%; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .dropdown-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 0; font-size: .71rem; text-align: left; }
  .primary-navigation > .button { align-self: flex-start; margin-top: 4px; }
  .has-dropdown { position: static; }
  .dropdown-menu { position: static; display: none; min-width: 0; margin: 0 -4px 9px; padding: 0 15px; border: 0; border-left: 1px solid var(--gold); box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .has-dropdown:hover .dropdown-menu { display: none; }
  .dropdown-toggle[aria-expanded="true"] + .dropdown-menu { display: block; }
  .dropdown-menu li + li { border-color: var(--line); }
  .dropdown-menu a { padding: 9px 0; font-size: .64rem; }

  /* ===== FŐ BLOKKOK ===== */
  .hero { min-height: 720px; }
  .hero-content { padding-top: 65px; }
  .hero h1 { font-size: clamp(3.8rem, 10vw, 5.8rem); }
  .hero-overlay { background: linear-gradient(90deg, rgba(25, 31, 28, .76), rgba(25, 31, 28, .38)); }
  .scroll-cue { right: 20px; }
  .split-layout { grid-template-columns: 1fr 1fr; gap: 65px; }
  .image-frame::before { top: 23px; left: 23px; }
  .image-frame img { height: 465px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .feature-copy { padding: 75px 55px 75px 0; }
  .feature-image { min-height: 570px; }
  .journey-layout { grid-template-columns: 1fr 1fr; gap: 55px; }
  .process-grid li { padding: 26px; }
  .treatment-areas-layout, .notes-layout, .faq-layout { gap: 55px; }
  .facial-card { padding: 28px; }
  .testimonials-grid { gap: 15px; }
  .testimonial { min-height: 300px; padding: 27px; }
  .gallery-grid { grid-template-rows: 210px 210px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 73px 0; }
  .section-heading { display: block; margin-bottom: 39px; }
  .section-heading .text-link { margin-top: 22px; }
  .section-heading h2, .section-copy h2, .feature h2, .booking-cta h2 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .page-hero { min-height: 355px; padding: 125px 0 55px; }
  .page-hero h1 { font-size: clamp(3.65rem, 15vw, 5.1rem); }
  .section-heading--center { text-align: left; }
  .brand-monogram { width: 32px; height: 32px; font-size: .9rem; }
  .brand-name { font-size: 1.28rem; }

  /* ===== HERO ===== */
  .hero { min-height: 680px; }
  .hero h1 { font-size: clamp(3.55rem, 15vw, 5rem); }
  .hero-lead { margin-bottom: 30px; font-size: .94rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 250px; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { bottom: 22px; left: 16px; right: auto; }
  .scroll-cue span { display: none; }

  /* ===== BEMUTATKOZÁS, SZÁMOK ===== */
  .split-layout { display: flex; flex-direction: column; gap: 58px; }
  .image-frame { width: calc(100% - 20px); }
  .image-frame img { height: 450px; }
  .section-copy { max-width: none; }
  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .stat-item { min-height: 145px; padding: 19px 10px; }
  .stat-item strong { font-size: 3.25rem; }
  .stat-item > span { font-size: .56rem; }

  /* ===== SZOLGÁLTATÁSOK ===== */
  .services-grid { grid-template-columns: 1fr; gap: 19px; }
  .service-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .service-card-image { aspect-ratio: auto; min-height: 268px; }
  .service-card-content { display: flex; min-height: 0; flex-direction: column; justify-content: center; padding: 22px 18px; }
  .service-number { margin-bottom: 11px; }
  .service-card h3 { margin-bottom: 8px; font-size: 2.1rem; }
  .service-card-content > p:not(.service-number) { min-height: 0; margin-bottom: 14px; font-size: .7rem; }
  .service-card .text-link { align-self: flex-start; font-size: .57rem; }

  /* ===== HAIRLESS VARIO ===== */
  .feature-layout { display: flex; flex-direction: column; }
  .feature-copy { max-width: none; padding: 74px 0 57px; }
  .feature-image { min-height: 410px; }
  .feature-image img { width: 100%; height: 410px; }
  .feature-list { margin-bottom: 28px; }
  .about-values { padding: 75px 0; }
  .values-grid { display: block; border-top: 0; }
  .value-card { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .value-number { margin-bottom: 15px; }
  .journey-layout { display: flex; flex-direction: column; gap: 33px; }
  .journey-image { width: 100%; }
  .journey-image img { height: 355px; }
  .service-introduction { padding-bottom: 55px; }
  .services--overview { padding-bottom: 73px; }
  .intro-center { text-align: left; }
  .process-grid { display: block; border-top: 0; }
  .process-grid li { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid span { margin-bottom: 13px; }
  .treatment-benefits { padding: 75px 0; }
  .benefits-grid { display: block; border-top: 0; }
  .benefit-card { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .benefit-card > span { margin-bottom: 13px; }
  .treatment-areas-layout, .notes-layout, .faq-layout { display: block; }
  .areas-list, .notice-card, .faq-list { margin-top: 38px; }
  .notice-card { padding: 28px 24px; }
  .facial-menu-grid { grid-template-columns: 1fr; gap: 14px; }
  .facial-card { min-height: 0; }
  .facial-card > span { margin-bottom: 13px; }
  .facial-card p { min-height: 0; }
  .workshop-section .image-frame { order: 0; }
  .workshop-learning { padding: 75px 0; }
  .price-category { display: block; padding: 52px 0; }
  .price-rows { margin-top: 31px; }
  .price-row { gap: 13px; }
  .price-row h3 { font-size: 1.35rem; }
  .price-row strong { font-size: .69rem; }
  .price-notes { padding: 75px 0; }
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; gap: 9px; }
  .gallery-filters { margin-top: -15px; }
  .gallery-filter { padding: 8px 11px; font-size: .55rem; }

  /* ===== VÉLEMÉNYEK ÉS GALÉRIA ===== */
  .testimonials-grid { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; scroll-snap-type: x mandatory; }
  .testimonial { width: min(310px, 84vw); min-width: min(310px, 84vw); scroll-snap-align: start; }
  .testimonial blockquote { font-size: 1.65rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 215px 215px 170px; gap: 10px; }
  .gallery-item--large { grid-row: span 2; }
  .gallery-item--wide { grid-column: span 2; }

  /* ===== CTA, LÁBLÉC ÉS LEBEGŐ ELEMEK ===== */
  .booking-cta { padding: 85px 0; }
  .booking-actions { flex-direction: column; align-items: center; }
  .booking-actions .button { width: min(100%, 260px); }
  .booking-note { font-size: .66rem; }
  .booking-note span { display: none; }
  .booking-note a { display: block; width: fit-content; margin: 5px auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 23px; padding-bottom: 50px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { display: block; padding: 20px 0; }
  .footer-bottom nav { margin-top: 10px; gap: 13px; }
  .floating-actions { right: 14px; bottom: 15px; }
  .floating-button--booking { min-height: 42px; padding: 9px 11px; font-size: .52rem; }
  .floating-button--message { width: 42px; min-height: 42px; }
  .back-to-top { right: 15px; bottom: 68px; width: 38px; height: 38px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 21px; }
  .cookie-banner:not([hidden]) { display: block; }
  .cookie-actions { flex-direction: row; align-items: center; margin-top: 17px; }
}

@media (max-width: 370px) {
  .brand-name { font-size: 1.12rem; }
  .hero h1 { font-size: 3.25rem; }
  .service-card { grid-template-columns: .82fr 1.18fr; }
  .service-card-image { min-height: 250px; }
  .service-card h3 { font-size: 1.8rem; }
  .footer-grid { display: block; }
  .footer-grid > * + * { margin-top: 31px; }
}

@media (max-width: 620px) {
  .contact-grid { display: block; border-top: 0; }
  .contact-card { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card > span { margin-bottom: 13px; }
  .contact-card p { min-height: 0; }
  .contact-form-section, .map-section { padding: 75px 0; }
  .contact-form-layout { display: block; }
  .booking-form { margin-top: 38px; padding: 25px 20px; grid-template-columns: 1fr; }
  .form-field--full, .booking-form .button { grid-column: auto; }
  .map-frame { height: 330px; }
}
