
:root {
  --color-primary: #0057b8;
  --color-primary-dark: #003e82;
  --color-accent: #f58220;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-text: #333333;
  --radius-md: 8px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-accent);
}

.logo-text {
  font-size: 1.1rem;
  color: var(--color-text);
}

.logo-text .logo-exp,
.logo-text .logo-ro {
  color: var(--color-text);
}

.logo-text .logo-tool {
  color: var(--color-primary);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.4rem 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width 0.2s ease;
}
.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-secondary:hover {
  background: #eef4ff;
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #666;
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.search-bar input,
.search-bar select {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  min-width: 0;
  flex: 1 1 180px;
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
  max-width: 360px;
  border: 1px solid #edf0f6;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}
.pill-success {
  background: #e7f8ed;
  color: #267c3d;
}

.rating {
  font-size: 0.9rem;
  font-weight: 600;
}
.rating span {
  font-weight: 400;
  color: #666;
  margin-left: 0.25rem;
}

.section {
  padding: 2.5rem 0;
}
.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #edf0f6;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  border-color: var(--color-primary);
}
.category-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  border: 1px solid #edf0f6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card-grid-vertical {
  grid-template-columns: minmax(0, 1fr);
}

.pro-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  border: 1px solid #edf0f6;
  box-shadow: var(--shadow-soft);
}
.pro-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.price {
  font-weight: 700;
  color: var(--color-primary);
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid #edf0f6;
  box-shadow: var(--shadow-soft);
}

.cta-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.page-main {
  min-height: 60vh;
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(135deg, #f4f7ff, #fef8f2);
  border-bottom: 1px solid #e5e5e5;
}
.page-hero h1 {
  margin-bottom: 0.4rem;
}
.page-subtitle {
  max-width: 40rem;
  color: #555;
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.check-list {
  padding-left: 1.2rem;
}
.check-list li {
  margin-bottom: 0.4rem;
}

.numbered-list {
  padding-left: 1.2rem;
}
.numbered-list li {
  margin-bottom: 0.4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid #edf0f6;
}

.pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.pricing-card .price {
  font-size: 1.15rem;
  margin: 0.3rem 0 0.5rem;
}

.pricing-card ul {
  padding-left: 1.2rem;
}

.form-placeholder {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px dashed #cfd4e0;
}
.form-placeholder label {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.6rem;
  margin-bottom: 0.2rem;
  color: #555;
}
.form-placeholder input {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d0d7e2;
}
.small-note {
  font-size: 0.8rem;
  color: #777;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 2rem;
}

.search-filters {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid #edf0f6;
}
.search-filters h2 {
  margin-top: 0;
}

.search-filters label {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.7rem;
  margin-bottom: 0.15rem;
}
.search-filters input,
.search-filters select {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d0d7e2;
  font-size: 0.9rem;
}

.search-results h2 {
  margin-top: 0;
}

.forum-placeholder {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  border: 1px solid #edf0f6;
}

.legal-page .legal-content {
  max-width: 48rem;
}

.legal-content h2 {
  margin-top: 1.2rem;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  margin: 0 0 0.5rem;
}

.site-footer a {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.15rem;
}

.footer-text {
  margin-top: 0;
  max-width: 22rem;
  color: #666;
}

.footer-bottom {
  margin-top: 1rem;
  border-top: 1px solid #e5e5e5;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  color: #777;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .two-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Layout magazin cu sidebar */
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
  gap: 2rem;
}

.shop-sidebar {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1px solid #edf0f6;
}

.shop-sidebar h2 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.shop-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-categories li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.shop-categories li:hover {
  color: var(--color-primary);
}

.shop-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* ---- Mobile navigation ---- */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 91;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mobile-nav-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.mobile-nav-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* State when menu is open */
body.mobile-nav-open .mobile-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-panel {
  transform: translateX(0);
}





/* ---- Mobile bottom navigation (Variant B – Stil 1) ---- */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 95;
    font-size: 0.82rem;
  }

  .mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 4px;
    position: relative;
  }

  .mobile-bottom-nav a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #e0e0e0;
  }

  .mobile-bottom-nav a span {
    font-size: 1rem;
  }

  .mobile-bottom-nav a.active {
    color: var(--color-primary);
    font-weight: 600;
  }

  body {
    padding-bottom: 56px;
  }
}


  .mobile-bottom-nav a span {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
  }

  body {
    padding-bottom: 56px;
  }
}

/* Disable mobile slide-in menu (hamburger removed) */
.nav-toggle,
.mobile-nav-overlay,
.mobile-nav-panel {
  display: none !important;
}


/* ---- Meserii cards: compact on mobile ---- */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 12px;
    border-radius: 12px;
  }

  .category-icon {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .category-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .category-card p {
    font-size: 0.85rem;
    line-height: 1.25rem;
  }
}

@media (max-width: 420px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-card {
    padding: 10px;
  }
  .category-card p {
    display: none;
  }
}


/* ---- County combobox (custom searchable dropdown) ---- */
.county-combo{position:relative;display:flex;align-items:center;gap:8px;width:100%;}
.county-combo .county-combo-input{flex:1;}
.county-combo .county-combo-arrow{
  width:44px;height:44px;border:1px solid #dfe6ee;border-radius:999px;
  background:#fff;cursor:pointer;font-size:18px;line-height:1;
}
.county-combo-dropdown{
  position:absolute;left:0;top:calc(100% + 8px);width:100%;
  background:#fff;border:1px solid #dfe6ee;border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  max-height:280px;overflow:auto;z-index:9999;
  padding:6px;display:none;
}
.county-combo-dropdown.open{display:block;}
.county-combo-option{
  padding:10px 12px;border-radius:10px;cursor:pointer;
  font-size:14px;
}
.county-combo-option:hover,
.county-combo-option.active{background:#f2f6ff;}
.county-combo-empty{padding:10px 12px;color:#667085;font-size:14px;}
@media (max-width: 768px){
  .county-combo .county-combo-arrow{height:42px;width:42px;}
  .county-combo-dropdown{max-height:240px;}
}


/* Utility: hide but keep for JS/form */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
