/* ===== V1: KLASICKÁ ELEGANTNÁ ===== */

:root {
  --green-dark: #1a4a3a;
  --green-deeper: #0d3d2e;
  --gold: #c8922a;
  --gold-light: #d4a032;
  --cream: #f5f4f0;
  --white: #ffffff;
  --text-dark: #1c1c1c;
  --text-light: #f5f4f0;
  --text-muted: #6b6b6b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
	background: linear-gradient(135deg, rgba(13, 61, 46, 0.95) 0%, rgba(26, 74, 58, 0.95) 100%);
	backdrop-filter: blur(12px);
	padding: 12px 0;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar.dark-bg {
	background: linear-gradient(135deg, rgba(13, 61, 46, 0.95) 0%, rgba(26, 74, 58, 0.95) 100%);
	backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold);
}

.btn-cta {
  background: var(--gold);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(200, 146, 42, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/hero.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 61, 46, 0.85) 0%,
    rgba(26, 74, 58, 0.6) 50%,
    rgba(13, 61, 46, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  max-width: 700px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 146, 42, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--cream);
}

.section-green {
	background: linear-gradient(135deg, #1a4a3a 0%, #1e5c49 50%, #1a4a3a 100%);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-align: center;
  margin: 0 auto 12px;
  color: var(--text-dark);
  position: relative;
  display: block;
  width: fit-content;
}

.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  transform: translateY(-50%);
}

.section-title::before {
  right: 100%;
  margin-right: 20px;
  background: linear-gradient(to left, var(--gold) 0%, transparent 100%);
}

.section-title::after {
  left: 100%;
  margin-left: 20px;
  background: linear-gradient(to right, var(--gold) 0%, transparent 100%);
}

.section-title.light {
  color: var(--white);
}

.section-title.light::before {
  background: linear-gradient(to left, var(--gold) 0%, transparent 100%);
}

