:root {
  --bg: #f5f5f7;
  --bg-soft: #ececef;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --surface-border: rgba(197, 197, 205, 0.5);
  --text: #111111;
  --muted: #6e6e73;
  --blue: #6aa8ff;
  --blue-deep: #0a84ff;
  --blue-ink: #0f1721;
  --green: #8ed3b1;
  --green-deep: #1e8e5a;
  --gold-soft: #f0b27a;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --shadow-strong: 0 34px 80px rgba(17, 17, 17, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.95), transparent 18%),
    radial-gradient(circle at 86% 10%, rgba(255, 187, 120, 0.16), transparent 22%),
    linear-gradient(180deg, #fbfbfd 0%, #f2f2f5 48%, #f7f7fa 100%);
}

body.popup-open {
  overflow: hidden;
}

body.gallery-modal-open {
  overflow: hidden;
}

body.media-viewer-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    linear-gradient(90deg, rgba(140, 185, 207, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(140, 185, 207, 0.08) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: radial-gradient(circle at center, black 46%, transparent 100%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto 12% -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 192, 172, 0.18), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  position: relative;
}

.site-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
}

.site-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 44, 0.58);
  backdrop-filter: blur(8px);
}

.site-popup-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
}

.site-popup.is-open .site-popup-panel {
  transform: translateY(0) scale(1);
}

.site-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(106, 169, 216, 0.12);
  color: var(--blue-deep);
  font-size: 1.5rem;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid rgba(210, 210, 218, 0.5);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.16rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(210, 210, 218, 0.6);
  box-shadow: 0 14px 24px rgba(80, 126, 153, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  color: var(--muted);
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(210, 210, 218, 0.5);
}

.site-nav .nav-cta {
  color: #fff;
  background: #111111;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.18);
}

.site-nav .nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 1.25rem 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  top: 1.25rem;
  bottom: 0;
  border-radius: 42px;
  background: linear-gradient(90deg, rgba(233, 236, 240, 0.92) 0%, rgba(231, 233, 237, 0.88) 56%, rgba(240, 154, 85, 0.88) 100%);
  z-index: 0;
  filter: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  top: 1.25rem;
  bottom: 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 24% 35%, rgba(255, 255, 255, 0.78), transparent 28%),
    radial-gradient(circle at 76% 30%, rgba(255, 193, 132, 0.35), transparent 24%);
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-doctor-image {
  filter: drop-shadow(0 28px 54px rgba(17, 17, 17, 0.24));
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(245, 246, 248, 0.84) 0%, rgba(245, 246, 248, 0.7) 38%, rgba(245, 246, 248, 0.12) 62%, rgba(245, 246, 248, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  left: 2.5%;
  right: 2.5%;
  top: 1.25rem;
  bottom: 0;
  border-radius: 42px;
}

.hero-content,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-content {
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.96fr);
  padding: 4.8rem 0 4.6rem;
  min-height: calc(100vh - var(--header-height) - 1.25rem);
  align-items: end;
}

.hero-copy {
  color: var(--text);
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero-copy h1,
.page-hero-copy h1,
.section-heading h2,
.section-copy h2,
.cta-card h2,
.service-detail h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.04em;
}

.page-hero-copy h1,
.section-heading h2,
.section-copy h2,
.cta-card h2,
.service-detail h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #1d1d1f;
  margin: 1rem 0;
  font-weight: 700;
}

.hero-text,
.page-hero-copy p,
.section-copy p,
.section-heading p,
.feature-card p,
.service-card p,
.testimonial-card p,
.contact-card p,
.rating-card p,
.credential-card p,
.info-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.hero-copy .hero-text {
  color: #424245;
  max-width: 58ch;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-media {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-media img {
  width: min(100%, 640px);
  height: auto;
  max-height: 700px;
  object-fit: contain;
  object-position: center bottom;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: #111111;
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.18);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(198, 198, 204, 0.65);
}

.glass-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy.glass-panel {
  background: transparent;
  border-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-card {
  padding: 1.6rem;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-card-dark {
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.98), rgba(23, 23, 24, 0.94));
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.28);
}

