/* Phone layouts only. The media attribute and this guard both protect desktop. */
@media (max-width: 767px) {
  html { scroll-padding-top: 88px; background: #101010; overscroll-behavior-y: none; }
  body { font-size: 16px; line-height: 1.7; overflow-x: clip; background: #101010; overscroll-behavior-y: none; }
  #wrapper { background: #101010; }
  .container { width: 100%; max-width: 100%; padding-inline: 20px; }
  #content .row, footer .row { --bs-gutter-x: 20px; }
  #content .row > *, footer .row > * { min-width: 0; }
  #content { margin-top: 68px !important; padding-top: 0 !important; }
  #content h1 { font-size: clamp(31px, 8.8vw, 42px); line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
  #content h2 { font-size: clamp(26px, 7.1vw, 33px); line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
  #content h3 { font-size: 23px; line-height: 1.25; }
  #content h4 { font-size: 20px; line-height: 1.3; }
  #content :is(p,li,dd) { overflow-wrap: break-word; }
  #content p { line-height: 1.7; }
  #content .subtitle { max-width: 100%; white-space: normal; font-size: 11px; line-height: 1.65; letter-spacing: .16em; }
  #content section { padding-block: 48px; }
  #content section.no-top { padding-top: 0; }
  #content section.no-bottom { padding-bottom: 0; }
  #content .spacer-double { height: 24px; }
  #content > section.jarallax:first-of-type { padding: 60px 0 36px; min-height: 250px; }
  /* Overlap both image edges so parallax compositing cannot leave a bright seam. */
  #content > section.jarallax { overflow: hidden; isolation: isolate; background-color: var(--bg-dark-1) !important; }
  /* Clip the moving photo itself: overlays alone can leave a compositing hairline. */
  #content > section.jarallax > [id^="jarallax-container-"] {
    clip-path: inset(2px 0) !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4px, #000 calc(100% - 4px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 4px, #000 calc(100% - 4px), transparent 100%);
  }
  #content > section.jarallax:first-of-type .border-bottom { border: 0 !important; }
  #content > section.jarallax > .gradient-edge-top,
  #content > section.jarallax > .gradient-edge-bottom {
    left: -2px; width: calc(100% + 4px); height: calc(35% + 4px); pointer-events: none;
  }
  #content > section.jarallax > .gradient-edge-top {
    top: -2px;
    background: linear-gradient(180deg, var(--bg-dark-1) 0%, var(--bg-dark-1) 8%, transparent 100%);
  }
  #content > section.jarallax > .gradient-edge-bottom {
    bottom: -2px;
    background: linear-gradient(0deg, var(--bg-dark-1) 0%, var(--bg-dark-1) 8%, transparent 100%);
  }
  #content .crumb { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 12px 0 0; padding: 0; line-height: 1.5; font-size: 13px; }
  #content .crumb li { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; max-width: 100%; margin: 0; }
  #content .crumb li::after { flex-shrink: 0; margin: 0; }
  #content .crumb a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 8px; }
  #content .btn-main, #content button:not(.swiper-button-prev):not(.swiper-button-next), #content input[type="submit"] { min-height: 46px; }
  #content .btn-main { padding: 12px 20px; font-size: 15px; line-height: 1.45; text-align: center; }

  /* One stable header in both scroll states, with a full-height mobile menu. */
  .dark-scheme header.transparent.header-mobile,
  .dark-scheme header.transparent.header-mobile.smaller {
    position: fixed; inset: 0 0 auto; width: 100%; height: 68px !important;
    margin: 0; padding: 0; border: 0; border-bottom: 0 !important;
    border-radius: 0; background: #111; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; outline: 0;
    transition: none !important; z-index: 1100; isolation: isolate;
    transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  }
  header.header-mobile > .container { padding-inline: 16px; }
  header.header-mobile .de-flex { height: 68px; min-height: 68px; padding: 0; }
  header.header-mobile #logo img.logo-mobile { width: 100px; height: auto; max-height: 30px; object-fit: contain; }
  header.header-mobile .menu_side_area { display: flex; align-items: center; gap: 10px; margin: 0; }
  header.header-mobile .menu_side_area .btn-main,
  header.header-mobile.smaller .menu_side_area .btn-main { display: inline-flex !important; align-items: center; min-height: 40px; padding: 9px 12px; font-size: 12px; line-height: 1.3; border-radius: 8px; }
  header.header-mobile #menu-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 1px solid #ffffff24; border-radius: 10px; line-height: 1; }
  header.header-mobile #menu-btn::before { font-size: 22px; }
  header.header-mobile #menu-btn.menu-open::before { content: "×"; font-family: sans-serif; font-size: 28px; }
  header.header-mobile #btn-extra { display: none; }
  header.header-mobile #mainmenu { display: none; }
  .dark-scheme header.transparent.header-mobile.menu-open { height: 100dvh !important; max-height: none; background: #111; }
  header.header-mobile.menu-open #mainmenu,
  header.header-mobile.smaller.menu-open #mainmenu {
    display: block; position: absolute; top: 68px; left: 16px; right: 16px;
    width: auto; height: calc(100dvh - 68px); margin: 0; padding: 24px 0 calc(28px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto; overscroll-behavior: contain;
  }
  header.header-mobile #mainmenu::before { content: "PPFEX · KEŞFEDİN"; display: block; color: #888; font-size: 10px; font-weight: 600; letter-spacing: .2em; padding: 0 16px 16px; }
  header.header-mobile #mainmenu li { padding: 0; margin: 0 !important; border: 0 !important; }
  header.header-mobile #mainmenu > li { position: relative; margin-bottom: 8px !important; border-radius: 12px; background: #1a1a1a; overflow: hidden; }
  header.header-mobile #mainmenu > li > a { display: flex; align-items: center; min-height: 58px; padding: 15px 18px; border: 0 !important; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: #f5f5f5 !important; }
  header.header-mobile #mainmenu > li:not(.ppf-has-submenu) > a::after { content: "↗" !important; display: block !important; margin-left: auto; color: #777; font-size: 19px; }
  header.header-mobile #mainmenu > li.ppf-has-submenu > a { padding-right: 64px; }
  header.header-mobile #mainmenu > li.ppf-submenu-open { background: #211617; }
  header.header-mobile #mainmenu > li.ppf-submenu-open > a { color: var(--primary-color) !important; }
  header.header-mobile #mainmenu li ul { position: static; height: auto !important; display: block !important; width: 100%; padding: 0 0 12px; overflow: visible; background: transparent !important; }
  header.header-mobile #mainmenu li ul[hidden] { display: none !important; }
  header.header-mobile #mainmenu li ul li { padding: 0; }
  header.header-mobile #mainmenu li ul li a { display: flex; align-items: center; justify-content: flex-start; text-align: left; min-height: 48px; padding: 12px 18px; border: 0 !important; border-radius: 8px; color: #ddd !important; font-size: 15px; }
  header.header-mobile #mainmenu li ul li a::before { content: none; }
  header.header-mobile #mainmenu .ppf-submenu-toggle { position: absolute; top: 5px; right: 6px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 9px; background: transparent; color: #aaa; }
  header.header-mobile #mainmenu .ppf-submenu-toggle::before { content: "+"; font: 26px/1 sans-serif; }
  header.header-mobile #mainmenu .ppf-submenu-toggle[aria-expanded="true"]::before { content: "−"; color: var(--primary-color); }
  header.header-mobile #mainmenu a:focus-visible, header.header-mobile #mainmenu button:focus-visible { outline: 2px solid var(--primary-color); outline-offset: -3px; }
  header.header-mobile #mainmenu a:active { background: #ffffff08; }
  header.header-mobile #mainmenu .menu-item + span { display: none; }
  html.ppf-mobile-menu-open, html.ppf-mobile-menu-open body { overflow: hidden; }
  html.ppf-mobile-menu-open #ppf-contact-actions { visibility: hidden; }

  /* Phone hero: one uninterrupted photo, then a compact editorial heading. */
  body[data-page="index"] #content > section:first-of-type { height: auto !important; min-height: 0 !important; background: #101010; }
  body[data-page="index"] .mh-700 { display: flex; flex-direction: column; height: auto !important; min-height: 0 !important; }
  body[data-page="index"] .mh-700 > .abs { position: relative !important; order: 2; padding: 0 !important; }
  body[data-page="index"] .swiper { position: relative; flex-shrink: 0; order: 1; width: 100%; height: clamp(250px, 68vw, 420px) !important; min-height: 0 !important; }
  body[data-page="index"] .swiper-inner { height: 100% !important; min-height: 0 !important; animation: none !important; }
  body[data-page="index"] .hero-car { object-position: var(--plate-position) 48%; }
  body[data-page="index"] .swiper .sw-overlay { opacity: .12 !important; }
  body[data-page="index"] .swiper .gradient-edge-top {
    top: -2px; height: 28% !important; opacity: 1 !important; pointer-events: none;
    background: linear-gradient(180deg, #101010 0%, #101010 6%, transparent 100%);
  }
  body[data-page="index"] .swiper .gradient-edge-bottom {
    bottom: -2px; height: 44% !important; pointer-events: none;
    background: linear-gradient(0deg, #101010 0%, #101010 8%, transparent 100%);
  }
  body[data-page="index"] .hero-baslik { padding: 18px 20px 32px; }
  body[data-page="index"] .hero-baslik h1 { margin: 0; font-size: clamp(27px, 7.6vw, 42px); line-height: 1.22; letter-spacing: -.025em; }
  body[data-page="index"] .hero-baslik h1 span { margin-top: 4px; }
  body[data-page="index"] .hero-baslik .subtitle { font-size: 10px; letter-spacing: .18em; margin-bottom: 16px; padding: 0 0 10px; border: 0; }
  body[data-page="index"] .hero-baslik .subtitle::before { display: none; }
  body[data-page="index"] .hero-baslik .subtitle::after { content: ""; position: absolute; width: 32px; height: 2px; bottom: 0; top: auto; left: calc(50% - 16px); background: var(--primary-color); }
  body[data-page="index"] .swiper-button-prev, body[data-page="index"] .swiper-button-next { top: auto; bottom: 12px; margin: 0; width: 44px; height: 44px; background: #171717b8; border: 1px solid #ffffff30; border-radius: 50%; backdrop-filter: blur(8px); }
  body[data-page="index"] .swiper-button-prev { left: auto; right: 72px; }
  body[data-page="index"] .swiper-button-next { right: 20px; }
  body[data-page="index"] .swiper-button-prev::after, body[data-page="index"] .swiper-button-next::after { font-size: 15px; }
  body[data-page="index"] .ppf-mobile-pagination { position: absolute; z-index: 10; left: 22px; right: auto; bottom: 22px; width: auto; font-size: 12px; letter-spacing: .16em; color: #ffffff80; }
  body[data-page="index"] .ppf-mobile-pagination .swiper-pagination-current { font-size: 16px; font-weight: 600; }
  body[data-page="index"] .ppf-mobile-pagination .swiper-pagination-total { font-size: 12px; opacity: 1; }
  #atolyemizde .col-lg-6:first-child > .row > .col-sm-6 { width: 50%; }
  #atolyemizde img { aspect-ratio: 3 / 4; object-fit: cover; }
  #atolyemizde .col-lg-6:first-child > .row > .col-sm-6:last-child { padding-top: 20px; }
  #content #dukkan, #content #kaput-detayi { padding: 0; }
  /* Fade the foreground car and photo together into the following section. */
  body[data-page="index"] #dukkan::after {
    content: ""; position: absolute; z-index: 3; pointer-events: none;
    left: -2px; right: -2px; bottom: -2px; height: 25%;
    background: linear-gradient(0deg, var(--bg-dark-2) 0%, var(--bg-dark-2) 8%, transparent 100%);
  }
  #instagram-gonderileri { gap: 10px; }
  #instagram-gonderileri > a { flex-basis: 64vw; }
  #kareler .instagram-arrow { width: 44px; height: 44px; }

  /* Service descriptions are readable without hover on a phone. */
  #content .ppf-service-card { display: grid; grid-template-columns: minmax(0,1fr); background: #1d1d1d; text-align: left !important; border: 1px solid #ffffff12; border-radius: 14px !important; }
  #content .ppf-service-card > img { grid-row: 1; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transform: none !important; }
  #content .ppf-service-card > .hover-op-0 { grid-row: 2; position: static !important; opacity: 1 !important; margin: 0 !important; padding: 20px 20px 8px; text-align: left !important; }
  #content .ppf-service-card h4 { margin: 0 !important; font-size: 24px; }
  #content .ppf-service-card > .hover-op-1:not(.bg-blur) { grid-row: 3; position: static !important; opacity: 1 !important; transform: none !important; margin: 0 !important; padding: 0 20px 20px !important; text-align: left; }
  #content .ppf-service-card > .hover-op-1 > .mb-3 { font-size: 15px; line-height: 1.7; color: #ccc; }
  #content .ppf-service-card > :is(.bg-blur,h3,.gradient-edge-bottom) { display: none; }
  #content .ppf-service-card .btn-main { display: block; width: 100%; }
  .workshop-card .workshop-caption { position: static !important; padding: 20px !important; text-align: left !important; background: #1d1d1d !important; backdrop-filter: none !important; }
  .workshop-card img { aspect-ratio: 16 / 10; object-fit: cover; transform: none !important; }
  .workshop-card .workshop-caption p { display: block !important; margin-bottom: 0; font-size: 15px; }
  .workshop-card > .gradient-edge-bottom { display: none; }

  /* Keep the red invitation band; improve only its phone typography. */
  body[data-page="services"] #content > section.bg-color h3 {
    color: #fff !important; font-size: 24px !important; line-height: 1.4;
    font-weight: 600; letter-spacing: -.015em; text-wrap: balance;
  }
  body[data-page="services"] #content > section.bg-color .btn-main {
    font-size: 15px; font-weight: 600; color: #fff !important;
  }
  body[data-page="services"] #content > section.bg-color .btn-main span { color: #fff !important; }

  /* The three detail pages share this split-image introduction. */
  .half-fluid .right-half { position: relative; left: auto; right: auto; margin: 0; padding: 0; width: 100%; }
  .half-fluid .right-half.h-100 { height: auto !important; }
  .half-fluid .image { min-height: 0; height: 250px; border-radius: 0 0 16px 16px; background-size: cover; }
  body:is([data-page="service-single"], [data-page="cam-filmi"], [data-page="renk-degisimi"]) .half-fluid .image { position: relative; overflow: hidden; border-radius: 0; }
  body:is([data-page="service-single"], [data-page="cam-filmi"], [data-page="renk-degisimi"]) .half-fluid .image::before,
  body:is([data-page="service-single"], [data-page="cam-filmi"], [data-page="renk-degisimi"]) .half-fluid .image::after {
    content: ""; position: absolute; left: -1px; right: -1px; pointer-events: none;
  }
  body:is([data-page="service-single"], [data-page="cam-filmi"], [data-page="renk-degisimi"]) .half-fluid .image::before {
    top: -1px; height: 25%; background: linear-gradient(180deg, var(--bg-dark-1), transparent);
  }
  body:is([data-page="service-single"], [data-page="cam-filmi"], [data-page="renk-degisimi"]) .half-fluid .image::after {
    bottom: -1px; height: 38%; background: linear-gradient(0deg, var(--bg-dark-1) 4%, transparent);
  }
  .half-fluid > .container { padding-inline: 20px; }
  .half-fluid .py-5.mt-5 { margin-top: 0 !important; padding-block: 26px 10px !important; margin-bottom: 0 !important; }
  .half-fluid h1 { margin-bottom: 18px; }
  .half-fluid .btn-main { display: block; width: 100%; }
  #content .de-step { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 6px 16px; width: 100%; text-align: left; padding: 18px 10px; }
  .de-step .de-step-icon { grid-column: 1; grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; }
  .de-step .de-step-icon i { font-size: 23px; }
  #content .de-step h4 { grid-column: 2; margin: 0; font-size: 20px; }
  .de-step p { grid-column: 2; margin: 0; font-size: 15px; }
  #atolyemiz .relative:has(> img.w-60) { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 16px; }
  #atolyemiz .relative > img.w-60 { position: static !important; width: 100%; height: 230px !important; margin: 0 !important; object-fit: cover; }
  #atolyemiz .relative > img.w-60:last-child { transform: translateY(16px); }

  /* About: balanced workshop photos, readable story and compact service previews. */
  body[data-page="about"] #content > section.jarallax:first-of-type { min-height: 240px; padding-block: 48px 32px; }
  body[data-page="about"] #atolyemiz { padding-block: 32px 40px; }
  body[data-page="about"] #atolyemiz .relative:has(> img.w-60) { grid-template-columns: 1.1fr 1fr; gap: 10px; padding-bottom: 0; }
  body[data-page="about"] #atolyemiz .relative > img.w-60 { height: clamp(185px, 55vw, 260px) !important; border-radius: 12px !important; box-shadow: none; }
  body[data-page="about"] #atolyemiz .relative > img.w-60:last-child { transform: none; }
  body[data-page="about"] #atolyemiz .subtitle { margin-top: 10px; }
  body[data-page="about"] #atolyemiz h2 { margin-bottom: 20px; }
  body[data-page="about"] #atolyemiz p { font-size: 15px; line-height: 1.8; color: #bbb; margin-bottom: 16px; }
  body[data-page="about"] #atolyemiz p:first-of-type { font-size: 17px; line-height: 1.75; color: #eee; }
  body[data-page="about"] #atolyemiz > .spacer-double { display: none; }
  body[data-page="about"] #ekip { padding-block: 36px 40px; background: #101010 !important; }
  body[data-page="about"] #ekip > .container > h2 { max-width: 280px; margin-inline: auto; text-align: center; }
  body[data-page="about"] #ekip .row { --bs-gutter-y: 16px; }
  body[data-page="about"] #ekip .row > div { width: 100%; }
  body[data-page="about"] .workshop-card { border-radius: 14px !important; }
  body[data-page="about"] .workshop-card img { height: clamp(165px, 46vw, 230px); aspect-ratio: auto; }
  body[data-page="about"] .workshop-card .workshop-caption { align-items: stretch; padding: 18px 20px 20px !important; }
  body[data-page="about"] .workshop-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 22px !important; }
  body[data-page="about"] .workshop-card p { color: #c6c6c6; line-height: 1.65; padding-top: 10px; }
  body[data-page="about"] #yaklasim { padding-block: 40px; }
  body[data-page="about"] #yaklasim .btn-main { display: block; margin-top: 22px; }
  body[data-page="about"] #yaklasim ol { margin: 4px 0 0; padding: 0; counter-reset: item; }
  body[data-page="about"] #yaklasim ol li { display: block; position: relative; margin: 0 0 12px; padding: 20px 18px 20px 62px; border-radius: 12px; background: #1b1b1b; font-size: 15px; line-height: 1.7; font-weight: 400; }
  body[data-page="about"] #yaklasim ol li::before { content: counter(item); display: flex; align-items: center; justify-content: center; top: 22px; left: 16px; margin: 0; padding: 0; width: 30px; height: 30px; font-size: 14px; font-weight: 600; }
  body[data-page="about"] #yaklasim ol li > span { display: block; font-size: 17px; margin-bottom: 6px; }

  /* Contact, FAQs and booking: comfortable touch targets and no input zoom. */
  #content :is(input,select,textarea) { font-size: 16px; }
  #content :is(input.form-control,select.form-control,select.form-select) { min-height: 50px; }
  #content textarea { min-height: 140px; }
  #contact_form .btn-main, #booking_form .btn-main, .faq-contact .btn-main { width: 100%; white-space: normal; }
  #atolye :is(.p-4,.p-xl-5), article[aria-labelledby="atolye-harita-baslik"] > .p-4 { padding: 22px !important; }
  #atolye h2 { font-size: 28px; }
  #atolye .atolye-bilgileri dd { margin-left: 0; font-size: 15px; }
  #atolye-haritasi { height: 320px !important; }
  #atolye-yol-tarifi { white-space: normal !important; }
  /* Contact on phones: workshop first, then a focused message form and directions. */
  body[data-page="contact"] #content > section.jarallax:first-of-type { min-height: 240px; padding-block: 48px 32px; }
  body[data-page="contact"] #content > section[aria-label] { padding-block: 24px 40px; }
  body[data-page="contact"] #atolye { scroll-margin-top: 12px; --bs-gutter-y: 24px; }
  body[data-page="contact"] #atolye article { background: #101010 !important; border-radius: 0 !important; }
  body[data-page="contact"] #atolye article > img { height: 200px !important; object-fit: cover; object-position: center; border-radius: 12px; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
  body[data-page="contact"] #atolye article > .p-4 { padding: 14px 0 4px !important; }
  body[data-page="contact"] #atolye h2 { font-size: 29px; line-height: 1.2; }
  body[data-page="contact"] .atolye-bilgileri { margin-top: 24px; }
  body[data-page="contact"] .atolye-bilgileri dt { gap: 12px; font-size: 14px; font-weight: 600; }
  body[data-page="contact"] .atolye-bilgileri dt i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 20px; }
  body[data-page="contact"] #atolye .atolye-bilgileri dd { margin: 4px 0 20px 40px; color: #c4c4c4; font-size: 15px; line-height: 1.7; }
  body[data-page="contact"] .atolye-bilgileri a[href^="tel:"] { font-size: 20px; font-weight: 600; color: #fff; }
  body[data-page="contact"] #atolye article .btn-main { display: block; width: 100%; border-radius: 10px; min-height: 50px; }
  body[data-page="contact"] #atolye > .col-lg-6 > div.bg-dark-2 { padding: 24px 20px !important; background: #151515 !important; border-radius: 14px !important; }
  body[data-page="contact"] #atolye > .col-lg-6 > div.bg-dark-2 > p { font-size: 15px; line-height: 1.75; color: #bbb; margin-bottom: 24px; }
  body[data-page="contact"] #contact_form .row > div { width: 100%; }
  body[data-page="contact"] #contact_form label { font-size: 13px; color: #ddd; margin-bottom: 8px; }
  body[data-page="contact"] #contact_form .form-control { border: 1px solid #333; border-radius: 9px; background: #101010; color: #fff; padding: 13px 14px; box-shadow: none; }
  body[data-page="contact"] #contact_form .form-control:focus { border-color: var(--primary-color); outline: 2px solid #ef171b33; outline-offset: 1px; }
  body[data-page="contact"] #contact_form textarea { min-height: 150px; line-height: 1.65; }
  body[data-page="contact"] #contact_form .small { font-size: 12px; line-height: 1.65; color: #aaa; }
  body[data-page="contact"] #contact_form #send_message { min-height: 50px; border-radius: 9px; font-size: 15px; }
  body[data-page="contact"] article[aria-labelledby="atolye-harita-baslik"] { background: #151515 !important; border-radius: 14px !important; margin-top: 28px !important; }
  body[data-page="contact"] #atolye-harita-baslik { font-size: 27px; }
  body[data-page="contact"] #atolye-yol-tarifi { display: flex; align-items: center; justify-content: center; width: 100%; border-radius: 9px; }
  body[data-page="contact"] #atolye-haritasi { height: 300px !important; }
  .faq-group { padding: 20px; }
  #content .faq-group h2 { font-size: 24px; }
  .faq-group summary { font-size: 16px; min-height: 56px; gap: 14px; }
  .faq-group p { font-size: 15px; }
  .faq-contact { padding: 22px; }
  /* Phone booking: two clear stages, a dark calendar and comfortable form fields. */
  body[data-page="appointment"] #content > .booking-cover { padding: 48px 0 32px; min-height: 250px; text-align: center; }
  body[data-page="appointment"] .booking-cover p { margin: 14px auto 0; font-size: 15px; line-height: 1.7; color: #ccc; }
  body[data-page="appointment"] #content .booking-section { padding-block: 24px 40px; }
  .booking-layout { gap: 22px; counter-reset: booking-step; }
  .booking-panel { padding: 22px 16px; border: 0; border-radius: 14px; background: #151515; }
  #content .booking-layout > .booking-panel > h2 { counter-increment: booking-step; display: flex; align-items: center; gap: 12px; font-size: 26px; line-height: 1.25; margin-bottom: 10px; }
  .booking-layout > .booking-panel > h2::before { content: counter(booking-step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: #ee1f231a; color: var(--primary-color); font-size: 12px; font-weight: 600; }
  .booking-hours { font-size: 13px; color: #aaa; margin-bottom: 20px; }
  .booking-fields { grid-template-columns: minmax(0,1fr); gap: 0; }
  #booking_form .booking-panel label { font-size: 13px; margin: 18px 0 8px; color: #ddd; }
  #booking_form :is(.form-control,.form-select) { min-height: 50px; border: 1px solid #333; border-radius: 9px; background-color: #101010; padding: 12px; font-size: 16px; }
  #booking_form :is(.form-control,.form-select):focus { border-color: var(--primary-color); outline-color: #ee1f2340; }
  #booking_form textarea { min-height: 140px; line-height: 1.65; }
  #booking_form .booking-panel > p.small { margin: 18px 0 0; font-size: 12px; line-height: 1.7; color: #aaa; }
  #booking_form #send_message { min-height: 52px; border-radius: 9px; font-size: 15px; }
  #booking-calendar { border: 0; padding: 8px 4px; border-radius: 12px; background: #101010; }
  #booking-calendar :is(td,th) { height: 44px; border-radius: 7px; font-size: 14px; }
  #booking-calendar .datepicker-switch { font-size: 17px; font-weight: 600; }
  #booking-calendar .dow { height: 32px; font-size: 11px; color: #999; font-weight: 500; }
  #booking-calendar :is(.prev,.next) { font-size: 27px; color: var(--primary-color); }
  #booking-calendar td.day.active { background: var(--primary-color); color: #fff; font-weight: 700; box-shadow: none; }
  #booking-calendar td.today:not(.active):not(.disabled) { background: #ee1f231a; color: #fff; box-shadow: inset 0 0 0 1px #ee1f2370; }
  #booking-calendar td.disabled { color: #666; }
  #booking-calendar td span { width: 25%; margin: 0; }
  #booking_form select[hidden] { display: none !important; }
  .ppf-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .ppf-choice-service { grid-template-columns: minmax(0,1fr); }
  #booking_form .booking-panel .ppf-choice { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
  .ppf-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; top: 50%; left: 12px; }
  .ppf-choice span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 8px; border: 1px solid #333; border-radius: 9px; background: #101010; color: #ddd; font-size: 15px; font-weight: 500; line-height: 1.4; }
  .ppf-choice input:checked + span { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
  .ppf-choice input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
  .ppf-choice input:disabled + span { color: #666; border-color: #222; background: #151515; cursor: not-allowed; }
  .ppf-choice-service span { justify-content: flex-start; gap: 12px; padding-inline: 14px; min-height: 50px; }
  .ppf-choice-service span::before { content: ""; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; flex-shrink: 0; }
  .ppf-choice-service input:checked + span::before { background: #fff; box-shadow: inset 0 0 0 4px var(--primary-color); }

  /* Mobile blog: consistent photo-first articles on the site's black canvas. */
  body[data-page="blog"] #content .journal-index { padding-block: 36px 48px; background: #101010; }
  body[data-page="blog"] .journal-mast { display: block; border: 0; padding: 0; margin-bottom: 30px; text-align: center; }
  body[data-page="blog"] #content .journal-mast h1 { font-size: clamp(38px, 10vw, 48px); line-height: 1.15; letter-spacing: -.03em; }
  body[data-page="blog"] .journal-mast p { max-width: 34ch; margin: 14px auto 0; font-size: 15px; line-height: 1.65; color: #bcbcbc; }
  body[data-page="blog"] .journal-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  body[data-page="blog"] .journal-card { display: block; min-height: 0; border: 0; border-radius: 0; overflow: visible; background: #101010; }
  body[data-page="blog"] .journal-card > img {
    position: relative; inset: auto; z-index: auto; display: block; width: 100%;
    height: clamp(190px, 58vw, 290px); aspect-ratio: auto; object-fit: cover; border-radius: 12px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 76%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 76%, transparent);
  }
  body[data-page="blog"] .journal-lead::after { display: none; }
  body[data-page="blog"] .journal-card .journal-caption { max-width: none; padding: 8px 2px 0; }
  body[data-page="blog"] .journal-category { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: #ccc; }
  body[data-page="blog"] .journal-category::before { width: 6px; height: 6px; border-radius: 50%; margin: 0; }
  body[data-page="blog"] #content .journal-caption h2 { margin: 12px 0; font-size: clamp(25px, 6.9vw, 31px); line-height: 1.22; letter-spacing: -.02em; text-wrap: pretty; }
  body[data-page="blog"] .journal-caption p { margin: 0; max-width: none; color: #bcbcbc; font-size: 15px; line-height: 1.75; }
  body[data-page="blog"] .journal-read { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; margin-top: 16px; font-size: 14px; }
  body[data-page="blog"] .journal-read b { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--primary-color); font-size: 19px; }
  body[data-page="blog"] .journal-card:focus-within { outline: 2px solid var(--primary-color); outline-offset: 6px; }
  body[data-page="blog-single"] #content > .journal-cover {
    min-height: 350px; padding: 165px 0 28px; display: flex; align-items: flex-end;
  }
  body[data-page="blog-single"] .journal-cover::after { background: linear-gradient(0deg, #101010 0%, #101010d9 30%, #10101015 85%); }
  body[data-page="blog-single"] .journal-cover nav { font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
  body[data-page="blog-single"] #content .journal-cover h1 { max-width: 20ch; margin-top: 16px; font-size: clamp(31px, 8.7vw, 40px); line-height: 1.15; letter-spacing: -.025em; text-wrap: pretty; }
  body[data-page="blog-single"] #content .journal-body { padding-block: 24px 40px; background: #101010; }
  .journal-columns { gap: 30px; }
  body[data-page="blog-single"] .journal-contents { border: 0; padding: 0; }
  #content .journal-contents h2 { font-size: 18px; margin: 0 0 14px; }
  .journal-contents ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0; }
  .journal-contents li { min-width: 0; }
  .journal-contents a { display: flex; align-items: center; height: 100%; min-height: 56px; padding: 12px; border: 0; border-radius: 8px; background: #191919; font-size: 13px; line-height: 1.5; }
  .journal-contents a:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
  body[data-page="blog-single"] .post-story { max-width: none; min-width: 0; }
  body[data-page="blog-single"] .post-story > .small { font-size: 12px; line-height: 1.6; color: #aaa !important; }
  body[data-page="blog-single"] #content .post-story p { font-size: 16px; line-height: 1.85; color: #ccc; margin-bottom: 20px; }
  body[data-page="blog-single"] #content .post-story .journal-intro { font-size: 19px; line-height: 1.7; color: #f2f2f2; margin-bottom: 28px; }
  body[data-page="blog-single"] #content .post-story h2[id] { scroll-margin-top: 12px; margin: 34px 0 16px; font-size: 27px; line-height: 1.25; text-wrap: pretty; }
  .post-story table { display: block; max-width: 100%; overflow-x: auto; }
  body[data-page="blog-single"] .post-story :is(ul,ol) { padding-left: 22px; }
  body[data-page="blog-single"] .post-story li { margin-bottom: 12px; line-height: 1.75; }
  body[data-page="blog-single"] #content .journal-more { background: #101010; padding-block: 32px 40px; }
  .journal-more-head { align-items: start; flex-direction: column; gap: 12px; border: 0; margin-bottom: 20px; padding: 0; }
  .journal-more-head > a { padding-block: 8px; font-size: 14px; }
  .journal-more-grid { gap: 18px; }
  .journal-more-grid a { padding: 0; border: 0; gap: 14px; }
  .journal-more-grid img { width: 84px; height: 84px; flex-shrink: 0; object-fit: cover; border-radius: 10px; }
  .journal-more-grid strong { font-size: 18px; line-height: 1.35; }
  .journal-more-grid .journal-category { font-size: 10px; letter-spacing: .04em; }
  /* A quieter reading flow: compact outline, prominent introduction, numbered sections. */
  body[data-page="blog-single"] #content .journal-body { padding-top: 12px; }
  .ppf-mobile-outline { border-radius: 12px; background: #191919; overflow: hidden; }
  #content .ppf-outline-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 16px 18px; border: 0; background: transparent; color: #fff; text-align: left; font: inherit; font-weight: 600; }
  .ppf-outline-toggle small { margin-left: auto; color: #aaa; font-size: 12px; font-weight: 400; }
  .ppf-outline-toggle::after { content: "+"; color: var(--primary-color); font-size: 24px; line-height: 1; }
  .ppf-outline-toggle[aria-expanded="true"]::after { content: "−"; }
  .ppf-mobile-outline ul[hidden] { display: none; }
  .ppf-mobile-outline ul { grid-template-columns: 1fr; padding: 0 12px 12px; gap: 4px; counter-reset: outline; }
  .ppf-mobile-outline li { counter-increment: outline; }
  .ppf-mobile-outline a { min-height: 48px; padding: 10px 6px; gap: 12px; font-size: 14px; background: transparent; }
  .ppf-mobile-outline a::before { content: counter(outline, decimal-leading-zero); flex-shrink: 0; color: var(--primary-color); font-size: 11px; font-weight: 600; }
  body[data-page="blog-single"] .post-story { counter-reset: reading-section; }
  body[data-page="blog-single"] #content .post-story > .small { font-size: 12px; margin-bottom: 22px !important; color: #999; }
  body[data-page="blog-single"] #content .post-story .journal-intro { font-size: 19px; line-height: 1.75; padding: 0 0 0 18px; border-left: 3px solid var(--primary-color); margin-bottom: 38px; }
  body[data-page="blog-single"] #content .post-story h2[id] { counter-increment: reading-section; margin-top: 40px; font-size: 28px; line-height: 1.22; }
  body[data-page="blog-single"] .post-story h2[id]::before { content: counter(reading-section, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--primary-color); font-size: 13px; line-height: 1; letter-spacing: .12em; }
  body[data-page="blog-single"] .post-story > p:last-child > a:only-child { display: block; padding: 16px 20px; border-radius: 10px; background: var(--primary-color); color: #fff; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.5; }
  .tint-options { flex-wrap: wrap; }

  #filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin-bottom: 24px; }
  #filters li { margin: 0; }
  #filters a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; font-size: 14px; border-radius: 8px; }
  #content #gallery.row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
  #gallery .item > a { border-radius: 10px !important; }

  /* Gallery: portrait posts and a single compact filter control. */
  body[data-page="gallery"] #content > section.jarallax:first-of-type { min-height: 250px; padding-block: 48px 32px; }
  body[data-page="gallery"] #content #section-gallery { padding-block: 24px 40px; background: #101010; }
  body[data-page="gallery"] #filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; margin: 0 0 24px; padding: 5px; background: #191919; border-radius: 12px; }
  body[data-page="gallery"] #filters li { min-width: 0; }
  body[data-page="gallery"] #filters a { display: flex; width: 100%; min-height: 44px; padding: 10px 4px; font-size: 13px; font-weight: 600; border-radius: 8px; color: #bbb; }
  body[data-page="gallery"] #filters a.selected { color: #fff; background: var(--primary-color); }
  body[data-page="gallery"] #filters a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
  body[data-page="gallery"] #content #gallery { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
  body[data-page="gallery"] #gallery > .item { width: 50%; }
  body[data-page="gallery"] #gallery .ratio { --bs-aspect-ratio: 125%; }
  body[data-page="gallery"] #gallery .item > a { border-radius: 12px !important; background: #191919; }
  body[data-page="gallery"] #gallery img { transform: none !important; }
  body[data-page="gallery"] #gallery .abs-centered { display: flex; align-items: center; justify-content: center; opacity: 1 !important; inset: 8px 8px auto auto; transform: none; margin: 0; width: 28px; height: 28px; border-radius: 50%; background: #0009; font-size: 14px !important; }
  body[data-page="gallery"] #gallery .reel .fa-instagram::before { content: "▶"; font-family: sans-serif; font-size: 11px; }
  body[data-page="gallery"] #gallery .overlay-black-5 { display: none; }
  body[data-page="gallery"] #content > section.bg-color h3 { color: #fff !important; font-size: 24px !important; line-height: 1.4; text-wrap: balance; }

  footer { padding-top: 44px; text-align: center; }
  footer > .container > .row > [class*="col-"] { width: 100%; }
  footer > .container > .row > [class*="col-"] > .row > [class*="col-"] { width: 50%; }
  footer .footer-brand { margin-inline: auto; align-items: center; }
  footer .widget ul { padding-inline: 0; }
  footer .social-icons { display: flex; justify-content: center; gap: 4px; }
  footer h5 { margin-top: 10px; font-size: 18px; }
  footer .widget li a, footer .list-unstyled li a { display: inline-block; padding-block: 6px; }
  footer .social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  footer .subfooter { margin-top: 28px; padding-bottom: 28px; }
  footer .subfooter .de-flex { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  footer .subfooter .menu-simple { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
  footer .subfooter .menu-simple li { margin: 0; }
  footer a { overflow-wrap: anywhere; }
  #ppf-contact-actions { height: auto; bottom: calc(16px + env(safe-area-inset-bottom)); }
  #ppf-contact-actions .ppf-contact-action { width: 44px; height: 44px; }
  #ppf-contact-actions .ppf-contact-label { display: none; }
}
@media (min-width: 360px) and (max-width: 767px) {
  #gallery > .item { width: 50%; }
}
@media (max-width: 359px) {
  header.header-mobile > .container { padding-inline: 12px; }
  header.header-mobile #logo img.logo-mobile { width: 86px; }
  header.header-mobile .menu_side_area { gap: 6px; }
  .container { padding-inline: 16px; }
}
