/* ==========================================================================
   Halfway — Viktória Gažová
   Vizuálna identita zachovaná z pôvodného webu (zelená / krémová / zlatá,
   Fraunces + Inter). Rozšírené o navigáciu, formulár, karusel, FAQ, footer.
   ========================================================================== */

:root {
  --green-deep: #3D5A45;
  --green-sage: #8FA894;
  --sage-tint: #EEF2EC;
  --cream: #FAF7F1;
  --charcoal: #2B2E2A;
  --gold: #B8935A;
  --white: #FFFFFF;
  --line: rgba(43, 46, 42, 0.12);
  --focus: #B8935A;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green-deep);
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-deep);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img { height: 68px; width: auto; display: block; }

footer .logo img { height: 57px; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 100px;
  opacity: 1 !important;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-cta:hover, .nav-cta:focus-visible { background: #A47F49; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg { width: 26px; height: 26px; }

.nav-mobile-panel {
  display: none;
}
.nav-mobile-panel.open {
  display: block;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  background: var(--sage-tint);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero .lead {
  font-size: 1.15rem;
  color: rgba(43, 46, 42, 0.78);
  max-width: 480px;
  margin-bottom: 32px;
}

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

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover, .btn-primary:focus-visible { background: #2E4735; transform: translateY(-1px); }

.btn-secondary {
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  display: inline-block;
  transition: border-color 0.2s;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--charcoal);
}

.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--green-deep); }

.hero-photo-wrap {
  position: relative;
  padding: 0 14px 14px 0;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 0;
  left: 22px;
  background: var(--gold);
  border-radius: 32px 120px 32px 32px;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 32px 120px 32px 32px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--green-sage), var(--green-deep));
  box-shadow: 0 24px 48px rgba(61, 90, 69, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero-name { text-align: center; margin-top: 18px; }

.signature {
  font-family: 'Sacramento', cursive;
  font-size: clamp(32px, 6vw, 40px);
  color: var(--green-deep);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-name .r {
  font-size: 0.85rem;
  color: rgba(43,46,42,0.6);
  display: block;
  margin-top: 2px;
}

/* Section generic */
section { padding: 96px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.section-head p {
  color: rgba(43, 46, 42, 0.72);
  font-size: 1.05rem;
}

/* Problem / shift section */
.shift { background: var(--white); }

.shift-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.shift-col { padding: 44px 40px; }
.shift-col.now { background: var(--cream); }
.shift-col.then { background: var(--green-deep); color: var(--white); }

.shift-col .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.shift-col.now .label { color: var(--gold); }
.shift-col.then .label { color: var(--gold); }

.shift-col ul { list-style: none; }
.shift-col li {
  font-size: 0.98rem;
  padding-left: 24px;
  position: relative;
  margin-bottom: 18px;
  line-height: 1.5;
}
.shift-col.now li { color: rgba(43,46,42,0.82); }
.shift-col.then li { color: rgba(255,255,255,0.9); }
.shift-col.now li::before { content: "✕"; position: absolute; left: 0; top: 1px; font-size: 0.8rem; color: rgba(43,46,42,0.35); }
.shift-col.then li::before { content: "✓"; position: absolute; left: 0; top: 1px; font-size: 0.85rem; color: var(--gold); }

@media (max-width: 720px) {
  .shift-cols { grid-template-columns: 1fr; }
}

/* Intro / O mne */
.intro { background: var(--sage-tint); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-grid h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 20px; }
.intro-grid p { color: rgba(43,46,42,0.78); margin-bottom: 16px; font-size: 1.02rem; }

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(61, 90, 69, 0.14);
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat b {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--green-deep);
  display: block;
  line-height: 1.2;
}
.stat span { font-size: 0.85rem; color: rgba(43,46,42,0.6); }

/* Two paths divider */
.halfway-divider {
  padding: 72px 0;
  text-align: center;
  background: var(--green-deep);
}
.halfway-divider .wrap { max-width: 640px; }
.halfway-divider h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; color: var(--white); }
.halfway-divider p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

.path-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 10px; vertical-align: middle; flex-shrink: 0;
}
.path-icon svg { width: 18px; height: 18px; }

.path-card .tag-row { display: flex; align-items: center; margin-bottom: 14px; }

.paths { background: var(--sage-tint); }

.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.path-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.path-card .tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold);
}

.path-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.path-card p { color: rgba(43,46,42,0.75); margin-bottom: 20px; }

.path-card ul { list-style: none; margin-bottom: 20px; }
.path-card li {
  font-size: 0.94rem; color: rgba(43,46,42,0.8); padding-left: 22px; position: relative; margin-bottom: 10px;
}
.path-card li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

