/* ============================================================
   Design System: Kancelaria Adwokacka Adwokat Ewa Jachimko
   Mobile-first, BEM-light, CSS Custom Properties
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --gold: #bea274;
  --gold-light: #d4c0a0;
  --gold-dark: #a88b5e;
  --dark: #151c20;
  --dark-light: #1e272e;
  --dark-lighter: #263238;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --off-white-alt: #f0ebe0;
  --text: #3a3a3a;
  --text-light: #7a7a7a;
  --text-lighter: #b0b0b0;
  --border: #e0d8cc;
  --border-light: #ede6d8;
  --success: #2d8a4e;
  --error: #c0392b;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 4px 24px rgba(190, 162, 116, 0.15);

  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.text-gold { color: var(--gold); }
.bg-dark-section { background: var(--dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-dark);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(190, 162, 116, 0.08);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.btn-block {
  width: 100%;
}

/* --- Section Labels & Titles --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label-gold {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--dark);
}

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

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--dark);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-lg);
}

#main-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: auto;
  text-decoration: none;
}

.logo-gold {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.logo-light {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-lighter);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold);
  background: rgba(190, 162, 116, 0.08);
}

.nav-cta {
  display: none;
  font-size: 0.8rem;
  padding: 0.6rem 1.3rem;
}

/* --- Hamburger --- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--dark-light);
  backdrop-filter: blur(16px);
  padding: calc(var(--header-height) + 2rem) 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-link {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-link:hover,
.mobile-link:focus-visible {
  color: var(--gold);
  background: rgba(190, 162, 116, 0.1);
}

.mobile-cta {
  align-self: flex-start;
  font-size: 0.85rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-overlay {
  display: none;
}

.hero-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1.5rem;
}

.hero-text {
  text-align: center;
  max-width: 600px;
}

.hero-pretitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-lighter);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-trust {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-image {
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 60px rgba(190, 162, 116, 0.12);
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.about-image {
  width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  max-width: 640px;
}

.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-light);
}

.badge-icon {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-lighter);
  border: 1px solid rgba(190, 162, 116, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.service-icon {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-lighter);
  line-height: 1.65;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card ul li {
  font-size: 0.9rem;
  color: var(--text-lighter);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}

.service-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-lighter);
  font-size: 1.05rem;
}

.services-cta a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.services-cta a:hover {
  color: var(--gold);
}

/* ============================================================
   QUOTE
   ============================================================ */
#quote {
  padding: 6rem 0;
}

.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.quote-block::before {
  content: '\201C';
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 2rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quote-author {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  font-style: normal;
  color: var(--gold-light);
  text-align: right;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-icon {
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.contact-item a {
  color: var(--text);
}

.contact-item a:hover {
  color: var(--gold-dark);
}

.contact-hours {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-hours strong {
  color: var(--dark);
}

.contact-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: italic;
}

/* --- Contact Form --- */
.contact-form {
  background: var(--off-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--error);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 162, 116, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.form-feedback {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.5rem;
}

.form-feedback.success {
  color: var(--success);
}

.form-feedback.error {
  color: var(--error);
}

/* ============================================================
   MAP
   ============================================================ */
#map {
  border-top: 3px solid var(--gold);
}

#map iframe {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  padding: 3rem 0 1.5rem;
  text-align: center;
  position: relative;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

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

.footer-logo-light {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-address {
  font-size: 0.85rem;
  color: var(--text-lighter);
}

.footer-phone {
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-bottom: 1rem;
}

.footer-phone a {
  color: var(--gold-light);
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-lighter);
  opacity: 0.7;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-light);
  border-top: 1px solid rgba(190, 162, 116, 0.2);
  padding: 1rem 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  font-size: 0.8rem;
  color: var(--text-lighter);
  line-height: 1.6;
}

.cookie-content p a {
  color: var(--gold-light);
  text-decoration: underline;
}

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

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* Tablet: 600px+ */
@media (min-width: 600px) {
  .section {
    padding: 6rem 0;
  }

  .hero-content {
    flex-direction: row;
    text-align: left;
    gap: 4rem;
    padding: 3rem 2rem;
  }

  .hero-text {
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-image {
    width: 260px;
  }

  .about-grid {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }

  .about-image {
    width: 300px;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .contact-form {
    padding: 2.5rem 2rem;
  }

  .cookie-content {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

/* Desktop: 900px+ */
@media (min-width: 900px) {
  .container {
    padding: 0 2rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .section {
    padding: 7rem 0;
  }

  .hero-content {
    gap: 5rem;
    padding: 0 2rem;
  }

  .hero-image {
    width: 340px;
  }

  .about-grid {
    gap: 5rem;
  }

  .about-image {
    width: 360px;
  }

  .contact-grid {
    gap: 4rem;
  }
}

/* Large Desktop: 1200px+ */
@media (min-width: 1200px) {
  .hero-content {
    gap: 6rem;
  }

  .hero-image {
    width: 400px;
  }

  .about-image {
    width: 420px;
  }
}

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   FOOTER LINKS
   ============================================================ */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-lighter);
  transition: color var(--transition);
}

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

.footer-sep {
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   TESTIMONIALS (Opinie klientów)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  font-style: normal;
}

@media (min-width: 700px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   FAQ (Najczęściej zadawane pytania)
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--dark-lighter);
  border: 1px solid rgba(190, 162, 116, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item[open] {
  border-color: rgba(190, 162, 116, 0.3);
}

.faq-question {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-lighter);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--gold);
}

/* SCROLL ANIMATIONS: dodatkowe selektory */
.testimonial-card.animate,
.faq-item.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.testimonial-card.animate.visible,
.faq-item.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print styles */
@media print {
  #header,
  #footer,
  .back-to-top,
  .cookie-banner,
  .hamburger,
  .mobile-menu,
  .mobile-overlay,
  .hero-buttons,
  #map {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1cm 0;
    page-break-inside: avoid;
  }
}
