/*
Theme Name: Xtreme Zone Live (Apple Studio B2B)
Theme URI: https://xtremezone.live
Author: Xtreme Zone Live — Ingeniería & Automatización
Author URI: https://xtremezone.live
Description: Tema corporativo ultrarrápido estilo Apple Studio para Xtreme Zone Live (XZL). Incluye gestor de Portada, Catálogo de Equipos B2B, Portafolio de Proyectos, Blog Técnico y Cotizador conectado en vivo a Chatwoot.
Version: 2.0.0
Text Domain: xzl-apple
*/

:root {
  --apple-bg: #f5f5f7;
  --apple-white: #ffffff;
  --apple-black: #000000;
  --apple-dark-card: #1d1d1f;
  --apple-text: #1d1d1f;
  --apple-muted: #86868b;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-border: #d2d2d7;
  --radius-lg: 28px;
  --radius-md: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
  background-color: var(--apple-bg);
  color: var(--apple-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.47059;
  letter-spacing: -0.016em;
}

/* APPLE GLOBAL FROSTED NAVBAR */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 52px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}
body.admin-bar .global-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .global-nav {
    top: 46px;
  }
}
.nav-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--apple-text);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links a {
  color: #333336;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--apple-blue);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 980px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: none;
  white-space: nowrap;
  font-family: inherit;
}
.pill-blue {
  background: var(--apple-blue);
  color: #ffffff;
}
.pill-blue:hover {
  background: var(--apple-blue-hover);
  transform: translateY(-1px);
}
.pill-dark {
  background: var(--apple-dark-card);
  color: #ffffff;
}
.pill-outline {
  background: transparent;
  color: var(--apple-text);
  border: 1px solid var(--apple-border);
}
.pill-outline:hover {
  border-color: var(--apple-text);
}
.pill-lg {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
}
.apple-link {
  color: var(--apple-blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.apple-link:hover {
  text-decoration: underline;
}

/* APPLE MONUMENTAL HERO (CLEAN WHITE STUDIO) */
.hero-apple {
  background: var(--apple-white);
  padding: 58px 24px 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-blue);
  margin-bottom: 12px;
}
.hero-apple h1 {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--apple-text);
  margin-bottom: 16px;
}
.hero-apple h1 span.muted-tone {
  color: var(--apple-muted);
}
.hero-apple p.subhead {
  font-size: 20px;
  line-height: 1.42;
  font-weight: 400;
  color: #424245;
  max-width: 720px;
  margin: 0 auto 26px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

/* CLEAN ALUMINUM HARDWARE STAGE */
.studio-stage {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f2f7 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 28px 32px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}
.studio-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  text-align: center;
}
.sm-val {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--apple-text);
}
.sm-lbl {
  font-size: 12px;
  color: var(--apple-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* APPLE BENTO GRID SECTION */
.apple-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 68px 24px 32px;
}
.section-headline {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.section-headline h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--apple-text);
}
.section-headline h2 span.gray {
  color: var(--apple-muted);
}
.apple-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.a-card {
  background: var(--apple-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.28s ease;
}
.a-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
}
.a-card.dark-pro {
  background: var(--apple-dark-card);
  color: var(--apple-white);
}
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

.card-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apple-muted);
  margin-bottom: 8px;
}
.a-card.dark-pro .card-eyebrow {
  color: #a1a1a6;
}
.a-card h3 {
  font-size: 28px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
}
.a-card p.card-desc {
  font-size: 15px;
  line-height: 1.48;
  color: #515154;
  margin-bottom: 22px;
}
.a-card.dark-pro p.card-desc {
  color: #a1a1a6;
}