.section-title.light::after {
  background: linear-gradient(to right, var(--gold) 0%, transparent 100%);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
  font-weight: 300;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.card {
  padding: 48px 36px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-price {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  margin-top: -8px;
}

.card-price strong {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Wide card – Mesačný Servis */
.card-wide {
  text-align: left;
  padding: 40px 48px;
}

.card-wide-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.card-wide .card-icon {
  flex-shrink: 0;
  margin: 0;
}

.card-wide-content {
  flex: 1;
}

.card-wide-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.card-wide-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 0;
}

.card-wide-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.card-wide-right .card-price {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.card:hover {
  transform: translateY(-6px);
}

.card-white {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.card-white:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-dark {
	background: linear-gradient(135deg, rgba(26, 74, 58, 1) 0%, rgba(30, 92, 73, 0.8) 100%);
	color: var(--white);
}

.card-dark:hover {
  box-shadow: 0 12px 40px rgba(26, 74, 58, 0.3);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== ACCORDION ===== */
.accordion {
  max-width: 800px;
  margin: 60px auto 0;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.accordion-header:hover {
  color: var(--gold);
}

.accordion-title {
  flex: 1;
}

.accordion-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  margin-left: 20px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.accordion-item.active .accordion-content {
  max-height: 800px;
  padding-bottom: 24px;
}

.accordion-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.accordion-content ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.accordion-content li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.accordion-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.accordion-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-price strong {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

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

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-link:hover .blog-card {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
  margin-top: auto;
}

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.blog-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--gold);
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  color: var(--white);
  padding: 24px;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
	background: linear-gradient(135deg, #0d3d2e 0%, #1a4a3a 100%);
	color: var(--white);
	padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.card.reveal {
  transition-delay: 0s;
}

.card.reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.card.reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.step.reveal:nth-child(1) { transition-delay: 0s; }
.step.reveal:nth-child(2) { transition-delay: 0.1s; }
.step.reveal:nth-child(3) { transition-delay: 0.2s; }
.step.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 32px;
  }

  .card-wide {
    padding: 32px 28px;
  }

  .card-wide-inner {
    flex-wrap: wrap;
    gap: 24px;
  }

  .card-wide-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card-wide-right .card-price {
    text-align: left;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accordion {
    margin-left: -24px;
    margin-right: -24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 61, 46, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .btn-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .accordion-header {
    padding: 20px 0;
    font-size: 1rem;
  }

  .accordion-icon {
    font-size: 1.2rem;
  }

  .accordion-content li {
    padding-left: 20px;
    font-size: 0.8rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-image {
    height: 160px;
  }

  .blog-content {
    padding: 24px;
  }

  .blog-card h3 {
    font-size: 1.1rem;
  }
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 2001;
  background: var(--white);
  border-radius: 24px;
  width: 90%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.06);
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0,0,0,0.12);
  color: var(--text-dark);
}

/* Ľavý stĺpec – info */
.modal-left {
  background: linear-gradient(135deg, #1a4a3a 0%, #1e5c49 100%);
  border-radius: 24px 0 0 24px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}

.modal-info-item span,
.modal-info-item a {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  text-decoration: none;
}

.modal-info-item a:hover {
  color: var(--gold);
}

.modal-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  margin-top: auto;
}

/* Pravý stĺpec – formulár */
.modal-right {
  padding: 48px 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 100px;
}

/* Mobile modal */
@media (max-width: 680px) {
  .modal-content {
    grid-template-columns: 1fr;
    border-radius: 16px;
    max-height: 92vh;
    width: 95%;
  }

  .modal-left {
    border-radius: 16px 16px 0 0;
    padding: 32px 24px 28px;
  }

  .modal-left h2 {
    font-size: 1.4rem;
  }

  .modal-right {
    padding: 24px 24px 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-info {
    flex-direction: row;
    gap: 24px;
    margin-bottom: 20px;
  }

  .modal-note {
    display: none;
  }
}

/* ===== ABOUT PAGE ===== */
.nav-active {
  color: var(--gold) !important;
}

.about-hero {
  background: linear-gradient(135deg, #1a4a3a 0%, #1e5c49 100%);
  padding: 160px 0 100px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}

.about-hero-inner {
  max-width: 720px;
}

.about-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}

.about-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 560px;
  font-weight: 300;
}

/* Intro sekcia */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-intro-text p:not(.about-lead) {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-intro-image {
  position: relative;
}

.about-together-photo {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-intro-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(200, 146, 42, 0.4);
}

.badge-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.badge-text {
  font-size: 0.75rem;
  opacity: 0.9;
  white-space: nowrap;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 60px;
}

.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.team-photo-wrap {
  position: relative;
}

.team-photo {
  width: 100%;
  border-radius: 16px;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.team-photo-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 2px solid var(--green-dark);
  z-index: -1;
  opacity: 0.4;
}

.team-photo-accent--gold {
  border-color: var(--gold);
}

.team-role {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.team-tags span {
  background: rgba(26, 74, 58, 0.06);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

/* Hodnoty grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.value-block {
  padding: 36px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.value-block:hover {
  transform: translateY(-4px);
}

.value-block-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.value-block-icon svg {
  width: 100%;
  height: 100%;
}

.value-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.value-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* About CTA */
.about-cta-section {
  background: linear-gradient(135deg, #1a4a3a 0%, #1e5c49 100%);
}

.about-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.about-cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 500px;
}

.about-cta-btn {
  flex-shrink: 0;
  padding: 18px 40px !important;
  font-size: 1rem !important;
  white-space: nowrap;
}

/* About responsive */
@media (max-width: 968px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-intro-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .about-cta-text p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 120px 0 80px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo-wrap {
    max-width: 200px;
  }

  .about-intro-badge {
    left: 0;
    bottom: -16px;
  }
}

/* ===== PORTFOLIO PAGE ===== */

/* Hero stats row */
.portfolio-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.portfolio-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  padding-bottom: 8px;
}

.portfolio-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.portfolio-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}

.portfolio-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.portfolio-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,0.1);
}

/* Project list */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual project card */
.pf-card {
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 56px 0;
}

.pf-card:first-child {
  padding-top: 0;
}

.pf-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pf-card-inner--reverse {
  direction: rtl;
}

.pf-card-inner--reverse > * {
  direction: ltr;
}

/* Visual side */
.pf-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.pf-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pf-card:hover .pf-image {
  transform: scale(1.02);
}

.pf-tags {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pf-tags span {
  background: rgba(13, 61, 46, 0.85);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* Info side */
.pf-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-index {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.pf-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.pf-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-weight: 300;
}

.pf-result {
  background: rgba(200, 146, 42, 0.07);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf-result-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}

.pf-result-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}

/* Toggle button */
.pf-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-dark);
  padding: 0;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.pf-toggle:hover {
  color: var(--gold);
}

.pf-toggle svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.pf-card--open .pf-toggle svg {
  transform: rotate(180deg);
}

/* Expanded detail */
.pf-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.pf-card--open .pf-detail {
  max-height: 400px;
}

.pf-detail-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 32px;
}

.pf-detail-block h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.pf-detail-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Coming soon */
.pf-coming-soon {
  padding: 48px 0 8px;
  display: flex;
  justify-content: center;
}

.pf-coming-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.55;
}

.pf-coming-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
  flex-shrink: 0;
}

/* Portfolio responsive */
@media (max-width: 968px) {
  .portfolio-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .pf-card-inner,
  .pf-card-inner--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .pf-card-inner--reverse > * {
    direction: ltr;
  }

  .pf-detail-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pf-card--open .pf-detail {
    max-height: 900px;
  }

  .pf-index {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .portfolio-hero-stats {
    gap: 20px;
  }

  .portfolio-stat-num {
    font-size: 1.6rem;
  }

  .pf-card {
    padding: 40px 0;
  }
}

/* ===== BROWSER MOCKUP (live iframe embed) ===== */
.browser-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  background: #1c1c1c;
  transition: box-shadow 0.3s ease;
}

.pf-card:hover .browser-mockup {
  box-shadow: 0 16px 56px rgba(0,0,0,0.22);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #2a2a2a;
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-viewport {
  position: relative;
  width: 100%;
  /* 1440 * scale → container width; 900 * scale → container height */
  /* scale = containerWidth / 1440 */
  /* height = 900 * scale */
  padding-bottom: 62.5%; /* 900/1440 = 0.625 */
  overflow: hidden;
  background: #f5f4f0;
}

.browser-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  border: none;
  transform-origin: 0 0;
  /* scale is set dynamically or via CSS; fallback: */
  transform: scale(0.46);
}

.browser-open-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.browser-open-link:hover {
  color: rgba(255,255,255,0.85);
}

/* Hide iframe on mobile, show fallback SVG */
.pf-visual--live .pf-image {
  display: none;
}

.pf-visual--live .browser-mockup {
  display: block;
}

@media (max-width: 768px) {
  .pf-visual--live .pf-image {
    display: block;
  }

  .pf-visual--live .browser-mockup {
    display: none;
  }
}
