/* ==========================================================================
   Tapicería El Maestro — tapiceriaelmaestro.com
   Dirección de Diseño:
   1. 60% Estilo Suizo (Swiss Style): Cuadrículas asimétricas rigurosas,
      jerarquía tipográfica estricta, sans-serif neutral de alta legibilidad.
   2. 30% Japandi: Calidez artesanal, espacios despejados, texturas de madera y cuero.
   3. 10% Bauhaus: Geometrías primarias, contraste funcional, acentos puros.
   Composición: Portafolio primero (cuadrícula fotográfica con presentación breve al margen).
   Menú: Barra lateral fija en escritorio (marca arriba, contacto al pie), desplegable en móvil.
   Colores exactos:
     --c-primary: hsl(311, 68%, 42%);
     --c-primary-light: hsl(311, 68%, 56%);
     --c-secondary: hsl(104, 55%, 36%);
     --c-secondary-light: hsl(104, 55%, 46%);
     --c-accent: hsl(191, 80%, 58%);
     --c-bg: hsl(311, 18%, 8%);
     --c-card-bg: hsl(311, 18%, 12%);
     --c-card-hover: hsl(311, 18%, 16%);
     --c-text: hsl(0, 0%, 96%);
     --c-muted: hsl(311, 10%, 75%);
     --c-border: hsl(311, 14%, 22%);
     --c-gold: #daa520;
     --c-leather: #8e552d;
   Tipografías: Public Sans (Swiss/Bauhaus) + Bitter (Titulares artesanales/Japandi)
   Radio de bordes: 8px (asignado)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,500;0,600;0,700;1,400&family=Public+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --c-primary: hsl(311, 68%, 42%);
  --c-primary-light: hsl(311, 68%, 56%);
  --c-secondary: hsl(104, 55%, 36%);
  --c-secondary-light: hsl(104, 55%, 46%);
  --c-accent: hsl(191, 80%, 58%);
  --c-accent-dark: hsl(191, 80%, 40%);
  --c-bg: hsl(311, 18%, 8%);
  --c-card-bg: hsl(311, 18%, 12%);
  --c-card-hover: hsl(311, 18%, 16%);
  --c-text: hsl(0, 0%, 96%);
  --c-muted: hsl(311, 10%, 75%);
  --c-border: hsl(311, 14%, 22%);
  --c-gold: #daa520;
  --c-leather: #8e552d;
  --radius: 8px;
  --sidebar-w: 290px;
  --font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'Bitter', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--c-bg);
  color: var(--c-text);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background-color: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  display: flex;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* --------------------------------------------------------------------------
   LAYOUT: SIDEBAR DESKTOP + MAIN WRAPPER
   -------------------------------------------------------------------------- */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: hsl(311, 18%, 6%);
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  z-index: 50;
  overflow-y: auto;
}

.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
}

/* Brand area in sidebar */
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.brand-link {
  display: block;
}

.brand-link img {
  width: 100%;
  height: auto;
  max-width: 250px;
}

.brand-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  font-weight: 700;
  border-left: 2px solid var(--c-accent);
  padding-left: 0.5rem;
}

/* Navigation Links */
.side-nav {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-muted);
  border: 1px solid transparent;
}

.side-nav a:hover {
  color: var(--c-text);
  background-color: var(--c-card-bg);
  border-color: var(--c-border);
}

.side-nav a[aria-current="page"] {
  color: #fff;
  background-color: var(--c-primary);
  border-color: var(--c-primary-light);
  box-shadow: 0 2px 8px rgba(180, 34, 153, 0.4);
}

.nav-num {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--c-accent);
}

.side-nav a[aria-current="page"] .nav-num {
  color: #fff;
}

/* Sidebar Contact Footer */
.side-footer {
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-footer a:hover {
  color: var(--c-accent);
}

.side-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  background-color: hsl(104, 55%, 15%);
  border: 1px solid var(--c-secondary);
  border-radius: var(--radius);
  color: hsl(104, 75%, 75%);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--c-secondary-light);
  box-shadow: 0 0 6px var(--c-secondary-light);
}

/* Mobile Header Bar */
.mobile-topbar {
  display: none;
  background-color: hsl(311, 18%, 6%);
  border-bottom: 1px solid var(--c-border);
  padding: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 60;
}

.mobile-brand {
  max-width: 180px;
}

.menu-toggle-btn {
  background-color: var(--c-primary);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Top Notification / Fast Info Banner (Swiss Grid Header) */
.swiss-topbar {
  background-color: hsl(311, 18%, 10%);
  border-bottom: 1px solid var(--c-border);
  padding: 0.65rem 2.5rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.swiss-topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-muted);
}

