/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --bg-dark: #2b0f13;
  --bg-darker: #1c090b;
  --bg-dark-alt: #3a161b;
  --black: #0d0d0d;
  --red: #e01739;
  --red-dark: #a8112e;
  --gray-100: #f3f3f2;
  --gray-200: #e6e6e5;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dark: #241415;
  --text-dark-muted: #6e5c5d;
  --border-light: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1180px;
  --career-section-bg: #3a161b;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border-light);
}
.btn-ghost:hover { border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-outline:hover { background: var(--text-dark); color: var(--white); }

.mortgage-banner .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.mortgage-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-lg { padding: 17px 32px; font-size: 16px; }

.btn-header { display: inline-flex; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, padding 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.3s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  position: relative;
  z-index: 100;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}
.logo-dot { color: var(--red); }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 12px;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-chevron {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0px);
  margin-top: 2px;
  min-width: 200px;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Sections generic
   ========================================================================== */
.section { padding: 60px 0; }
.section:has(.team-header) { padding: 50px 0; }
.section-black { background: var(--black); }
.section-light { background: var(--gray-100); }
.section-alt { background: var(--gray-200); }
.section-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(160% 140% at 50% 130%, var(--red) 0%, var(--red-dark) 22%, var(--bg-dark) 45%, var(--black) 68%);
  padding: 80px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-cta.career-cta {
  background: radial-gradient(160% 140% at 50% 130%, var(--red) 0%, var(--red-dark) 22%, var(--bg-dark) 45%, var(--black) 68%);
}
.section-cta > * { position: relative; z-index: 1; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--white); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 720px;
}
.section-title-light { color: var(--white); }

.career-cta .section-title-light { color: var(--white); }
.section-cta .section-title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: clamp(24px, 3vw, 36px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-lead {
  font-size: 18px;
  color: var(--text-dark-muted);
  max-width: 900px;
}
.section-lead-light { color: var(--text-muted); }

.section-cta .section-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.link-arrow {
  display: inline-block;
  font-weight: 600;
  color: var(--red);
  margin-top: 8px;
}
.link-arrow-light { color: var(--white); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--bg-dark);
}
.hero--center { padding-bottom: 0; }
.hero-frame {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    url('assets/img/hero-rodina.jpg') center/cover no-repeat,
    linear-gradient(135deg, #4a1c20, #2b0f13 70%);
}

.career-hero-media {
  background-image:
    url('assets/img/zmysluplna kariera-hero image.jpeg?t=99999') !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28,9,11,0.18) 0%, rgba(28,9,11,0.5) 60%, rgba(28,9,11,0.88) 88%, var(--black) 100%);
}

.career-hero-section .hero-overlay {
  background:
    linear-gradient(180deg, rgba(28,9,11,0.4) 0%, rgba(28,9,11,0.45) 45%, rgba(245,245,245,0.85) 85%, rgba(245,245,245,1) 100%);
}

.career-hero-section .hero-content h1 {
  color: var(--black) !important;
}

.career-hero-section .hero-sub {
  color: var(--black) !important;
}
.hero-content {
  position: relative;
  padding-bottom: 90px;
  padding-top: 140px;
  color: var(--white);
}
.hero-content h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  max-width: 820px;
  color: var(--white);
}
.hero-sub {
  font-size: 19px;
  max-width: 560px;
  color: var(--text-muted);
}
.section-dark .hero-sub {
  color: var(--white);
}
.section-dark {
  background: var(--bg-dark) !important;
  color: var(--white) !important;
}
.section-dark p,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark a,
.section-dark span {
  color: var(--white) !important;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hero-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 20px 0;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.hero-chip svg { color: rgba(255, 255, 255, 0.7); flex-shrink: 0; }

.hero-content--center {
  padding-top: 120px;
  padding-bottom: 32px;
  text-align: center;
}
.hero-content--center h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-sub--center { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-actions--center { justify-content: center; }

/* ==========================================================================
   Worry cards (empatia)
   ========================================================================== */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 48px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.worry-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.worry-card--dark { background: var(--bg-dark-alt); color: var(--white); }
.worry-card--red { background: var(--red); color: var(--white); }
.worry-card--light { background: var(--gray-100); color: var(--text-dark); }

.worry-media {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}
.worry-media--placeholder {
  background-image: linear-gradient(135deg, #d6d6d4, #aeaeab);
}

.worry-body {
  padding: 28px 26px 32px;
  min-height: 168px;
}

.worry-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 18px;
}
.worry-card h3 { font-size: 21px; margin-bottom: 12px; }
.worry-reveal {
  font-size: 15px;
  opacity: 0.92;
}

/* ==========================================================================
   Trust (o poradcovi)
   ========================================================================== */
.trust-section { padding-bottom: 130px; }
.trust-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.trust-card {
  background: var(--bg-dark-alt);
  border-radius: 24px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}
.trust-heading {
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--white);
  margin-bottom: 20px;
}
@media (min-width: 601px) {
  .trust-heading { white-space: nowrap; }
}
.trust-heading-accent { color: var(--red); }
.trust-text {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}
.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.trust-mini {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
}
.trust-mini-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-dark);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.trust-mini-title { color: var(--white); font-weight: 600; font-size: 14px; margin: 0; }
.trust-mini-sub { color: var(--text-muted); font-size: 13px; margin: 2px 0 0; }

