/* ==========================================================================
   FIDURA TRADE GROUP LIMITED
   Design Language: WindFlow Swiss-Editorial Dark System (Screenshots Reference)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Exact Color System from Screenshots */
  --bg-canvas: #121416;
  --bg-surface: #181b1e;
  --bg-surface-elevated: #202428;
  --bg-surface-subtle: #141719;
  --bg-card: #1c2024;
  --bg-stepped: #24292f;
  
  /* Brand Teal & Ochre Gold Accents */
  --brand-teal: #145969;
  --brand-teal-light: #2c8fa6;
  --brand-teal-glow: rgba(44, 143, 166, 0.25);
  
  --accent-amber: #33b2d4;
  --accent-amber-light: #5ec5df;
  --accent-amber-glow: rgba(51, 178, 212, 0.25);

  /* Typography Colors */
  --text-white: #ffffff;
  --text-lead: #e8ecef;
  --text-body: #a2adb5;
  --text-muted: #6b7780;
  --text-dim: #4b545b;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(51, 178, 212, 0.4);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --site-max-width: 100%;
  --content-max-width: 1560px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-canvas);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Typography Accents */
.text-amber {
  color: var(--accent-amber);
}

.text-teal {
  color: var(--brand-teal-light);
}

.text-white {
  color: var(--text-white);
}

/* ==========================================================================
   CONTAINERS & STRUCTURE (Full Screen Modern Layout)
   ========================================================================== */

.site-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-color: var(--bg-canvas);
  border: none;
  position: relative;
}

.content-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 4.5rem);
  padding-right: clamp(1.5rem, 4vw, 4.5rem);
}

/* ==========================================================================
   MINIMALIST HEADER (Dual-State: Dark over Hero -> Crisp Light on Scroll)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(20, 89, 105, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-fast);
}

.site-header.scrolled .navbar {
  height: 72px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Dual Logo Display Switch */
.site-header .logo-default {
  display: block;
}

.site-header .logo-scrolled {
  display: none;
}

.site-header.scrolled .logo-default {
  display: none;
}

.site-header.scrolled .logo-scrolled {
  display: block;
}

.nav-links-center {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-lead);
  letter-spacing: -0.01em;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hover & Active: Hollow Oval Rectangle (İçi boş oval dikdörtgen / pill) */
.nav-item:hover,
.nav-item.active {
  color: var(--text-white);
  border-color: var(--accent-amber);
  background: transparent;
}

/* Scrolled State Nav Items */
.site-header.scrolled .nav-item {
  color: #2d3438;
  font-weight: 600;
}

.site-header.scrolled .nav-item:hover,
.site-header.scrolled .nav-item.active {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background: transparent;
}

.nav-actions-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 16px;
  cursor: pointer;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-white);
  transition: all var(--transition-normal);
}

.site-header.scrolled .hamburger-btn span {
  background-color: #1e2428;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   DESKTOP SLIDE-OVER DRAWER (Right to Left) & BACKDROP
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 12, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.desktop-side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  box-shadow: -15px 0 60px rgba(0, 0, 0, 0.75);
  z-index: 1999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.desktop-side-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

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

.drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lead);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.drawer-close-btn:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  transform: rotate(90deg);
  background: rgba(51, 178, 212, 0.12);
}

.drawer-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  flex: 1;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drawer-section-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
}

.drawer-text {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
}

.drawer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.drawer-pills span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-lead);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
}

.drawer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.drawer-contact-item:hover {
  border-color: var(--border-medium);
}

.drawer-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(20, 89, 105, 0.25);
  color: var(--brand-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.drawer-val {
  font-size: 0.92rem;
  color: var(--text-lead);
  font-weight: 500;
  line-height: 1.4;
}

.drawer-subval {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-amber);
  margin-top: 0.25rem;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */

.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-medium);
  padding: 2rem 1.75rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-drawer .nav-item {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  border-radius: 0;
  justify-content: flex-start;
  width: 100%;
}

.mobile-drawer .nav-item:hover,
.mobile-drawer .nav-item.active {
  color: var(--accent-amber);
  border-color: var(--border-medium);
  background: transparent;
}

.mobile-drawer-footer {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

.mobile-drawer-contact {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.mobile-drawer-contact strong {
  color: var(--text-lead);
}

/* ==========================================================================
   HERO SECTION (Exact WindFlow Style in Screenshots 1 & Regular)
   ========================================================================== */

.hero-editorial {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.08);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(18, 20, 22, 0.2) 0%, rgba(18, 20, 22, 0.45) 50%, rgba(18, 20, 22, 0.95) 100%);
  z-index: 2;
}

.hero-foreground {
  position: relative;
  z-index: 3;
}

.hero-headline {
  font-size: clamp(2.3rem, 5.8vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 3.5rem;
  max-width: 1100px;
}

.hero-headline span.highlight {
  color: var(--accent-amber);
  display: block;
}

.hero-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-lead);
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.hero-meta-bar .time-code {
  font-family: var(--font-mono);
  color: var(--text-body);
}

/* ==========================================================================
   EDITORIAL SECTIONS (About Us, Who We Are, Showcase)
   ========================================================================== */

.section-editorial {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
}

.section-head-split h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head-split .meta-tag {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

/* Asymmetric 2-column layout (Reference: About Us + Windmill Photo) */
.split-narrative {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.narrative-lead {
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

.narrative-lead strong {
  color: var(--text-white);
  font-weight: 700;
}

.narrative-lead span.highlight {
  color: var(--accent-amber);
}

.narrative-media-box {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.narrative-media-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Stepped accent decor from reference 2 & 4 */
.stepped-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--bg-stepped);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 50% 50%, 0 50%);
  pointer-events: none;
}

/* ==========================================================================
   PILL NAVIGATION & NUMBERED ROWS (Screenshot 3 & Regular-ref)
   ========================================================================== */

.category-pills-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.cat-pill-btn {
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-lead);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.cat-pill-btn:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
}