/* CLEAN HARDWARE VISUAL INSIDE BENTO CARDS */
.visual-box {
  background: #f5f5f7;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  overflow: hidden;
}
.visual-box img {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.a-card.dark-pro .visual-box {
  background: #2c2c2e;
}

/* PILL TAGS AT CARD FOOTER */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.a-card.dark-pro .tag-row {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.a-tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 980px;
  background: #f5f5f7;
  color: #333336;
}
.a-card.dark-pro .a-tag {
  background: #2c2c2e;
  color: #e5e5ea;
}

/* DEPARTMENT MINI GRID INSIDE CARD 4 */
.dept-apple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.dept-pill-card {
  background: #f5f5f7;
  border-radius: 14px;
  padding: 13px 15px;
}
.dept-pill-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--apple-text);
  margin-bottom: 2px;
}
.dept-pill-card span {
  font-size: 12px;
  color: var(--apple-muted);
  line-height: 1.35;
  display: block;
}

/* CATALOG & PROJECTS CARDS (DYNAMIC WORDPRESS CPT) */
.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cat-filter-btn {
  background: var(--apple-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #424245;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.cat-filter-btn:hover {
  border-color: var(--apple-blue);
  color: var(--apple-blue);
}
.cat-filter-btn.active {
  background: var(--apple-dark-card);
  color: var(--apple-white);
  border-color: var(--apple-dark-card);
}
.catalog-grid, .projects-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.item-card {
  background: var(--apple-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}
.item-thumb {
  width: 100%;
  height: 180px;
  background: #f5f5f7;
  border-radius: 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-price-badge {
  display: inline-block;
  background: rgba(0, 113, 227, 0.08);
  color: var(--apple-blue);
  font-weight: 600;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 980px;
}

/* APPLE CONFIGURATOR & FINANCING SECTION */
.config-section {
  background: var(--apple-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 72px 24px;
  margin-top: 36px;
}
.config-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.segmented-control {
  display: inline-flex;
  background: #f5f5f7;
  padding: 4px;
  border-radius: 980px;
  margin: 20px 0 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.seg-item {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  color: var(--apple-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.seg-item.active {
  background: var(--apple-white);
  color: var(--apple-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.feature-Rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-Rows li {
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5ea;
  font-size: 14.5px;
  color: #333336;
}
.feature-Rows li strong {
  display: block;
  color: var(--apple-text);
  font-size: 15.5px;
  margin-bottom: 3px;
}

/* RIGHT CONFIGURATOR FORM (APPLE STORE CHECKOUT STYLE) */
.apple-config-box {
  background: #f5f5f7;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.apple-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 22px;
}
.apple-choice {
  background: var(--apple-white);
  border: 1.5px solid #d2d2d7;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--apple-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
}
.apple-choice:hover {
  border-color: #86868b;
}
.apple-choice.selected {
  border: 2px solid var(--apple-blue);
  font-weight: 600;
  background: rgba(0, 113, 227, 0.02);
}
.apple-choice span.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d2d2d7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: all 0.16s ease;
  flex-shrink: 0;
}
.apple-choice.selected span.dot {
  border-color: var(--apple-blue);
  background: var(--apple-blue);
  color: #fff;
}
.apple-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.apple-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  background: var(--apple-white);
  font-size: 14px;
  color: var(--apple-text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.apple-input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.apple-textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  background: var(--apple-white);
  font-size: 14px;
  color: var(--apple-text);
  font-family: inherit;
  resize: vertical;
  min-height: 70px;
  margin-bottom: 12px;
  outline: none;
}
.apple-textarea:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.quote-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  display: none;
}
.quote-status.success {
  display: block;
  background: #eafbf0;
  color: #116329;
  border: 1px solid #a6e9bc;
}
.quote-status.error {
  display: block;
  background: #fff0f0;
  color: #b31d28;
  border: 1px solid #f5b5b8;
}

/* APPLE CLEAN FOOTER */
.apple-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 90px;
  font-size: 12px;
  color: var(--apple-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.apple-footer a {
  color: var(--apple-text);
  text-decoration: none;
  font-weight: 600;
}
.apple-footer a:hover {
  color: var(--apple-blue);
}

/* MINIMAL APPLE-STYLE FLOATING CHAT PILL */
.apple-chat-fab {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 998;
  background: rgba(29, 29, 31, 0.90);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 980px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.apple-chat-fab:hover {
  transform: translateY(-2px);
  background: #0071e3;
}
.apple-chat-fab span.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 8px #30d158;
}

/* MULTI-PLATFORM REMOTE SUPPORT SELECTOR (SOPORTE-XZL) */
.soporte-os-box {
  background: #252528;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.soporte-os-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.soporte-os-label {
  font-size: 13px;
  color: #d1d1d6;
}
.soporte-os-label strong {
  color: #ffffff;
}
.soporte-os-detected {
  font-size: 11.5px;
  font-weight: 600;
  color: #30d158;
  background: rgba(48, 209, 88, 0.14);
  border: 1px solid rgba(48, 209, 88, 0.30);
  padding: 3px 10px;
  border-radius: 980px;
}
.soporte-os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #18181a;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.os-tab-btn {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  color: #a1a1a6;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-align: center;
}
.os-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.os-tab-btn.active {
  background: #0071e3;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.35);
}
.os-panel {
  display: none;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  flex-direction: column;
  gap: 12px;
}
.os-panel.active {
  display: flex;
}
.os-panel-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}
.os-panel-sub {
  font-size: 12.5px;
  color: #a1a1a6;
  line-height: 1.45;
}
.os-panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.os-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e5e5ea;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.os-alt-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
.os-linux-cmd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #101012;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  overflow-x: auto;
}
.os-linux-cmd-bar code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #30d158;
  white-space: nowrap;
}
.os-copy-btn {
  background: #2c2c2e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.os-copy-btn:hover {
  background: #0071e3;
  border-color: #0071e3;
}

/* SINGLE POST / PAGE EDITORIAL CONTAINER */
.editorial-container {
  max-width: 820px;
  margin: 48px auto;
  background: var(--apple-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.editorial-container h1 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.editorial-content {
  font-size: 17px;
  line-height: 1.65;
  color: #333336;
}
.editorial-content p {
  margin-bottom: 18px;
}
.editorial-content h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--apple-text);
  margin: 30px 0 12px;
}
.editorial-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--apple-text);
  margin: 24px 0 10px;
}
.editorial-content ul,
.editorial-content ol {
  margin: 0 0 18px 22px;
}
.editorial-content li {
  margin-bottom: 8px;
}
.editorial-content a {
  color: var(--apple-blue);
  text-decoration: none;
  font-weight: 600;
}
.editorial-content a:hover {
  text-decoration: underline;
}
.editorial-content blockquote {
  background: var(--apple-bg);
  border-left: 4px solid var(--apple-blue);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 20px 0;
  color: #424245;
}
.editorial-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--apple-border);
}
.editorial-content th,
.editorial-content td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e5ea;
  text-align: left;
  font-size: 14.5px;
}
.editorial-content th {
  background: var(--apple-bg);
  font-weight: 600;
  color: var(--apple-text);
}
.editorial-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 16px 0;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-apple h1 { font-size: 40px; }
  .hero-apple p.subhead { font-size: 17px; }
  .studio-metrics { grid-template-columns: repeat(2, 1fr); }
  .section-headline h2 { font-size: 34px; }
  .span-7, .span-6, .span-5, .span-4 { grid-column: span 12; }
  .catalog-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr; }
  .config-container { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .hero-apple { padding: 36px 18px 32px; }
  .hero-apple h1 { font-size: 32px; }
  .studio-stage { padding: 18px 16px; }
  .studio-metrics { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sm-val { font-size: 22px; }
  .a-card { padding: 26px 22px; }
  .a-card h3 { font-size: 23px; }
  .dept-apple-grid, .apple-choice-grid, .apple-input-grid { grid-template-columns: 1fr; }
  .apple-config-box { padding: 24px 18px; }
  .apple-chat-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
  .editorial-container { padding: 28px 20px; margin: 24px 16px; }
}
