/* ==========================================================================
   CORVIAN MOBILITY CONSULTING - ARCHITECTURAL ORGANIC SYSTEM (SITE.CSS)
   Concept: Mineral & Fluid Spatial Architecture (No Rectangles, Editorial Art)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette - Mineral Light Spectrum */
  --bg-base: #f4f1ea;
  --bg-surface-mineral: #e9e4d9;
  --bg-surface-porcelain: #faf8f5;
  --bg-accent-sage: #e2e8e3;
  --bg-elevated-clay: #ded7c8;

  /* Typography Colors */
  --text-main: #181c19;
  --text-sage-dark: #2d3a32;
  --text-muted: #626a64;
  --text-light-subtle: #8a948c;

  /* Accent & Highlight Colors */
  --accent-amber: #d97724;
  --accent-amber-glow: rgba(217, 119, 36, 0.18);
  --accent-cyan: #008f99;
  --accent-cyan-retro: #00f0ff;
  --accent-gold-leaf: #b8860b;

  /* Structural Variables */
  --font-display: 'Cinzel Decorative', serif;
  --font-editorial: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1440px;
  --transition-fluid: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Organic Cut Paths */
  --mask-arch-top: polygon(0% 15%, 50% 0%, 100% 15%, 100% 100%, 0% 100%);
  --mask-oval-clip: ellipse(80% 50% at 50% 50%);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(226, 232, 227, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(222, 215, 200, 0.5) 0%, transparent 50%);
  background-attachment: fixed;
}

::selection {
  background: var(--accent-amber);
  color: #ffffff;
}

/* Typography Extensions */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-sage-dark);
}

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

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
}

/* Focus Visible for Accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px dashed var(--accent-amber);
  outline-offset: 4px;
}

/* --- GOOGLE ADS TOP COMPLIANCE DISCLAIMER BANNER --- */
.top-compliance-bar {
  background: var(--text-sage-dark);
  color: #f4f1ea;
  font-size: 0.8rem;
  padding: 10px 24px;
  text-align: center;
  position: relative;
  z-index: 1100;
  border-bottom: 2px solid var(--accent-amber);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.top-compliance-bar span.pill {
  background: var(--accent-amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* --- FLOATING CURVED NAVIGATION SYSTEM --- */
.site-nav-wrapper {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  transition: all 0.4s var(--transition-fluid);
}

.nav-organic-pill {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(45, 58, 50, 0.12);
  border-radius: 100px;
  padding: 12px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 40px rgba(24, 28, 25, 0.06);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-sage-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-amber);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-amber-glow);
}

.nav-links-cluster {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-item-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-item-link:hover, .nav-item-link.active {
  color: var(--accent-amber);
}

.nav-cta-organic {
  background: var(--text-sage-dark);
  color: #f4f1ea;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--transition-fluid);
  border: 1px solid transparent;
}

.nav-cta-organic:hover {
  background: var(--accent-amber);
  color: #ffffff;
  transform: scale(1.04) rotate(-1deg);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* --- MONUMENTAL HERO SCENE (NON-RECTANGULAR) --- */
.hero-scene {
  padding-top: 180px;
  padding-bottom: 120px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-radial-shape {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--bg-accent-sage) 0%, rgba(244, 241, 234, 0) 70%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
  animation: morphBlob 18s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes morphBlob {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%; transform: rotate(0deg); }
  100% { border-radius: 60% 30% 50% 70% / 50% 60% 30% 60%; transform: rotate(45deg); }
}

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

.hero-title-monument {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  color: var(--text-sage-dark);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 30px;
}

.hero-title-monument span.italics-accent {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-amber);
}

.hero-lead-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-visual-arch {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-mask {
  width: 100%;
  max-width: 480px;
  height: 620px;
  border-radius: 240px 240px 40px 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  position: relative;
  transform: rotate(1.5deg);
  transition: transform 0.6s var(--transition-fluid);
}

.hero-image-mask:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.floating-badge-ring {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--bg-surface-porcelain);
  border: 1px solid var(--accent-amber);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  transform: rotate(-8deg);
}

.floating-badge-ring .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-amber);
  font-weight: 900;
  line-height: 1;
}

.floating-badge-ring .lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-sage-dark);
}

