/* ==========================================================================
   Sara Mohajeri — One UI–inspired glass theme (RTL, app-like)
   ========================================================================== */

:root {
  --pink-50: #fff5f8;
  --pink-100: #ffe4ee;
  --pink-200: #ffc2d8;
  --pink-300: #ff8fb5;
  --pink-400: #f56a9a;
  --pink-500: #e85a8c;
  --pink-600: #d43d74;
  --pink-700: #b0285c;
  --ink: #2a1f24;
  --ink-soft: #5c4a52;
  --muted: #8a7380;
  --line: rgba(232, 90, 140, 0.16);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow: 0 10px 30px rgba(180, 70, 110, 0.12);
  --shadow-soft: 0 6px 18px rgba(180, 70, 110, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --header-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --container: 1120px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(255, 143, 181, 0.35), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(255, 194, 216, 0.45), transparent 50%),
    linear-gradient(180deg, #fff7fa 0%, #ffe9f1 40%, #fff5f8 100%);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body.drawer-open {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  background: var(--pink-500);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.app-shell {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + var(--safe-top));
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Glass */
.glass,
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.glass-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Header — app bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 80;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: 0;
  padding-top: var(--safe-top);
  box-sizing: border-box;
}

.site-header__inner {
  height: var(--header-h);
  width: min(100% - 20px, var(--container));
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  direction: rtl;
}

.site-header__brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: var(--radius-sm);
  outline-offset: 3px;
}

.site-logo {
  display: block;
  width: auto;
  max-width: 138px;
  height: 40px;
  max-height: 44px;
  object-fit: contain;
  object-position: center;
}

.site-header__nav {
  display: none;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.header-menu .sub-menu {
  display: none;
}

.header-menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.header-menu a:hover,
.header-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
  color: var(--pink-700);
}

.site-title,
.custom-logo-link {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--pink-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.menu-toggle__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--pink-700);
  transition: transform 0.28s var(--ease), opacity 0.2s;
}

.menu-toggle__bar:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle__bar:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle__bar:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.site-header__cta {
  flex-shrink: 0;
}

.site-header__cta .btn {
  padding-inline: 14px;
}

/* Side drawer — from right edge, body-level fixed */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 31, 36, 0.45);
  z-index: 99980;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(82vw, 320px);
  max-width: 100%;
  height: 100%;
  z-index: 99990;
  background: #fff5f8;
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 40px rgba(180, 70, 110, 0.2);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
  box-sizing: border-box;
  touch-action: pan-y;
  overflow: hidden;
}

.side-drawer.is-open {
  transform: translate3d(0, 0, 0);
}

.side-drawer.is-dragging {
  transition: none;
}

.side-drawer__handle {
  width: 42px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(180, 70, 110, 0.2);
  margin: 0 auto 14px;
}

.side-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  direction: rtl;
}

.side-drawer__brand {
  font-weight: 800;
  color: var(--pink-700);
  flex: 1;
  text-align: right;
}

.drawer-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(232, 90, 140, 0.12);
  color: var(--pink-700);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.drawer-menu .sub-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 12px 0 0;
  display: grid;
  gap: 6px;
}

.drawer-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(232, 90, 140, 0.1);
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.drawer-menu a:hover,
.drawer-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--line);
  transform: translateX(-2px);
}

.side-drawer__nav {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.side-drawer__foot {
  margin-top: 16px;
  padding-top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  color: #fff;
  box-shadow: 0 10px 22px rgba(212, 61, 116, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(212, 61, 116, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--pink-700);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
  max-width: 640px;
  margin-inline: auto;
}

.section-head--start {
  text-align: start;
  margin-inline: 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 143, 181, 0.35), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255, 194, 216, 0.4), transparent 45%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(232, 90, 140, 0.12);
  color: var(--pink-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pink-700);
}

.hero__subtitle {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__media {
  margin: 0;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-height: 280px;
  aspect-ratio: auto;
}

.hero__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Services */
.services-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 16px 18px;
  margin-top: 22px;
}

.services-notice__text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.services-notice__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.services-marquee {
  display: grid;
  gap: 14px;
  width: 100%;
}

.services-marquee__row {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 46px;
}

.services-row-swiper {
  overflow: hidden;
  width: 100%;
  padding: 0 !important;
}

.services-row-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.services-row-slide {
  width: auto !important;
  height: auto;
}

.services-marquee .swiper-slide {
  width: auto;
}

.service-pill {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(232, 90, 140, 0.18);
  color: var(--pink-700);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(212, 61, 116, 0.08);
  backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  .services-row-swiper .swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    transform: none !important;
  }

  .services-row-slide {
    width: auto !important;
  }
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card__link,
.work-card > a {
  display: block;
  color: inherit;
  height: 100%;
  text-decoration: none;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .archive-grid--portfolio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__media img,
.work-card img,
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-media__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.service-card__badge,
.team-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

.service-card__body {
  padding: 18px;
}

.service-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.service-card__features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.service-card__features li {
  position: relative;
  padding-right: 14px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.service-card__features li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-400);
}

