/* Responsive composition: on phones the search comes before the photograph. */
@media (max-width: 1180px) {
  body.qivya-studio.qivya-atlas .header-nav {
    display: none;
  }
  .atlas-hero-grid {
    gap: 26px 35px;
  }
  .atlas-visual {
    height: 420px;
  }
  .atlas-portrait {
    max-height: 395px;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 {
    font-size: 5rem;
  }
  .atlas-visual-note {
    left: -8px;
    bottom: 32px;
    padding: 13px 16px;
  }
  .atlas-photo-chip {
    right: -5px;
  }
  .atlas-search-field {
    padding-inline: 16px;
  }
  .atlas-search-submit {
    gap: 15px;
    padding-inline: 20px;
    font-size: 0.8rem;
  }
  .atlas-section-top {
    gap: 40px;
  }
  .atlas-experience {
    height: 410px;
  }
  .atlas-experience--nails {
    height: 355px;
    margin-top: 55px;
  }
  .atlas-experience--care {
    height: 355px;
  }
}
@media (max-width: 980px) {
  body.qivya-studio.qivya-atlas .container {
    width: calc(100% - 48px);
  }
  body.qivya-studio.qivya-atlas .atlas-hero {
    padding-top: 35px;
  }
  .atlas-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 {
    font-size: 4rem;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 > span {
    font-size: 1.5rem;
  }
  .atlas-hero-copy > p {
    font-size: 0.86rem;
  }
  .atlas-visual {
    height: 360px;
  }
  .atlas-portrait {
    width: 93%;
    max-height: 340px;
  }
  .atlas-orbit {
    inset: 0;
  }
  .atlas-photo-chip {
    top: 15px;
    padding: 6px 9px;
    gap: 8px;
  }
  .atlas-photo-chip img {
    width: 40px;
    height: 50px;
  }
  .atlas-photo-chip > span {
    font-size: 0.56rem;
  }
  .atlas-photo-chip strong {
    font-size: 0.7rem;
  }
  .atlas-visual-note {
    padding: 10px 13px;
    bottom: 5px;
  }
  .atlas-visual-note strong {
    font-size: 0.74rem;
  }
  .atlas-spark {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .atlas-visual-caption {
    bottom: -22px;
    right: 15px;
    font-size: 0.41rem;
  }
  .atlas-q-tail {
    right: 10px;
    bottom: 10px;
    width: 110px;
    height: 48px;
  }
}
@media (max-width: 980px) {
  .atlas-search {
    grid-template-columns: 1fr 1fr auto;
  }
  .atlas-search-submit {
    min-height: 58px;
    font-size: 0.73rem;
    padding: 12px 14px;
    gap: 9px;
  }
  .atlas-search-submit > span {
    width: 27px;
    height: 27px;
  }
  .atlas-search-field {
    padding-inline: 12px;
  }
  .atlas-search-bottom {
    gap: 15px;
  }
  .atlas-search-assurance {
    font-size: 0.52rem;
  }
  .atlas-search-assurance i {
    margin: 0 5px;
  }
  .atlas-category-grid {
    gap: 9px;
  }
  .atlas-category {
    padding: 15px 12px;
    gap: 12px 4px;
  }
  .atlas-category strong {
    font-size: 0.64rem;
  }
  .atlas-category-icon {
    width: 34px;
    height: 34px;
  }
  .atlas-category svg {
    width: 22px;
    height: 22px;
  }
  .atlas-categories {
    padding: 30px 0 45px;
  }
  .atlas-experience-grid {
    gap: 14px;
  }
  .atlas-experience {
    height: 360px;
  }
  .atlas-experience--nails {
    height: 315px;
    margin-top: 45px;
  }
  .atlas-experience--care {
    height: 315px;
  }
  .atlas-experience-copy {
    inset: auto 19px 21px;
  }
  .atlas-experience-copy strong {
    font-size: 1.35rem;
  }
  .atlas-experience-copy > span {
    font-size: 0.61rem;
  }
  .atlas-section-top h2 {
    font-size: 2.9rem;
  }
  .atlas-section-top > p {
    font-size: 0.83rem;
  }
  body.qivya-studio.qivya-atlas .search-grid {
    gap: 35px;
  }
  body.qivya-studio.qivya-atlas
    .atlas-map
    :is(.hero-map-shell, .hero-map-canvas) {
    height: 480px;
    min-height: 480px;
  }
  .atlas-faq {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  body.qivya-studio.qivya-atlas .container {
    width: calc(100% - 36px);
  }
  body.qivya-studio.qivya-atlas .site-header {
    padding: 12px 0;
  }
  body.qivya-studio.qivya-atlas .brand-mark {
    width: 113px;
    height: 33px;
  }
  body.qivya-studio.qivya-atlas .header-chip {
    min-height: 40px;
    padding: 8px 11px;
  }
  body.qivya-studio.qivya-atlas .header-actions {
    gap: 6px;
  }
  .atlas-hero-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .atlas-hero-copy {
    order: 1;
    max-width: 620px;
  }
  .atlas-discover {
    order: 2;
  }
  .atlas-visual {
    order: 3;
    justify-self: center;
    width: min(100%, 510px);
    height: 450px;
    margin-top: 10px;
  }
  .atlas-portrait {
    max-height: 420px;
    width: 88%;
  }
  .atlas-hero-copy > p {
    max-width: 50ch;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 {
    font-size: 4.7rem;
    margin: 17px 0 18px;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 > span {
    font-size: 1.65rem;
    margin-top: 18px;
  }
  .atlas-hero-copy > .atlas-text-link {
    display: none;
  }
  .atlas-visual-note {
    left: 0;
    bottom: 21px;
    padding: 13px 17px;
  }
  .atlas-visual-note strong {
    font-size: 0.8rem;
  }
  .atlas-photo-chip {
    top: 28px;
    right: 2px;
  }
  .atlas-photo-chip img {
    width: 54px;
    height: 60px;
  }
  .atlas-photo-chip > span {
    font-size: 0.65rem;
  }
  .atlas-photo-chip strong {
    font-size: 0.8rem;
  }
  .atlas-visual-caption {
    bottom: 0;
  }
  .atlas-q-tail {
    right: 16px;
    bottom: 25px;
    width: 125px;
    height: 55px;
  }
}
@media (max-width: 760px) {
  .atlas-search-assurance {
    display: none;
  }
  .atlas-search-field > span {
    font-size: 0.65rem;
  }
  .atlas-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .atlas-category {
    padding: 17px 15px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  .atlas-category-icon {
    grid-column: auto;
  }
  .atlas-category strong {
    font-size: 0.7rem;
  }
  .atlas-category-arrow {
    font-size: 0.9rem;
  }
  .atlas-categories-intro {
    display: block;
  }
  .atlas-categories-intro p {
    margin-top: 10px;
    font-size: 0.76rem;
  }
  .atlas-section-top {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .atlas-section-top h2 {
    font-size: 3rem;
  }
  .atlas-section-top > p {
    max-width: 48ch;
    font-size: 0.88rem;
  }
  body.qivya-studio.qivya-atlas .atlas-experiences {
    padding: 53px 0;
  }
  .atlas-experience-grid {
    grid-template-columns: 1fr 1fr;
  }
  .atlas-experience--hair {
    grid-column: 1/-1;
    height: 340px;
    border-radius: 60px 18px 18px 18px;
  }
  .atlas-experience--hair img {
    object-position: center 44%;
  }
  .atlas-experience--nails,
  .atlas-experience--care {
    height: 300px;
    margin: 0;
    border-radius: 18px;
  }
  .atlas-experience-copy strong {
    font-size: 1.5rem;
  }
  .atlas-experience--hair .atlas-experience-copy strong {
    font-size: 2rem;
  }
}
@media (max-width: 760px) {
  body.qivya-studio.qivya-atlas .search-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  body.qivya-studio.qivya-atlas .search-shell {
    padding: 51px 0;
  }
  body.qivya-studio.qivya-atlas .search-card h2 {
    max-width: 24ch;
    font-size: 2.5rem;
  }
  body.qivya-studio.qivya-atlas
    .atlas-map
    :is(.hero-map-shell, .hero-map-canvas) {
    height: 430px;
    min-height: 430px;
  }
  body.qivya-studio.qivya-atlas #marketplace {
    padding: 44px 0;
  }
  .atlas-results-toolbar {
    grid-template-columns: 1fr auto;
  }
  .atlas-results-toolbar label:first-child {
    grid-column: 1/-1;
  }
  .atlas-results-toolbar label:nth-child(2) {
    min-width: 0;
  }
  body.qivya-studio.qivya-atlas .marketplace-block {
    padding: 18px 14px;
  }
  .atlas-faq {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 45px 0 52px;
  }
  .atlas-faq > div > p {
    font-size: 0.82rem;
  }
  .atlas-faq h2 {
    font-size: 2.65rem;
  }
  .atlas-faq summary {
    font-size: 0.85rem;
    padding: 20px 0;
  }
  .atlas-finale {
    padding: 48px 0 54px;
  }
  .atlas-finale h2 {
    font-size: 3.5rem;
  }
  .atlas-finale > .container > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .atlas-finale-q {
    font-size: 380px;
    top: 0;
    right: -100px;
  }
  body.qivya-studio.qivya-atlas .journey {
    margin: 53px auto;
  }
  body.qivya-studio.qivya-atlas .journey h2 {
    font-size: 2.4rem;
  }
}
@media (max-width: 760px) {
  body.qivya-studio.qivya-atlas .footer-inner {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 38px 0 98px;
  }
  .atlas-footer-legal {
    gap: 12px 18px;
  }
  .atlas-footer-legal > span {
    margin-left: 0;
    width: 100%;
  }
  body.qivya-studio.qivya-atlas .atlas-search :is(input, select) {
    font-size: 16px !important;
  }
  body.qivya-studio.qivya-atlas .atlas-search input {
    border-radius: 0;
  }
  body.qivya-studio.qivya-atlas .atlas-map .hero-map-overlay {
    padding: 16px;
  }
  body.qivya-studio.qivya-atlas .atlas-map .hero-map-status p {
    font-size: 0.74rem;
  }
}
@media (max-width: 540px) {
  body.qivya-studio.qivya-atlas .atlas-hero {
    padding: 28px 0 34px;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 {
    font-size: clamp(3.15rem, 13.4vw, 4.55rem);
    letter-spacing: -0.065em;
    line-height: 1.02;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 > span {
    font-size: 1.46rem;
    margin-top: 16px;
  }
  .atlas-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }
  .atlas-hero-copy > p {
    font-size: 0.85rem;
    line-height: 1.85;
    margin-bottom: 0;
  }
  .atlas-hero-grid {
    gap: 24px;
  }
  .atlas-search {
    grid-template-columns: 1fr;
    padding: 9px;
    border-radius: 16px;
    gap: 0;
  }
  .atlas-search-field {
    padding: 11px 12px;
    gap: 2px;
  }
  .atlas-search-location {
    border: 0;
    border-top: 1px solid var(--atlas-line);
  }
  .atlas-search-field > span {
    font-size: 0.62rem;
  }
  .atlas-search-submit {
    min-height: 53px;
    font-size: 0.79rem;
    justify-content: space-between;
    padding-inline: 18px;
    margin-top: 4px;
  }
  .atlas-search-bottom {
    padding: 7px 4px 0;
    gap: 18px;
  }
  .atlas-geo {
    font-size: 0.7rem;
    min-height: 40px;
  }
  .atlas-search-bottom #heroCepBtn {
    font-size: 0.65rem;
    margin-left: auto;
  }
  .atlas-search-status {
    margin: 0 5px;
    font-size: 0.65rem;
    line-height: 1.75;
  }
  .atlas-discover {
    margin-top: 0;
  }
  .atlas-empty-search {
    padding: 17px;
    gap: 11px;
  }
  .atlas-empty-search p {
    font-size: 0.73rem;
  }
}
@media (max-width: 540px) {
  .atlas-visual {
    height: 365px;
    width: 100%;
    max-width: 410px;
    margin-top: 7px;
  }
  .atlas-portrait {
    max-height: 340px;
    width: 88%;
  }
  .atlas-visual-note {
    left: 0;
    bottom: 16px;
    gap: 9px;
    padding: 11px 13px;
  }
  .atlas-visual-note small {
    font-size: 0.42rem;
  }
  .atlas-visual-note strong {
    font-size: 0.7rem;
  }
  .atlas-photo-chip {
    right: 0;
    top: 20px;
  }
  .atlas-photo-chip img {
    width: 45px;
    height: 54px;
  }
  .atlas-photo-chip > span {
    font-size: 0.57rem;
  }
  .atlas-photo-chip strong {
    font-size: 0.7rem;
  }
  .atlas-q-tail {
    right: 6px;
    bottom: 20px;
    width: 115px;
    height: 49px;
  }
  .atlas-orbit {
    inset: 10px 3px;
  }
  .atlas-visual-caption {
    font-size: 0.39rem;
    right: 19px;
    bottom: -6px;
  }
  .atlas-category-grid {
    gap: 8px;
  }
  .atlas-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 11px;
    padding: 15px 11px;
  }
  .atlas-category-arrow {
    position: absolute;
    right: 10px;
    top: 21px;
  }
  .atlas-category strong {
    font-size: 0.68rem;
  }
  .atlas-categories {
    padding: 24px 0 35px;
  }
}
@media (max-width: 540px) {
  .atlas-section-top h2 {
    font-size: 2.6rem;
  }
  .atlas-section-top > p {
    font-size: 0.83rem;
  }
  .atlas-section-top {
    margin-bottom: 26px;
  }
  .atlas-experience-grid {
    gap: 11px;
  }
  .atlas-experience--hair {
    height: 295px;
  }
  .atlas-experience--nails,
  .atlas-experience--care {
    height: 267px;
  }
  .atlas-experience-copy {
    inset: auto 17px 20px;
  }
  .atlas-experience-copy strong {
    font-size: 1.23rem;
  }
  .atlas-experience--hair .atlas-experience-copy strong {
    font-size: 1.85rem;
  }
  .atlas-experience-copy > span {
    font-size: 0.55rem;
    gap: 6px;
  }
  .atlas-experience-number {
    font-size: 0.44rem;
    right: 15px;
    top: 19px;
  }
  .atlas-editorial-note {
    font-size: 0.6rem;
  }
  body.qivya-studio.qivya-atlas .search-card h2 {
    font-size: 2.15rem;
  }
  body.qivya-studio.qivya-atlas
    .atlas-map
    :is(.hero-map-shell, .hero-map-canvas) {
    height: 415px;
    min-height: 415px;
  }
  .atlas-finale h2 {
    font-size: clamp(2.45rem, 10.5vw, 3.35rem);
  }
  .atlas-finale .atlas-search-submit {
    width: 100%;
    max-width: 330px;
    font-size: 0.79rem;
  }
  body.qivya-studio.qivya-atlas .journey h2 {
    font-size: 2.05rem;
  }
  body.qivya-studio.qivya-atlas .footer-mark {
    width: 133px;
  }
  .atlas-consent {
    left: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-width: none;
    padding: 17px;
  }
  .atlas-consent p {
    font-size: 0.69rem;
  }
  .atlas-consent > strong {
    font-size: 0.81rem;
  }
  .atlas-consent button {
    font-size: 0.64rem;
  }
  body.qivya-studio.qivya-atlas .header-chip {
    font-size: 0.69rem;
  }
  body.qivya-studio.qivya-atlas .qivya-theme-toggle {
    width: 40px;
    padding: 0;
  }
}
@media (max-width: 360px) {
  body.qivya-studio.qivya-atlas .container {
    width: calc(100% - 28px);
  }
  body.qivya-studio.qivya-atlas .brand-mark {
    width: 100px;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 {
    font-size: 3.15rem;
  }
  body.qivya-studio.qivya-atlas .atlas-hero h1 > span {
    font-size: 1.24rem;
  }
  .atlas-hero-copy > p {
    font-size: 0.79rem;
  }
  .atlas-visual {
    height: 315px;
  }
  .atlas-visual-note strong {
    font-size: 0.62rem;
  }
  .atlas-photo-chip {
    padding: 5px 8px;
  }
  .atlas-photo-chip img {
    width: 36px;
    height: 44px;
  }
  .atlas-experience-copy {
    inset: auto 13px 16px;
  }
  .atlas-experience-copy strong {
    font-size: 1.05rem;
  }
  .atlas-experience-copy > span {
    font-size: 0.52rem;
  }
  .atlas-search-submit {
    font-size: 0.74rem;
  }
  .atlas-category strong {
    font-size: 0.62rem;
  }
  .atlas-consent button {
    font-size: 0.61rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  body.qivya-studio.qivya-atlas *,
  body.qivya-studio.qivya-atlas *::before,
  body.qivya-studio.qivya-atlas *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .atlas-consent,
  .atlas-photo-chip {
    display: none !important;
  }
  .atlas-visual {
    max-height: 400px;
  }
  .atlas-finale {
    background: #fff;
    color: #281c37;
  }
  .atlas-finale h2 em {
    color: #281c37;
  }
}