.swiss-topbar-item strong {
  color: var(--c-text);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY & HEADINGS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--c-text);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--c-muted);
  max-width: 680px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   COMPOSITION: PORTAFOLIO PRIMERO (PORTADA HERO)
   Cuadrícula fotográfica con presentación breve al margen
   -------------------------------------------------------------------------- */
.portfolio-hero {
  padding: 2.5rem 2.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
  background: radial-gradient(circle at 85% 20%, hsl(311, 45%, 12%) 0%, transparent 60%);
}

.portfolio-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.portfolio-hero-sidebar h1 {
  color: #fff;
}

.portfolio-hero-sidebar h1 em {
  font-style: normal;
  color: var(--c-accent);
  border-bottom: 3px solid var(--c-primary);
}

.portfolio-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary-light);
  box-shadow: 0 4px 14px rgba(180, 34, 153, 0.45);
}

.btn-primary:hover {
  background-color: var(--c-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(180, 34, 153, 0.6);
}

.btn-secondary {
  background-color: hsl(104, 55%, 20%);
  color: hsl(104, 75%, 85%);
  border-color: var(--c-secondary);
}

.btn-secondary:hover {
  background-color: var(--c-secondary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--c-accent);
  color: hsl(311, 18%, 8%);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(62, 202, 234, 0.35);
}

.btn-accent:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--c-border);
  color: var(--c-text);
  background-color: var(--c-card-bg);
}

.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Photography Grid in Hero (Portfolio First - Swiss Asymmetric Grid) */
.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 50px);
  gap: 0.75rem;
}

.photo-cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background-color: var(--c-card-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-cell:hover img {
  transform: scale(1.04);
}

.photo-cell-1 {
  grid-column: 1 / 8;
  grid-row: 1 / 6;
}

.photo-cell-2 {
  grid-column: 8 / 13;
  grid-row: 1 / 5;
}

.photo-cell-3 {
  grid-column: 1 / 6;
  grid-row: 6 / 9;
}

.photo-cell-4 {
  grid-column: 6 / 13;
  grid-row: 5 / 9;
}

.photo-tag {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background-color: rgba(24, 17, 23, 0.85);
  backdrop-filter: blur(4px);
  color: var(--c-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--c-border);
}

/* --------------------------------------------------------------------------
   SWISS SECTION BLOCKS (Ordered by specification)
   1. Cobertura y horarios
   2. Categorías o servicios
   3. Dudas frecuentes
   4. Precios y alcance
   5. Proceso de compra o contratación
   6. Presentación del negocio
   -------------------------------------------------------------------------- */
.section {
  padding: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--c-border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-head-title {
  max-width: 650px;
}

/* 1. Cobertura y Horarios */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.coverage-card {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.coverage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-primary);
  border-radius: var(--radius) var(--radius) 0 0;
}

.coverage-card:nth-child(2)::before {
  background: var(--c-secondary);
}

.coverage-card:nth-child(3)::before {
  background: var(--c-accent);
}

.coverage-icon {
  font-size: 1.6rem;
  color: var(--c-accent);
}

.coverage-card h3 {
  font-size: 1.2rem;
  color: #fff;
}

.coverage-card p {
  color: var(--c-muted);
  font-size: 0.95rem;
}

/* 2. Categorías y Servicios */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
}

.service-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: hsl(311, 18%, 10%);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}

.service-price-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-accent);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.service-price-tag span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-muted);
}