.trust-photo { position: relative; }
.trust-photo-media {
  height: 100%;
  min-height: 420px;
  border-radius: 40px;
  background: linear-gradient(135deg, #4a1c20, #2b0f13 70%);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.trust-stats-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-stat-card {
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 14px;
  padding: 22px 28px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.28);
}
.trust-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
}
.stat-plus { color: var(--red); }
.trust-stat-label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   Planner / calculator
   ========================================================================== */
#planovac .wrap { text-align: center; }
#planovac .section-title { margin-left: auto; margin-right: auto; }

.planner {
  max-width: 640px;
  margin: 44px auto 0;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(36,20,21,0.08);
}
.planner-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.planner-dot {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: rgba(36,20,21,0.12);
}
.planner-dot.active { background: var(--red); }

.planner-step { display: none; }
.planner-step.active { display: block; }
.planner-step h3 { font-size: 22px; margin-bottom: 18px; }
.planner-hint { color: var(--text-dark-muted); font-size: 14px; margin-top: -10px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.option-grid--wide { grid-template-columns: repeat(3, 1fr); }
.option-tile {
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(36,20,21,0.14);
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.option-tile:hover { border-color: var(--red); }
.option-tile.selected { border-color: var(--red); background: rgba(224,23,57,0.08); color: var(--red-dark); }

.planner-next { margin-top: 12px; }

.planner-form { display: flex; flex-direction: column; gap: 12px; }
.planner-form input {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(36,20,21,0.14);
  font-size: 15px;
  font-family: inherit;
}
.planner-form input:focus { outline: none; border-color: var(--red); }
.field-error { display: none; color: var(--red-dark); font-size: 13px; }
.field-error.visible { display: block; }

.planner-loading {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--text-dark-muted);
  padding: 20px 0;
}
.pulse {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Career bridge
   ========================================================================== */
.career-bridge {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.career-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
.career-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.career-chip svg { color: var(--red); flex-shrink: 0; }
.career-chip--1 { top: -16px; left: 24px; }
.career-chip--2 { bottom: 32px; right: -20px; }
.career-chip--3 { bottom: -16px; left: 32px; }

/* ==========================================================================
   Team section
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.team-card {
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  padding: 20px 0 !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
}
.team-card:first-child .team-photo {
  display: block !important;
  width: 100%;
  aspect-ratio: 0.7;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px !important;
}
.team-card:not(:first-child) .team-photo {
  display: none !important;
}
.team-card::before,
.team-card::after {
  display: none;
}
.team-card > h3,
.team-card > p {
  position: static;
  margin: 0;
  text-align: left;
  display: block !important;
}
.team-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px !important;
  display: block !important;
  width: 100% !important;
}
.team-role {
  color: #ff6b6b !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 10px !important;
  letter-spacing: 0.5px;
  margin-bottom: 15px !important;
  display: block !important;
  width: 100% !important;
}
.team-testimonial {
  display: block !important;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin: 0 !important;
}

/* ==========================================================================
   Dot pattern — decorative placeholder texture
   ========================================================================== */
.dot-pattern {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.dot-pattern::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(var(--red) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, black 25%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, black 25%, transparent 72%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: var(--text-muted);
  padding: 70px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-light);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.footer-col a { font-weight: 600; }
.logo-footer { margin-bottom: 8px; font-size: 22px; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact-link svg { flex-shrink: 0; color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    padding: 100px 28px 40px;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    z-index: 90;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 20px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; }

  .nav-dropdown { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 12px 0 0 16px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 12px;
    display: flex;
    flex-direction: column;
  }
  .nav-dropdown-menu a {
    font-size: 16px;
    color: var(--text-muted);
    padding: 0;
    transition: color 0.15s ease;
  }
  .nav-dropdown-menu a:hover {
    transform: none;
    background: transparent;
    color: var(--white);
  }

  .btn-header { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 100; }

  .worry-grid { grid-template-columns: 1fr; }
  .trust-columns { grid-template-columns: 1fr; }
  .trust-photo { min-height: 320px; order: -1; }
  .trust-section { padding-bottom: 90px; }
  .career-bridge { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid--wide { grid-template-columns: 1fr; }
  .benefits-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .trust-card { padding: 32px 24px; }
  .trust-stats-overlay { gap: 8px; left: 16px; right: 16px; bottom: -16px; }
  .career-chip { font-size: 12px; padding: 8px 14px; gap: 6px; }
  .career-chip--1 { left: 12px; top: -12px; }
  .career-chip--2 { right: 8px; bottom: 24px; }
  .career-chip--3 { left: 12px; bottom: -12px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .planner { padding: 26px; }
  .hero-sub { padding: 0 16px; }
  .service-hero > div { padding: 0 16px; }
  .service-hero > div:first-child { padding: 0 16px; }
  .benefits-cards-grid { grid-template-columns: 1fr; }

  .hero-content--center { padding-top: 100px; }
  .hero-content--center .btn-lg { padding: 15px 20px; font-size: 15px; }
}

/* ==========================================================================
   Service page — breadcrumb
   ========================================================================== */
.breadcrumb {
  padding: 80px 0 0;
  background: var(--black);
}
.breadcrumb .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--white); }

/* ==========================================================================
   Service page — hero
   ========================================================================== */
.service-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 60px 0 20px 0;
}

.service-hero > div:first-child {
  padding-left: 0;
}

@media (max-width: 600px) {
  .service-hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .service-hero > div:first-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.service-hero-media {
  aspect-ratio: 5 / 6;
  border-radius: 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.service-hero h1 { max-width: 560px; }
.service-hero .hero-sub { max-width: 480px; margin-bottom: 16px; }

/* ==========================================================================
   Mortgage banner
   ========================================================================== */
.mortgage-banner-section {
  padding: 60px 0;
  background: var(--black) !important;
}

/* Dotácia Banner */
.dotacia-banner-section {
  padding: 60px 0;
  background: var(--black) !important;
  border-radius: 0;
  margin-top: -50px !important;
  max-width: 100%;
}
.dotacia-banner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  background: var(--bg-dark-alt);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.dotacia-banner-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white) !important;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}
.dotacia-banner-text {
  font-size: 21px;
  line-height: 1.3;
  color: var(--white) !important;
  margin: 0 0 24px 0;
  padding: 0 20px;
  letter-spacing: -0.5px;
  word-spacing: -2px;
}
.dotacia-banner-highlight-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--white) !important;
  margin: 0 0 32px 0;
}
.text-red {
  color: var(--red) !important;
}
.dotacia-banner-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.dotacia-banner-list li {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 12px;
  padding: 0;
  position: relative;
}
.dotacia-banner-list li:before {
  content: none;
}
.dotacia-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.dotacia-banner-actions .btn-primary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.dotacia-banner-actions .btn-primary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.mortgage-banner {
  background: var(--bg-dark-alt);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.mortgage-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mortgage-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mortgage-banner-label {
  display: none;
}
.mortgage-banner-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 auto 12px auto;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-align: center;
}
.mortgage-banner-highlight {
  color: var(--red);
}
.mortgage-banner-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 32px auto;
  max-width: 700px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.mortgage-banner-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
}
.mortgage-banner-actions .btn {
  padding: 16px 32px;
  font-size: 16px;
}

