/*
Theme Name: Gestionner
Theme URI: https://gestionner.sk
Author: Gestionner
Author URI: https://gestionner.sk
Description: Profesionálna téma pre Gestionner – účtovníctvo, dane, mzdy, poradenstvo. Slogan: Účtovníctvo hrou.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gestionner
Tags: one-page, business, accounting
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Mulish', sans-serif; color: #1B2A63; background: #ffffff; overflow-x: hidden; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }

/* ===== ANIMATIONS ===== */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.g-float-up { animation: floatUp .8s ease both; }
.g-float-up-d { animation: floatUp 1s ease .15s both; }

/* ===== HEADER ===== */
.g-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #EBEEF6;
}
.g-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.g-logo img { height: 52px; width: auto; }
.g-nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.g-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: #1B2A63;
  transition: color .2s;
}
.g-nav a:hover,
.g-nav a.active { color: #2952C8; }
.g-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.g-burger span { width: 24px; height: 2px; background: #16235C; display: block; }
.g-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #EBEEF6;
  padding: 12px 28px 20px;
  flex-direction: column;
  gap: 4px;
}
.g-mobile-menu.open { display: flex; }
.g-mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #16235C;
  padding: 12px 4px;
  border-bottom: 1px solid #F0F2F8;
}
.g-mobile-menu a:last-child { border-bottom: none; }

/* ===== HERO ===== */
.g-hero {
  position: relative;
  background: linear-gradient(160deg, #F7F9FD 0%, #EDF2FB 60%, #E6EDF9 100%);
  overflow: hidden;
}
.g-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 28px 110px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.g-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.g-hero-brand img { width: 230px; height: auto; }
.g-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 12px;
  color: #16235C;
  margin-top: 6px;
  padding-left: 12px;
}
.g-slogan-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.g-slogan-line { height: 1.5px; width: 70px; }
.g-slogan-line.left  { background: linear-gradient(90deg, transparent, #C8881E); }
.g-slogan-line.right { background: linear-gradient(90deg, #C8881E, transparent); }
.g-slogan-diamond { width: 7px; height: 7px; background: #C8881E; transform: rotate(45deg); flex-shrink: 0; }
.g-slogan-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #C8881E;
  white-space: nowrap;
}
.g-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: #C8881E;
  margin: 0 0 18px;
}
.g-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.08;
  color: #16235C;
  margin: 0 0 22px;
  letter-spacing: -1px;
}
.g-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #4A567E;
  max-width: 420px;
  margin: 0 0 34px;
}
.g-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.g-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #14225E;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 16px 26px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20,34,94,0.22);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.g-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,34,94,0.32); }
.g-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #C8881E !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 16px 26px;
  border-radius: 8px;
  border: 1.5px solid #D9B36A;
  transition: background .2s, color .2s;
}
.g-btn-ghost:hover { background: #C8881E; color: #fff !important; }
.g-wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }

/* ===== SECTION COMMONS ===== */
.g-section-tag {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  color: #C8881E;
  margin: 0 0 10px;
}
.g-section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #16235C;
  margin: 0 0 14px;
}
.g-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}
.g-divider-line { width: 50px; height: 1px; background: #D9B36A; }
.g-divider-diamond { width: 8px; height: 8px; border: 1.5px solid #C8881E; transform: rotate(45deg); }

/* ===== SERVICES ===== */
.g-services { background: #fff; padding: 30px 28px 80px; }
.g-services-inner { max-width: 1180px; margin: 0 auto; }
.g-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.g-card {
  background: #fff;
  border: 1px solid #E7EBF4;
  border-radius: 14px;
  padding: 34px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: 0 4px 14px rgba(22,35,92,0.04);
}
.g-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22,35,92,0.12);
  border-color: #C9D6F0;
}
.g-card-icon {
  width: 84px;
  height: 84px;
  border: 2px solid #2952C8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.g-card h3 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1px;
  color: #16235C;
  margin: 0 0 18px;
}
.g-card ul { display: flex; flex-direction: column; gap: 11px; margin: 0 0 20px; }
.g-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #4A567E;
  line-height: 1.4;
}
.g-card ul li svg { flex-shrink: 0; margin-top: 2px; }
.g-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #2952C8 !important;
  transition: gap .2s;
}
.g-card-link:hover { gap: 14px; }

