@import url("colors.css");

@font-face {
  font-family: "AB Sans";
  src: url("../fonts/absans-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galldis";
  src: url("../fonts/Galldis.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ogelo";
  src: url("../fonts/Ogelo.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raligo";
  src: url("../fonts/Raligo.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: var(--font-primary);
  min-height: 100vh;
  background-color: #ffffff;
  margin: 0;
}

:root {
  --font-absans:
    "AB Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-galldis: "Galldis", sans-serif;
  --font-ogelo: "Ogelo", sans-serif;
  --font-raligo: "Raligo", sans-serif;

  --font-primary: var(--font-absans);
  --font-display: var(--font-raligo);

  --header-height: 4.5rem;
  --header-height-mobile: 4rem;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(200, 230, 201, 0.5);
  box-shadow: 0 4px 30px rgba(0, 77, 64, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 40px rgba(0, 77, 64, 0.08);
}

.header-content {
  max-width: 1280px;
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
  background: transparent;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.625rem 1.25rem;
  position: relative;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

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

.nav-link:hover::after {
  width: calc(100% - 2.5rem);
}

.nav-link:active {
  opacity: 0.8;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.625rem;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mobile-menu-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mobile-menu-toggle:hover {
  color: var(--primary);
}

.mobile-menu-toggle:hover::before {
  opacity: 1;
}

.mobile-menu-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover svg {
  color: var(--primary);
}

@media (max-width: 48rem) {
  .header-content {
    height: var(--header-height-mobile);
    padding: 0 1rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }

  .mobile-menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1.5rem 0;
    gap: 0;

    transform: translateY(-120%);
    visibility: hidden;
    z-index: 1100;
    transition:
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.4s;
  }

  .nav-menu.active {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-link {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    margin: 0 1rem;
    width: auto;
    display: block;
  }

  .nav-link::after {
    bottom: 0.75rem;
  }

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

  .nav-menu .btn-primary {
    margin: 1rem 1.25rem 0.5rem;
    text-align: center;
    display: block;
    padding: 1rem 2rem;
  }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 20, 25, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.4s ease;
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.btn-primary {
  padding: 0.625rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.btn-primary:hover {
  background: var(--cta-primary-hover);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.landing-content {
  min-height: 280px;
  max-height: 380px;
  height: 35vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
}

.hero {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hero p {
  color: #ffffff;
}


.search-box {
  width: 100%;
  max-width: 650px;
  background: #ffffff;
  padding: 0;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: none;
  margin-top: 0.5rem;
  overflow: visible;
}

.search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.category-dropdown,
.region-dropdown {
  position: relative;
  flex-shrink: 0;
}

.region-dropdown {
  min-width: 160px;
}

.category-dropdown:first-child .category-trigger {
  border-radius: 6px 0 0 6px;
}

.category-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: none;
  border-right: 1px solid #e5e7eb;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.category-text,
.region-text {
  flex: 1;
  text-align: left;
}

.category-text,
.region-text {
  flex: 1;
  text-align: left;
}

.category-trigger:hover {
  background: #f9fafb;
}

.category-trigger .dropdown-arrow {
  transition: transform 0.2s ease;
  color: #6b7280;
}

.category-dropdown.open .category-trigger .dropdown-arrow {
  transform: rotate(180deg);
}

.category-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
}

.category-dropdown.open .category-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.category-option:hover {
  background: #f3f4f6;
}

.category-option.active {
  background: #ecfdf5;
  color: #16a34a;
  font-weight: 500;
}

.category-option:first-child {
  border-radius: 8px 8px 0 0;
}

.category-option:last-child {
  border-radius: 0 0 8px 8px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.search-input-wrapper input {
  border: none;
  background: transparent;
  padding: 0.875rem 1rem;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 400;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
}

.search-input-wrapper input::placeholder {
  color: #9ca3af;
}

.search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  margin-right: 0.5rem;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: 6px;
}

.search-icon-btn:hover {
  color: #16a34a;
  background: #f3f4f6;
}

@media (max-width: 75rem) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .search-box {
    max-width: 650px;
  }
}

@media (max-width: 64rem) {
  .hero h1 {
    font-size: 1.375rem;
  }

  .search-box {
    max-width: 600px;
  }
}

@media (max-width: 48rem) {
  .landing-content {
    padding: 2.5rem 1rem;
    height: auto;
    min-height: 220px;
    max-height: none;
  }

  .hero-container {
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: 1.125rem;
    max-width: none;
    padding: 0 1rem;
  }

  .search-box {
    border-radius: 6px;
    max-width: 100%;
  }

  .search-form {
    flex-direction: column;
  }

  .category-dropdown {
    width: 100%;
  }

  .category-trigger {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    justify-content: space-between;
  }

  .region-dropdown {
    width: 100%;
  }

  .region-trigger {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 6px 6px 0 0;
    justify-content: space-between;
  }

  .category-dropdown+.category-dropdown .category-trigger {
    border-radius: 0;
  }

  .category-menu {
    width: 100%;
    left: 0;
    right: 0;
  }

  .search-input-wrapper {
    width: 100%;
  }

  .search-input-wrapper input {
    padding: 0.875rem 1rem;
  }

  .signin-form-section {
    padding: 2rem;
  }
}

.signin-dialog {
  border: none;
  border-radius: 0.75rem;
  padding: 0;
  background: transparent;
  max-width: 28rem;
  width: calc(100% - 2rem);
  margin: auto;
  overflow: visible;
}

.signin-dialog::backdrop {
  background: rgba(15, 20, 25, 0.5);
  backdrop-filter: blur(8px);
}

.signin-dialog[open] {
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: grid;
  place-items: center;
}

.dialog-container {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dialog-container-wide {
  max-width: 440px;
}

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

.dialog-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.dialog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.dialog-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--border-default);
}

.dialog-step.active .dialog-step-number {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.dialog-step-label {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dialog-step.active .dialog-step-label {
  color: var(--primary);
}

.dialog-step-divider {
  width: 32px;
  height: 2px;
  background: var(--border-default);
  margin-bottom: 1rem;
}

.close-dialog {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-dialog:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.signin-form-section {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.signin-form-section>* {
  width: 100%;
}

.form-header {
  margin-bottom: 2rem;
  text-align: left;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input {
  padding: 0.875rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--input-bg);
  transition: all 0.2s ease;
}

.form-group input::placeholder {
  color: var(--input-placeholder);
}

.form-group input:focus {
  outline: none;
  border-color: var(--input-border-focus);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--primary);
}

.submit-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--cta-primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.2);
}

.submit-btn:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(22, 163, 74, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px -1px rgba(22, 163, 74, 0.2);
}

.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 48rem) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .signin-form-section {
    padding: 2rem;
  }
}

@media (max-width: 30rem) {
  .header-content {
    padding: 0 1rem;
  }

  .signin-form-section {
    padding: 1.5rem;
    max-width: 100%;
  }
}

.site-footer {
  background: var(--footer-bg);
  padding: 1.5rem 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--footer-text);
  margin: 0;
}

.waitlist-section {
  padding: 5rem 2rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.waitlist-container {
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-empty-state {
  text-align: center;
  margin-bottom: 2.5rem;
}

.empty-illustration {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
}

.empty-illustration svg {
  width: 100%;
  height: 100%;
}

.empty-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--primary);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.empty-description {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.5;
}

.waitlist-form-wrapper {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.waitlist-form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.waitlist-form-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.waitlist-form-header p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

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

.form-group-full {
  grid-column: 1 / -1;
}

.waitlist-form label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.waitlist-form label .required {
  color: var(--primary);
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-default);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color 0.15s ease;
}

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

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.waitlist-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}

.waitlist-form textarea {
  resize: none;
  min-height: 70px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0 0;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label .checkbox-custom {
  display: none;
}

.checkbox-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.waitlist-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
  margin-top: 0.25rem;
}

.waitlist-submit:hover {
  background: var(--primary-hover);
}

.waitlist-submit svg {
  width: 16px;
  height: 16px;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-privacy svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

@media (max-width: 36rem) {
  .waitlist-section {
    padding: 3rem 1rem;
  }

  .empty-illustration {
    width: 140px;
    height: 140px;
  }

  .empty-title {
    font-size: 1.375rem;
  }

  .waitlist-form-wrapper {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.services-section {
  padding: 5rem 2rem;
  background: var(--bg-secondary);
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-title {
  font-family: var(--font-ogelo);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.services-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.25s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 24px -8px rgba(0, 0, 0, 0.12),
    0 4px 8px -4px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.service-card-main {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.service-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  transition: border-color 0.2s ease;
}

.service-card:hover .service-avatar {
  border-color: var(--primary);
}

.service-category-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--card-bg);
}

.service-category-dot.electrical {
  background: #f59e0b;
}

.service-category-dot.cleaning {
  background: #10b981;
}

.service-category-dot.hvac {
  background: #0ea5e9;
}

.service-category-dot.painting {
  background: #8b5cf6;
}

.service-category-dot.carpentry {
  background: #78350f;
}

.service-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.service-license {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  letter-spacing: 0.02em;
}

.service-license.licensed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.service-license.not-licensed {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.service-category-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: -0.1em;
}

.rating-score {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-action svg {
  width: 16px;
  height: 16px;
}

.btn-call {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(var(--primary-rgb), 0.2);
}

.btn-call:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-profile {
  background: white;
  border-color: var(--border-default);
  color: var(--text-secondary);
}

.btn-profile:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-secondary);
}

.services-load-more {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-default);
  border-radius: 0.625rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-load-more:hover {
  background: var(--bg-primary);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-load-more svg {
  transition: transform 0.2s ease;
}

.btn-load-more:hover svg {
  transform: translateY(2px);
}

@media (max-width: 64rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-title {
    font-size: 2rem;
  }
}

@media (max-width: 48rem) {
  .services-section {
    padding: 3rem 1rem;
  }

  .services-header {
    margin-bottom: 2rem;
  }

  .services-title {
    font-size: 1.75rem;
  }

  .services-subtitle {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    border-radius: 0.75rem;
  }

  .service-card-collapsed {
    padding: 1.25rem;
  }

  .service-avatar {
    width: 56px;
    height: 56px;
  }

  .service-name {
    font-size: 0.9375rem;
  }

  .service-expand-btn {
    width: 32px;
    height: 32px;
  }

  .service-badges-full {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .service-badges-full::-webkit-scrollbar {
    display: none;
  }

  .service-badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-testimonial {
    margin: 0 1.25rem 1rem;
    padding: 1rem !important;
  }

  .service-testimonial p {
    font-size: 0.875rem;
  }
}

.service-expand-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-service-primary:focus-visible,
.btn-service-secondary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.service-license {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  letter-spacing: 0.02em;
}

.service-license.licensed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.service-license.not-licensed {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.service-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(22, 163, 74, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  letter-spacing: 0.02em;
}

.service-verified svg {
  width: 10px;
  height: 10px;
}

.language-switcher-fixed {
  position: fixed;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  z-index: 2200;
  width: fit-content;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color 0.2s;
}

.language-button:hover {
  border-color: var(--border-default);
}

.language-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.language-button .fi {
  width: 1.125rem;
  height: 0.8125rem;
  border-radius: 0.125rem;
  overflow: hidden;
  flex-shrink: 0;
}

.language-label {
  line-height: 1;
}

.language-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.language-button[aria-expanded="true"] .language-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  min-width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

.language-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
  text-align: left;
}

.language-option:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.language-option:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.language-option:hover {
  background: var(--bg-secondary, #f9fafb);
}

.language-option.active {
  background: var(--bg-secondary, #f9fafb);
}

.language-option .fi {
  width: 1.125rem;
  height: 0.8125rem;
  border-radius: 0.125rem;
  overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 48rem) {
  .language-switcher-fixed {
    right: 0.375rem;
  }

  .language-button {
    padding: 0.1875rem 0.375rem;
    font-size: 0.6875rem;
  }

  .language-button .fi,
  .language-option .fi {
    width: 1rem;
    height: 0.75rem;
  }

  .language-option {
    padding: 0.4375rem 0.625rem;
    font-size: 0.6875rem;
  }
}

/* Mobile Header & Back Button Styles */
.mobile-back-button {
  display: none;
}

@media (max-width: 768px) {

  .desktop-logo {
    display: none !important;
  }

  .mobile-hide {
    display: none !important;
  }

  .mobile-back-button {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
  }

  .mobile-back-button svg {
    color: var(--primary);
    stroke-width: 3;
  }

  .mobile-back-button .back-text {
    color: var(--text-primary);
  }
}