/* ==========================================================================
   Service page — benefits
   ========================================================================== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid rgba(36,20,21,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(224,23,57,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.benefit-card h3 { font-size: 19px; margin-bottom: 10px; }
.benefit-card p { color: var(--text-dark-muted); font-size: 15px; margin-bottom: 14px; }
.benefit-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--red-dark);
  border-top: 1px solid rgba(36,20,21,0.08);
  padding-top: 14px;
  margin: 0;
}

/* ==========================================================================
   Service page — process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.benefits-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { position: relative; padding-left: 4px; }
.process-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--red) !important;
  margin-bottom: 14px;
}
.section-dark .process-num {
  color: var(--red) !important;
}
.process-step h3 { font-size: 19px; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 15px; }

/* ==========================================================================
   Service page — FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid rgba(36,20,21,0.1);
  padding: 22px 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--red); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--text-dark-muted); font-size: 15px; max-width: 660px; }

/* ==========================================================================
   Service hub — service list cards
   ========================================================================== */
.services-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.services-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
}

.services-hero-content {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 40px auto 0;
  padding: 0 0 60px 0;
  width: 100%;
  max-width: var(--max-width);
}

.service-list-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 14;
  background-size: cover;
  background-position: center;
  background-color: var(--black);
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  color: var(--white);
  transition: all 0.3s ease;
}

