/* ============================================
   PROFITHOME — Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --navy: #071658;
  --navy-deep: #050f3d;
  --navy-light: #0c2275;
  --gold: #FFB603;
  --gold-hover: #E5A200;
  --gold-light: #FFF0C4;
  --blue: #067AEB;
  --blue-light: #E8F4FD;
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-light: #DCFCE7;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(7, 22, 88, 0.06), 0 1px 2px rgba(7, 22, 88, 0.04);
  --shadow-md: 0 4px 16px rgba(7, 22, 88, 0.08), 0 2px 4px rgba(7, 22, 88, 0.04);
  --shadow-lg: 0 12px 40px rgba(7, 22, 88, 0.12), 0 4px 12px rgba(7, 22, 88, 0.06);
  --shadow-xl: 0 24px 60px rgba(7, 22, 88, 0.16), 0 8px 20px rgba(7, 22, 88, 0.08);
  --shadow-gold: 0 8px 30px rgba(255, 182, 3, 0.3);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--gray-600);
  line-height: 1.75;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
}

.section--gray {
  background: var(--gray-50);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.section-badge--navy {
  background: rgba(7, 22, 88, 0.06);
  color: var(--navy);
}

.section-badge--gold {
  background: var(--gold-light);
  color: var(--gold-hover);
}

.section-badge--white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section-badge--green {
  background: var(--green-light);
  color: var(--green-dark);
}

.section-badge svg {
  width: 18px;
  height: 18px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.highlight {
  position: relative;
  color: var(--navy);
}

.highlight--gold {
  background: linear-gradient(120deg, var(--gold-light) 0%, rgba(255, 182, 3, 0.25) 100%);
  padding: 2px 10px;
  border-radius: 6px;
}

.highlight--green {
  background: linear-gradient(120deg, var(--green-light) 0%, rgba(34, 197, 94, 0.2) 100%);
  padding: 2px 10px;
  border-radius: 6px;
  color: var(--green-dark);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(7, 22, 88, 0.08);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  z-index: 1001;
  transition: color var(--transition-base);
}

.header.scrolled .logo {
  color: var(--navy);
}

.logo span:first-child {
  color: inherit;
}

.logo span:last-child {
  color: var(--gold);
}

.logo-icon {
  width: 36px;
  height: 36px;
  margin-right: 4px;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all var(--transition-base);
}

.header.scrolled .logo-img {
  filter: none;
}

/* Solid header variant (for subpages) */
.header--solid {
  background: var(--white);
  box-shadow: 0 1px 20px rgba(7, 22, 88, 0.08);
}

.header--solid .nav-links a {
  color: var(--gray-600);
}

.header--solid .nav-links a:hover {
  color: var(--navy);
}

.header--solid .nav-phone {
  color: var(--navy);
}

.header--solid .menu-toggle span {
  background: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.header.scrolled .nav-links a {
  color: var(--gray-600);
}

.header.scrolled .nav-links a:hover {
  color: var(--navy);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  transition: color var(--transition-base);
}

.header.scrolled .nav-phone {
  color: var(--navy);
}

.nav-phone svg {
  width: 18px;
  height: 18px;
}

.btn-nav {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.btn-nav--gold:hover {
  background: var(--gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.scrolled .menu-toggle span {
  background: var(--navy);
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-align: center;
}

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

.btn--gold:hover {
  background: var(--gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

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

.btn--navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn--green:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 182, 3, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 122, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 182, 3, 0.12);
  border: 1px solid rgba(255, 182, 3, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold) 0%, #FFD54F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ============================================
   LEAD FORM (HERO)
   ============================================ */
.hero-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-form-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, var(--gold) 0%, rgba(255, 182, 3, 0.2) 50%, transparent 100%);
  z-index: -1;
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-header .form-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.form-header h3 {
  font-size: 1.2rem;
  color: var(--gray-800);
}

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

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: all var(--transition-fast);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 182, 3, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-type-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.form-type-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-type-btn:hover,
.form-type-btn.active {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--navy);
}

.form-consent {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 12px;
  line-height: 1.5;
}

.form-consent a {
  color: var(--blue);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  margin-top: 16px;
}

/* Green form variant for sprzedaz */
.hero-form-wrapper--green::before {
  background: linear-gradient(135deg, var(--green) 0%, rgba(34, 197, 94, 0.2) 50%, transparent 100%);
}

.hero-form-wrapper--green .form-header .form-badge {
  background: var(--green);
  color: var(--white);
}

.hero-form-wrapper--green .form-type-btn:hover,
.hero-form-wrapper--green .form-type-btn.active {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}

.hero-form-wrapper--green .form-group input:focus,
.hero-form-wrapper--green .form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.hero-form-wrapper--green .form-group label .required {
  color: var(--green);
}

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

.process-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.process-step:hover .process-step-number {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
  transform: scale(1.08);
}

.process-step h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   FEATURE / BENEFIT CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card-icon--gold {
  background: var(--gold-light);
  color: var(--gold-hover);
}

.feature-card-icon--blue {
  background: var(--blue-light);
  color: var(--blue);
}

.feature-card-icon--navy {
  background: rgba(7, 22, 88, 0.06);
  color: var(--navy);
}

.feature-card-icon--green {
  background: var(--green-light);
  color: var(--green-dark);
}

.feature-card h4 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.9rem;
}

/* ============================================
   ABOUT / TRUST SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.about-checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.about-checklist-item .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-checklist-item .check-icon svg {
  width: 16px;
  height: 16px;
  color: var(--gold-hover);
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
}

.about-stat-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.about-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   PROPERTY TYPES (Co kupujemy)
   ============================================ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.property-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.property-card:hover::after {
  transform: scaleX(1);
}

.property-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.3rem;
}

.property-card h4 {
  margin-bottom: 10px;
}

.property-card p {
  font-size: 0.9rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 182, 3, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */
.testimonials-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 56px;
}

.testimonials-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}

