/* ==========================================================================
   TIM MARTI - IT SUPPORT & WEBDESIGN (PREMIUM SWISS EDITORIAL - STYLESHEET)
   ========================================================================== */

/* Layout & Global Spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

/* Base Sections */
section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

section:last-of-type {
  border-bottom: none;
}

@media (min-width: 768px) {
  section {
    padding: 8rem 0;
  }
}

/* ==========================================================================
   STICKY GLASSMORPHIC HEADER
   ========================================================================== */
.support-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(250, 250, 249, 0.85); /* Semitransparent stone gray */
  border-bottom: none;
  padding: 0.85rem 0 0.5rem 0;
  transition: var(--transition-smooth);
}

.support-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px; /* Increased for better presence and legibility */
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.logo-img:hover {
  opacity: 0.8;
}

.header-accent-line {
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.support-nav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.support-nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 850px) {
  .support-nav-links {
    display: flex;
    align-items: center;
  }
}

.support-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: var(--transition-fast);
}

.support-nav-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   ACCESSIBLE & MICRO-ANIMATED PILL BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px; /* Modern rounded pill shapes */
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  border: none;
  min-height: 48px;
  letter-spacing: -0.01em;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 4px 14px rgba(173, 33, 33, 0.15);
}

.btn-primary:hover {
  background-color: #8f1717;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(173, 33, 33, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--on-surface);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: #1c1917;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* ==========================================================================
   ASYNCHRONOUS / ASYMMETRIC HERO SECTION
   ========================================================================== */
.support-hero {
  padding: 5rem 0 3rem 0;
  border-bottom: none;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 6rem;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-hero-title {
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  font-weight: 900;
}

.support-hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.hero-image-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .hero-image-wrapper {
    margin-top: 3.5rem;
  }
}

.hero-portrait-img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  display: block;
}

.hero-portrait-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  width: 100%;
  justify-content: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background-color: #27c93f;
  animation: pulse-online 2s infinite;
}

.status-dot.offline {
  background-color: #ff3b30;
  animation: pulse-offline 2s infinite;
}

@keyframes pulse-online {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(39, 201, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
  }
}

@keyframes pulse-offline {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

/* ==========================================================================
   PORTALS (EDITORIAL CARD HUBS)
   ========================================================================== */
.audience-portals-section {
  padding: 4rem 0;
}

.portals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.portal-column {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.portal-column:hover {
  transform: translateY(-4px);
  border-color: rgba(173, 33, 33, 0.15);
  box-shadow: 0 20px 40px rgba(173, 33, 33, 0.03);
}

.portal-num {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.portal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.portal-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.portal-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.portal-column:hover .portal-link {
  gap: 0.6rem;
}

/* ==========================================================================
   STICKY SPLIT SUPPORT CATALOGUE
   ========================================================================== */
.support-catalog-section {
  background-color: #ffffff;
  padding: 6rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-sticky-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .catalog-sticky-container {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
}

.catalog-sticky-sidebar {
  position: static;
}

.catalog-sticky-sidebar .btn {
  margin-top: 3.5rem;
}

@media (min-width: 992px) {
  .catalog-sticky-sidebar {
    position: sticky;
    top: 130px; /* Pins beneath the glassmorphic header */
    align-self: start;
  }
}

.catalog-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.catalog-subtitle {
  color: var(--on-surface-variant);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.catalog-list {
  display: flex;
  flex-direction: column;
}

.catalog-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 2.25rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  gap: 1rem;
  align-items: start;
  border-radius: 20px;
  margin: 0 -1.5rem;
  transition: var(--transition-smooth);
}

.catalog-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.catalog-row:hover {
  background-color: rgba(250, 250, 249, 0.7);
}

@media (min-width: 768px) {
  .catalog-row {
    grid-template-columns: 80px 1.2fr 2fr;
    gap: 3rem;
  }
}

.catalog-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: monospace;
}

.catalog-row-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}

.catalog-row-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

/* ==========================================================================
   RELATIVES SECTION (PURE LIGHT EDITORIAL SHOWCASE)
   ========================================================================== */
.relatives-editorial-section {
  background-color: var(--surface-container-low); /* Clean stone-gray block background */
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 6rem 0;
}

.relatives-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .relatives-editorial-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 6rem;
  }
}