/* 3. Dudas Frecuentes (FAQ) */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.faq-card {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.faq-card h3 {
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.faq-num {
  font-family: monospace;
  color: var(--c-accent);
  font-size: 0.9rem;
}

.faq-card p {
  color: var(--c-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* 4. Precios y Alcance (Tabla o Cuadrícula) */
.pricing-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-matrix th, .pricing-matrix td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.pricing-matrix th {
  background-color: hsl(311, 18%, 15%);
  color: var(--c-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.pricing-matrix tr:last-child td {
  border-bottom: none;
}

.pricing-matrix tr:hover td {
  background-color: var(--c-card-hover);
}

.price-val {
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}

/* 5. Proceso de compra o contratación (4 Pasos Suizos) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.process-card {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.process-step-num {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-primary-light);
  line-height: 1;
}

.process-card h3 {
  font-size: 1.15rem;
  color: #fff;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* 6. Presentación del negocio */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-badge {
  padding: 0.5rem 0.85rem;
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-badge strong {
  color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   CATALOG TOOLS: SEARCH + FILTER + SORT
   -------------------------------------------------------------------------- */
.catalog-toolbar {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: hsl(311, 18%, 8%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 2px rgba(62, 202, 234, 0.25);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-muted);
}

.catalog-select {
  padding: 0.75rem 1.2rem;
  background-color: hsl(311, 18%, 8%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
}

.catalog-select:focus {
  outline: none;
  border-color: var(--c-accent);
}

.catalog-count-pill {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-accent);
  background-color: hsl(191, 80%, 12%);
  border: 1px solid var(--c-accent-dark);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   GALLERY LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background-color: var(--c-card-bg);
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(24, 17, 23, 0.95), transparent);
  padding: 1.2rem 0.8rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 9, 13, 0.92);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  border: 2px solid var(--c-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--c-text);
  font-size: 1rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   CONTACT PAGE & FORMS
   -------------------------------------------------------------------------- */
.contact-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-form {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text);
}

.form-group input, .form-group textarea {
  padding: 0.75rem 1rem;
  background-color: hsl(311, 18%, 8%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 2px rgba(62, 202, 234, 0.25);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.map-embed-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  filter: invert(90%) hue-rotate(180deg);
}

/* --------------------------------------------------------------------------
   FOOTER (Visible en TODAS las páginas con los 3 SVG obligatorios)
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--c-border);
  background-color: hsl(311, 18%, 6%);
  padding: 3.5rem 2.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--c-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-links-list a {
  color: var(--c-muted);
}

.footer-links-list a:hover {
  color: var(--c-accent);
  padding-left: 4px;
}

.footer-social-wrap {
  margin-top: 1.2rem;
}

.footer-social-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.social-icons-row {
  display: flex;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background-color: var(--c-primary);
  border-color: var(--c-primary-light);
  color: #fff;
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom-bar {
  border-top: 1px solid var(--c-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   FLOATERS: WHATSAPP, TEL, CHATBOT, COOKIE CONSENT
   -------------------------------------------------------------------------- */
.fixed-floaters {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floater-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.floater-btn:hover {
  transform: scale(1.08);
}

.floater-wa {
  background-color: #25d366;
}

.floater-tel {
  background-color: var(--c-primary);
}

.floater-chat-toggle {
  background-color: var(--c-accent);
  color: hsl(311, 18%, 8%);
  font-weight: 800;
  font-size: 1.2rem;
}

/* Chatbot Panel */
.chatbot-window {
  position: fixed;
  right: 1.25rem;
  bottom: 12.5rem;
  width: min(350px, calc(100vw - 2.5rem));
  background-color: hsl(311, 18%, 11%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  background-color: var(--c-primary);
  color: #fff;
  padding: 0.85rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.chatbot-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 380px;
  overflow-y: auto;
}

.chatbot-preset-btn {
  text-align: left;
  padding: 0.6rem 0.85rem;
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 0.84rem;
  color: var(--c-text);
  transition: all 0.15s ease;
}

.chatbot-preset-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.chatbot-answer-box {
  background-color: hsl(311, 18%, 7%);
  border-left: 3px solid var(--c-accent);
  padding: 0.75rem 0.85rem;
  font-size: 0.86rem;
  color: var(--c-text);
  border-radius: 0 var(--radius) var(--radius) 0;
  min-height: 48px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: hsl(311, 18%, 6%);
  border-top: 1px solid var(--c-border);
  padding: 1rem 2rem;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 700;
}

.cookie-accept {
  background-color: var(--c-secondary);
  color: #fff;
}

.cookie-reject {
  background-color: var(--c-card-bg);
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}

/* --------------------------------------------------------------------------
   BLOG & ARTICLE LAYOUTS
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--c-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-header {
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1.5rem;
}

.article-featured-img {
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  overflow: hidden;
  margin: 1rem 0;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: hsl(0, 0%, 90%);
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Mobile First Adjustments)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --sidebar-w: 240px;
  }
  .portfolio-hero {
    grid-template-columns: 1fr;
  }
  .categories-grid, .coverage-grid, .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  body {
    flex-direction: column;
  }
  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: min(320px, 85vw);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
  }
  .sidebar.open {
    left: 0;
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 45;
    display: none;
  }
  .sidebar-backdrop.active {
    display: block;
  }
  .main-content {
    margin-left: 0;
  }
  .mobile-topbar {
    display: flex;
  }
  .swiss-topbar {
    padding: 0.5rem 1.25rem;
    font-size: 0.78rem;
  }
  .section, .portfolio-hero {
    padding: 2.25rem 1.25rem;
  }
  .categories-grid, .coverage-grid, .faq-list, .blog-grid, .about-split, .contact-split {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo-grid {
    grid-template-rows: repeat(8, 38px);
  }
}

@media (max-width: 480px) {
  .hero-photo-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .photo-cell {
    aspect-ratio: 16 / 10;
  }
  .portfolio-cta-group {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
