/* ==========================================================================
   LANDING PAGE SYSTEM STYLES - APARTAMENTY JAŚMINOWA
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Color Palette */
  --primary-color: #C5A880;     /* Luxury Gold/Bronze */
  --primary-hover: #B8976C;
  --accent-color: #D4AF37;      /* Vivid Gold */
  --bg-dark: #131416;           /* Premium Charcoal Black */
  --bg-dark-gray: #1E2022;      /* Lighter charcoal for panels */
  --bg-light: #FBFBFA;          /* Elegant warm white/cream */
  --bg-card-light: #FFFFFF;
  --border-light: #EBE8E2;
  --border-dark: rgba(255, 255, 255, 0.08);
  
  /* Text Colors */
  --text-primary: #1E2022;
  --text-secondary: #606468;
  --text-light: #FFFFFF;
  --text-muted: #9AA0A6;
  
  /* Layout & Animations */
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  --max-width: 1200px;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 90px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.45);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-full-width {
  width: 100%;
  padding: 14px 20px;
}

.icon-btn {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}

.btn:hover .icon-btn {
  transform: translateX(4px);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(19, 20, 22, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
}

.navbar.scrolled .nav-phone {
  color: var(--text-light);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
}

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

/* --- NAV LINKS (section menu) --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.85;
  white-space: nowrap;
  transition: var(--transition-smooth);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-light);
}

.nav-phone:hover {
  color: var(--primary-color);
}

.nav-phone .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px 0;
  background-image: url('assets/hero_apartments.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  color: var(--text-light);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    rgba(19, 20, 22, 0.82) 0%,
    rgba(19, 20, 22, 0.72) 40%,
    rgba(19, 20, 22, 0.55) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge {
  align-self: flex-start;
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--primary-color);
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
}

.hero-quick-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  background-color: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: var(--border-radius, 8px);
}

.hero-quick-facts li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.hero-quick-facts strong {
  color: var(--primary-color);
  margin-right: 4px;
}

.hero-quick-facts .price-line {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.hero-lead-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.hero-usps {
  list-style: none;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-usps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(197, 168, 128, 0.2);
  border-radius: 50%;
  color: var(--primary-color);
  flex-shrink: 0;
}

.usp-icon svg {
  width: 16px;
  height: 16px;
}

/* --- LEAD FORM CARD --- */
.hero-form-wrapper {
  display: flex;
  justify-content: flex-end;
}

.form-card {
  width: 100%;
  max-width: 420px;
  background: rgba(30, 32, 34, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.form-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
}

.form-group select option {
  background-color: var(--bg-dark-gray);
  color: var(--text-light);
}

.form-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text-muted);
  cursor: pointer;
}

.text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.text-link:hover {
  color: var(--accent-color);
}

/* Form Success State */
.form-success-message {
  text-align: center;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.form-success-message h4 {
  font-size: 1.4rem;
  color: var(--text-light);
}

.form-success-message p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

/* --- SECTION HEADERS --- */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 2.4rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* --- BENEFITS SECTION --- */
.benefits-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow-premium);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 168, 128, 0.08);
  color: var(--primary-color);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- APARTMENTS SECTION --- */
.apartments-section {
  padding: 100px 0;
  background-color: #F3F1EC; /* slightly darker warm background */
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
}

.tab-btn {
  padding: 14px 35px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-btn.active {
  background-color: var(--bg-dark-gray);
  border-color: var(--bg-dark-gray);
  color: var(--text-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
  animation: fadeIn 0.6s ease;
}

.tab-content.active {
  display: block;
}

.apt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.apt-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apt-details h3 {
  font-size: 2.2rem;
  color: var(--text-primary);
}

.apt-tagline {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
}

.apt-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  margin: -10px 0 0;
}

.apt-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
}

.apt-specs li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.apt-specs li span {
  color: var(--text-secondary);
}

.cta-block {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.plan-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.plan-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-color);
  background-color: rgba(197, 168, 128, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
}

.floor-plan-svg-wrapper {
  background-color: #FAF9F6;
  border-radius: var(--border-radius);
  padding: 10px;
  border: 1px dashed var(--border-light);
}

.floor-plan-svg {
  width: 100%;
  height: auto;
  display: block;
}

.floor-plan-img-wrapper {
  background-color: #FAF9F6;
  border-radius: var(--border-radius);
  padding: 10px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.floor-plan-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--border-radius) - 4px);
}