/* --- SECTION COMMON LAYOUT --- */
.section-scene {
  padding: 120px 0;
  position: relative;
}

.container-fluid-organic {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- FLUID EDITORIAL FLOW (SCENE 2: AUDIT MATRIX) --- */
.editorial-arch-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  align-items: center;
}

.arch-card-organic {
  background: var(--bg-surface-porcelain);
  border-radius: 120px 120px 30px 30px;
  padding: 60px 40px 40px;
  border: 1px solid rgba(45, 58, 50, 0.08);
  transition: all 0.4s var(--transition-fluid);
  position: relative;
}

.arch-card-organic:hover {
  transform: translateY(-12px);
  background: #ffffff;
  border-color: var(--accent-amber);
  box-shadow: 0 25px 50px rgba(217, 119, 36, 0.08);
}

.arch-card-organic .card-num {
  font-family: var(--font-mono);
  color: var(--accent-amber);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: block;
}

.arch-card-organic h3 {
  font-family: var(--font-editorial);
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-sage-dark);
}

/* --- TIMELINE DIAGONAL TRAJECTORY (SCENE 3) --- */
.trajectory-wrapper {
  position: relative;
  padding: 60px 0;
}

.trajectory-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-amber) 0%, transparent 100%);
  transform: translateX(-50%);
}

.trajectory-node {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 90px;
  align-items: center;
}

.trajectory-node:nth-child(even) {
  direction: rtl;
}

.trajectory-node:nth-child(even) .node-content {
  direction: ltr;
}

.node-bubble {
  background: var(--bg-surface-mineral);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  padding: 50px;
  border: 1px solid rgba(45,58,50,0.1);
}

/* --- OVAL & MASKED PHOTOGRAPHY SCENE --- */
.oval-gallery-scene {
  background: var(--bg-surface-mineral);
  border-radius: 80px;
  padding: 100px 60px;
  margin: 60px 40px;
}

.oval-image-frame {
  width: 100%;
  height: 450px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-base);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

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

/* --- ACCORDION & FAQ FLUID LISTS --- */
.faq-organic-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item-fluid {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(45, 58, 50, 0.15);
  padding-bottom: 20px;
}

.faq-button-fluid {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-editorial);
  font-size: 1.6rem;
  color: var(--text-sage-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.faq-content-fluid {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-fluid);
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.faq-item-fluid.active .faq-content-fluid {
  max-height: 500px;
  padding-top: 15px;
}

/* --- COOKIE BANNER OVERLAY ORGANIC --- */
.cookie-banner-organic {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 440px;
  background: rgba(26, 32, 28, 0.96);
  backdrop-filter: blur(15px);
  color: #f4f1ea;
  border-radius: 40px 40px 10px 40px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.6s var(--transition-elastic);
  border: 1px solid var(--accent-amber);
}

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

.cookie-actions-cluster {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-cookie-accept {
  background: var(--accent-amber);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-cookie-decline {
  background: transparent;
  color: #f4f1ea;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  cursor: pointer;
}

/* --- FOOTER CURVED ARCHITECTURE --- */
.site-footer-organic {
  background: var(--text-sage-dark);
  color: #f4f1ea;
  border-radius: 80px 80px 0 0;
  padding: 100px 40px 40px;
  margin-top: 100px;
}

.footer-columns-cluster {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-link-list {
  list-style: none;
}

.footer-link-list li {
  margin-bottom: 12px;
}

.footer-link-list a {
  color: #ded7c8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link-list a:hover {
  color: var(--accent-amber);
}

.footer-disclaimer-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 30px;
  font-size: 0.8rem;
  color: #a8b2ab;
  line-height: 1.7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 50px;
}

/* RESPONSIVE DYNAMICS */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead-text {
    margin: 0 auto 40px;
  }
  .editorial-arch-grid {
    grid-template-columns: 1fr;
  }
  .trajectory-node {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .trajectory-node:nth-child(even) {
    direction: ltr;
  }
  .footer-columns-cluster {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links-cluster {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .oval-gallery-scene {
    padding: 60px 20px;
    margin: 20px 10px;
  }
  .footer-columns-cluster {
    grid-template-columns: 1fr;
  }
}