/* =========================================================
   GUIDES PAGE
   ========================================================= */

.guides-container {
  margin: -70px 0px 0px 0px !important;
}

/* =========================================================
   HERO
   ========================================================= */

.guides-hero {
  position: relative;
  overflow: hidden;

  padding: 90px 0 100px;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(217, 45, 32, 0.07),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(217, 45, 32, 0.04),
      transparent 30%
    ),
    var(--background);
}

.guides-hero-glow {
  position: absolute;

  width: 500px;
  height: 500px;

  left: -200px;
  top: -220px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(217, 45, 32, 0.09), transparent 70%);

  pointer-events: none;
}

.guides-hero-grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(400px, 0.8fr);

  align-items: center;

  gap: 80px;
}

/* =========================================================
   HERO CONTENT
   ========================================================= */

.guides-hero-content {
  max-width: 650px;

  animation: guidesHeroContent 0.8s ease both;
}

@keyframes guidesHeroContent {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guides-hero-badge {
  display: inline-flex;

  align-items: center;
  gap: 9px;

  padding: 7px 13px;

  color: var(--primary);

  background: var(--primary-light);

  border: 1px solid rgba(217, 45, 32, 0.08);

  border-radius: var(--radius-full);

  font-size: 0.8rem;
  font-weight: 700;
}

.guides-hero-badge-icon {
  width: 26px;
  height: 26px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--primary);

  background: #fff;

  border-radius: 8px;
}

.guides-hero-badge-icon svg {
  width: 15px;
  height: 15px;
}

.guides-hero-title {
  margin-top: 25px;

  color: var(--dark);

  font-size: clamp(2.5rem, 5vw, 4.3rem);

  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -1.5px;
}

.guides-hero-title span {
  display: block;

  color: var(--primary);
}

.guides-hero-description {
  max-width: 590px;

  margin-top: 22px;

  color: var(--text-light);

  font-size: 1rem;

  line-height: 2.1;
}

/* =========================================================
   SEARCH
   ========================================================= */

.guides-search {
  position: relative;

  display: flex;

  align-items: center;

  max-width: 600px;

  height: 62px;

  margin-top: 30px;

  padding: 0 18px;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 16px;

  box-shadow: 0 10px 35px rgba(16, 24, 40, 0.06);

  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.guides-search:focus-within {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));

  box-shadow: 0 12px 40px rgba(217, 45, 32, 0.09);
}

.guides-search-icon {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 11px;
}

.guides-search-icon svg {
  width: 19px;
  height: 19px;
}

.guides-search input {
  width: 100%;
  height: 100%;

  padding: 0 14px;

  color: var(--dark);

  background: transparent;

  border: 0;
  outline: 0;

  font-family: inherit;

  font-size: 0.9rem;
}

.guides-search input::placeholder {
  color: var(--text-muted);
}

.guides-search-clear {
  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--text-muted);

  background: transparent;

  border-radius: 9px;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast);
}

.guides-search-clear.visible {
  opacity: 1;

  pointer-events: auto;
}

.guides-search-clear:hover {
  color: var(--primary);

  background: var(--primary-light);
}

.guides-search-clear svg {
  width: 17px;
  height: 17px;
}

/* =========================================================
   QUICK SEARCH LINKS
   ========================================================= */

.guides-hero-links {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 15px;

  color: var(--text-muted);

  font-size: 0.72rem;
}

.guides-hero-links button {
  padding: 5px 10px;

  color: var(--text-light);

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius-full);

  font-family: inherit;

  font-size: 0.7rem;

  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.guides-hero-links button:hover {
  color: var(--primary);

  background: var(--primary-light);

  border-color: rgba(217, 45, 32, 0.12);
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.guides-hero-visual {
  position: relative;

  min-height: 520px;

  display: flex;

  align-items: center;
  justify-content: center;
}

.guides-hero-circle {
  position: absolute;

  border: 1px dashed rgba(217, 45, 32, 0.13);

  border-radius: 50%;
}

.circle-one {
  width: 400px;
  height: 400px;
}

.circle-two {
  width: 550px;
  height: 550px;
}

/* =========================================================
   MAIN HERO CARD
   ========================================================= */

.guides-hero-main-card {
  position: relative;
  z-index: 3;

  width: min(390px, 85%);

  padding: 27px;

  background: rgba(255, 255, 255, 0.95);

  border: 1px solid rgba(255, 255, 255, 0.8);

  border-radius: 24px;

  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.12);

  backdrop-filter: blur(15px);

  animation: guidesCardFloat 5s ease-in-out infinite;
}