.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 8px 4px 20px;
}

.slider-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.slider-arrow:hover svg {
  stroke: var(--white);
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--gray-600);
  transition: stroke var(--transition-base);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--navy);
  width: 32px;
  border-radius: 5px;
}

.testimonial-card {
  min-width: calc(33.333% - 19px);
  max-width: calc(33.333% - 19px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-source {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  font-weight: 500;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: '\201E';
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -4px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--gray-200);
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--navy);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--gold);
  transform: rotate(180deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--gray-500);
  transition: color var(--transition-base);
}

.faq-item.active .faq-icon svg {
  color: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ============================================
   SPECIAL SECTION (Fund Securitization)
   ============================================ */
.special-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.special-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.special-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.special-list li svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Fundusz photo grid */
.fundusz-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.fundusz-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fundusz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fundusz-photo:hover img {
  transform: scale(1.05);
}

.fundusz-photo--tall {
  grid-row: span 1;
}

.fundusz-photo:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.fundusz-photo:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.fundusz-photo:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.fundusz-photo:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.fundusz-photo:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.fundusz-photo:nth-child(2) img {
  height: 100%;
  min-height: 100%;
}

@media (max-width: 768px) {
  .fundusz-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fundusz-photo:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .fundusz-photo:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .fundusz-photo:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .fundusz-photo:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3;
  }
}

/* ============================================
   RISK TABLE (Sprzedaz)
   ============================================ */
.risk-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.risk-table thead {
  background: var(--navy);
}

.risk-table th {
  padding: 18px 28px;
  text-align: left;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.risk-table td {
  padding: 18px 28px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.risk-table tbody tr {
  transition: background var(--transition-fast);
}

.risk-table tbody tr:hover {
  background: var(--gray-50);
}

.risk-table tbody tr:last-child td {
  border-bottom: none;
}

.risk-icon {
  color: #EF4444;
}

/* ============================================
   STEPS (Sprzedaz - detailed)
   ============================================ */
.detailed-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.detailed-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  align-items: start;
}

.detailed-step-number {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  box-shadow: var(--shadow-md);
}

.detailed-step-content h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.detailed-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detailed-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.detailed-step-list li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

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

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

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

.footer h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

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

/* ============================================
   FLOATING PHONE
   ============================================ */
.floating-phone {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  z-index: 999;
  transition: all var(--transition-base);
}

.floating-phone:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 182, 3, 0.4);
}

.floating-phone svg {
  width: 20px;
  height: 20px;
  animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(0); }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

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

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   STATS BAR (Sprzedaz)
   ============================================ */
