/* ============================================================
   Břetislav Jirman – Odhady nemovitostí
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e50;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: #1a5fa8; text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: #1a5fa8;
  color: #fff;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(26,95,168,0.25);
}
.btn-primary:hover {
  background: #154d8a;
  box-shadow: 0 4px 16px rgba(26,95,168,0.35);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-nav {
  background: #1a5fa8;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(26,95,168,0.2);
}
.btn-nav:hover { background: #154d8a; text-decoration: none; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e4eaf3;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a5fa8;
  letter-spacing: -0.01em;
}
.logo-tagline {
  font-size: 0.72rem;
  color: #8a99ad;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: #3d5166;
  transition: color 0.15s;
}
.main-nav a:hover { color: #1a5fa8; text-decoration: none; }

/* --- Hero --- */
.hero {
  background: linear-gradient(140deg, #1a5fa8 0%, #0d3f73 60%, #082d55 100%);
  color: #fff;
  padding: 100px 0 92px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

/* --- Section commons --- */
.services, .why, .contact, .when-needed, .faq, .pr-section {
  padding: 88px 0;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #1a2e45;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-sub {
  color: #6b7a8d;
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 52px;
  line-height: 1.65;
}

/* --- Services --- */
.services { background: #f5f7fa; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(26,95,168,0.12);
  border-color: #b8cee8;
  transform: translateY(-2px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2e45;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.91rem;
  color: #6b7a8d;
  line-height: 1.65;
}

/* --- When needed --- */
.when-needed { background: #fff; }

.when-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.when-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  font-size: 0.96rem;
  color: #1a2e45;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.when-list li:hover {
  border-color: #b8cee8;
  box-shadow: 0 3px 10px rgba(26,95,168,0.1);
}

.when-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #1a5fa8;
  color: #fff;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
}

/* --- Why section --- */
.why { background: #f5f7fa; }

.why-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.why-text { flex: 1; min-width: 260px; }

.why-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 500;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #1a5fa8;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.why-cta {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  padding: 44px 40px;
  text-align: center;
  min-width: 260px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.why-cta p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2e45;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

/* --- FAQ --- */
.faq { background: #f5f7fa; }

.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.faq-item[open] {
  border-color: #b8cee8;
  box-shadow: 0 4px 16px rgba(26,95,168,0.09);
}

.faq-question {
  display: block;
  position: relative;
  padding: 20px 56px 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2e45;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question::marker,
.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: #1a5fa8;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid #f0f3f7;
}

.faq-answer p {
  font-size: 0.97rem;
  color: #5a6a7a;
  line-height: 1.75;
  margin-top: 16px;
}

/* --- PR section --- */
.pr-section {
  background: linear-gradient(135deg, #eef3fb 0%, #e8f0f9 100%);
  border-top: 1px solid #d6e4f5;
  border-bottom: 1px solid #d6e4f5;
}

.pr-inner {
  max-width: 780px;
}

.pr-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 28px;
}

.pr-inner p {
  font-size: 1rem;
  color: #3d5166;
  line-height: 1.8;
  margin-bottom: 18px;
}

.pr-inner p:last-of-type {
  font-weight: 600;
  color: #1a2e45;
  margin-bottom: 0;
}

/* --- Contact --- */
.contact { background: #f5f7fa; }

.contact-info-only {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a99ad;
  font-weight: 600;
}

.contact-item span,
.contact-item a {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 500;
}

.contact-item a:hover { color: #1a5fa8; }

/* --- Footer --- */
.site-footer {
  background: #1a2e45;
  color: #7a8fa3;
  text-align: center;
  padding: 32px 0;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

/* --- Responsive --- */
@media (max-width: 780px) {
  .why-inner {
    flex-direction: column;
    gap: 36px;
  }
  .why-cta { width: 100%; }
  .hero { padding: 72px 0 64px; }
  .main-nav { gap: 16px; }
  .services, .why, .contact, .when-needed, .faq, .pr-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .site-header .container { height: 62px; }
  .logo-name { font-size: 1rem; }
  .hero h1 { font-size: 1.8rem; }
  .when-list { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