@keyframes guidesCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

.guides-card-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;
}

.guides-card-header div {
  display: flex;

  flex-direction: column;
}

.guides-card-header span {
  color: var(--text-muted);

  font-size: 0.7rem;
}

.guides-card-header strong {
  margin-top: 3px;

  color: var(--dark);

  font-size: 0.95rem;
}

.guides-live-status {
  display: inline-flex !important;

  flex-direction: row !important;

  align-items: center;

  gap: 6px;

  padding: 5px 9px;

  color: var(--success) !important;

  background: var(--success-light);

  border-radius: var(--radius-full);

  font-size: 0.68rem !important;

  font-weight: 700;
}

.guides-live-status span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--success);
}

/* =========================================================
   HERO CARD MAIN
   ========================================================= */

.guides-card-main {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 28px;

  padding-bottom: 23px;

  border-bottom: 1px solid var(--border);
}

.guides-card-icon {
  width: 55px;
  height: 55px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 16px;
}

.guides-card-icon svg {
  width: 26px;
  height: 26px;
}

.guides-card-main div {
  display: flex;

  flex-direction: column;
}

.guides-card-main strong {
  color: var(--dark);

  font-size: 0.95rem;
}

.guides-card-main span {
  margin-top: 3px;

  color: var(--text-muted);

  font-size: 0.7rem;
}

/* =========================================================
   PROGRESS
   ========================================================= */

.guides-mini-progress {
  margin-top: 22px;
}

.guides-mini-progress > div:first-child {
  display: flex;

  justify-content: space-between;

  color: var(--text-muted);

  font-size: 0.7rem;
}

.guides-mini-progress strong {
  color: var(--dark);
}

.guides-progress-bar {
  height: 7px;

  margin-top: 9px;

  overflow: hidden;

  background: var(--surface-secondary);

  border-radius: var(--radius-full);
}

.guides-progress-bar span {
  display: block;

  width: 100%;
  height: 100%;

  background: var(--primary);

  border-radius: inherit;

  animation: guidesProgress 1.2s ease both;
}

@keyframes guidesProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* =========================================================
   CARD BOTTOM
   ========================================================= */

.guides-card-bottom {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-top: 20px;

  color: var(--text-light);

  font-size: 0.68rem;
}

.guides-card-bottom div {
  display: flex;

  align-items: center;

  gap: 6px;
}

.guides-card-bottom svg {
  width: 15px;
  height: 15px;

  color: var(--success);
}

/* =========================================================
   FLOATING CARD
   ========================================================= */

.guides-floating-card {
  position: absolute;

  z-index: 5;

  left: 0;

  bottom: 50px;

  display: flex;

  align-items: center;

  gap: 11px;

  min-width: 235px;

  padding: 13px;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid var(--border);

  border-radius: 14px;

  box-shadow: var(--shadow-lg);

  animation: guidesFloating 4s ease-in-out infinite;
}

@keyframes guidesFloating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.guides-floating-icon {
  width: 40px;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 11px;
}

.guides-floating-icon svg {
  width: 20px;
  height: 20px;
}

.guides-floating-card div {
  display: flex;

  flex-direction: column;
}

.guides-floating-card strong {
  color: var(--dark);

  font-size: 0.75rem;
}

.guides-floating-card div span {
  margin-top: 2px;

  color: var(--text-muted);

  font-size: 0.65rem;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.guides-categories {
  padding: 110px 0;

  background: var(--surface);
}

.guides-category-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.guide-category-card {
  --accent: var(--primary);

  position: relative;

  min-height: 330px;

  display: flex;

  flex-direction: column;

  padding: 24px;

  overflow: hidden;

  background: var(--background);

  border: 1px solid var(--border);

  border-radius: var(--radius-xl);

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.guide-category-card::before {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  left: -70px;
  bottom: -90px;

  border-radius: 50%;

  background: var(--accent);

  opacity: 0.05;

  transition:
    transform var(--transition-slow),
    opacity var(--transition-normal);
}

.guide-category-card:hover {
  transform: translateY(-8px);

  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));

  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.09);
}

.guide-category-card:hover::before {
  transform: scale(1.5);

  opacity: 0.09;
}

/* =========================================================
   CARD TOP
   ========================================================= */

