@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&amp;family=Montserrat:wght@200;300;400;500;600;700&amp;family=Playfair+Display:ital,wght@0,400;0,600;1,400&amp;display=swap');

:root {
  /* Color Palette */
  --bg-obsidian: #0A0C0E;
  --bg-coal: #121418;
  --bg-card: #181B21;
  --text-white: #FFFFFF;
  --text-silver: #D1D5DB;
  --text-muted: #8E95A5;
  --gold-primary: #C5A059;
  --gold-light: #F2D091;
  --gold-dark: #A6803C;
  --gold-gradient: linear-gradient(135deg, #F2D091 0%, #C5A059 50%, #A6803C 100%);
  --gold-glow: rgba(197, 160, 89, 0.18);
  --border-glass: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(18, 20, 24, 0.75);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-max: 1280px;
  --header-height: 90px;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Global Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.05em;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 400;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
}

p {
  color: var(--text-silver);
  font-weight: 300;
  font-size: 1.05rem;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: var(--bg-obsidian);
  padding: 0.8rem 2rem;
  z-index: 99999;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.skip-link:focus {
  top: 15px;
  outline: 2px solid var(--text-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--gold-primary);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  color: var(--bg-obsidian);
  box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-secondary {
  color: var(--gold-primary);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  background-color: rgba(197, 160, 89, 0.05);
}

/* Floating Navigation */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  height: 80px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo-link img,
.logo-link svg {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-silver);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-white);
}

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

.nav-contact-btn {
  display: block;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(18, 20, 24, 0.4) 0%, var(--bg-obsidian) 100%), 
              url('hero_luxury_villa.png') no-repeat center center / cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 12, 14, 0.8) 0%, rgba(10, 12, 14, 0.5) 40%, rgba(10, 12, 14, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  margin-bottom: 2rem;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-desc {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  color: var(--text-silver);
  animation: fadeInUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeInUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-primary), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--text-white);
  animation: scrollDown 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

/* Philosophy Section */
.philosophy {
  padding: 10rem 0;
  position: relative;
  background: radial-gradient(circle at 10% 30%, rgba(197, 160, 89, 0.03) 0%, transparent 40%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  display: block;
}

.philosophy-text h2 {
  margin-bottom: 2rem;
}

.philosophy-text p {
  margin-bottom: 1.8rem;
  color: var(--text-silver);
}

.philosophy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.stat-item {
  border-left: 1px solid var(--gold-primary);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Services Grid & Accordion */
.services {
  padding: 8rem 0;
  background-color: var(--bg-coal);
  position: relative;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.services-header h2 {
  margin-bottom: 1.5rem;
}

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 550px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(197, 160, 89, 0.05);
}

.service-img-wrapper {
  height: 250px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, var(--bg-card) 100%);
}

.service-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-info h3 {
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-info h3 {
  color: var(--gold-light);
}

.service-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-silver);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--gold-primary);
  border-radius: 50%;
}

.service-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link span {
  transition: var(--transition-fast);
}

.service-card:hover .service-link span {
  transform: translateX(5px);
}

/* Configurator Section */
.configurator-section {
  padding: 10rem 0;
  background: radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.04) 0%, transparent 50%), var(--bg-obsidian);
}

.configurator-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.configurator-header h2 {
  margin-bottom: 1.5rem;
}

.configurator-box {
  background-color: var(--bg-coal);
  border: 1px solid var(--border-glass);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.config-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.config-group-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
  display: block;
}

.property-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.property-option {
  border: 1px solid var(--border-glass);
  background-color: var(--bg-card);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.property-option svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.2;
  transition: var(--transition-fast);
}

.property-option span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-silver);
}

.property-option:hover {
  border-color: rgba(197, 160, 89, 0.3);
  background-color: rgba(255, 255, 255, 0.01);
}

.property-option.active {
  border-color: var(--gold-primary);
  background-color: rgba(197, 160, 89, 0.05);
}

.property-option.active svg {
  stroke: var(--gold-primary);
  filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.3));
}

.property-option.active span {
  color: var(--text-white);
  font-weight: 500;
}

/* Slider Controls */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.slider-val {
  font-weight: 600;
  color: var(--gold-primary);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  border-radius: 2px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Service Toggles */
.features-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feature-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-glass);
  background-color: var(--bg-card);
  padding: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.feature-toggle:hover {
  border-color: rgba(197, 160, 89, 0.2);
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.checkbox-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold-gradient);
  transform: scale(0);
  transition: var(--transition-fast);
}

.feature-toggle.active {
  border-color: var(--gold-primary);
  background-color: rgba(197, 160, 89, 0.02);
}

.feature-toggle.active .checkbox-custom {
  border-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-glow);
}

.feature-toggle.active .checkbox-custom::after {
  transform: scale(1);
}

.feature-toggle-info {
  display: flex;
  flex-direction: column;
}

.feature-toggle-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-white);
}

.feature-toggle-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Config Results Card */
.config-result-card {
  border: 1px solid var(--border-glass);
  background-color: var(--bg-card);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.config-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.result-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

.result-gauge-box {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.result-gauge-value {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--text-white);
  display: block;
  margin-bottom: 0.5rem;
}

.result-gauge-unit {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 500;
}

.result-details-list {
  list-style: none;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 2rem 0;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.result-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 500;
  color: var(--text-white);
}

.config-cta-btn {
  width: 100%;
}

/* Contact & Callback Section */
.contact-section {
  padding: 10rem 0;
  background-color: var(--bg-coal);
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-info-panel h2 {
  margin-bottom: 2rem;
}

.contact-tag {
  color: var(--text-silver);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.contact-detail-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border-glass);
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.contact-icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.contact-detail-text span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-detail-text p {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 400;
}

.contact-detail-text a:hover {
  color: var(--gold-light);
}

/* Luxury Form Inputs */
.contact-form-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 4rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.8rem 0;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-bottom-color: var(--gold-primary);
}

.form-label {
  position: absolute;
  left: 0;
  top: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  transition: var(--transition-smooth);
}

/* Floating labels */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1.2rem;
  font-size: 0.65rem;
  color: var(--gold-primary);
  letter-spacing: 0.15em;
}

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

.form-submit-btn {
  align-self: flex-start;
  min-width: 220px;
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--gold-primary);
  background-color: rgba(197, 160, 89, 0.05);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Footer Styling */
.footer {
  background-color: var(--bg-obsidian);
  color: var(--text-muted);
  padding: 6rem 0 3rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-brand img,
.footer-brand svg {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.8rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a:hover {
  color: var(--text-white);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDown {
  0% {
    top: -20px;
    opacity: 0;
  }
  30% {
    top: 0;
    opacity: 1;
  }
  60% {
    top: 30px;
    opacity: 0;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* Scroll Animation Classes (Intersection Observer) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .philosophy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .configurator-box {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: auto;
  }
  
  .service-info {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-contact-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* Mobile slide-in nav active state */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-obsidian);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
  }

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

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

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

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

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

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

  .configurator-box,
  .contact-form-panel {
    padding: 2.5rem 1.5rem;
  }

  .config-result-card {
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 850px;
  background: rgba(14, 18, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 999999;
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  bottom: 2rem;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

.cookie-content p {
  font-size: 0.88rem;
  color: var(--text-silver);
  line-height: 1.6;
  margin: 0;
}

.cookie-content a {
  color: var(--gold-primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.8rem;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .cookie-banner {
    width: calc(100% - 2rem);
    padding: 1.5rem;
  }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    text-align: center;
  }
  .cookie-buttons {
    justify-content: center;
  }
}

