/* TU Twoje Ubezpieczenia — Main Stylesheet */

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

:root {
  --gold: #FFDA00;
  --gold-dark: #E5C400;
  --gray: #575756;
  --gray-light: #8A8A89;
  --dark: #2D2926;
  --darker: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #FAF9F6;
  --beige: #F4F1ED;
  --font: 'Outfit', 'Azo Sans', system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.1);
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: padding var(--transition);
}
.navbar.scrolled {
  padding: 8px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--dark);
}
.logo img {
  height: 72px; width: auto; transition: var(--transition);
}
.navbar.scrolled .logo img {
  height: 60px;
}
.logo:hover img { transform: scale(1.03); }

.nav-links {
  display: flex; list-style: none; gap: 8px;
}
.nav-links a {
  color: var(--dark); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  padding: 8px 16px; border-radius: 8px;
  transition: var(--transition); text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold-dark); background: rgba(255,218,0,0.08); }
.nav-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  font-weight: 700 !important; border-radius: 8px !important;
  padding: 10px 24px !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }

.mobile-toggle {
  display: flex; cursor: pointer; flex-direction: column; gap: 5px;
}
@media (min-width: 1025px) { .mobile-toggle { display: none; } }
.mobile-toggle span {
  width: 24px; height: 2px; background: var(--dark);
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: var(--darker);
}
.hero-slider {
  position: absolute; inset: 0; z-index: 1;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1.04);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.video-slide { transform: none !important; background: var(--darker); }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
}
.hero .container {
  position: relative; z-index: 10; width: 100%;
}
.hero-content {
  max-width: 650px;
}
.hero-badge {
  display: inline-block; padding: 8px 18px;
  background: var(--gold); border-radius: 100px;
  font-size: 11px; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(12px); transition: 1s 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; color: var(--dark);
  line-height: 1.05; margin-bottom: 28px;
  opacity: 0; transform: translateY(18px); transition: 1.2s 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.hero h1 em { font-style: normal; color: var(--gold-dark); }
.hero p {
  font-size: 20px; color: var(--gray);
  line-height: 1.8; margin-bottom: 40px;
  opacity: 0; transform: translateY(18px); transition: 1.2s 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.hero-actions {
  display: flex; gap: 20px;
  opacity: 0; transform: translateY(18px); transition: 1.2s 1.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.hero.visible .hero-badge,
.hero.visible h1,
.hero.visible p,
.hero.visible .hero-actions {
  opacity: 1; transform: translateY(0);
}
.hero-content.fade-out {
  opacity: 0; transform: translateY(-10px);
  transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px; border-radius: 12px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  text-decoration: none; text-transform: uppercase;
  letter-spacing: 1px; transition: var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--gold); color: var(--dark);
  box-shadow: 0 10px 30px rgba(255,218,0,0.3);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255,218,0,0.4);
}
.btn-outline {
  background: rgba(255,255,255,0.8); color: var(--dark);
  backdrop-filter: blur(5px);
  border: 1px solid var(--white);
}
.btn-outline:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-hover);
}

/* ─── HERO NAV ─── */
.hero-nav {
  position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
  z-index: 25; display: flex; gap: 20px;
}
.hero-dot {
  width: 32px; height: 32px; cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-dot svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.dot-bg {
  fill: rgba(0,0,0,0.2);
  stroke: rgba(255,255,255,0.3);
  stroke-width: 3;
}
.dot-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-dasharray: 88; /* 2 * PI * r (14) */
  stroke-dashoffset: 88;
}
.hero-dot.active .dot-progress {
  animation: hero-circle-progress 10s linear forwards;
}
@keyframes hero-circle-progress {
  from { stroke-dashoffset: 88; }
  to { stroke-dashoffset: 0; }
}
.hero-dot:hover .dot-bg { stroke: rgba(255,255,255,0.6); }