.service-list-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(28,9,11,0) 0%, rgba(28,9,11,0.7) 60%, rgba(28,9,11,0.95) 88%, var(--black) 100%);
  pointer-events: none;
}

.service-card-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  color: var(--white);
  margin: 0 auto 8px auto;
  order: -1;
}

.service-list-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  margin: 0 0 8px 0;
  flex: 1;
  display: flex;
  align-items: flex-end;
  order: 1;
}

.service-list-card .link-arrow {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-size: 14px;
  margin-top: auto;
  order: 2;
}

.service-list-card:hover .link-arrow {
  opacity: 1;
}

@media (max-width: 960px) {
  .service-hero { grid-template-columns: 1fr; }
  .service-hero-media { order: -1; aspect-ratio: 5/6; }
  .benefit-grid, .process-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .breadcrumb { padding-top: 100px; }
  .service-list { grid-template-columns: 1fr; }
  .benefit-card { padding: 24px 16px; }
}

/* ==========================================================================
   Career page
   ========================================================================== */

.section-light-alt {
  background: #f5f5f5;
}

.career-benefits-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.career-benefits-header .eyebrow {
  margin-bottom: 16px;
}

.career-benefits-header .section-title {
  margin-bottom: 0;
}

.benefit-card {
  background: var(--gray-100);
  padding: 28px 20px;
  border-radius: 12px;
  text-align: center;
}

.benefit-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-dark-alt);
  color: var(--red);
  border-radius: 50%;
  margin: 0 auto 16px auto;
}

.benefit-card-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 18px;
  margin: 0 0 12px 0;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark-muted);
  margin: 0;
}

.team-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-header .eyebrow {
  margin-bottom: 16px;
}

.team-header .section-title {
  margin-bottom: 0;
}

.team-carousel-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
}

  margin: 0 16px 20px 16px;
}

.career-about {
  padding: 80px 0;
  background: var(--bg-dark) !important;
  color: var(--white);
}

.career-about-content {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.career-about-text {
  max-width: 600px;
}

.career-about-text .section-lead {
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 100%;
  color: var(--text-muted);
}

.career-about-text .section-title {
  color: var(--white);
}

.career-about-text .eyebrow {
  color: var(--red);
}

.career-about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.career-about-quote {
  background: var(--red);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
  margin-top: 40px;
}

.career-about-quote blockquote {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.6;
}

.career-about-author {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.career-about-image {
  aspect-ratio: 0.7;
  background-size: cover;
  background-position: center top;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.career-learning-grid {
  display: flex;
  gap: 80px;
  margin-top: 60px;
  position: relative;
}

.career-learning-left {
  flex: 0 0 30%;
  padding-top: 20px;
}

.career-learning-left h2 {
  font-size: 28px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  margin-top: 30px;
}

.career-learning-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  margin-top: 90px;
}

.career-learning-right::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red) 75%, transparent 100%);
}

.career-learning-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  position: relative;
}

.career-learning-step {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.career-learning-text {
  flex: 1;
  padding-top: 4px;
}

.career-learning-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.career-learning-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

.career-learning-item p:not(.career-learning-label) {
  font-size: 15px;
  color: var(--text-dark-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .career-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
  }
  .career-benefits-grid .career-benefit-1 { grid-column: span 2; grid-row: span 2; }
  .career-benefits-grid .career-benefit-2 { grid-column: span 2; }
  .career-benefits-grid .career-benefit-3 { grid-column: span 2; grid-row: span 2; }
  .career-benefits-grid .career-benefit-4 { grid-column: span 2; }
  .career-benefits-grid .career-benefit-5 { grid-column: span 4; }

  .career-about-content { grid-template-columns: 1fr; gap: 40px; }
  .career-learning-grid { display: flex; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .career-benefits-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 140px;
  }
  .career-benefits-grid .career-benefit-1 { grid-column: span 1; grid-row: span 1; }
  .career-benefits-grid .career-benefit-2 { grid-column: span 1; }
  .career-benefits-grid .career-benefit-3 { grid-column: span 1; grid-row: span 1; }
  .career-benefits-grid .career-benefit-4 { grid-column: span 1; }
  .career-benefits-grid .career-benefit-5 { grid-column: span 1; }
  .career-learning-grid { grid-template-columns: 1fr; }
  .career-about-quote { padding: 24px; }
  .career-about-quote blockquote { font-size: 16px; }
}

@media (max-width: 768px) {
  .benefits-cards-grid { grid-template-columns: 1fr !important; }
}