.path-result {
  font-size: 0.92rem;
  color: var(--green-deep);
  background: var(--sage-tint);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.path-card.firm { background: var(--green-deep); border-color: var(--green-deep); }
.path-card.firm h3, .path-card.firm .tag { color: var(--white); }
.path-card.firm p, .path-card.firm li { color: rgba(255,255,255,0.82); }
.path-card.firm li::before { background: var(--gold); }
.path-card.firm .path-result { background: rgba(255,255,255,0.1); color: var(--white); }
.path-card.firm .btn-secondary { border-color: rgba(255,255,255,0.35); color: var(--white); }
.path-card.firm .btn-secondary:hover { border-color: var(--white); }

.path-card .btn-primary, .path-card .btn-secondary { margin-top: auto; align-self: flex-start; }

@media (max-width: 860px) {
  .paths-grid { grid-template-columns: 1fr; }
}

/* Testimonials carousel */
.testimonials { background: var(--white); }

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.carousel-track:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: 16px;
  padding: 32px;
}

@media (min-width: 720px) {
  .carousel-slide { flex: 0 0 calc(50% - 12px); }
}

.carousel-slide .quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.carousel-slide p { font-size: 0.98rem; color: rgba(43,46,42,0.85); margin-bottom: 18px; }
.carousel-slide .who { font-weight: 600; font-size: 0.9rem; color: var(--green-deep); }
.carousel-slide .role { font-size: 0.82rem; color: rgba(43,46,42,0.55); }

.carousel-controls { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }

.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 0.2s;
}
.carousel-btn:hover, .carousel-btn:focus-visible { border-color: var(--green-deep); }
.carousel-btn svg { width: 18px; height: 18px; }

/* Newsletter */
.newsletter { padding: 0 32px; }

.newsletter-card {
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(120deg, var(--green-deep), #4C6E56);
  border-radius: 24px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.newsletter-card h3 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.newsletter-card p { color: rgba(255,255,255,0.78); font-size: 0.98rem; }

.newsletter-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.newsletter-cta .btn-primary { background: var(--gold); }
.newsletter-cta .btn-primary:hover, .newsletter-cta .btn-primary:focus-visible { background: #A47F49; }
.newsletter-cta small { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

@media (max-width: 860px) {
  .newsletter-card { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* FAQ */
.faq-list { max-width: 760px; }

.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }

.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--green-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform 0.2s; flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: rgba(43,46,42,0.72); font-size: 0.98rem; max-width: 640px; }

/* Contact form */
.contact-section { background: var(--sage-tint); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-intro h2 { margin-bottom: 16px; }
.contact-intro p { color: rgba(43,46,42,0.75); font-size: 1.02rem; margin-bottom: 24px; }

.contact-intro .contact-detail {
  font-size: 0.95rem;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--line);
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
}

.form-row input:focus, .form-row textarea:focus { border-color: var(--green-deep); outline: none; }

.form-row textarea { min-height: 120px; resize: vertical; }

.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 16px;
  font-size: 0.92rem; cursor: pointer;
}
.radio-option input { accent-color: var(--green-deep); }

.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input { margin-top: 4px; accent-color: var(--green-deep); flex-shrink: 0; }
.consent-row label { font-size: 0.88rem; color: rgba(43,46,42,0.75); font-weight: 400; }
.consent-row label a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.consent-row label a:hover, .consent-row label a:focus-visible { color: var(--gold); }

.form-submit { width: 100%; text-align: center; margin-top: 8px; }

.form-note { font-size: 0.82rem; color: rgba(43,46,42,0.5); margin-top: 14px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.form-status.success { background: rgba(143, 168, 148, 0.25); color: var(--green-deep); }
.form-status.error { background: rgba(184, 76, 76, 0.12); color: #8a3a3a; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* Footer */
footer { padding: 56px 0 40px; background: var(--cream); }

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-meta {
  font-size: 0.88rem;
  color: rgba(43,46,42,0.65);
  line-height: 1.7;
}
.footer-meta a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-deep); font-weight: 600; font-size: 0.88rem;
}
.footer-social svg { width: 20px; height: 20px; }

.footer-legal-note {
  font-size: 0.85rem;
  color: rgba(43,46,42,0.65);
  max-width: 320px;
}
.footer-legal-note a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-mobile-panel {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--green-deep);
    z-index: 99;
    overflow-y: auto;
  }

  .nav-mobile-panel ul {
    list-style: none;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .nav-mobile-panel a {
    display: block;
    color: var(--white);
    font-size: 1.15rem;
    font-family: 'Fraunces', serif;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav-mobile-panel .nav-cta {
    display: inline-block;
    margin-top: 16px;
    border-bottom: none;
    color: var(--white) !important;
  }

  body.nav-open { overflow: hidden; }
}

/* General responsive */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; max-width: 320px; margin: 0 auto 24px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid .about-photo { max-width: 360px; margin: 0 auto; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .contact-form { padding: 22px; }
}