.plan-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* --- MATERIALS SECTION --- */
.materials-section {
  padding: 80px 0;
  background-color: var(--bg-white, #fff);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* --- LOCATION SECTION --- */
.location-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-content h2 {
  font-size: 2.4rem;
}

.location-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.bullet-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.bullet-check {
  width: 28px;
  height: 28px;
  background-color: rgba(197, 168, 128, 0.12);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.bullet-item p,
.bullet-item div {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.bullet-item strong {
  color: var(--text-primary);
}

.location-visual {
  display: flex;
  justify-content: center;
}

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

.location-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.image-wrapper:hover .location-img {
  transform: scale(1.03);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: var(--text-light);
  padding: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* --- MEDIA SLIDER (Location section) --- */
.media-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: #000;
}

.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide .location-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.location-video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #000;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background: var(--primary-color);
}

.slider-arrow-prev {
  left: 12px;
}

.slider-arrow-next {
  right: 12px;
}

.media-slider .image-caption {
  z-index: 2;
  padding-bottom: 14px;
}

.slider-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #111;
}

.slider-thumb {
  position: relative;
  flex: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  height: 56px;
  background: none;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.slider-thumb.active {
  border-color: var(--primary-color);
}

.slider-thumb.active img,
.slider-thumb:hover img {
  opacity: 1;
}

.thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- DEVELOPER SECTION --- */
.developer-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.developer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.dev-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.developer-card h2 {
  font-size: 2.2rem;
  color: var(--text-light);
}

.developer-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.dev-signatures {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 20px;
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sig-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.sig-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

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

.faq-trigger {
  width: 100%;
  padding: 22px 30px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.faq-arrow {
  font-size: 0.65rem;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 30px;
}

.faq-item.active .faq-content {
  padding-bottom: 22px;
}

.faq-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-more-btn {
  align-self: center;
  margin-top: 20px;
}

/* --- CONTACT & MAP SECTION --- */
.contact-map-section {
  padding: 100px 0;
  background-color: #F3F1EC;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.contact-details-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-details-container h2 {
  font-size: 2.2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-premium);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(197, 168, 128, 0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
}

.info-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.9rem;
}

.info-card-text span:first-child {
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card-text a:hover {
  color: var(--primary-color);
}

.map-wrapper {
  height: 300px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-premium);
}

#map {
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* --- STICKY CTA FOR MOBILE --- */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  display: none;
  grid-template-columns: 1fr 1.6fr;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  background-color: var(--bg-card-light);
}

.sticky-call {
  background-color: #FAF9F6;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 16px;
}

.sticky-write {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  padding: 16px;
  cursor: pointer;
}

.sticky-cta-mobile .icon {
  width: 16px;
  height: 16px;
}

/* --- FOOTER --- */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 0.8rem;
}

.footer-note {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

/* --- MODAL DIALOGS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 20, 22, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

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

.modal-card {
  background-color: var(--bg-card-light);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 40px;
  border: 1px solid var(--border-light);
}

.modal-large {
  max-width: 700px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--primary-color);
}

.modal-header {
  margin-bottom: 25px;
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal-body .lead-form input,
.modal-body .lead-form select {
  background-color: #FAF9F6;
  border: 1px solid #DFDBD3;
  color: var(--text-primary);
}

.modal-body .lead-form input:focus,
.modal-body .lead-form select:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-card-light);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.18);
}

.modal-body .form-success-message h4 {
  color: var(--text-primary);
}

.modal-body .form-success-message p {
  color: var(--text-secondary);
}

.modal-close-btn-action {
  margin-top: 15px;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0);
}


/* ==========================================================================
   STICKY DESKTOP FORM STYLING & MEDIA QUERIES
   ========================================================================== */

/* --- STICKY FORM FOR DESKTOP (min-width: 1025px) --- */
@media (min-width: 1025px) {
  /* Offset content containers to the left, reserving 450px on the right */
  .section-container,
  .hero-container {
    padding-right: 450px;
    transition: var(--transition-smooth);
  }
  
  /* Disable hero grid layout, make it single column left-side content */
  .hero-container {
    display: block;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  /* Make the form wrapper float and stay fixed on desktop scroll */
  .hero-form-wrapper {
    position: fixed;
    top: 120px;
    right: 24px;
    width: 400px;
    z-index: 100;
    margin: 0;
    transition: transform 0.1s linear, opacity 0.3s ease;
    display: block;
  }
  
  /* Fit grids beautifully inside the wreserwed left column space (approx 750px width) */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .apt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .location-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Perfect alignment alignment for large screens */
@media (min-width: 1250px) {
  .hero-form-wrapper {
    right: calc((100vw - var(--max-width)) / 2 + 24px);
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */

/* Medium Screens (max-width: 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
  .benefits-grid {
    grid-template-columns: 1fr; /* Single column of benefits if space is too tight */
    gap: 20px;
  }
}

/* Tablet View (max-width: 1024px) */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem !important; }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }
  
  .hero-form-wrapper {
    justify-content: center;
  }
  
  .form-card {
    max-width: 500px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .apt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .location-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: rgba(19, 20, 22, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-links.open {
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 24px;
    opacity: 1;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background-color: rgba(197, 168, 128, 0.1);
  }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem !important; }
  h2 { font-size: 1.8rem !important; }
  
  .navbar {
    padding: 15px 0;
    background-color: rgba(19, 20, 22, 0.98) !important;
    border-bottom: 1px solid var(--border-dark);
  }
  
  .navbar .btn-nav {
    display: none; /* Hide nav button on mobile, use sticky footer */
  }
  
  .nav-actions {
    gap: 15px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .developer-card {
    padding: 30px 20px;
  }
  
  .dev-signatures {
    flex-direction: column;
    gap: 25px;
  }
  
  .map-wrapper {
    height: 250px;
  }
  
  .sticky-cta-mobile {
    display: grid;
  }
  
  /* Add padding bottom to body to avoid sticky cta overlap */
  body {
    padding-bottom: 60px;
  }
  
  .faq-trigger {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
  
  .faq-content {
    padding: 0 20px;
  }
  
  .faq-item.active .faq-content {
    padding-bottom: 16px;
  }
}