.cat-pill-btn.active {
  color: var(--text-white);
  border-color: var(--accent-amber);
  background: rgba(51, 178, 212, 0.12);
}

.lead-statement {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 3.5rem;
  max-width: 800px;
}

/* Numbered Editorial Rows (0.1, 0.2, 0.3) */
.numbered-rows-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}

.numbered-row {
  display: grid;
  grid-template-columns: 70px 1.5fr 1.5fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  align-items: center;
  transition: background var(--transition-fast);
}

.numbered-row:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.row-index {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.row-title-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 5;
}

.row-thumb-circle {
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid rgba(51, 178, 212, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(51, 178, 212, 0.25);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Row Hover */
.numbered-row:hover .row-thumb-circle {
  border-color: var(--accent-amber);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(51, 178, 212, 0.4);
}

/* Direct Hover: Dramatic Magnification Preview */
.row-thumb-circle:hover {
  transform: scale(2.4);
  z-index: 100;
  border-color: var(--accent-amber);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(51, 178, 212, 0.75);
}

.row-thumb-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.row-thumb-circle:hover img {
  transform: scale(1.06);
}

.row-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.row-body {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Full Width Pill Button */
.btn-pill-wide {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1.2rem 2rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.02);
}

.btn-pill-wide:hover {
  background: var(--text-white);
  color: var(--bg-canvas);
  border-color: var(--text-white);
}

/* ==========================================================================
   CAROUSEL / SHOWCASE SPLIT BLOCK (Screenshot 4)
   ========================================================================== */

.service-carousel-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.service-meta-content {
  display: flex;
  flex-direction: column;
}

.service-meta-content h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.service-meta-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.carousel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.carousel-arrows {
  display: flex;
  gap: 0.75rem;
}

.circle-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.circle-arrow-btn:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  transform: scale(1.05);
}

.service-carousel-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-carousel-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* ==========================================================================
   CAPABILITIES / NEWS CARDS (Screenshot 2)
   ========================================================================== */

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

.cap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
}

.cap-card-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.cap-card-body {
  padding: 2rem;
  background: var(--bg-surface);
  position: relative;
  z-index: 2;
}

.cap-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.cap-card-body p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   3-COLUMN FOOTER (Screenshot 2 Reference)
   ========================================================================== */

.footer-reference {
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  width: 100%;
}

.footer-grid-3col {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  min-height: 480px;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.footer-col {
  padding: 4.5rem clamp(1.5rem, 3vw, 3.5rem);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.footer-col:last-child {
  border-right: none;
}

.footer-heading-cta {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-lead);
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 0.5rem;
  width: fit-content;
  transition: all var(--transition-fast);
}

.footer-cta-link:hover {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  transform: translateX(4px);
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1.75rem;
}

.footer-links-vertical li {
  margin-bottom: 1rem;
}

.footer-links-vertical a {
  font-size: 0.95rem;
  color: var(--text-body);
  transition: color var(--transition-fast);
}

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

.footer-bottom-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-icons-row {
  display: flex;
  gap: 1.25rem;
  color: var(--text-lead);
}

.social-icons-row a {
  transition: color var(--transition-fast);
}

.social-icons-row a:hover {
  color: var(--accent-amber);
}

/* ==========================================================================
   FAQ & FORMS STYLING
   ========================================================================== */

.faq-search-box {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 3.5rem;
  transition: border-color var(--transition-fast);
}

.faq-search-box:focus {
  border-color: var(--accent-amber);
}

.faq-card-row {
  border-top: 1px solid var(--border-subtle);
  padding: 1.8rem 0;
  cursor: pointer;
}

.faq-card-row:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-card-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  gap: 1.5rem;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-card-q:hover {
  color: var(--accent-amber);
}

.faq-card-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-card-row.active .faq-card-a {
  max-height: 800px;
  padding-top: 1.2rem;
  transition: max-height 0.45s ease-in-out, padding 0.3s ease;
}

.faq-card-row.active .faq-card-q {
  color: var(--accent-amber);
}

/* Forms */
.form-input-clean {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition-fast);
}

.form-input-clean:focus {
  border-color: var(--accent-amber);
}

textarea.form-input-clean {
  min-height: 140px;
  resize: vertical;
}

select.form-input-clean {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a2adb5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
}

/* ==========================================================================
   FULLSCREEN GOOGLE MAPS SECTION
   ========================================================================== */

.map-fullscreen-section {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
}

.map-fullscreen-iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  filter: invert(92%) hue-rotate(180deg) contrast(95%) grayscale(25%);
  transition: filter var(--transition-normal);
}

.map-fullscreen-iframe:hover,
.map-fullscreen-section:hover .map-fullscreen-iframe {
  filter: invert(88%) hue-rotate(180deg) contrast(100%) grayscale(10%);
}

.map-floating-card {
  position: absolute;
  top: 2.5rem;
  left: clamp(1.5rem, 5vw, 4.5rem);
  z-index: 10;
  background: rgba(24, 27, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  max-width: 380px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.map-floating-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.map-floating-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
}

.map-floating-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.map-floating-address {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.map-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.25rem;
  transition: all var(--transition-fast);
}

.map-floating-btn:hover {
  background: var(--accent-amber);
  color: #121416;
  border-color: var(--accent-amber);
}

@media (max-width: 768px) {
  .map-fullscreen-section {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .map-fullscreen-iframe {
    min-height: 360px;
    height: 360px;
  }
  .map-floating-card {
    position: static;
    margin: 1.5rem auto;
    max-width: calc(100% - 2rem);
    width: 100%;
  }
}