.guide-category-top {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;
}

.guide-category-icon {
  width: 54px;
  height: 54px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--accent);

  background: color-mix(in srgb, var(--accent) 10%, transparent);

  border-radius: 15px;
}

.guide-category-icon svg {
  width: 25px;
  height: 25px;
}

.guide-category-number {
  color: var(--text-muted);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 1px;
}

/* =========================================================
   CARD CONTENT
   ========================================================= */

.guide-category-content {
  position: relative;
  z-index: 2;

  margin-top: auto;
}

.guide-category-content > span {
  color: var(--text-muted);

  font-size: 0.68rem;

  font-weight: 600;
}

.guide-category-content h3 {
  margin-top: 6px;

  color: var(--dark);

  font-size: 1.4rem;

  font-weight: 800;
}

.guide-category-content p {
  max-width: 320px;

  margin-top: 7px;

  color: var(--text-light);

  font-size: 0.78rem;

  line-height: 1.9;
}

/* =========================================================
   CARD FOOTER
   ========================================================= */

.guide-category-footer {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-top: 22px;

  color: var(--accent);

  font-size: 0.75rem;

  font-weight: 700;
}

.guide-category-footer svg {
  width: 16px;
  height: 16px;

  transition: transform var(--transition-normal);
}

.guide-category-card:hover .guide-category-footer svg {
  transform: translateX(-5px);
}

/* =========================================================
   CATEGORY COLORS
   ========================================================= */

.guide-category-card.earthquake {
  --accent: #d92d20;
}

.guide-category-card.fire {
  --accent: #f04438;
}

.guide-category-card.flood {
  --accent: #1570ef;
}

.guide-category-card.gas {
  --accent: #7a5af8;
}

.guide-category-card.electric {
  --accent: #f79009;
}

.guide-category-card.accident {
  --accent: #475467;
}

/* =========================================================
   EMPTY SEARCH STATE
   ========================================================= */

.guides-empty-state {
  display: none;

  padding: 70px 20px;

  text-align: center;
}

.guides-empty-state.visible {
  display: block;
}

.guides-empty-icon {
  width: 70px;
  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin: 0 auto;

  color: var(--text-muted);

  background: var(--surface-secondary);

  border-radius: 20px;
}

.guides-empty-icon svg {
  width: 30px;
  height: 30px;
}

.guides-empty-state h3 {
  margin-top: 18px;

  color: var(--dark);

  font-size: 1.15rem;
}

.guides-empty-state p {
  margin-top: 5px;

  color: var(--text-muted);

  font-size: 0.8rem;
}

.guides-empty-state .btn {
  margin-top: 20px;
}

/* =========================================================
   PROCESS SECTION
   ========================================================= */

.guide-process-section {
  position: relative;

  padding: 110px 0;

  overflow: hidden;

  background: var(--background);
}

.guide-process-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.guide-process-card {
  position: relative;

  padding: 28px;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius-xl);

  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.guide-process-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-lg);
}

.guide-process-card.active {
  border-color: rgba(217, 45, 32, 0.18);

  box-shadow: 0 15px 40px rgba(217, 45, 32, 0.06);
}

.process-card-number {
  position: absolute;

  top: 24px;
  left: 24px;

  color: var(--text-muted);

  font-size: 0.7rem;

  font-weight: 800;
}

.process-card-icon {
  width: 55px;
  height: 55px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 15px;
}

.process-card-icon svg {
  width: 25px;
  height: 25px;
}

.process-card-label {
  display: block;

  margin-top: 25px;

  color: var(--text-muted);

  font-size: 0.68rem;

  font-weight: 600;
}

.guide-process-card h3 {
  margin-top: 5px;

  color: var(--dark);

  font-size: 1.35rem;

  font-weight: 800;
}

.guide-process-card p {
  margin-top: 9px;

  color: var(--text-light);

  font-size: 0.78rem;

  line-height: 2;
}

.process-card-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-top: 20px;

  color: var(--primary);

  font-size: 0.74rem;

  font-weight: 700;
}

.process-card-link svg {
  width: 15px;
  height: 15px;

  transition: transform var(--transition-normal);
}

.process-card-link:hover svg {
  transform: translateX(-5px);
}

/* =========================================================
   FEATURED
   ========================================================= */

.featured-guides-section {
  padding: 110px 0;

  background: var(--surface);
}

.featured-guides-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 30px;

  margin-bottom: 40px;
}

