/* =====================================================
   GLOBAL BUSINESS CARD – HOME PAGE STYLES
   ===================================================== */

body {
  background: #fbfbfa;
  
}
.hr {
    margin-top: 5px;
    margin-bottom: 15px;
    
}

/* RESET MIC (safe) */
.hero, .section, .cta {
  box-sizing: border-box;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-primary:hover {
  background: #000;
}

.btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #f1f3f5;
}

.btn-light {
  background: #fff;
  color: #111;
}

.btn-light:hover {
  background: #f1f3f5;
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-buttons a {
  margin-right: 14px;
}

/* HERO CARD */
.hero-card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.hero-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

.hero-tags span {
  display: inline-block;
  background: #f1f3f5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
}



/* =====================================================
   FEATURES SECTION
   ===================================================== */

.section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

.section-inner h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #fff;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.feature-box h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}


/* ===============================
   DIRECTORY PAGE
   =============================== */

/* HEADER */

.directory-page {
  max-width: 1200px;
  margin: 80px auto;
  
}


.directory-header {
  max-width: 1200px;
  margin: 0 auto 40px;
}
.directory-header {
  text-align: center;
  margin-bottom: 60px;
}

.directory-header h1 {
  font-size: 32px;
  color: #111;
}

.directory-header p {
  font-size: 16px;
  color: #555;
}

/* FEATURED SECTION */
.featured-section {
  max-width: 1200px;
  margin: 0 auto 50px;
}

.featured-title {
  font-size: 22px;
  margin-bottom: 16px;
  color: #111;
}

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

/* FEATURED CARD */
.featured-card {
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.featured-card .card-image {
  height: 120px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card .card-image {
  height: 140px;
  overflow: hidden;
}

.featured-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.featured-card .card-content {
  padding: 22px;
}

.featured-badge {
  display: inline-block;
  background: gold;
  color: #111;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.featured-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.featured-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 14px;
}

.featured-card .card-link {
  background: #fff;
  color: #111;
}

/* NORMAL GRID */
.directory-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* NORMAL CARD */
.business-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.business-card .card-image {
  height: 160px;
  overflow: hidden;
}

.business-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.business-card img {
  max-width: 100%;
  max-height: 100%;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111;
}

.card-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.card-tag {
  font-size: 12px;
  background: #f1f3f5;
  padding: 5px 10px;
  border-radius: 20px;
}

.card-link {
  display: block;
  text-align: center;
  background: #111;
  color: #fff;
  padding: 11px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

/* PAGINATION */
.pagination {
  max-width: 1200px;
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination button {
  border: none;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.pagination button.active {
  background: #111;
  color: #fff;
}

/* ===============================
   FIX CARD ALIGNMENT (IMPORTANT)
   =============================== */

/* cardul devine flex vertical */
.business-card,
.featured-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* conținutul ocupă tot spațiul */
.business-card .card-content,
.featured-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* împinge butonul jos */
.business-card .card-link,
.featured-card .card-link {
  margin-top: auto;
}


/* =====================================================
   CTA
   ===================================================== */

.cta {
  background: #111;
  color: #fff;
  margin-top: 120px;
  margin-left: 0px;
  margin-right: 0px;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px;
  text-align: center;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.cta p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 26px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons a {
    display: block;
    margin: 10px auto;
  }

  .hero-card {
    margin-top: 40px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .section-inner h2 {
    font-size: 26px;
  }

  .cta h2 {
    font-size: 28px;
  }
}



/* ===============================
   SINGLE BUSINESS CARD
   =============================== */

.single-card-page {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.single-card {
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.single-card-header h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

.card-description {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
}

.card-actions a {
  margin-right: 14px;
}


/* ===============================
   ACCOUNT PAGE
   =============================== */

.account-page {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.account-header h1 {
  font-size: 34px;
  margin-bottom: 6px;
}

.account-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.account-card {
  background: #fff;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.account-card h3 {
  margin-bottom: 8px;
}

.account-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 18px;
}

.account-card-actions a {
  margin-right: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}


/* LAYOUT */
.account-container {
  max-width: 1200px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

/* SIDEBAR */
.account-sidebar {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.account-sidebar h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.account-menu a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 6px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  font-size: 14px;
}

.account-menu a.active,
.account-menu a:hover {
  background: #111;
  color: #fff;
}

/* MAIN */
.account-main {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.account-main h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.account-main p {
  color: #666;
  margin-bottom: 24px;
}

/* STATUS */
.status-box {
  background: #f1f3f5;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.status-badge {
  background: gold;
  color: #111;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

label {
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
}

input, textarea, select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.form-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-secondary {
  background: #eee;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .account-container {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   ACCOUNT – MOBILE FIX
   =============================== */

@media (max-width: 786px) {

  /* container */
  .account-container {
    margin: 30px auto;
    padding: 0 14px;
    grid-template-columns: 1fr;
  }

  /* sidebar */
  .account-sidebar {
    padding: 16px;
  }

  .account-menu a {
    font-size: 15px;
    padding: 14px;
  }

  /* main */
  .account-main {
    padding: 20px;
  }

  .account-main h1 {
    font-size: 22px;
  }

  /* STATUS – stack vertical */
  .status-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .status-badge {
    align-self: flex-start;
  }

  /* FORM – o singură coloană */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  input,
  textarea,
  select {
    font-size: 16px; /* iOS zoom fix */
  }

  /* ACTIONS – stack */
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }

}


/* ===============================
   SUBMIT PAGE LAYOUT
   =============================== */

.submit-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.submit-main {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* titlu */
.submit-main h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.submit-main p {
  color: #666;
  margin-bottom: 24px;
}
/* ===============================
   CARD PREVIEW (DASHBOARD)
   =============================== */

.card-preview-wrapper {
  margin-top: 40px;
}

.business-card-preview {
  max-width: 700px;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.business-card-preview h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.card-preview-description {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 24px;
}

.card-preview-meta {
  margin-bottom: 24px;
}

.card-preview-meta span {
  display: inline-block;
  background: #f1f3f5;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  margin-right: 10px;
}

.card-preview-actions a {
  margin-right: 12px;
}

/* SINGLE CARD LOGO */

.single-card-logo {
  text-align: center;
  margin-bottom: 30px;
}

.single-card-logo img {
  max-width: 160px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.logo-upload {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* LOGO PREVIEW – SQUARE, NO DISTORTION */
.logo-preview {
  width: 140px;
  height: 140px;
  margin-top: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

/* IMAGINEA ÎN SINE */
.logo-preview img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;

  object-fit: contain; /* cheia */
  display: block;
}


/* ===============================
   BUSINESS PUBLIC PAGE – GRID
   =============================== */

.business-view-page {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.business-profile {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* ROW 1 */
.business-top {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  height: auto;
}

.business-logo-col img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.business-main-col h1 {
  font-size: 34px;
  margin-bottom: 12px;
  padding: 10px;
}

.business-meta span {
  display: inline-block;
  background: #f1f3f5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-right: 8px;
}

.badge-featured {
  background: gold;
  color: #111;
  font-weight: 600;
}

/* ROW 2 */
.business-middle {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.business-description-col {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.business-sidebar {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 16px;
}

/* ROW 3 */
.business-bottom {
  margin-top: 40px;
}

.business-actions {
  margin-top: 18px;
}

.business-actions a {
  margin-right: 12px;
}

/* BODY */
.business-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.business-content {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .business-top,
  .business-middle {
    grid-template-columns: 1fr;
  }

  .business-logo-col {
    max-width: 220px;
  }
}
/* ===============================
   AUTH PAGES (LOGIN / REGISTER)
   =============================== */

.auth-container {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin: 80px auto;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.auth-box h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

.auth-box p {
  color: #666;
  margin-bottom: 24px;
}

.auth-box label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 16px;
}

.auth-error {
  background: #ffe3e3;
  color: #b00020;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.auth-links {
  margin-top: 16px;
  text-align: center;
}

.auth-links a {
  font-size: 14px;
  text-decoration: none;
  color: #111;
}

/* ===============================
   CONTACT PAGE
   =============================== */

.contact-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.contact-container h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.contact-subtitle {
  color: #555;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.contact-success {
  background: #e6f7ee;
  color: #0f5132;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CONTACT – MOBILE FIX
   =============================== */

@media (max-width: 786px) {

  .contact-container {
    margin: 30px auto;
    padding: 0 14px;
  }

  .contact-container h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .contact-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  /* GRID → STACK */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* BOXES */
  .contact-info,
  .contact-form {
    padding: 20px;
  }

  /* FORM INPUTS */
  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* iOS zoom fix */
  }

}

/* ===============================
   FOOTER
   =============================== */

.site-footer {
  background: #111;
  color: #ddd;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #aaa;
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}




/* ===============================
   HEADER & MENU
   =============================== */

.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
}
/* ===============================
   HEADER FIX
   =============================== */

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* LOGO */
.site-brand a {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.main-nav .menu li a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.main-nav .menu li a:hover {
  color: #000;
}

/* TOGGLE */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* NAV DESKTOP */
.main-nav {
  display: block;
}

/* MOBILE */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav .menu {
    flex-direction: column;
    gap: 0;
  }

  .main-nav .menu li a {
    display: block;
    padding: 14px 20px;
  }
}


/* =====================================================
   HERO
   ===================================================== */

.home-hero {
  text-align: center;
  padding-top: 120px;
}

.home-hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
}

.hero-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: #777;
}

/* =====================================================
   WHY SECTION
   ===================================================== */

.home-why h2 {
  font-size: 34px;
  text-align: center;
  margin-bottom: 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-grid h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-grid p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}




/* =====================================================
   WHY SECTION
   ===================================================== */

.home-why h2 {
  font-size: 34px;
  text-align: center;
  margin-bottom: 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-grid h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-grid p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* =====================================================
   FOR WHO
   ===================================================== */

.home-for {
  background: #f8f9fb;
  border-radius: 24px;
}

.home-for h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.for-grid div {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* =====================================================
   BENEFITS
   ===================================================== */

.home-benefits h2 {
  font-size: 34px;
  margin-bottom: 40px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
}

.benefits-list li {
  font-size: 16px;
  margin-bottom: 14px;
  color: #333;
}

/* =====================================================
   PROOF
   ===================================================== */

.home-proof {
  text-align: center;
  padding: 60px 20px;
}

.home-proof p {
  font-size: 16px;
  color: #666;
  font-style: italic;
}

/* =====================================================
   CTA
   ===================================================== */

.home-cta {
  text-align: center;
  background: #111;
  color: #fff;
  border-radius: 28px;
  padding: 90px 20px;
}

.home-cta h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 30px;
}

.home-cta .btn-primary {
  background: #fff;
  color: #111;
}

.cta-note {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.8;
}
/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

  .home-hero h1 {
    font-size: 36px;
  }

  .why-grid,
  .for-grid {
    grid-template-columns: 1fr;
  }

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

  .home-cta h2 {
    font-size: 28px;
  }
}




/* ===============================
   CARD BADGE DIAGONAL
   =============================== */

.simple-card {
  position: relative;
  overflow: hidden;
}

.card-badge-diagonal {
  position: absolute;
  top: 14px;
  right: -48px;

  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #111;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  padding: 6px 60px;
  transform: rotate(45deg);

  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 10;
}

/* ===============================
   PLAN & BILLING
   =============================== */

.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.billing-box {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.billing-box h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

/* PLAN BADGES */
.plan-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.plan-badge.free {
  background: #f1f3f5;
  color: #333;
}

.plan-badge.featured {
  background: gold;
  color: #111;
}

/* TEXT */
.plan-desc {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
}

.plan-valid {
  font-size: 14px;
  color: #666;
}

/* FEATURES */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.plan-features li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* PRICE */
.plan-price {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.plan-price .period {
  font-size: 14px;
  color: #666;
  margin-left: 6px;
}

/* FOOTER NOTE */
.billing-footer-note {
  margin-top: 30px;
  font-size: 13px;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .billing-grid {
    grid-template-columns: 1fr;
  }
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.billing-table th,
.billing-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  text-align: left;
}

.billing-table th {
  background: #f4f6f8;
  font-weight: 600;
}

.billing-table tr:hover {
  background: #fafafa;
}

.plan-countdown {
  background: #111;
  color: #fff;
  padding: 20px;
  border-radius: 14px;
  font-size: 16px;
  margin: 30px 0;
  text-align: center;
}


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

.analytics-box {
  background: #fff;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
}

.analytics-box strong {
  display: block;
  font-size: 36px;
  margin-bottom: 6px;
}

.analytics-box span {
  font-size: 14px;
  color: #555;
}

/* =========================
   BLOG PAGE LAYOUT
========================= */

.blog-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

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

.blog-header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 1.05rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto;
}

/* =========================
   BLOG GRID
========================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* =========================
   BLOG CARD
========================= */

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.blog-card-link {
  display: block;
  height: 100%;
  color: #333;
  text-decoration: none;
}

/* =========================
   IMAGE
========================= */


.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
display: block;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);

  filter: contrast(1.05) saturate(1.05);
}
.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}


/* =========================
   CONTENT
========================= */

.blog-card-content {
  padding: 1.25rem 1.4rem 1.6rem;
}

.blog-card-title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

/* =========================
   PAGINATION
========================= */

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.pagination .page-numbers.current {
  background: #111;
  color: #fff;
  border-color: #111;
}

.pagination .page-numbers:hover:not(.current) {
  background: #f5f5f5;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image img {
    height: 180px;
  }
}
/* =========================
   BLOG CARD STRUCTURE
========================= */

.blog-card {
  display: flex;
  flex-direction: column;
}

/* Card body */
.blog-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Content grows */
.blog-card-content {
  flex-grow: 1;
}

/* =========================
   BLOG CARD META
========================= */

.blog-card-footer {
  padding: 0.75rem 1.4rem;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  color: #777;
   background: #f1f1f1;
}

.blog-card-meta {
  display: block;
}

.blog-card-category{
    
  font-weight: 500;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card-date {
    text-align: right;
}


/* =========================
   SINGLE POST LAYOUT
========================= */

.single-custom-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* =========================
   ARTICLE WRAPPER
========================= */

.single-article {
  max-width: 820px;
  margin: 0 auto;
}

/* =========================
   TITLE
========================= */

.single-article h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* =========================
   META (date, category)
========================= */

.single-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 2rem;
}

/* =========================
   FEATURED IMAGE
========================= */

.single-image {
  margin-bottom: 2.5rem;
}

.single-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* =========================
   CONTENT
========================= */

.single-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

/* Paragraphs */
.single-content p {
  margin-bottom: 1.4rem;
}

/* Headings */
.single-content h2 {
  font-size: 1.6rem;
  margin: 3rem 0 1rem;
}

.single-content h3 {
  font-size: 1.3rem;
  margin: 2.2rem 0 0.8rem;
}

/* Lists */
.single-content ul,
.single-content ol {
  margin: 1.2rem 0 1.6rem 1.2rem;
}

.single-content li {
  margin-bottom: 0.5rem;
}

/* Links */
.single-content a {
  color: #111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-content a:hover {
  text-decoration-thickness: 2px;
}

/* Blockquotes */
.single-content blockquote {
  border-left: 4px solid #111;
  padding-left: 1.2rem;
  margin: 2.5rem 0;
  font-style: italic;
  color: #555;
}

/* =========================
   IMAGES INSIDE CONTENT
========================= */

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .single-custom-page {
    padding: 2.5rem 1.2rem;
  }

  .single-article {
    max-width: 100%;
  }

  .single-article h1 {
    font-size: 2rem;
  }
}
/* =========================
   CUSTOM 404 PAGE
========================= */

.custom-404 {
  min-height: calc(50vh - 60px); /* ajustează dacă headerul e mai mare */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.custom-404-inner {
  max-width: 480px;
}

.custom-404 h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.custom-404 p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.custom-404 .btn {
  display: inline-block;
  margin: 0.25rem;
}
/* ===============================
   DOMAIN FILTERS – descktop
   =============================== */
.domain-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.domain-btn {
  padding: 8px 14px;
  border-radius: 5px;
  background: #f1f1f1;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.domain-btn:hover {
  background: #ddd;
}

.domain-btn.active {
  background: #111;
  color: #fff;
}
/* ===============================
   DOMAIN FILTERS – MOBILE
   =============================== */
@media (max-width: 768px) {

  .domain-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 coloane egale */
    gap: 10px;
  }

  .domain-btn {
    width: 100%;
    text-align: center;
    padding: 6px 4px;
    font-size: 13px;
    border-radius: 5px;
  }
}

.page-custom-page {
  max-width: 880px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-content {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #2b2b2b;
  line-height: 1.7;
  font-size: 16px;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.25;
}

.page-featured-image {
  margin: 24px 0 32px;
}

.page-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.page-text {
  font-size: 16px;
  line-height: 1.75;
}

.page-text p {
  margin-bottom: 16px;
}

.page-text h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 14px;
}

.page-text h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
}

.page-text h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 10px;
}

.page-text ul,
.page-text ol {
  margin: 16px 0 16px 22px;
}

.page-text li {
  margin-bottom: 8px;
}

.page-text a {
  color: #0057b8;
  text-decoration: underline;
}

.page-text a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .page-custom-page {
    margin: 40px auto;
  }

  .page-title {
    font-size: 26px;
  }

  .page-text {
    font-size: 15px;
  }
}


/* ===== MOBILE FIX: Simple Cards ===== */
@media (max-width: 768px) {

  /* Containerul devine vertical */
  .simple-directory {
    display: block !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Fiecare card pe rând */
  .simple-directory .simple-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 0 16px 0;
    box-sizing: border-box;
  }

  /* Siguranță: orice flex/grid intern */
  .simple-directory {
    flex-wrap: wrap !important;
  }

}

/* =====================================================
   CHROME GRID FIX – ACCOUNT / BILLING
   ===================================================== */

/* Container principal */
.account-container,
.account-main,
.account-main > * {
  min-width: 0;
}

/* Billing grid */
.billing-grid {
  min-width: 0;
  width: 100%;
}

/* Grid items (CHEIA problemei) */
.billing-grid > .billing-box {
  min-width: 0 !important;
  max-width: 100%;
}

/* Tabel – Chrome overflow fix */
.billing-table {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

.billing-table table,
.billing-table tr,
.billing-table td,
.billing-table th {
  min-width: 0;
}

/* Countdown */
.plan-countdown {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 768px) {

  .billing-grid {
    display: block !important;
  }

  .billing-grid > .billing-box {
    width: 100% !important;
    margin-bottom: 20px;
  }

}

.featured-sales {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-top: 30px;
}

.featured-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.featured-intro {
  font-size: 16px;
  color: #444;
  margin-bottom: 25px;
}

.featured-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.featured-benefit strong {
  display: block;
  margin-bottom: 6px;
}

.featured-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.comparison-col {
  background: #f6f7f9;
  padding: 20px;
  border-radius: 14px;
}

.comparison-col.featured {
  background: #111;
  color: #fff;
}

.featured-cta {
  text-align: center;
}

.featured-cta-text {
  font-size: 16px;
  margin-bottom: 15px;
}

.featured-note {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}

/* ===============================
   FEATURED COMPARISON – MOBILE
   =============================== */
@media (max-width: 768px) {

  .featured-comparison {
    display: block;
  }

  .comparison-col {
    width: 100%;
    margin-bottom: 15px;
  }

}

.site-footer {
  background: #111;
  color: #ccc;
  padding-top: 60px;
  margin-top: 60px;
  margin-left: 0px;
  margin-right: 0px;
}
.site-footer .footer-top {
  display: flex;
  justify-content: center;   /* CENTRU ORIZONTAL */
  background: #111;
  padding: 30px 20px;
}

.site-footer .footer-top-inner {
  display: flex;
  justify-content: center;   /* CENTRU ICONURI */
  align-items: center;
  text-align: center;
  width: 100%;
}
.site-footer .footer-top-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}


.footer-share-text {
  margin-bottom: 12px;
  font-size: 18px;
  color: #9fafaf; /* gri deschis */
  letter-spacing: 0.4px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.footer-col h4,
.footer-brand h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #aaa;
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
    background: #f2f2f2;
  }
 .footer-top {
  background: #111;
  padding: 40px 20px;
}

.footer-top-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
 
.footer-payments {
  margin-top: 15px;
  text-align: center;
}

.footer-payments-text {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
}

.footer-payments-image {
  max-width: 260px;
  width: 100%;
  height: auto;
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-payments-image {
    max-width: 220px;
  }
}


@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    background: #f2f2f2;
  }
}

/* ================================
   Footer – Business Links Section
   ================================ */

.footer-business-links {
  background: #111; /* ușor diferit de footer-ul clasic */
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-business-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 36px;
  text-align: center;
}

/* Titlu secțiune */
.footer-business-inner h3 {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e5e7eb;
}

/* Grid extensibil */
.footer-business-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(180px, 1fr));
  gap: 28px 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Liste */
.footer-business-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

/* Link-uri */
.footer-business-grid li {
  margin-bottom: 10px;
}

.footer-business-grid a {
  font-size: 14px;
  color: #cbd5f5; /* gri-albăstrui elegant */
  text-decoration: none;
  line-height: 1.6;
  transition: color .15s ease, opacity .15s ease;
}

.footer-business-grid a:hover {
  color: #ffffff;
  opacity: 0.95;
}

/* ================================
   Responsive
   ================================ */

@media (min-width: 900px) {
  /* când vei avea 3 coloane */
  .footer-business-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (min-width: 1200px) {
  /* maxim 4 coloane */
  .footer-business-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-business-inner {
    padding: 36px 16px 28px;
  }

  .footer-business-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}



/* ===============================
   DIRECTORY – BANNER STYLE CARDS
   =============================== */
/* ===============================
   DIRECTORY – SIMPLE GRID
   =============================== */

.simple-directory-page {
  padding: 80px 20px;
  background: #fbfbfa;
}

.directory-header {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
}

.directory-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}
.h2{color: #333;}
.span {
    color: #333;
}
.directory-header p {
  color: #666;
}

/* GRID */
.simple-directory {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* CARD */
.simple-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* FEATURED – light style */
.featured-card {
  background: #fffbe6;
  border: 1px solid #ffe08a;
}

/* HEADER */
.simple-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}



.logo-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-placeholder {
  font-size: 12px;
  color: #999;
  font-weight: 600;
}


/* TEXT */
.simple-card h3 {
  font-size: 16px;
}

.simple-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* META */
.simple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.simple-meta span {
  font-size: 12px;
  background: #f1f3f5;
  padding: 5px 10px;
  border-radius: 20px;
}

/* LINK */
.simple-link {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.simple-link:hover {
  background: #000;
}

/* PAGINATION */
.directory-pagination {
  margin-top: 50px;
  text-align: center;
}

.directory-pagination a,
.directory-pagination span {
  margin: 0 6px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.directory-pagination .current {
  background: #111;
  color: #fff;
}

.btn-danger {
  background: #e03131;
  color: #fff;
}

.btn-danger:hover {
  background: #c92a2a;
}

.delete-card-box {
  margin-top: 60px;
  padding: 30px;
  background: #fff5f5;
  border: 1px solid #ffc9c9;
  border-radius: 14px;
}



.upgrade-box {
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 14px;
  border: 1px solid #e9ecef;
}

.upgrade-box h3 {
  margin-bottom: 8px;
}

.upgrade-box p {
  color: #555;
  margin-bottom: 16px;
}

.upload-box {
  border: 2px dashed #d0d5dd;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  background: #fafafa;
  transition: .2s;
}

.upload-box:hover {
  background: #f0f3f7;
  border-color: #111;
}

.logo-preview img {
  max-width: 140px;
  margin-top: 12px;
  border-radius: 8px;
}

.gbc-notice {
  padding: 14px 18px;
  border-radius: 10px;
  margin: 20px 0;
  font-weight: 500;
}

.gbc-notice.success {
  background: #e7f7ee;
  border: 1px solid #a6e3c1;
  color: #0f5132;
}



.simple-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 380px));
  gap: 28px;
  justify-content: center;
}
/* Card base */
.simple-card {
  position: relative;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.simple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.25);
}

/* Featured glow */
.simple-card.featured-card {
  background: linear-gradient(135deg, #ffffff, #e9f0ff);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* ===============================
   Diagonal FEATURED badge
   =============================== */

.card-badge-diagonal {
  position: absolute;
  top: 18px;
  right: -42px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 50px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

/* ===============================
   Header
   =============================== */

.simple-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}


.logo-box {
  width: 100px;
  height: 100px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
}

.logo-placeholder {
  font-weight: 700;
  font-size: 12px;
  color: #6366f1;
}

/* Title */
.simple-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  color: #0f172a;
}

/* ===============================
   Description
   =============================== */

.simple-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 12px 0 14px;
}

/* ===============================
   Meta chips
   =============================== */

.simple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.simple-meta span {
  background: rgba(99, 102, 241, 0.12);
  color: #3730a3;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 999px;
}

/* ===============================
   CTA
   =============================== */

.simple-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #333333, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
  transition: all .2s ease;
}

.simple-link:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.6);
}

/* ===============================
   Mobile
   =============================== */

@media (max-width: 786px) {
  .simple-card {
    padding: 18px;
  }

  .simple-card-header {
    gap: 12px;
  }

  .logo-box {
    width: 48px;
    height: 48px;
  }
}

/* =========================
   GLOBAL RESET & BASE
========================= */
/* CTA buttons text color fix */
.hub-cta .hub-btn,
.hub-cta .hub-btn:visited {
  color: #f8fafc; /* alb-gri foarte deschis */
  text-decoration: none;
}
.hub-cta .hub-btn:hover,
.hub-cta .hub-btn:focus {
  color: #ffffff;
}

.hub-cta .hub-btn.primary {
  background: #2563eb;
  color: #ffffff;
}
.gbc-services-profile {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 60px;
  padding: 20px;
}
