/*
 * DeepBlueBodrum — Visual V4
 * Mobile-media-first hierarchy, calmer typography, logo/social integration
 * and responsive hardening for public, account, setup and admin screens.
 */

:root {
  --header-mobile: 68px;
  --surface-v4: rgba(6, 29, 44, .88);
  --surface-v4-solid: #071d2c;
  --line-v4: rgba(158, 225, 239, .18);
  --shadow-v4: 0 26px 76px rgba(0, 7, 13, .32);
}

html {
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-variant-numeric: tabular-nums;
}

body {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
.brand__copy,
.button,
.eyebrow {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img,
video,
svg {
  max-width: 100%;
}

.button {
  min-width: 0;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Brand, header and social channels                                           */
/* -------------------------------------------------------------------------- */

.site-header__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  min-width: 0;
}

.brand__icon {
  flex: 0 0 auto;
}

.brand__copy {
  min-width: 0;
}

.brand__copy strong {
  white-space: nowrap;
}

.social-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
}

.footer-social,
.contact-socials,
.mobile-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-social a,
.contact-socials a,
.mobile-social a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line-v4);
  border-radius: 999px;
  color: #dffcff;
  background: rgba(255, 255, 255, .025);
  font-size: .76rem;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.footer-social a:hover,
.contact-socials a:hover,
.mobile-social a:hover {
  color: #fff;
  border-color: rgba(86, 231, 234, .42);
  background: rgba(86, 231, 234, .08);
  transform: translateY(-1px);
}

.footer-social a[aria-label="Facebook"]:hover,
.contact-socials a:has(use[href$="#facebook"]):hover,
.mobile-social a[aria-label="Facebook"]:hover {
  color: #77a9ff;
}

.footer-social a[aria-label="YouTube"]:hover,
.contact-socials a:has(use[href$="#youtube"]):hover,
.mobile-social a[aria-label="YouTube"]:hover {
  color: #ff6e7f;
}

.mobile-social a {
  width: 42px;
  padding: 0;
}

.mobile-menu__contact > a {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mobile-menu__contact > a strong {
  color: var(--white);
  font-size: .86rem;
}

.mobile-menu__contact > a span,
.mobile-menu__contact > span {
  color: var(--muted);
  font-size: .76rem;
}

.contact-socials {
  margin: 24px 0 26px;
}

.footer-contact li:first-child {
  display: grid;
  gap: 4px;
}

.footer-contact li:first-child strong {
  color: var(--white);
  font-size: .82rem;
}

/* -------------------------------------------------------------------------- */
/* Home                                                                        */
/* -------------------------------------------------------------------------- */

.hero h1,
.hero__copy h1 {
  max-width: 650px;
  font-size: clamp(3.25rem, 5.75vw, 5.65rem);
  line-height: .94;
  letter-spacing: -.058em;
}

.hero__copy > p {
  max-width: 570px;
}

.hero__content {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: clamp(42px, 5vw, 76px);
}

.hero__media img {
  filter: saturate(1.015) contrast(1.005) brightness(.965);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(2, 12, 21, .97) 0%, rgba(2, 13, 22, .88) 30%, rgba(2, 13, 22, .54) 50%, rgba(2, 13, 22, .13) 78%, rgba(2, 13, 22, .31) 100%),
    linear-gradient(0deg, #020d17 0%, rgba(2, 13, 23, .68) 12%, transparent 42%),
    linear-gradient(180deg, rgba(2, 12, 21, .42), transparent 25%);
}

.signal-strip__inner > div {
  min-width: 0;
}

.signal-strip span {
  line-height: 1.35;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 850px;
}

.section-heading h2 {
  font-size: clamp(2.65rem, 4.5vw, 4.8rem);
  line-height: .98;
}

.experience-card__content h3 {
  max-width: 16ch;
  line-height: 1.05;
}

.boat-story__visual {
  overflow: hidden;
  border: 1px solid var(--line-v4);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(44, 177, 215, .12), transparent 40%),
    #041523;
  box-shadow: var(--shadow-v4);
}

.boat-story__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.final-cta {
  isolation: isolate;
  overflow: hidden;
}