/* ─── FAQ UPDATED ─── */
.faq { background: var(--off-white); padding: 60px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,218,0,0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.faq-item.active {
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(255,218,0,0.1);
}

.faq-question {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: none; border: none; outline: none;
  cursor: pointer; text-align: left;
}
.faq-q-text {
  font-family: var(--font);
  font-size: 17px; font-weight: 700; color: var(--dark);
  line-height: 1.4;
}
.faq-icon-box {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--off-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.faq-item.active .faq-icon-box {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}
.faq-icon-box svg { width: 14px; height: 14px; color: var(--dark); }

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-answer {
  min-height: 0;
  padding: 0 24px 20px 24px;
  color: var(--gray); font-size: 15px; line-height: 1.8;
  opacity: 0; transform: translateY(10px);
  transition: 0.4s 0.1s ease-out;
}
.faq-item.active .faq-answer {
  opacity: 1; transform: translateY(0);
}

/* ─── VIDEO CTA SECTION (EXTREME PARALLAX) ─── */
.video-cta {
  height: 650px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
}
.video-cta video {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 100%; height: 140%;
  transform: translateX(-50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.video-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(26,26,26,0.88), rgba(26,26,26,0.88));
  z-index: 2;
}
.video-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,218,0,0.12) 0%, transparent 70%);
  z-index: 3;
}
.video-cta .container { position: relative; z-index: 10; }
.video-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800; color: #fff;
  margin-bottom: 24px; line-height: 1.2;
}
.video-cta h2 em { font-style: normal; color: var(--gold); }
.video-cta p {
  font-size: 18px; color: rgba(255,255,255,0.7);
  max-width: 650px; margin: 0 auto 40px;
  line-height: 1.6;
}
.video-cta-actions { display: flex; gap: 20px; justify-content: center; }

/* ─── ELEVENLABS WIDGET FIX ─── */
elevenlabs-convai {
  position: fixed !important;
  bottom: 100px !important;
  right: 20px !important;
  z-index: 10000 !important;
}
elevenlabs-convai::part(branding) { display: none !important; }
elevenlabs-convai::part(footer) { display: none !important; }
elevenlabs-convai::part(container) { z-index: 10000 !important; }

/* ─── SECTION BASE ─── */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-dark); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: ''; width: 24px; height: 1px; background: var(--gold);
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: var(--dark);
  line-height: 1.2; margin-bottom: 16px;
}
.section-header p {
  font-size: 16px; color: var(--gray-light);
  line-height: 1.8;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--off-white);
  padding: 40px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.trust-items {
  display: flex; justify-content: center; gap: 64px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 16px;
}
.trust-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-num { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1; }
.trust-label { font-size: 13px; color: var(--gray-light); font-weight: 500; }

/* ─── SERVICES ─── */
.services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(255,218,0,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); }
.service-icon svg { width: 28px; height: 28px; color: var(--gold-dark); transition: var(--transition); }
.service-card:hover .service-icon svg { color: var(--dark); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { font-size: 14px; color: var(--gray-light); line-height: 1.7; margin-bottom: 20px; }
.service-link {
  font-size: 13px; font-weight: 700; color: var(--gold-dark);
  text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 12px; }
.service-link svg { width: 14px; height: 14px; }

/* ─── ABOUT ─── */
.about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  width: 100%; border-radius: 20px;
  aspect-ratio: 4/3;
  background: url('../../assets/img/3.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.about-img-main svg { width: 120px; height: 120px; opacity: 0; }
.about-video-main {
  width: 100%; border-radius: 20px;
  overflow: hidden; position: relative;
}
.about-video-main video {
  display: block; width: 100%; border-radius: 20px;
}
.about-img-overlay {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 8px 32px rgba(255,218,0,0.3);
}
.about-img-overlay .big { font-size: 36px; font-weight: 800; color: var(--dark); line-height: 1; }
.about-img-overlay .small { font-size: 13px; color: var(--dark); font-weight: 600; opacity: 0.7; }
.about-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.about-content h2 em { font-style: normal; color: var(--gold-dark); }
.about-content p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 32px;
}
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--white);
  border-radius: 10px; border: 1px solid rgba(0,0,0,0.04);
}
.about-feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,218,0,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.about-feature-icon svg { width: 18px; height: 18px; color: var(--gold-dark); }
.about-feature span { font-size: 14px; font-weight: 600; color: var(--dark); }