.relatives-editorial-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .relatives-editorial-content {
    margin-bottom: 4.5rem;
  }
}

.relatives-editorial-content .btn {
  margin-top: 3.5rem;
}

.relatives-editorial-tag {
  background-color: rgba(173, 33, 33, 0.05);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(173, 33, 33, 0.1);
  margin-bottom: 1.75rem;
}

.relatives-editorial-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.relatives-editorial-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
  margin-bottom: 3.5rem;
}

.relatives-editorial-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

.relative-value-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.relative-value-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.relative-value-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--on-surface);
}

.relative-value-desc {
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0;
}

/* ==========================================================================
   WEBDESIGN & HOSTING SECTION
   ========================================================================== */
.support-webdesign {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .support-webdesign {
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
  }
}

.webdesign-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.webdesign-tag {
  background-color: rgba(99, 102, 241, 0.06);
  color: #6366f1;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.webdesign-title {
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.webdesign-desc {
  color: var(--on-surface-variant);
  margin-bottom: 2.25rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

.webdesign-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.webdesign-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--on-surface);
}

.webdesign-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.webdesign-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

/* Premium Browser Mockup */
.webdesign-preview {
  display: flex;
  justify-content: center;
  width: 100%;
}

.preview-browser {
  width: 100%;
  max-width: 460px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.preview-browser:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.06);
}

.browser-header {
  background-color: #fafaf9;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.browser-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.browser-header .dot.red { background-color: #ff5f56; }
.browser-header .dot.yellow { background-color: #ffbd2e; }
.browser-header .dot.green { background-color: #27c93f; }

.browser-url {
  background-color: #ffffff;
  border-radius: 6px;
  font-size: 0.725rem;
  color: #888888;
  padding: 0.3rem 2rem;
  text-align: center;
  flex-grow: 1;
  margin-left: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: monospace;
}

.browser-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skeleton-nav {
  height: 8px;
  background-color: #f0f0ef;
  border-radius: 4px;
  width: 35%;
  margin-bottom: 0.5rem;
}

.skeleton-hero {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.skeleton-line-lg {
  height: 12px;
  background-color: #e4e4e3;
  border-radius: 4px;
  width: 85%;
}

.skeleton-line-md {
  height: 8px;
  background-color: #f0f0ef;
  border-radius: 4px;
  width: 50%;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.skeleton-box {
  height: 60px;
  background-color: #fafaf9;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 6px;
}

/* ==========================================================================
   STYLISH PROCESS STEP TIMELINE
   ========================================================================== */
.support-steps {
  padding: 6rem 0;
}

.steps-title {
  margin-bottom: 4rem;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-family: var(--font-headline);
  line-height: 1;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .step-number::after {
    content: "";
    position: absolute;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    left: 4.5rem;
    right: 0;
    top: 50%;
  }
  .step-card:last-child .step-number::after {
    display: none;
  }
}

.step-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}

.step-card-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
  max-width: 320px;
}

/* ==========================================================================
   FAQ SECTION (BORDERLESS ACCORDIONS)
   ========================================================================== */
.support-faq {
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .support-faq {
    padding: 0 2.5rem;
  }
}

.faq-title {
  letter-spacing: -0.03em;
  font-weight: 900;
}

.faq-container {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-bottom-color: var(--primary) !important;
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0 !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  user-select: none;
  list-style: none;
  color: var(--on-surface);
  transition: var(--transition-fast);
}

.faq-summary:hover {
  color: var(--primary);
}

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

.faq-summary-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-summary-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 0 1.75rem 0 !important;
  color: var(--on-surface-variant);
  font-size: 1.05rem;
  line-height: 1.65;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.support-footer {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.support-footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.support-footer-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
}

.support-footer-subtitle {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  margin-bottom: 2.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.support-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .support-footer-contacts {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.support-footer-phone,
.support-footer-mail {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  text-decoration: none;
  transition: var(--transition-fast);
}

.support-footer-phone:hover,
.support-footer-mail:hover {
  color: var(--primary);
}

.copyright-text {
  font-size: 0.85rem;
  color: #777777;
}
