/* --- ZÁKLADNÉ NASTAVENIA --- */
:root {
  --card-bg: #ffefbc;      /* Karta je biela */
  --accent-gold: #f8d77a;  /* Tlačidlá a akcenty sú žlté */
  --text-dark: black;
  --text-light: #334155;
  --checkmark-color: #ffd569;
}

.simple-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  align-items: stretch;
}
@media (max-width: 900px) { .simple-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { 
  .simple-grid { 
    grid-template-columns: repeat(1, 1fr); 
    gap: 15px; 
  } 
}

/* --- KARTA --- */
.service-card {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
  border: 1px solid rgba(0,0,0,0.03);
  text-decoration: none;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
  border-color: var(--accent-gold);
}

@media (max-width: 550px) {
  .service-card { padding: 20px 18px; }
}

.service-content-wrap { 
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px; 
}

.service-title {
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  min-height: 3.5rem; 
  display: flex;
  align-items: flex-start;
}

@media (max-width: 550px) { .service-title { min-height: auto; } }

.service-short {
  margin: 0;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- TLAČIDLO NA KARTE --- */
.card-fake-btn {
  margin-top: auto; 
  background-color: var(--accent-gold);
  color: var(--text-dark);
  font-weight: 700;
  text-align: center;
  padding: 12px 24px;
  border-radius: 30px; 
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  border: none;
}
.service-card:hover .card-fake-btn {
   background-color: #fccc4c;
   transform: scale(1.02);
}

/* --- MODÁLNE OKNO --- */
.modal-backdrop {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(26, 32, 44, 0.6); z-index: 99999; padding: 20px;
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.2s ease;
}
.modal-backdrop.open { display: flex; opacity: 1; }

.modal-box {
  width: min(700px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: scale(0.95); transition: transform 0.2s ease;
}
.modal-backdrop.open .modal-box { transform: scale(1); }

.modal-head {
  padding: 20px 30px;
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.modal-title { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--text-dark); flex: 1; padding-right: 20px; }

/* --- KRÍŽIK (KRUH) - ZMENA FARBY --- */
.modal-close {
  background:#ffd569; /* ZMENA: f8d77a */
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-dark); /* Farba krížika */
  transition: all 0.2s ease;
}
.modal-close:hover { 
  background: #ffe599; /* ZMENA: Svetlejšia žltá pri hoveri */
  color: var(--text-dark); 
}

.modal-body {
  padding: 30px; overflow-y: auto; color: var(--text-light); line-height: 1.6;
  scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent;
}

/* --- OBSAH MODÁLU --- */
.hs-custom-content h4 {
  color: var(--text-dark); font-size: 1.1rem; font-weight: 800; margin-top: 30px; margin-bottom: 12px;
}
.hs-custom-content h4:first-child { margin-top: 0; }
.hs-custom-content p.main-desc { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 25px; }

/* Zoznam výhod */
.benefits-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; 
  /* ZMENA: Medzera medzi riadkami je nulová */
  gap: 0;
}

.benefits-list li {
  position: relative; padding-left: 35px; font-size: 0.95rem;
  display: flex; 
  /* ZAROVNANIE: Zarovnáme text na vrch ikony pre kompaktnosť */
  align-items: flex-start; 
  /* ZMENA: Odstránená minimálna výška */
  min-height: auto;
  /* Pridáme jemný spodný okraj pre separáciu textu */
  margin-bottom: 3px; 
}

.benefits-list li::before {
  content: '';
  position: absolute; left: 0; top: 0px; 
  width: 26px; height: 26px;
  background-image: url('https://bizpartnergroup.com/hubfs/check-gold-circle.png');
  background-size: contain; background-repeat: no-repeat; background-position: center;
}

/* Postup */
.process-list { padding-left: 20px; margin: 0; }
.process-list li { margin-bottom: 8px; font-size: 0.95rem; padding-left: 5px; }
.process-list li::marker { color: var(black); font-weight: bold; }

/* --- TLAČIDLO V MODÁLE (LINK) - ZMENA FARBY --- */
.modal-cta-btn {
  display: block; width: 100%; text-align: center;
  background-color: var(--accent-gold); /* ZMENA: f8d77a */
  color: var(--text-dark) !important;
  font-weight: 800; 
  text-transform: letter-spacing: 0.5px; font-size: 1rem;
  padding: 16px; 
  border-radius: 30px; 
  margin-top: 35px;
  text-decoration: none !important;
  
  box-shadow: 0 4px 15px rgba(250, 208, 104, 0.4); 
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s, background-color 0.2s;
}

.modal-cta-btn:hover, .modal-cta-btn:active, .modal-cta-btn:visited { 
  background-color: #fccc4c; /* Sýtejšia žltá pri hoveri */
  color: var(--text-dark) !important;
  text-decoration: bold !important;

  box-shadow: 0 10px 25px rgba(250, 208, 104, 0.6);
}