.hero-card-dark .hero-card-label,
.hero-card-dark li,
.hero-card-dark strong {
  color: #fff;
}

.hero-card-dark .trust-list li::before {
  background: linear-gradient(135deg, #ffb266, #ffffff);
  box-shadow: 0 0 0 6px rgba(255, 178, 102, 0.12);
}

.hero-card-dark .hero-metrics article {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card-dark .hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-card-summary {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.hero-card-top {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-trust-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-card::before,
.site-popup-panel::before,
.feature-card::before,
.service-card::before,
.testimonial-card::before,
.rating-card::before,
.credential-card::before,
.info-panel::before,
.contact-card::before,
.service-detail::before,
.reputation-banner::before,
.experience-panel::before,
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15));
}

.hero-card-label,
.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.hero-copy .eyebrow {
  color: #6e6e73;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.hero-badge {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(198, 198, 204, 0.64);
  color: #1d1d1f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.trust-list,
.check-grid,
.benefit-list,
.pill-row,
.hours-list {
  display: grid;
  gap: 0.8rem;
}

.trust-list {
  padding: 0;
  margin: 0 0 1.4rem;
  list-style: none;
}

.trust-list li,
.check-grid span,
.benefit-list span,
.hours-list span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.trust-list li::before,
.check-grid span::before,
.benefit-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 6px rgba(117, 183, 166, 0.12);
  flex-shrink: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics-compact article {
  padding: 0.9rem 0.85rem;
}

.hero-metrics-compact strong {
  font-size: 1rem;
  line-height: 1.15;
}

.hero-metrics-compact span {
  font-size: 0.8rem;
}

.hero-metrics article,
.feature-card,
.service-card,
.testimonial-card,
.faq-item,
.credential-card,
.info-panel,
.rating-card,
.contact-card,
.service-detail,
.reputation-banner,
.quote-card {
  border-radius: var(--radius-md);
}

.hero-metrics article {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.25rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section,
.page-hero {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.page-hero {
  padding-top: calc(var(--header-height) + 1.6rem);
}

.page-hero-iphone {
  position: relative;
}

.page-hero-iphone::before {
  content: "";
  position: absolute;
  inset: 80px auto auto -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 180, 219, 0.18), transparent 70%);
  filter: blur(6px);
}

.iphone-layout {
  align-items: center;
}

.iphone-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.iphone-chip {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(174, 198, 214, 0.34);
  color: var(--blue-ink);
  box-shadow: 0 10px 24px rgba(39, 89, 122, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.iphone-device {
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 243, 248, 0.82));
  box-shadow:
    0 18px 40px rgba(18, 50, 67, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.iphone-device img {
  border-radius: 28px;
}

.iphone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: rgba(15, 27, 39, 0.9);
  z-index: 2;
}

.iphone-device-bar {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.9rem;
  padding: 0.95rem 1rem 0.2rem;
}

.iphone-device-bar strong {
  color: var(--blue-ink);
}

.iphone-device-bar span {
  color: var(--muted);
  font-size: 0.92rem;
}

.iphone-card {
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 245, 249, 0.78));
  border: 1px solid rgba(185, 205, 218, 0.34);
  box-shadow:
    0 20px 44px rgba(18, 50, 67, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.iphone-card h3,
.iphone-card h2 {
  color: var(--blue-ink);
}

.iphone-stack p + p {
  margin-top: 0.8rem;
}

.iphone-grid .credential-card,
.iphone-grid .rating-card {
  min-height: 100%;
}

.section-soft,
.page-hero,
.cta-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(230, 240, 245, 0.44)),
    radial-gradient(circle at top right, rgba(124, 192, 172, 0.08), transparent 20%);
}

.section-heading,
.section-copy {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.service-preview-grid,
.testimonial-grid,
.credential-grid,
.about-grid,
.rating-grid,
.footer-grid,
.blog-preview-grid,
.blog-grid,
.apple-gallery-grid {
  display: grid;
  gap: 1.3rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.feature-card {
  min-height: 430px;
  padding: 1.8rem;
  background: linear-gradient(180deg, #050505, #111111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.feature-card h3,
.feature-card p {
  color: #f5f5f7;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-card::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f5f7;
  color: #111111;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 500;
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.rating-card:hover,
.credential-card:hover,
.info-panel:hover,
.service-detail:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.trust-bar {
  position: relative;
  margin-top: -34px;
  z-index: 3;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(174, 198, 214, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.trust-bar-grid div {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(236, 244, 248, 0.7));
}

.trust-bar-grid span {
  font-weight: 800;
}

.trust-bar-grid small {
  color: var(--muted);
}

.split-layout,
.testimonials-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: center;
}

.media-stack,
.portrait-panel {
  position: relative;
}

.media-large,
.portrait-panel img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-small {
  position: absolute;
  right: -1rem;
  bottom: -3.6rem;
  width: min(280px, 42%);
  display: block;
  object-fit: cover;
  background: #000;
  border-radius: 24px;
  border: 10px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.service-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.blog-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.blog-grid {
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.apple-gallery-section {
  background:
    linear-gradient(180deg, #f5f5f7 0%, #ececef 100%);
}

.apple-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.apple-gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.apple-gallery-more {
  min-width: 180px;
}

.apple-gallery-card {
  position: relative;
  min-height: 320px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #050505, #111111);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.18);
  cursor: pointer;
}

.apple-gallery-card:focus-visible {
  outline: 2px solid rgba(106, 132, 255, 0.95);
  outline-offset: 4px;
}

.apple-gallery-card.is-featured {
  min-height: 420px;
}

.apple-gallery-card.is-video {
  background: linear-gradient(180deg, #0c0c0d, #1a1a1d);
}

.apple-gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apple-gallery-card video.apple-gallery-media {
  background: #000;
}

.apple-gallery-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.2rem 1.3rem;
  display: grid;
  gap: 0.3rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.apple-gallery-meta span,
.apple-gallery-meta strong {
  color: #fff;
}

.apple-gallery-meta span {
  font-size: 0.82rem;
  opacity: 0.76;
}

.apple-gallery-meta strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 19, 0.72);
  backdrop-filter: blur(16px);
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(88vh, 980px);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(22, 22, 25, 0.92), rgba(10, 10, 12, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.gallery-modal-header {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding-right: 3rem;
}

.gallery-modal-header .eyebrow,
.gallery-modal-header h2 {
  color: #fff;
}

.gallery-modal-header p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-modal-grid .apple-gallery-card {
  min-height: 300px;
}

.gallery-modal-grid .apple-gallery-card.is-featured {
  min-height: 400px;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.media-viewer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.media-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.82);
  backdrop-filter: blur(18px);
}

.media-viewer-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: 92vh;
  padding: 1.2rem;
  border-radius: 32px;
  background: rgba(10, 10, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.media-viewer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.media-viewer-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding-right: 3.25rem;
}

.media-viewer-header .eyebrow,
.media-viewer-header h2 {
  color: #fff;
}

.media-viewer-stage {
  display: grid;
  place-items: center;
  min-height: min(72vh, 760px);
}

.media-viewer-media {
  width: 100%;
  max-width: 100%;
  max-height: calc(92vh - 110px);
  object-fit: contain;
  border-radius: 24px;
  background: #000;
}

.service-card,
.service-detail,
.testimonial-card,
.rating-card,
.credential-card,
.info-panel,
.contact-card,
.reputation-banner,
.blog-preview-card,
.blog-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(174, 198, 214, 0.35);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.service-card:hover img,
.service-detail:hover img,
.gallery-mosaic img:hover {
  transform: scale(1.04);
}

.service-card div,
.testimonial-card,
.rating-card,
.credential-card,
.info-panel,
.contact-card,
.reputation-banner,
.blog-preview-card,
.blog-card-content {
  padding: 1.5rem;
}

.blog-preview-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--blue-deep);
  font-weight: 800;
}

.blog-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.blog-meta {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(116, 180, 219, 0.1);
  color: var(--blue-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-content {
  display: grid;
  gap: 0.9rem;
}

.blog-card-content h3,
.blog-preview-card h3 {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.stars {
  letter-spacing: 0.12em;
  color: #f5b945;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  padding: 0 1.3rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(173, 198, 214, 0.3);
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 0;
  font-weight: 700;
}

.faq-item p {
  padding: 0 0 1.2rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.cta-card {
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 192, 172, 0.16), transparent 70%);
}

.site-footer {
  padding: 2.6rem 0 3rem;
  border-top: 1px solid rgba(174, 198, 214, 0.32);
  background: rgba(248, 251, 253, 0.74);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: start;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.brand-footer {
  margin-bottom: 1rem;
}

.quote-card {
  padding: 1.5rem;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.8;
  position: relative;
}

.quote-card footer {
  margin-top: 1rem;
  color: var(--blue-deep);
  font-weight: 700;
}

.credential-grid,
.rating-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

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

.pill-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}

.pill-row span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(106, 169, 216, 0.1);
  color: var(--blue-deep);
  font-weight: 700;
  text-align: center;
}

.services-stack {
  display: grid;
  gap: 1.4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  padding: 1rem;
}

.service-detail.iphone-card {
  padding: 1.2rem;
}

.service-detail img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 22px;
}

.benefit-list {
  margin-top: 1.2rem;
}

.reputation-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.experience-panel,
.metric-card {
  padding: 1.7rem;
}

.experience-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.experience-points span {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(106, 169, 216, 0.08);
  color: var(--blue-ink);
  font-weight: 700;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.gallery-mosaic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-mosaic .mosaic-tall {
  grid-row: span 2;
  height: 100%;
  min-height: 456px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  text-align: left;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.6rem;
  color: var(--blue-ink);
}

.metric-card span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-floating-note {
  position: absolute;
  left: 0;
  bottom: 52px;
  width: min(340px, 54%);
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(18, 18, 22, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.18);
  backdrop-filter: blur(20px);
  z-index: 2;
}

.hero-floating-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
}

.hero-floating-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.contact-layout {
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 1.4rem;
}

.appointment-form {
  display: grid;
  gap: 1rem;
}

.appointment-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(174, 198, 214, 0.45);
  background: rgba(250, 253, 255, 0.96);
  color: var(--text);
  outline: none;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: rgba(45, 108, 146, 0.55);
  box-shadow: 0 0 0 4px rgba(106, 169, 216, 0.12);
}

.form-note {
  min-height: 1.5rem;
  color: var(--green-deep);
  font-weight: 600;
}

.callout-note {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(106, 169, 216, 0.1);
  color: var(--text);
}

.callout-note a {
  color: var(--blue-deep);
  font-weight: 800;
}

.hours-list span {
  justify-content: space-between;
  border-bottom: 1px solid rgba(174, 198, 214, 0.24);
  padding-bottom: 0.7rem;
}

.hours-list small {
  color: var(--muted);
}

.map-placeholder {
  min-height: 240px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(106, 169, 216, 0.12), rgba(117, 183, 166, 0.18)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.56) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.56) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.map-embed {
  width: 100%;
  height: 320px;
  display: block;
  border: 0;
}

.map-link {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(174, 198, 214, 0.35);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.map-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.map-placeholder span {
  font-size: 1.15rem;
  font-weight: 800;
}

.map-placeholder small,
.map-caption {
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="left"] {
  transform: translateX(28px);
}

[data-reveal="right"] {
  transform: translateX(-28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1040px) {
  .feature-grid,
  .credential-grid,
  .rating-grid,
  .metrics-grid,
  .trust-bar-grid,
  .blog-preview-grid,
  .apple-gallery-grid,
  .gallery-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content,
  .split-layout,
  .testimonials-layout,
  .contact-layout,
  .page-hero-grid,
  .footer-grid,
  .reputation-banner,
  .service-detail,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-floating-note {
    left: 0.8rem;
    bottom: 1.4rem;
    width: min(320px, calc(100% - 1.6rem));
  }

  .hero::before,
  .hero::after,
  .hero-overlay {
    left: 1rem;
    right: 1rem;
  }

  .media-small {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 80px;
  }

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

  .hero {
    overflow: visible;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    border: 1px solid rgba(173, 198, 214, 0.4);
    gap: 0.2rem;
    max-height: calc(100vh - var(--header-height) - 1.5rem);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .site-nav .nav-cta {
    margin-top: 0.35rem;
  }

  .feature-grid,
  .service-preview-grid,
  .testimonial-grid,
  .credential-grid,
  .about-grid,
  .rating-grid,
  .pill-row,
  .metrics-grid,
  .trust-bar-grid,
  .experience-points,
  .gallery-mosaic,
  .blog-preview-grid,
  .apple-gallery-grid,
  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .page-hero-grid {
    padding: 3rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 0.8rem;
  }

  .split-layout,
  .testimonials-layout,
  .contact-layout,
  .experience-grid,
  .footer-grid {
    gap: 1.15rem;
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .cta-card > .button {
    margin-top: 0.25rem;
  }

  .hero-content {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 0.9rem 0 1.8rem;
    gap: 0.9rem;
  }

  .page-hero.page-hero-iphone {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 3.2rem;
  }

  .page-hero-iphone::before {
    inset: 32px auto auto -60px;
    width: 180px;
    height: 180px;
  }

  .hero-copy.glass-panel,
  .hero-card,
  .cta-card {
    padding: 1.3rem;
  }

  .hero-copy.glass-panel {
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(14px);
  }

  .hero-overlay {
    display: none;
  }

  .hero-copy {
    order: 1;
    max-width: none;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
    width: 100%;
    padding-bottom: 5.2rem;
    justify-content: center;
    overflow: visible;
  }

  .hero-media {
    justify-content: center;
    padding: 0 0.35rem;
  }

  .hero-media img {
    width: min(84vw, 430px);
    max-height: none;
    margin: 0 auto;
  }

  .hero-floating-note {
    left: 0;
    bottom: -2.35rem;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0.9rem 0.95rem;
    translate: none;
    border-radius: 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-card-top {
    gap: 0.8rem;
    margin-bottom: 0.65rem;
  }

  .hero-trust-pills {
    gap: 0.45rem;
  }

  .hero-trust-pills span {
    padding: 0.42rem 0.62rem;
    font-size: 0.68rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button,
  .section-actions .button {
    justify-content: center;
  }

  .page-hero-copy,
  .section-copy,
  .section-heading {
    gap: 0.85rem;
  }

  .page-hero-copy h1,
  .section-heading h2,
  .section-copy h2,
  .cta-card h2,
  .service-detail h2,
  .contact-card h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    line-height: 1.04;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 0.98;
  }

  .iphone-chip-row,
  .hero-badge-row {
    gap: 0.55rem;
    margin-bottom: 0.8rem;
  }

  .iphone-chip,
  .hero-badge {
    padding: 0.5rem 0.8rem;
    font-size: 0.72rem;
  }

  .iphone-device {
    padding: 10px;
    border-radius: 28px;
  }

  .iphone-device img {
    border-radius: 22px;
    min-height: 260px;
  }

  .iphone-notch {
    top: 10px;
    width: 104px;
    height: 22px;
    border-radius: 0 0 14px 14px;
  }

  .iphone-device-bar {
    margin-top: 0.6rem;
    padding: 0.8rem 0.7rem 0.2rem;
  }

  .iphone-device-bar strong {
    font-size: 0.94rem;
  }

  .iphone-device-bar span {
    font-size: 0.82rem;
  }

  .iphone-card,
  .quote-card,
  .contact-card,
  .service-detail,
  .testimonial-card,
  .rating-card,
  .credential-card,
  .info-panel {
    border-radius: 24px;
  }

  .service-detail.iphone-card,
  .contact-card.iphone-card,
  .info-panel.iphone-card,
  .credential-card.iphone-card,
  .rating-card.iphone-card,
  .testimonial-card.iphone-card {
    padding: 1rem;
  }

  .service-detail {
    gap: 1rem;
  }

  .service-detail img {
    min-height: 220px;
  }

  .service-card img,
  .blog-card img,
  .gallery-mosaic img,
  .media-large,
  .portrait-panel img,
  .service-detail img,
  .media-small {
    width: 100%;
  }

  .media-stack {
    display: grid;
    gap: 0.9rem;
  }

  .appointment-form {
    gap: 0.85rem;
  }

  .appointment-form input,
  .appointment-form textarea {
    padding: 0.88rem 0.95rem;
    border-radius: 14px;
    font-size: 16px;
  }

  .callout-note {
    padding: 0.9rem 1rem;
    border-radius: 16px;
  }

  .hours-list span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .map-placeholder {
    min-height: 210px;
    border-radius: 18px;
  }

  .map-embed {
    height: 250px;
  }

  .map-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .site-popup-panel {
    width: min(100%, 420px);
    padding: 1.2rem;
    border-radius: 24px;
  }

  .site-popup-panel h2 {
    font-size: 1.55rem;
    line-height: 1.08;
    padding-right: 2rem;
  }

  .apple-gallery-card,
  .apple-gallery-card.is-featured {
    min-height: 280px;
    border-radius: 24px;
  }

  .gallery-modal {
    padding: 0.7rem;
  }

  .gallery-modal-panel {
    padding: 1rem;
    border-radius: 26px;
    max-height: 90vh;
  }

  .gallery-modal-header {
    margin-bottom: 1rem;
    padding-right: 2.5rem;
  }

  .gallery-modal-grid .apple-gallery-card,
  .gallery-modal-grid .apple-gallery-card.is-featured {
    min-height: 280px;
  }

  .media-viewer {
    padding: 0.7rem;
  }

  .media-viewer-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .media-viewer-stage {
    min-height: min(68vh, 620px);
  }

  .apple-gallery-meta {
    padding: 1rem;
  }

  .media-large,
  .portrait-panel img,
  .service-detail img {
    min-height: 280px;
  }

  .gallery-mosaic .mosaic-tall {
    min-height: 280px;
  }

  .media-small {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    border-width: 8px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .site-popup {
    padding: 0.65rem;
  }

  .nav-wrap {
    gap: 0.7rem;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    display: none;
  }

  .hero-content,
  .page-hero-grid {
    gap: 1rem;
    padding: 2rem 0 2.5rem;
  }

  .hero::before,
  .hero::after,
  .hero-overlay {
    top: 0.8rem;
    left: 0.5rem;
    right: 0.5rem;
    border-radius: 28px;
  }

  .hero-media img {
    width: min(90vw, 380px);
  }

  .hero-content {
    padding: 0.85rem 0 1.55rem;
  }

  .hero-visual {
    padding-bottom: 4.3rem;
  }

  .hero-floating-note {
    width: 100%;
    max-width: none;
    padding: 0.72rem 0.78rem;
    left: 0;
    bottom: -1.6rem;
    transform: none;
    translate: none;
    border-radius: 18px;
  }

  .hero-copy.glass-panel,
  .hero-card,
  .cta-card {
    padding: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin: 0.6rem 0 0;
  }

  .hero-actions,
  .section-actions {
    gap: 0.7rem;
    margin-top: 1.2rem;
  }

  .button {
    min-height: 48px;
    padding: 0.82rem 1rem;
    font-size: 0.95rem;
  }

  .cta-card {
    gap: 1rem;
  }

  .trust-bar {
    margin-top: -10px;
  }

  .trust-bar-grid {
    padding: 0.7rem;
    border-radius: 20px;
    gap: 0.7rem;
  }

  .trust-bar-grid div {
    padding: 0.75rem 0.8rem;
    border-radius: 16px;
  }

  .feature-card,
  .service-card div,
  .testimonial-card,
  .rating-card,
  .credential-card,
  .info-panel,
  .contact-card,
  .reputation-banner,
  .experience-panel,
  .metric-card,
  .blog-preview-card,
  .blog-card-content {
    padding: 1rem;
  }

  .feature-card p,
  .service-card p,
  .testimonial-card p,
  .rating-card p,
  .credential-card p,
  .info-panel p,
  .contact-card p {
    font-size: 0.95rem;
  }

  .service-card,
  .blog-preview-card,
  .blog-card,
  .testimonial-card,
  .rating-card,
  .credential-card,
  .contact-card,
  .info-panel {
    border-radius: 20px;
  }

  .service-card img,
  .blog-card img,
  .gallery-mosaic img,
  .media-large,
  .portrait-panel img,
  .service-detail img {
    min-height: 220px;
    height: 220px;
  }

  .hero-floating-note {
    padding: 0.9rem 1rem;
    border-radius: 18px;
  }

  .iphone-chip,
  .hero-badge {
    width: fit-content;
  }

  .pill-row span {
    padding: 0.72rem 0.8rem;
    font-size: 0.9rem;
  }

  .site-popup-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
  }

  .hero-card {
    padding: 0.95rem;
  }

  .hero-card-summary {
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
  }

  .hero-card-top {
    margin-bottom: 0.7rem;
  }

  .hero-metrics-compact article {
    padding: 0.68rem 0.65rem;
  }

  .hero-metrics-compact strong {
    font-size: 0.86rem;
  }

  .hero-metrics-compact span {
    font-size: 0.7rem;
  }

  .feature-card {
    min-height: 300px;
    padding-bottom: 4rem;
  }

  .feature-card::after {
    width: 38px;
    height: 38px;
    right: 0.9rem;
    bottom: 0.9rem;
    font-size: 1.5rem;
  }

  .apple-gallery-card,
  .apple-gallery-card.is-featured {
    min-height: 230px;
    border-radius: 20px;
  }

  .apple-gallery-actions {
    margin-top: 1.1rem;
  }

  .apple-gallery-more {
    width: 100%;
    min-width: 0;
  }

  .gallery-modal-panel {
    padding: 0.85rem;
    border-radius: 22px;
  }

  .gallery-modal-header h2 {
    font-size: 1.4rem;
    line-height: 1.1;
  }

  .gallery-modal-grid .apple-gallery-card,
  .gallery-modal-grid .apple-gallery-card.is-featured {
    min-height: 230px;
    border-radius: 20px;
  }

  .media-viewer-panel {
    padding: 0.8rem;
    border-radius: 22px;
  }

  .media-viewer-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
  }

  .media-viewer-header h2 {
    font-size: 1.2rem;
    line-height: 1.1;
  }

  .media-viewer-stage {
    min-height: min(62vh, 520px);
  }

  .media-viewer-media {
    border-radius: 18px;
  }

  .apple-gallery-meta span {
    font-size: 0.76rem;
  }

  .apple-gallery-meta strong {
    font-size: 0.92rem;
  }

  .site-footer {
    padding: 2rem 0 2.4rem;
  }

  .footer-grid {
    gap: 1rem;
  }

  .site-footer a {
    margin-bottom: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