/* ─── WHY US (STATS) ─── */
.why-us {
  background: linear-gradient(rgba(26,26,26,0.92), rgba(26,26,26,0.92)), url('../../assets/img/4.jpg') center/cover no-repeat fixed;
  position: relative; overflow: hidden;
}
.why-us::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,218,0,0.08) 0%, transparent 70%);
}
.why-us .section-header h2 { color: var(--white); }
.why-us .section-header p { color: rgba(255,255,255,0.5); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; z-index: 2;
}
.stat-card {
  text-align: center; padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: rgba(255,218,0,0.2);
  background: rgba(255,218,0,0.04);
}
.stat-number {
  font-size: 48px; font-weight: 800; color: var(--gold);
  line-height: 1; margin-bottom: 8px;
}
.stat-suffix { font-size: 24px; }
.stat-label {
  font-size: 14px; color: rgba(255,255,255,0.5);
  font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── CONTACT ─── */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.contact-info h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 32px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-label { font-size: 12px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.contact-detail-value { font-size: 16px; font-weight: 600; color: var(--dark); margin-top: 2px; }
.contact-detail-value a { color: var(--dark); text-decoration: none; }
.contact-detail-value a:hover { color: var(--gold-dark); }

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: var(--font); font-size: 14px;
  color: var(--dark); background: var(--off-white);
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,218,0,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 20px 0; font-size: 12px; color: var(--gray-light); line-height: 1.6;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--gold);
}
.btn-submit {
  width: 100%; padding: 16px;
  background: var(--gold); color: var(--dark);
  font-family: var(--font); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; border-radius: 10px;
  cursor: pointer; transition: var(--transition);
}
.btn-submit:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 20px rgba(255,218,0,0.3);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--darker); padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: var(--white); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 14px; transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { color: rgba(255,255,255,0.3); font-size: 13px; }
.footer-credit { display: block; margin-top: 8px; font-size: 12px; opacity: 0.6; }
.footer-credit a { color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 5px; }
.footer-credit a:hover { color: var(--gold); opacity: 1; }
.footer-credit-logo { height: 16px; width: auto; vertical-align: middle; border-radius: 3px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); background: rgba(255,218,0,0.08); }
.footer-socials svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-socials a:hover svg { fill: var(--gold); }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero p { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-items { gap: 32px; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer Mobile Fixes */
  .footer { padding: 48px 0 180px; } /* Increased space for widgets */
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; gap: 40px; }
  .footer-brand, .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-brand img { margin: 0 auto; }
  .footer-brand p { max-width: 300px; margin: 16px auto; }
  .footer-col ul { width: 100%; padding: 0; }
  .footer-col a { word-break: break-all; padding: 10px 0; display: block; }
  .footer-bottom { flex-direction: column !important; gap: 24px; text-align: center; padding-top: 40px; position: relative; }
  .footer-copy { max-width: 250px; margin: 0 auto; line-height: 1.4; color: rgba(255,255,255,0.4); }

  /* Header/Nav Mobile Fixes */
  .nav-links { display: none !important; } /* Hide desktop links */
  .nav-links.active {
    display: flex !important; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    padding: 24px; gap: 4px;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .logo img { height: 50px; }
}
/* ─── ACCESSIBILITY WIDGET ─── */
.acc-widget {
  position: fixed; left: 20px; bottom: 100px; z-index: 10001;
  font-family: var(--font);
}
.acc-btn {
  width: 56px; height: 56px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition); border: 2px solid white;
}
.acc-btn:hover { transform: scale(1.1); background: var(--white); }
.acc-btn svg { width: 30px; height: 30px; fill: var(--dark); }