.service-card__price {
  margin: 14px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink-700);
}

.team-card__badge {
  margin-bottom: 8px;
}

/* Lines & specialists */
.lines-grid {
  display: grid;
  gap: 16px;
}

.line-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.line-card--featured {
  display: grid;
  gap: 0;
}

.line-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.35);
}

.line-card__media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.line-card__body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.line-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.line-card__badge--cip {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
}

.line-card__badge--vip {
  background: linear-gradient(135deg, #c084fc, #9333ea);
}

.line-card__line-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
}

.line-card__name {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pink-700);
}

.line-card__note {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.line-card__price {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--pink-600);
}

.line-staff-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.line-staff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(232, 90, 140, 0.1);
}

.line-staff-item__name {
  font-weight: 700;
  color: var(--ink);
}

.line-staff-item__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pink-700);
  white-space: nowrap;
}

.line-card__action {
  margin-top: auto;
  padding-top: 16px;
}

.line-card__btn {
  display: inline-flex;
  width: auto;
}

@media (min-width: 768px) {
  .lines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .line-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }

  .line-card--featured .line-card__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (min-width: 1024px) {
  .lines-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .line-card--featured {
    grid-column: span 2;
  }

  .line-card--vip {
    grid-row: span 2;
  }
}

.service-card__body p,
.why-item p,
.team-card__body p,
.cta-panel__text,
.cta-panel__brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Why */
.why-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.why-media {
  margin: 0;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-height: 280px;
  aspect-ratio: auto;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.why-item {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
}

.why-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

/* Portfolio / Team cards */
.work-card {
  margin: 0;
  aspect-ratio: 4 / 5;
  position: relative;
}

.work-card figcaption {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink-700);
  text-align: center;
}

.team-card img {
  aspect-ratio: 4 / 5;
}

.team-card__body {
  padding: 16px 18px 20px;
  text-align: center;
}

.team-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Combined CTA + contact panel */
.cta-panel {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 194, 216, 0.28)),
    var(--glass);
}

.cta-panel__promo {
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  text-align: center;
}

.cta-panel__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.cta-panel__text {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cta-panel__divider {
  height: 1px;
  margin: 0 22px;
  background: linear-gradient(to left, transparent, rgba(232, 90, 140, 0.22), transparent);
}

.cta-panel__contact {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.cta-panel__brand-name {
  display: block;
  margin-bottom: 8px;
  color: var(--pink-700);
  font-size: 1.15rem;
}

.cta-panel__brand p {
  font-size: 0.9rem;
}

.cta-panel__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-panel__link {
  font-weight: 700;
  color: var(--pink-700);
  text-decoration: none;
}

.cta-panel__address {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Swiper — only clip overflow where slider exists */
.section .container:has(.swiper) {
  overflow: hidden;
}

.swiper {
  overflow: hidden;
  padding-bottom: 36px;
  width: 100%;
}

.swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.swiper-pagination-bullet {
  background: var(--pink-300);
  opacity: 0.55;
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  background: var(--pink-600);
  opacity: 1;
  width: 18px;
  border-radius: var(--radius-pill);
}

/* Footer */
.site-footer {
  padding: 28px 0 calc(24px + var(--safe-bottom));
  margin-top: 20px;
}

.site-footer__panel {
  margin-bottom: 18px;
}

/* Footer bottom bar — copyright + designer credit */
.footer-bottom {
  margin-top: 18px;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.footer-bottom__copy,
.footer-bottom__credit {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-bottom__copy small {
  font-size: inherit;
}

.footer-bottom__credit-label {
  white-space: nowrap;
}

.footer-bottom__credit-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 6px;
  outline-offset: 3px;
}

.footer-bottom__credit-logo {
  display: block;
  width: 82px;
  max-width: 90px;
  height: auto;
  max-height: 32px;
  object-fit: contain;
  background: transparent;
  filter: grayscale(1) brightness(0.75);
  transition: filter 0.25s ease;
}

.footer-bottom__credit-link:hover .footer-bottom__credit-logo,
.footer-bottom__credit-link:focus-visible .footer-bottom__credit-logo {
  filter: none;
}

@media (max-width: 640px) {
  .footer-bottom__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom__copy,
  .footer-bottom__credit {
    justify-content: center;
  }
}

.content-card {
  padding: 28px;
  margin: 40px 0;
}

.entry-title {
  margin-top: 0;
}

/* Desktop */
@media (min-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .menu-toggle {
    display: none;
  }

  .site-header__nav {
    display: flex;
  }

  .site-logo {
    max-width: 180px;
    height: 48px;
    max-height: 48px;
  }

  .hero {
    padding: 48px 0 72px;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .hero__media {
    margin-inline: 0 auto;
    max-width: none;
  }

  .why-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .why-media {
    margin-inline: 0;
    max-width: none;
  }

  .cta-panel__promo {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: start;
    padding: 32px 36px 28px;
  }

  .cta-panel__contact {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    padding: 24px 36px 32px;
  }

  .section {
    padding: 72px 0;
  }
}

/* Narrow phones — more app-like density */
@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-header__cta .btn {
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}