.final-cta::after {
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: -26%;
  width: min(760px, 58vw);
  aspect-ratio: 16 / 9;
  content: "";
  opacity: .055;
  background: url('/brand/deepbluebodrum-logo-scene.svg') center / contain no-repeat;
  pointer-events: none;
}

/* FAQ: the question text was accidentally styled as the plus button in V3. */
.faq-list summary {
  min-width: 0;
}

.faq-list summary > span {
  width: auto;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
  display: block;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: none;
  font-size: inherit;
  line-height: 1.45;
  transform: none !important;
}

.faq-list summary > .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
  transition: transform .2s ease, background .2s ease;
}

.faq-list details[open] summary > .icon {
  background: rgba(86, 231, 234, .08);
  transform: rotate(45deg);
}

.faq-list details[open] summary > span {
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Public inner pages                                                          */
/* -------------------------------------------------------------------------- */

.inner-hero {
  min-height: 630px;
}

.inner-hero__content {
  max-width: 760px;
  padding-top: 150px;
  padding-bottom: 82px;
}

.inner-hero__content h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.3vw, 5.35rem);
  line-height: .97;
  letter-spacing: -.056em;
}

.inner-hero__content p {
  max-width: 620px;
  margin-top: 20px;
}

.inner-hero__overlay {
  background:
    linear-gradient(90deg, rgba(2, 13, 22, .93) 0%, rgba(2, 13, 22, .76) 40%, rgba(2, 13, 22, .28) 72%, rgba(2, 13, 22, .14)),
    linear-gradient(0deg, #020d17 0%, rgba(2, 13, 23, .36) 28%, transparent 54%);
}

.booking-hero,
.article-hero,
.account-hero {
  padding-top: 145px;
}

.booking-hero h1,
.article-hero h1,
.account-hero h1 {
  max-width: 900px;
  font-size: clamp(2.85rem, 5.1vw, 5.15rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.legal-page h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 5vw, 4.8rem);
  line-height: .98;
}

.contact-cards > a,
.contact-cards > div {
  min-width: 0;
}

.contact-cards strong {
  overflow-wrap: anywhere;
}

.gallery-item img,
.gallery-video video {
  filter: saturate(1.015) contrast(1.005);
}

/* -------------------------------------------------------------------------- */
/* Focused authentication                                                      */
/* -------------------------------------------------------------------------- */

.auth-page {
  min-width: 0;
  background: var(--navy-950);
}

.auth-visual,
.auth-panel,
.auth-card {
  min-width: 0;
}

.auth-visual > div:last-child {
  max-width: 520px;
}

.auth-visual h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.65rem);
  line-height: .98;
  letter-spacing: -.052em;
}

.auth-card > h1,
.auth-card > h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */

.site-footer {
  overflow: hidden;
}

.site-footer__grid {
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(145px, .75fr));
}

.footer-social {
  max-width: 390px;
}

/* -------------------------------------------------------------------------- */
/* Admin                                                                       */
/* -------------------------------------------------------------------------- */

.admin-topbar h1 {
  font-size: clamp(2.15rem, 3.5vw, 3.65rem);
  line-height: 1;
}

.admin-card,
.admin-stat-grid article,
.account-panel,
.calendar-panel,
.booking-summary,
.contact-form-card,
.auth-card {
  backdrop-filter: blur(14px);
}

.admin-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: rgba(86, 231, 234, .28) transparent;
}

/* -------------------------------------------------------------------------- */
/* Tablet                                                                      */
/* -------------------------------------------------------------------------- */