.stats-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-number span {
  color: var(--green);
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   SPRZEDAZ HERO (Green variant)
   ============================================ */
.hero--green {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, #0c3d2e 100%);
}

.hero--green::before {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
}

.hero--green .hero-badge {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.hero--green h1 .gold {
  background: linear-gradient(135deg, var(--green) 0%, #86EFAC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1000;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu .btn {
  margin-top: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content {
    max-width: 100%;
  }

  .special-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-grid::before {
    display: none;
  }

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

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .nav {
    gap: 16px;
  }

  .btn-nav {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-phone,
  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links,
  .nav-phone,
  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .features-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

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

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

  .testimonial-card {
    min-width: calc(50% - 14px);
    max-width: calc(50% - 14px);
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-form-wrapper {
    padding: 28px 24px;
  }

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

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

  .detailed-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .risk-table {
    font-size: 0.85rem;
  }

  .risk-table th,
  .risk-table td {
    padding: 12px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Footer form section - stack on mobile */
  .footer-form-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .about-image-wrapper img {
    min-height: 250px;
    max-height: 350px;
  }

  .about-stat-card {
    right: 10px;
    bottom: -10px;
    padding: 16px 24px;
  }

  .about-stat-card .stat-number {
    font-size: 2rem;
  }

  .logo-img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .form-type-selector {
    gap: 6px;
  }

  .form-type-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .floating-phone {
    bottom: 16px;
    left: 16px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .testimonials-slider {
    gap: 8px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .testimonial-card {
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 28px 24px;
  }

  .slider-dots {
    margin-top: 24px;
  }

  .sticky-card {
    min-height: auto !important;
  }

  .sticky-card-inner {
    grid-template-columns: 1fr !important;
  }

  .sticky-card-img {
    height: 220px !important;
  }

  .sticky-card-illustration {
    min-height: 220px !important;
    padding: 16px !important;
  }
}

/* ============================================
   FOOTER FORM FIX — Navy section text contrast
   ============================================ */
.section--navy .hero-form-wrapper {
  color: var(--gray-700);
}

.section--navy .hero-form-wrapper h3 {
  color: var(--gray-800);
}

.section--navy .hero-form-wrapper label {
  color: var(--gray-600) !important;
}

.section--navy .hero-form-wrapper .checkbox-label {
  color: var(--gray-500) !important;
}

.section--navy .hero-form-wrapper .form-consent {
  color: var(--gray-400);
}

.section--navy .hero-form-wrapper .form-consent a {
  color: var(--blue);
}

/* ============================================
   STICKY STACKING CARDS (Process section)
   ============================================ */
.sticky-cards-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.sticky-card {
  position: sticky;
  top: 90px;
  margin-bottom: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  transition: transform 0.4s ease, opacity 0.4s ease;
  min-height: 360px;
}

.sticky-card:nth-child(1) { z-index: 1; }
.sticky-card:nth-child(2) { z-index: 2; top: 110px; }
.sticky-card:nth-child(3) { z-index: 3; top: 130px; }
.sticky-card:nth-child(4) { z-index: 4; top: 150px; }

.sticky-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: inherit;
}

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

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

.sticky-card-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.sticky-card-illustration {
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F7FF 0%, #EEF1FC 100%);
  padding: 24px;
}

.sticky-card-illustration svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.sticky-card-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sticky-card-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.sticky-card--green .sticky-card-number {
  color: var(--green);
}

.sticky-card-content h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.sticky-card-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.sticky-card-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.sticky-card-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.sticky-card-content ul li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Overlay for dimming effect when card scrolls behind next card */
.sticky-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  border-radius: inherit;
  transition: opacity 0.1s ease;
}

/* ============================================
   PORTAL LOGOS MARQUEE
   ============================================ */
.portals-section {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
  position: relative;
}

.portals-section::before,
.portals-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.portals-section::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.portals-section::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.portals-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.portals-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.portals-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.portals-track-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 30px;
}

.portal-logo {
  height: 32px;
  width: auto;
  min-width: 60px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.portal-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Ensure SVG portal logos scale properly */
svg.portal-logo {
  height: 28px;
  width: auto;
}

/* ============================================
   PROPERTY IMAGE GALLERY
   ============================================ */
.property-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.property-gallery::-webkit-scrollbar {
  display: none;
}

.property-gallery-item {
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.property-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.property-gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-gallery-item:hover img {
  transform: scale(1.05);
}

.property-gallery-item .property-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(7, 22, 88, 0.85) 0%, transparent 100%);
  color: var(--white);
}

.property-gallery-item .property-overlay span {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.7;
}

.property-gallery-item .property-overlay h4 {
  font-size: 1rem;
  color: var(--white);
  margin-top: 4px;
}

/* ============================================
   RESPONSIVE — Sticky Cards
   ============================================ */
@media (max-width: 768px) {
  .sticky-card {
    position: relative !important;
    top: auto !important;
    min-height: auto;
  }

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

  .sticky-card.reverse .sticky-card-inner {
    direction: ltr;
  }

  .sticky-card-img {
    height: 250px;
    min-height: 250px;
  }

  .sticky-card-illustration {
    min-height: 200px;
    padding: 16px;
  }

  .sticky-card-content {
    padding: 32px 28px;
  }

  .sticky-card-number {
    font-size: 3rem;
  }

  .property-gallery-item {
    min-width: 280px;
    max-width: 280px;
  }

  .portals-track-inner {
    gap: 40px;
  }
}

/* ============================================
   FORM SUCCESS OVERLAY
   ============================================ */
.form-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.form-success-overlay.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.form-success-content {
  text-align: center;
  padding: 40px;
}

.form-success-icon {
  margin-bottom: 20px;
  display: inline-block;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.form-success-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkDraw 0.6s ease 0.5s forwards;
}

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

.form-success-content h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
  animation: fadeUp 0.4s ease 0.6s both;
}

.form-success-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
  animation: fadeUp 0.4s ease 0.7s both;
}

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

/* ============================================
   TURNSTILE WIDGET
   ============================================ */
.cf-turnstile {
  margin-top: 8px;
  margin-bottom: 4px;
}

.cf-turnstile iframe {
  border-radius: var(--radius-sm) !important;
}