/* ===== ABOUT ===== */
.g-about {
  background: linear-gradient(180deg, #EAF1FC 0%, #E3ECFA 100%);
  padding: 70px 28px;
}
.g-about-inner { max-width: 1180px; margin: 0 auto; }
.g-about h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #16235C;
  margin: 0 0 48px;
}
.g-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.g-feat { display: flex; gap: 16px; align-items: flex-start; }
.g-feat-icon { flex-shrink: 0; }
.g-feat h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #16235C;
  margin: 2px 0 8px;
}
.g-feat p { font-size: 14px; line-height: 1.55; color: #54608A; margin: 0; }

/* ===== TESTIMONIALS ===== */
.g-testi-section { background: #fff; padding: 70px 28px; }
.g-testi-section h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #16235C;
  margin: 0 0 48px;
}
.g-testi-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.g-testi-card {
  background: #FAFBFE;
  border: 1px solid #ECEFF6;
  border-radius: 14px;
  padding: 30px 28px;
}
.g-testi-quote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #C8881E;
  line-height: .6;
  height: 22px;
}
.g-testi-card p { font-size: 15px; line-height: 1.6; color: #44507A; margin: 0 0 18px; }
.g-testi-card cite {
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #16235C;
}

/* ===== CONTACT ===== */
.g-contact-section {
  position: relative;
  background: linear-gradient(135deg, #16245E 0%, #102049 55%, #0C1A3E 100%);
  padding: 70px 28px;
  overflow: hidden;
}
.g-contact-bg-logo {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: 360px;
  height: auto;
  opacity: .14;
  pointer-events: none;
}
.g-contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  position: relative;
}
.g-contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  margin: 0 0 6px;
}
.g-contact-info .g-section-tag { text-align: left; margin: 0 0 34px; }
.g-contact-details { display: flex; flex-direction: column; gap: 24px; }
.g-contact-row { display: flex; gap: 16px; align-items: flex-start; }
.g-contact-row svg { flex-shrink: 0; margin-top: 2px; }
.g-contact-row span { color: #DCE3F2; font-size: 15.5px; line-height: 1.6; }
.g-contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 0 22px;
}
.g-form { display: flex; flex-direction: column; gap: 14px; }
.g-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-form input,
.g-form textarea {
  background: rgba(255,255,255,0.96);
  border: none;
  border-radius: 7px;
  padding: 14px 16px;
  font-family: 'Mulish', sans-serif;
  font-size: 14.5px;
  color: #16235C;
  outline: none;
  width: 100%;
}
.g-form textarea { resize: vertical; }
.g-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.g-form-note { display: flex; align-items: center; gap: 8px; color: #AEB9D6; font-size: 13.5px; }
.g-submit-btn {
  background: #C8881E;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  padding: 14px 30px;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(200,136,30,0.3);
  transition: background .2s, transform .2s;
}
.g-submit-btn:hover { background: #B5781A; transform: translateY(-2px); }
.g-success-msg { color: #7FE0A8; font-size: 14px; margin: 6px 0 0; display: none; }
.g-success-msg.visible { display: block; }

/* ===== FOOTER ===== */
.g-footer {
  background: #0A1734;
  padding: 22px 28px;
  text-align: center;
}
.g-footer p { color: #8893B5; font-size: 13px; margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .g-cards { grid-template-columns: repeat(2, 1fr); }
  .g-feats { grid-template-columns: repeat(2, 1fr); }
  .g-testi-grid { grid-template-columns: 1fr; }
  .g-contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .g-hero-inner { grid-template-columns: 1fr; }
  .g-hero-brand { margin-top: 30px; }
  .g-hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .g-nav { display: none; }
  .g-burger { display: flex; }
  .g-cards { grid-template-columns: 1fr; }
  .g-feats { grid-template-columns: 1fr; }
  .g-form-row { grid-template-columns: 1fr; }
  .g-hero h1 { font-size: 32px; }
  .g-brand-name { font-size: 26px; letter-spacing: 6px; }
  .g-contact-bg-logo { display: none; }
}
