/* ================================
   SOS.gr – Blue & White theme
   ================================ */

:root {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-subtle: #dbeafe;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-soft: 0 10px 28px rgba(37, 99, 235, 0.15);
  --max-width: 1120px;
  --transition-fast: 0.18s ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Sections */

.section {
  padding: 3rem 1.25rem;
}

.section-alt {
  padding: 3rem 1.25rem;
  background: var(--bg-card-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  margin-top: 0;
  font-size: 1.7rem;
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.logo img {
  height: 26px;
  width: auto;
}

.nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav a:hover,
.nav a.active-link {
  color: var(--accent);
}

.mobile-menu-toggle {
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  border: none;
  padding: 0.35rem 0.7rem;
  font-size: 1rem;
}

/* Mobile nav */

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 1.1rem;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

/* Class used when mobile menu is open */
.nav-mobile-open {
  display: flex;
}

/* Hero (old generic layout – kept for other pages if needed) */

.hero {
  padding: 2.5rem 1.25rem 3rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2rem;
  margin-top: 0;
}

.accent {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Buttons */

.btn {
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
}

.full-width {
  width: 100%;
}

/* Hero actions */

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.tiny-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Cards & common boxes */

.hero-card,
.step-card,
.category-card,
.suggestion-card,
.pricing-card,
.professionals-teaser,
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

/* On mobile give side margins to cards */
@media (max-width: 767px) {
  .hero-card,
  .step-card,
  .category-card,
  .suggestion-card,
  .pricing-card,
  .professionals-teaser,
  .modal {
    margin: 0 1rem;
  }
}

/* Hero card */

.hero-card {
  padding: 1.4rem 1.3rem;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

/* Forms */

.form-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Location button */

.location-btn {
  margin-top: 0.4rem;
  border-radius: 999px;
  border: 1px dashed var(--border-subtle);
  background: #ffffff;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Steps */

.steps-grid {
  display: grid;
  gap: 1rem;
}

.step-card {
  padding: 1.1rem 1rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Categories (generic layout, still available) */

.categories-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.category-card {
  padding: 1rem 1rem;
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.category-icon {
  font-size: 1.4rem;
}

.category-title {
  font-weight: 600;
}

.category-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Professionals teaser */

.professionals-teaser {
  padding: 1.6rem 1.4rem;
}

/* Bullet list */

.bullet-list {
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  padding: 1.3rem 1.1rem 1.2rem;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.3);
}

.badge {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
}

.price {
  font-size: 1.3rem;
  margin: 0.4rem 0;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.pricing-list {
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-list li {
  margin-bottom: 0.4rem;
}

/* Footer */

.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  max-width: 480px;
  width: 100%;
  padding: 1.5rem 1.3rem;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.summary-box {
  border-radius: 0.9rem;
  border: 1px dashed var(--border-subtle);
  padding: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wizard-controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Responsive */

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-text {
    flex: 1.1;
  }

  .hero-card {
    flex: 1;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: row;
  }

  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ======================================
   NEW: HERO LAYOUT FOR SOS.GR HOMEPAGE
   ====================================== */

/* Hero bac*
