/* ================================================================
   INTRASISTEMA WEB — MODERN DESIGN SYSTEM
   Aesthetic & Design Tokens harmonized with login.intrasistema.com
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-deep: #0a0815;
  --bg-gradient: radial-gradient(ellipse 100% 100% at 50% 12%, #181238 0%, #0a0815 60%, #05040a 100%);
  --bg-card: rgba(18, 15, 30, 0.76);
  --bg-card-hover: rgba(26, 22, 44, 0.88);
  --bg-card-solid: #120f22;
  --bg-input: rgba(255, 255, 255, 0.06);
  --bg-input-focus: rgba(255, 255, 255, 0.10);

  --border-card: rgba(255, 255, 255, 0.12);
  --border-card-hover: rgba(255, 70, 0, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-on-accent: #ffffff;

  --brand-orange: #FF4600;
  --brand-orange-hover: #ff6022;
  --brand-orange-glow: rgba(255, 70, 0, 0.35);
  --brand-blue: #3b82f6;
  --brand-blue-glow: rgba(59, 130, 246, 0.3);
  --accent: #FF4600;
  --accent-light: #ff7a3d;

  --radius-card: 24px;
  --radius-pill: 100px;
  --radius-sm: 12px;
  --radius-md: 16px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-input: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 8px 24px rgba(255, 70, 0, 0.32);
  --shadow-glow: 0 0 35px var(--brand-orange-glow);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-deep);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Topographic Waves Canvas Background */
.topography-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* Subtle noise overlay */
.bg-noise {
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.content-wrapper {
  position: relative;
  z-index: 2;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 15, 30, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition);
}

.site-header.scrolled .header-inner {
  background: rgba(14, 11, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo img,
.brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF4600 0%, #ff6b35 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff5714 0%, #ff7d4d 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 70, 0, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1.5px solid var(--border-card);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-pill-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 70, 0, 0.1);
  border: 1px solid rgba(255, 70, 0, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff8552;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF4600;
  box-shadow: 0 0 0 0 rgba(255, 70, 0, 0.7);
  animation: pulseDot 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 70, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(255, 70, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 70, 0, 0);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto 24px;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #ff8b57 60%, #FF4600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.typed-lead {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: #c4cce0;
  margin-bottom: 20px;
  min-height: 38px;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Hero Showcase Card */
.hero-showcase {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 70, 0, 0.22) 0%, rgba(59, 130, 246, 0.15) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.showcase-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  overflow: hidden;
  padding: 12px;
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-card) - 6px);
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Badges on Showcase */
.floating-stat-badge {
  position: absolute;
  z-index: 2;
  background: rgba(18, 15, 30, 0.9);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-pos-1 {
  top: 30px;
  left: -20px;
}

.badge-pos-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Section Common */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -30px;
  margin-bottom: 60px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
}

.metric-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 70, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.metric-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #ff8552 70%, #FF4600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Features Cards (Cómo Funciona) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-orange) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.feature-glass-card:hover::before {
  opacity: 1;
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 70, 0, 0.12);
  border: 1px solid rgba(255, 70, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: monospace;
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.feature-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Deep Dive Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 70px 0;
}

.split-section.reversed {
  direction: rtl;
}

.split-section.reversed > * {
  direction: ltr;
}

.split-content {
  display: flex;
  flex-direction: column;
}

.split-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
}

.split-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

.split-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.split-card-preview img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-card) - 8px);
  display: block;
}

/* Tour Tabs */
.tour-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tour-tab-btn {
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tour-tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-input-focus);
  border-color: rgba(255, 255, 255, 0.2);
}

.tour-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 70, 0, 0.2) 0%, rgba(255, 70, 0, 0.08) 100%);
  border-color: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 70, 0, 0.2);
}

.tour-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tour-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Section */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  background: var(--bg-input-focus);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 70, 0, 0.18);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-direct-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.contact-direct-link {
  color: var(--brand-orange);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.contact-direct-link:hover {
  color: var(--brand-orange-hover);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #06040d;
  padding: 80px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 18px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .badge-pos-1, .badge-pos-2 {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(18, 15, 30, 0.96);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 32px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-section {
    padding-top: 130px;
  }
}

/* ================================================================
   Accessibility & SEO Helpers
   ================================================================ */
.skip-to-content {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--brand-orange);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 20px;
  outline: 2px solid #ffffff;
}

/* ================================================================
   FAQ (Preguntas Frecuentes) — Semantic & Accessible Accordion
   ================================================================ */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.faq-item:hover {
  border-color: rgba(255, 70, 0, 0.4);
  background: var(--bg-card-hover);
}

.faq-item[open] {
  border-color: var(--brand-orange);
  box-shadow: 0 8px 24px rgba(255, 70, 0, 0.12);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}

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

.faq-summary:hover {
  color: #ffffff;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--brand-orange);
  transition: transform 0.25s ease;
  margin-left: 16px;
}

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

.faq-body {
  padding: 0 26px 24px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-body p + p {
  margin-top: 12px;
}

.faq-body a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tour-card-caption {
  margin-top: 16px;
  padding: 18px 24px;
  background: rgba(18, 15, 30, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: left;
}

.tour-card-caption h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.tour-card-caption p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