.acc-panel {
  position: absolute; bottom: 70px; left: 0; width: 300px;
  background: var(--darker); border-radius: 20px; padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: none; border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.acc-panel.active { display: block; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.acc-panel h3 { font-size: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; color: var(--gold); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-opt {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 12px; border-radius: 12px; cursor: pointer; text-align: center;
  transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.acc-opt:hover { background: rgba(255,218,0,0.1); border-color: var(--gold); }
.acc-opt.active { background: var(--gold); color: var(--dark); }
.acc-opt svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.acc-opt span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* WCAG MODES */
html.wcag-high-contrast body { background: #000 !important; color: #ff0 !important; }
html.wcag-high-contrast body *:not(.acc-widget, .acc-widget *, elevenlabs-convai, elevenlabs-convai *) {
  background: #000 !important; color: #ff0 !important; border-color: #ff0 !important;
}
html.wcag-grayscale { filter: grayscale(100%) !important; }
html.wcag-links a:not(.acc-btn, .acc-opt) { text-decoration: underline !important; font-weight: 800 !important; background: yellow !important; color: black !important; }
html.wcag-cursor, html.wcag-cursor * { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24"><path d="M7 2l12 11.2l-5.8 0.5l3.3 5.3l-3 1.9l-3.3-5.5l-3.2 2.6z" fill="black" stroke="white" stroke-width="2"/></svg>'), auto !important; }
/* ─── COOKIE BANNER (GDPR COMPLIANT) ─── */
.cookie-banner {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  width: calc(100% - 40px); max-width: 500px;
  background: var(--darker); color: var(--white);
  padding: 32px; border-radius: 24px;
  z-index: 9999; box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0; visibility: hidden;
}
.cookie-banner.active { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

.cookie-header { margin-bottom: 16px; }
.cookie-header h4 { font-size: 18px; color: var(--gold); margin-bottom: 8px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.cookie-header h4 svg { width: 20px; height: 20px; fill: currentColor; }
.cookie-content p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.cookie-content a { color: var(--gold); text-decoration: underline; }

.cookie-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-opt { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--white); cursor: pointer; }
.cookie-opt input { display: none; }
.cookie-switch { width: 34px; height: 18px; background: rgba(255,255,255,0.2); border-radius: 10px; position: relative; transition: 0.3s; }
.cookie-switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; background: #fff; border-radius: 50%; transition: 0.3s; }
.cookie-opt input:checked + .cookie-switch { background: var(--gold); }
.cookie-opt input:checked + .cookie-switch::after { left: 18px; transform: scale(0.9); background: var(--dark); }
.cookie-opt.disabled { opacity: 0.5; pointer-events: none; }

.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cookie-btn {
  padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: var(--transition); text-align: center; border: none;
}
.btn-all { background: var(--gold); color: var(--dark); }
.btn-necessary { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.cookie-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-all:hover { background: #fff; }

/* ─── SUBPAGE STYLES ─── */
.sub-hero { padding: 180px 0 100px; background: var(--darker); position: relative; color: var(--white); text-align: center; }
.sub-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.15; }
.sub-hero-content { position: relative; z-index: 10; }
.sub-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.breadcrumbs { display: flex; justify-content: center; gap: 10px; font-size: 13px; color: var(--gold); margin-bottom: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; position: relative; }
.breadcrumbs a { color: var(--white); text-decoration: none; opacity: 0.7; transition: 0.3s; }
.breadcrumbs a:hover { opacity: 1; }

.service-detail { padding: 100px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.service-detail .section-label {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--gold);
  border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px;
}
.service-detail .section-label::before, .service-detail .section-label::after { display: none; }
.service-text h2 { font-size: 40px; font-weight: 800; margin-bottom: 30px; line-height: 1.2; }
.service-text h2 em { font-style: normal; color: var(--gold-dark); }
.service-text p { margin-bottom: 24px; color: var(--gray); font-size: 17px; line-height: 1.7; }
.feature-list { margin-top: 32px; }
.feature-item { display: flex; gap: 20px; background: var(--off-white); padding: 24px; border-radius: 16px; margin-bottom: 20px; transition: var(--transition); border: 1px solid transparent; }
.feature-item:hover { transform: translateX(10px); background: var(--white); border-color: var(--gold); box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; background: var(--gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-info h4 { margin-bottom: 6px; font-size: 16px; }
.feature-info p { font-size: 14px; color: var(--gray); margin-bottom: 0; }
.service-visual { position: sticky; top: 120px; }
.service-img { width: 100%; aspect-ratio: 4/5; border-radius: 32px; object-fit: cover; box-shadow: var(--shadow); }

@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-visual { position: relative; top: 0; order: -1; }
}

/* ─── LEGAL PAGES ─── */
.legal-page { padding: 160px 0 100px; background: var(--off-white); min-height: 100vh; }
.legal-card {
  background: var(--white);
  padding: 60px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}
.legal-card h1 { font-size: 42px; font-weight: 900; margin-bottom: 40px; color: var(--dark); line-height: 1.1; }
.legal-card h2 { font-size: 24px; font-weight: 800; margin: 40px 0 20px; color: var(--dark); }
.legal-card h3 { font-size: 18px; font-weight: 700; margin: 30px 0 15px; color: var(--dark); }
.legal-card p { color: var(--gray); margin-bottom: 20px; font-size: 16px; }
.legal-card ul { margin-bottom: 20px; padding-left: 20px; color: var(--gray); }
.legal-card li { margin-bottom: 10px; }
.legal-card strong { color: var(--dark); border-bottom: 2px solid var(--gold); }
.legal-card table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.legal-card th, .legal-card td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); }
.legal-card th { background: var(--off-white); font-weight: 700; color: var(--dark); }
.legal-card td { font-size: 14px; color: var(--gray); }
@media (max-width: 768px) {
  .legal-card { padding: 30px; }
  .legal-card h1 { font-size: 32px; }
}

@media (max-width: 600px) {
  .cookie-banner { width: calc(100% - 20px); bottom: 10px; padding: 24px; }
  .cookie-actions { grid-template-columns: 1fr; }
  /* Final Positioning for Widgets - No Overlaps */
  .acc-widget { bottom: 60px !important; left: 15px !important; z-index: 10001; }
  .acc-widget .acc-btn { width: 44px; height: 44px; }
  elevenlabs-convai { bottom: 15px !important; right: 15px !important; transform: scale(0.85); transform-origin: bottom right; z-index: 10000; }
}