@media (max-width: 1060px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .availability-preview {
    width: min(100%, 680px);
    justify-self: start;
  }

  .site-footer__grid {
    grid-template-columns: 1.25fr repeat(2, .8fr);
  }

  .site-footer__grid > div:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 78px 0;
  }

  .auth-page:not(.auth-page--simple) {
    grid-template-columns: 1fr !important;
  }

  .auth-visual {
    min-height: 390px;
  }

  .auth-panel {
    padding: 52px 20px 72px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer__grid > div:last-child {
    grid-column: auto;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile: the image is shown first; text follows in a compact readable card. */
/* -------------------------------------------------------------------------- */

@media (max-width: 680px) {
  :root {
    --header-mobile: 66px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    min-height: var(--header-mobile);
    padding: 9px 0;
  }

  .site-header--scrolled {
    padding: 7px 0;
  }

  .site-header__inner {
    gap: 8px;
  }

  .brand__icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .brand__copy strong {
    font-size: .88rem;
    letter-spacing: -.015em;
  }

  .brand__copy small {
    display: none;
  }

  .header-account {
    width: 40px;
    min-height: 40px;
    justify-content: center;
    padding: 0;
  }

  .header-account span,
  .language-switch {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-menu {
    align-items: start;
    overflow-y: auto;
    padding: 84px 14px calc(28px + env(safe-area-inset-bottom));
  }

  .mobile-menu nav > a {
    min-height: 58px;
  }

  .mobile-menu nav > a span {
    font-size: 1.05rem;
  }

  .mobile-menu__actions {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .mobile-menu__contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  /* Home media-first hero */
  .hero {
    min-height: 0 !important;
    display: block;
    overflow: visible;
    padding: 0;
  }

  .hero::before {
    display: none;
  }

  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(355px, 101vw, 430px);
    display: block;
    overflow: hidden;
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    filter: saturate(1.02) contrast(1.005) brightness(.98);
    transform: none;
  }

  .hero__overlay {
    top: 0;
    bottom: auto;
    height: clamp(355px, 101vw, 430px);
    background:
      linear-gradient(180deg, rgba(2, 13, 22, .44) 0%, rgba(2, 13, 22, .02) 35%, rgba(2, 13, 22, .10) 63%, rgba(2, 13, 22, .88) 100%),
      linear-gradient(90deg, rgba(2, 13, 22, .18), transparent 72%);
    pointer-events: none;
  }

  .hero__grid {
    top: 0;
    bottom: auto;
    height: clamp(355px, 101vw, 430px);
    opacity: .055;
    mask-image: linear-gradient(180deg, black, transparent 70%);
  }

  .hero__content {
    width: min(calc(100% - 28px), var(--container));
    display: block;
    min-height: 0 !important;
    margin: -48px auto 0;
    padding: 0 0 54px;
  }

  .hero__copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    padding: 24px 20px 22px;
    border: 1px solid rgba(150, 229, 240, .22);
    border-radius: 24px;
    background:
      linear-gradient(155deg, rgba(9, 42, 60, .97), rgba(3, 18, 29, .98));
    box-shadow: 0 24px 62px rgba(0, 7, 13, .42);
    backdrop-filter: blur(18px) saturate(130%);
  }

  .hero__kicker {
    margin-bottom: 14px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    font-size: .57rem;
    letter-spacing: .14em;
  }

  .hero h1,
  .hero__copy h1 {
    max-width: 340px;
    font-size: clamp(2.42rem, 11.6vw, 3.05rem);
    line-height: .99;
    letter-spacing: -.052em;
  }

  .hero h1 em,
  .hero__copy h1 em {
    display: inline;
  }

  .hero__copy > p {
    max-width: 38ch;
    margin-top: 15px;
    font-size: .89rem;
    line-height: 1.62;
  }

  .hero__actions {
    display: grid;
    gap: 9px;
    margin-top: 20px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 50px;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 17px;
  }

  .hero__trust span,
  .hero__trust span:last-child {
    min-width: 0;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid rgba(158, 226, 239, .12);
    border-radius: 12px;
    font-size: .63rem;
    line-height: 1.3;
  }

  .hero__trust span:last-child {
    grid-column: 1 / -1;
  }

  .availability-preview {
    width: 100%;
    margin-top: 14px;
    border-radius: 21px;
  }

  .availability-preview__head {
    padding: 17px 17px 14px;
  }

  .availability-preview__head > span {
    font-size: .56rem;
  }

  .availability-preview__head strong {
    font-size: 1.06rem;
  }

  .availability-preview__head small {
    font-size: .68rem;
  }

  .availability-preview__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
  }

  .availability-day {
    min-height: 84px;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 10px;
    border: 1px solid rgba(157, 222, 236, .14);
    border-radius: 13px;
  }

  .availability-day:nth-child(n + 5) {
    display: none;
  }

  .availability-day > span {
    grid-template-columns: 1fr auto auto;
    gap: 5px;
  }

  .availability-day strong {
    font-size: 1.1rem;
  }

  .availability-day b {
    width: 100%;
    min-width: 0;
    padding: 6px 8px;
  }

  .availability-preview__link {
    min-height: 50px;
    padding-inline: 17px;
  }

  .hero__scroll {
    display: none;
  }

  /* Compact rhythm */
  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(2.05rem, 9.4vw, 2.75rem);
    line-height: 1.01;
    letter-spacing: -.048em;
  }

  .section-heading p {
    margin-top: 13px;
    font-size: .88rem;
    line-height: 1.62;
  }

  .signal-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip__inner > div,
  .signal-strip__inner > div:nth-child(n) {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 12px 13px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .signal-strip__inner > div:nth-child(2n) {
    border-right: 0;
  }

  .signal-strip__inner > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .signal-strip span {
    font-size: .64rem;
  }

  .experience-grid {
    gap: 14px;
  }

  .experience-card,
  .experience-card:first-child {
    min-height: 360px;
    border-radius: 22px;
  }

  .experience-card__content {
    padding: 21px;
  }

  .experience-card__content h3 {
    font-size: 1.48rem;
  }

  .experience-card__content p {
    font-size: .82rem;
    line-height: 1.55;
  }

  .video-frame {
    min-height: 390px;
    border-radius: 22px;
  }

  .boat-collage {
    min-height: 420px;
  }

  .boat-collage__detail {
    width: 145px;
    height: 188px;
  }

  .captain-photo {
    min-height: 430px;
  }

  .gallery-mosaic {
    grid-template-rows: 245px 170px;
  }

  .final-cta {
    padding: 74px 0 92px;
  }

  .final-cta::after {
    display: none;
  }

  .final-cta h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
    line-height: 1;
  }

  /* Inner heroes: image first, copy below; no giant text over the boat. */
  .inner-hero {
    min-height: 0 !important;
    display: block;
    overflow: visible;
    padding-top: var(--header-mobile);
    background: var(--navy-950);
  }

  .inner-hero > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, 80vw, 345px);
    display: block;
    object-fit: cover;
  }

  .inner-hero--fishing > img {
    object-position: center 58%;
  }

  .inner-hero--boat > img {
    object-position: center 59%;
  }

  .inner-hero--gallery > img {
    object-position: center 48%;
  }

  .inner-hero--contact > img {
    object-position: center 50%;
  }

  .inner-hero__overlay {
    top: var(--header-mobile);
    bottom: auto;
    height: clamp(300px, 80vw, 345px);
    background: linear-gradient(180deg, rgba(2, 13, 22, .14), transparent 48%, rgba(2, 13, 22, .78) 100%);
  }

  .inner-hero__content {
    width: min(calc(100% - 28px), var(--container));
    max-width: none;
    margin: -38px auto 0;
    padding: 23px 20px 31px;
    border: 1px solid rgba(150, 229, 240, .19);
    border-radius: 23px 23px 0 0;
    background:
      linear-gradient(160deg, rgba(9, 41, 59, .97), rgba(3, 18, 29, .99));
    box-shadow: 0 -18px 50px rgba(0, 7, 13, .28);
    backdrop-filter: blur(16px);
  }

  .inner-hero__content h1 {
    max-width: 360px;
    margin-top: 11px;
    font-size: clamp(2.12rem, 9.7vw, 2.7rem);
    line-height: 1.01;
    letter-spacing: -.05em;
  }

  .inner-hero__content p {
    margin-top: 14px;
    font-size: .87rem;
    line-height: 1.62;
  }

  .inner-hero__content > div {
    display: grid;
    margin-top: 20px;
  }

  .inner-hero__content > div .button {
    width: 100%;
  }

  .boat-story {
    gap: 30px;
  }

  .boat-story__visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .boat-story h2,
  .split-intro h2,
  .contact-info h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.02;
  }

  .boat-gallery {
    gap: 10px;
  }

  .booking-hero,
  .article-hero,
  .account-hero,
  .legal-page {
    padding-top: calc(var(--header-mobile) + 38px);
    padding-bottom: 45px;
  }

  .booking-hero h1,
  .article-hero h1,
  .account-hero h1,
  .legal-page h1 {
    max-width: 355px;
    font-size: clamp(2.15rem, 10vw, 2.8rem);
    line-height: 1.01;
    letter-spacing: -.05em;
  }

  .booking-hero p,
  .article-hero p,
  .account-hero p,
  .legal-page__header p {
    font-size: .88rem;
    line-height: 1.62;
  }

  .booking-page {
    padding: 45px 0 84px;
  }

  .calendar-panel,
  .booking-summary,
  .contact-form-card,
  .account-panel {
    padding: 18px;
    border-radius: 19px;
  }

  .date-grid {
    grid-template-columns: repeat(30, 94px);
  }

  .date-card {
    min-height: 98px;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .gallery-video {
    min-height: 390px;
  }

  .contact-layout {
    gap: 38px;
  }

  .contact-cards {
    gap: 9px;
  }

  .contact-cards > a,
  .contact-cards > div {
    padding: 14px;
  }

  .contact-cards strong {
    font-size: .82rem;
  }

  .contact-socials a {
    min-height: 40px;
    padding-inline: 12px;
  }

  .article-layout {
    padding-top: 44px;
  }

  .article-body h2 {
    font-size: 1.72rem;
  }

  .legal-page section {
    margin-top: 32px;
    padding-top: 26px;
  }

  /* Auth pages have their own brand and no competing global header/footer. */
  .auth-page:not(.auth-page--simple) {
    min-height: 100svh;
    display: block !important;
    padding: 0;
  }

  .auth-visual {
    width: 100%;
    min-height: 280px !important;
    height: 280px;
  }

  .auth-visual > img {
    object-position: center 52%;
  }

  .auth-visual__overlay {
    background: linear-gradient(180deg, rgba(2, 15, 24, .18), rgba(2, 15, 24, .89));
  }

  .auth-visual > .brand {
    top: 16px;
    left: 16px;
  }

  .auth-visual > div:last-child {
    right: 18px;
    bottom: 22px;
    left: 18px;
    width: auto;
    max-width: 360px;
  }

  .auth-visual h1 {
    max-width: 330px;
    margin-top: 8px;
    font-size: clamp(1.75rem, 8.2vw, 2.18rem);
    line-height: 1.02;
    letter-spacing: -.046em;
  }

  .auth-visual p {
    display: none;
  }

  .auth-panel {
    min-height: 0;
    padding: 24px 14px 70px;
  }

  .auth-card,
  .auth-card--wide {
    width: 100%;
    padding: 22px 19px;
    border-radius: 20px;
  }

  .auth-card > h1,
  .auth-card > h2 {
    max-width: 330px;
    font-size: clamp(1.82rem, 8vw, 2.25rem);
    line-height: 1.03;
  }

  .auth-card > p {
    margin: 11px 0 20px;
    font-size: .84rem;
    line-height: 1.55;
  }

  .auth-card form {
    gap: 14px;
  }

  .auth-row {
    align-items: center;
    flex-direction: row;
  }

  .auth-row .check-field,
  .auth-row > a {
    font-size: .73rem;
  }

  .auth-page--simple {
    min-height: 100svh;
    padding: 34px 14px 64px;
  }

  .auth-page--simple .auth-panel {
    min-height: calc(100svh - 98px);
    padding: 0;
  }

  /* Account */
  .account-hero__inner {
    gap: 22px;
  }

  .account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .account-summary > div {
    min-width: 0;
    padding: 14px;
  }

  .account-summary strong {
    font-size: 1.42rem;
  }

  .account-summary small {
    font-size: .68rem;
  }

  .account-summary > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* FAQ */
  .faq-section__grid {
    gap: 25px;
  }

  .faq-list summary {
    min-height: 68px;
    gap: 12px;
    font-size: .85rem;
  }

  .faq-list summary > .icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    padding: 8px;
  }

  .faq-list details p {
    font-size: .83rem;
    line-height: 1.62;
  }

  /* Footer */
  .site-footer {
    padding-bottom: 94px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 31px;
  }

  .footer-brand,
  .site-footer__grid > div:last-child {
    grid-column: auto;
  }

  .footer-social {
    gap: 8px;
  }

  .footer-social a {
    min-height: 40px;
    padding-inline: 11px;
    font-size: .72rem;
  }

  .site-footer__bottom {
    align-items: flex-start;
    text-align: left;
  }

  /* Setup */
  .setup-page {
    grid-template-columns: 1fr;
  }

  .setup-visual {
    position: relative;
    height: auto;
    min-height: 390px;
    padding: 20px;
  }

  .setup-visual__copy h1 {
    max-width: 340px;
    font-size: clamp(2rem, 9.8vw, 2.7rem);
    line-height: 1;
  }

  .setup-visual__copy p {
    font-size: .84rem;
    line-height: 1.58;
  }

  .setup-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setup-checks span {
    min-width: 0;
    padding: 8px;
    font-size: .66rem;
    line-height: 1.3;
  }

  .setup-form-wrap {
    padding: 32px 14px 74px;
  }

  .setup-form-head h2 {
    font-size: 2.1rem;
  }

  .setup-form fieldset {
    padding: 19px 14px;
    border-radius: 18px;
  }

  /* Admin: denser mobile dashboard without losing touch targets. */
  .admin-main {
    padding: 74px 12px 58px;
  }

  .admin-topbar {
    gap: 17px;
    margin-bottom: 20px;
  }

  .admin-topbar h1 {
    max-width: 340px;
    font-size: clamp(1.9rem, 9vw, 2.42rem);
    line-height: 1.02;
  }

  .admin-topbar p {
    font-size: .79rem;
    line-height: 1.5;
  }

  .admin-topbar__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-topbar__actions .button {
    width: 100%;
    min-height: 44px;
    padding-inline: 10px;
    font-size: .72rem;
  }

  .admin-stat-grid,
  .admin-quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-stat-grid article {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 14px;
  }

  .admin-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .admin-stat-grid strong {
    font-size: 1.55rem;
  }

  .admin-stat-grid small {
    font-size: .66rem;
  }

  .admin-quick__grid a {
    min-height: 145px;
    padding: 15px;
  }

  .admin-quick__grid a > .icon {
    width: 24px;
    height: 24px;
  }

  .admin-quick__grid strong {
    margin-top: 20px;
    font-size: .88rem;
  }

  .admin-quick__grid small {
    font-size: .67rem;
  }

  .admin-card {
    padding: 16px;
    border-radius: 17px;
  }

  .admin-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .admin-card__head h2 {
    font-size: 1.3rem;
  }

  .admin-list > a {
    min-height: 62px;
    grid-template-columns: 43px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .admin-list__date {
    width: 43px;
    height: 43px;
  }

  .admin-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-dropzone {
    min-height: 180px;
    padding: 23px 16px;
  }

  .media-limit {
    text-align: left;
  }

  .settings-save {
    bottom: 78px;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .hero__copy h1 {
    font-size: 2.36rem;
  }

  .hero__trust {
    grid-template-columns: 1fr;
  }

  .hero__trust span:last-child {
    grid-column: auto;
  }

  .inner-hero__content h1,
  .booking-hero h1,
  .article-hero h1,
  .account-hero h1,
  .legal-page h1 {
    font-size: 2.08rem;
  }

  .auth-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  .brand__copy strong {
    font-size: .79rem;
  }

  .header-account {
    display: none;
  }

  .admin-stat-grid,
  .admin-quick__grid,
  .account-summary {
    grid-template-columns: 1fr;
  }

  .account-summary > div:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social a,
  .contact-socials a,
  .mobile-social a,
  .faq-list summary > .icon {
    transition: none;
  }
}