.featured-all-btn {
  flex-shrink: 0;
}

.featured-guides-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.featured-guide-card {
  overflow: hidden;

  background: var(--background);

  border: 1px solid var(--border);

  border-radius: var(--radius-xl);

  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.featured-guide-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.09);
}

.featured-guide-visual {
  position: relative;

  height: 180px;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.featured-guide-visual::before,
.featured-guide-visual::after {
  content: "";

  position: absolute;

  border-radius: 50%;

  border: 1px dashed rgba(255, 255, 255, 0.35);
}

.featured-guide-visual::before {
  width: 170px;
  height: 170px;
}

.featured-guide-visual::after {
  width: 250px;
  height: 250px;
}

.featured-guide-visual.earthquake {
  background: linear-gradient(135deg, #b42318, #d92d20);
}

.featured-guide-visual.fire {
  background: linear-gradient(135deg, #d92d20, #f04438);
}

.featured-guide-visual.gas {
  background: linear-gradient(135deg, #6941c6, #7a5af8);
}

.featured-guide-icon {
  position: relative;
  z-index: 2;

  width: 72px;
  height: 72px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #fff;

  background: rgba(255, 255, 255, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 22px;

  backdrop-filter: blur(10px);
}

.featured-guide-icon svg {
  width: 34px;
  height: 34px;
}

.featured-guide-tag {
  position: absolute;

  top: 16px;
  right: 16px;

  z-index: 3;

  padding: 5px 9px;

  color: #fff;

  background: rgba(0, 0, 0, 0.14);

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: var(--radius-full);

  font-size: 0.65rem;

  font-weight: 700;
}

.featured-guide-body {
  padding: 23px;
}

.featured-guide-body > span {
  color: var(--text-muted);

  font-size: 0.68rem;
}

.featured-guide-body h3 {
  margin-top: 7px;

  color: var(--dark);

  font-size: 1.05rem;

  font-weight: 800;

  line-height: 1.7;
}

.featured-guide-body p {
  margin-top: 7px;

  color: var(--text-light);

  font-size: 0.75rem;

  line-height: 1.9;
}

.featured-guide-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 20px;

  padding-top: 16px;

  border-top: 1px solid var(--border);

  color: var(--text-muted);

  font-size: 0.68rem;
}

.featured-guide-footer span {
  display: flex;

  align-items: center;

  gap: 5px;
}

.featured-guide-footer svg {
  width: 15px;
  height: 15px;
}

.featured-arrow {
  color: var(--primary);

  transition: transform var(--transition-normal);
}

.featured-guide-card:hover .featured-arrow {
  transform: translateX(-5px);
}

/* =========================================================
   EMERGENCY CTA
   ========================================================= */

.guides-emergency-section {
  padding: 0 0 110px;

  background: var(--surface);
}

.guides-emergency-panel {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    260px;

  align-items: center;

  gap: 40px;

  min-height: 300px;

  padding: 50px;

  overflow: hidden;

  background: linear-gradient(135deg, #101828, #1d2939);

  border-radius: 28px;

  box-shadow: 0 25px 70px rgba(16, 24, 40, 0.18);
}

.guides-emergency-panel::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  left: -120px;
  bottom: -190px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guides-emergency-content {
  position: relative;
  z-index: 2;
}

.guides-emergency-badge {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 6px 11px;

  color: #fda29b;

  background: rgba(217, 45, 32, 0.13);

  border-radius: var(--radius-full);

  font-size: 0.7rem;

  font-weight: 700;
}

.guides-emergency-badge svg {
  width: 15px;
  height: 15px;
}

.guides-emergency-content h2 {
  margin-top: 18px;

  color: #fff;

  font-size: clamp(1.7rem, 4vw, 2.5rem);

  font-weight: 800;
}

.guides-emergency-content p {
  max-width: 600px;

  margin-top: 10px;

  color: #98a2b3;

  font-size: 0.82rem;

  line-height: 2;
}

.guides-emergency-btn {
  margin-top: 25px;
}

.guides-emergency-visual {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;
}

.emergency-radar {
  position: relative;

  width: 190px;
  height: 190px;

  display: flex;

  align-items: center;
  justify-content: center;
}

.emergency-radar span {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  animation: radarPulse 3s ease-out infinite;
}

.emergency-radar span:nth-child(1) {
  width: 70px;
  height: 70px;
}

.emergency-radar span:nth-child(2) {
  width: 120px;
  height: 120px;

  animation-delay: 0.5s;
}

.emergency-radar span:nth-child(3) {
  width: 180px;
  height: 180px;

  animation-delay: 1s;
}

.emergency-radar i {
  position: relative;
  z-index: 3;

  width: 65px;
  height: 65px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #fff;

  background: var(--primary);

  border-radius: 20px;

  box-shadow: 0 12px 30px rgba(217, 45, 32, 0.35);
}

@keyframes radarPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.85);
  }

  70% {
    opacity: 0.15;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal-item {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;

  transform: translateY(0);
}

.guide-category-card:nth-child(2),
.guide-process-card:nth-child(2),
.featured-guide-card:nth-child(2) {
  transition-delay: 80ms;
}

.guide-category-card:nth-child(3),
.guide-process-card:nth-child(3),
.featured-guide-card:nth-child(3) {
  transition-delay: 160ms;
}

.guide-category-card:nth-child(4) {
  transition-delay: 80ms;
}

.guide-category-card:nth-child(5) {
  transition-delay: 160ms;
}

.guide-category-card:nth-child(6) {
  transition-delay: 240ms;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .guides-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(330px, 0.8fr);

    gap: 45px;
  }

  .guides-hero-title {
    font-size: 3.3rem;
  }

  .guides-hero-visual {
    min-height: 450px;
  }

  .circle-one {
    width: 340px;
    height: 340px;
  }

  .circle-two {
    width: 460px;
    height: 460px;
  }

  .guides-category-grid,
  .featured-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .guides-container {
    margin: 0px 0px 0px 0px !important;
  }
  
  .guides-hero {
    padding: 65px 0 75px;
  }

  .guides-hero-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .guides-hero-content {
    max-width: 100%;
  }

  .guides-hero-title {
    font-size: clamp(2.25rem, 9vw, 3.3rem);
  }

  .guides-hero-description {
    max-width: 100%;
  }

  .guides-hero-visual {
    min-height: 420px;
  }

  .guides-floating-card {
    left: 4%;
    bottom: 20px;
  }

  .guide-process-grid {
    grid-template-columns: 1fr;
  }

  .guide-process-card {
    min-height: auto;
  }

  .featured-guides-heading {
    align-items: flex-start;

    flex-direction: column;
  }

  .guides-emergency-panel {
    grid-template-columns: 1fr;

    padding: 38px 30px;
  }

  .guides-emergency-visual {
    display: none;
  }
}

@media (max-width: 600px) {
  .guides-hero {
    padding: 45px 0 60px;
  }

  .guides-hero-title {
    margin-top: 18px;

    font-size: 2.2rem;

    letter-spacing: -0.8px;
  }

  .guides-hero-description {
    margin-top: 17px;

    font-size: 0.85rem;
  }

  .guides-search {
    height: 56px;

    margin-top: 23px;

    padding-inline: 12px;
  }

  .guides-search-icon {
    width: 36px;
    height: 36px;
  }

  .guides-search input {
    font-size: 0.78rem;
  }

  .guides-hero-links {
    gap: 6px;
  }

  .guides-hero-visual {
    min-height: 370px;
  }

  .guides-hero-main-card {
    width: 90%;

    padding: 21px;

    border-radius: 20px;
  }

  .circle-one {
    width: 280px;
    height: 280px;
  }

  .circle-two {
    width: 360px;
    height: 360px;
  }

  .guides-floating-card {
    left: 2%;

    min-width: 205px;

    padding: 10px;
  }

  .guides-floating-icon {
    width: 35px;
    height: 35px;
  }

  .guides-categories,
  .guide-process-section,
  .featured-guides-section {
    padding: 75px 0;
  }

  .guides-category-grid,
  .featured-guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-category-card {
    min-height: 290px;
  }

  .featured-guide-visual {
    height: 165px;
  }

  .guides-emergency-section {
    padding-bottom: 75px;
  }

  .guides-emergency-panel {
    padding: 30px 22px;

    border-radius: 22px;
  }

  .guides-emergency-content h2 {
    font-size: 1.55rem;
  }

  .guides-emergency-content p {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guides-hero-content,
  .guides-hero-main-card,
  .guides-floating-card,
  .guides-progress-bar span,
  .emergency-radar span {
    animation: none !important;
  }

  .reveal-item {
    opacity: 1 !important;

    transform: none !important;

    transition: none !important;
  }
}
