/* ==========================================================================
   AKSU ELEKTRİK ELEKTRONİK — Kurumsal Statik Web Sitesi
   Design System & Lightweight 3D Interactive Styles (MB-Code Standards)
   ========================================================================== */
:root {
  --bg-deep: #070d19;
  --bg-surface: #0e172a;
  --bg-card: #111c33;
  --bg-card-hover: #162442;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(56, 189, 248, 0.42);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #38bdf8;
  --accent-cobalt: #2563eb;
  --accent-amber: #f59e0b;
  --accent-green: #22c55e;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 40px -16px rgba(2, 6, 23, 0.7);
  --shadow-glow: 0 0 36px -10px rgba(56, 189, 248, 0.35);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --max-w: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.18), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.10), transparent 32%),
    var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Subtle technical grid backdrop */
.tech-grid-bg {
  position: relative;
}
.tech-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-blue);
  color: #020617;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 2000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

/* ================= HEADER & NAVIGATION ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(7, 13, 25, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 55%, #f59e0b 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px -6px rgba(37, 99, 235, 0.7);
  color: #fff;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

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

.nav-link {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(56, 189, 248, 0.12);
}

.nav-link.active {
  color: var(--accent-blue);
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #020617;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(245, 158, 11, 0.8);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(7, 13, 25, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 20px 24px;
  z-index: 880;
  flex-direction: column;
  gap: 6px;
}

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

.mobile-drawer .nav-link {
  padding: 12px 14px;
  font-size: 1rem;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(14, 165, 233, 0.65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(14, 165, 233, 0.85);
}

.btn-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #020617;
  font-weight: 700;
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(245, 158, 11, 0.7);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(34, 197, 94, 0.6);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(34, 197, 94, 0.8);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.65);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.1vw, 3.3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(120deg, #38bdf8 0%, #60a5fa 48%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-amber);
}

/* 3D Hero Stage */
.hero-3d-stage {
  perspective: 1100px;
}

.hero-3d-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: var(--bg-card);
  box-shadow: 0 28px 60px -20px rgba(2, 6, 23, 0.9), var(--shadow-glow);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
}

.hero-3d-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-3d-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(7, 13, 25, 0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateZ(26px);
}

.hero-3d-overlay strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}

.hero-3d-overlay span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.status-pill {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #020617;
  background: var(--accent-amber);
  white-space: nowrap;
}

/* ================= SECTIONS ================= */
.section {
  padding: 68px 0;
  position: relative;
}

.section-alt {
  background: rgba(14, 23, 42, 0.55);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.section-head p {
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 8px;
}

/* Page Hero Banner (Inner Pages) */
.page-banner {
  padding: 52px 0 42px;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.18), transparent 45%),
    rgba(14, 23, 42, 0.5);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--accent-blue);
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.page-banner p {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 1.02rem;
}

/* ================= 3D SERVICE CARDS ================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tilt-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 36, 66, 0.82), rgba(14, 23, 42, 0.92));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.tilt-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 24px 48px -18px rgba(2, 6, 23, 0.85), var(--shadow-glow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-blue);
  display: grid;
  place-items: center;
}

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

.service-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
}

.tilt-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
}

.tilt-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 4px;
}

.card-link:hover {
  color: #7dd3fc;
}

/* ================= BRAND STRIP ================= */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-pill {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(17, 28, 51, 0.85);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

/* ================= TWO-COLUMN FEATURE / ABOUT ================= */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.photo-frame img {
  width: 100%;
  object-fit: cover;
}

.photo-frame.real-card-frame {
  padding: 16px;
  background: linear-gradient(155deg, rgba(37, 99, 235, 0.16), rgba(14, 23, 42, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.photo-frame.real-card-frame img {
  max-height: 360px;
  width: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.photo-caption {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================= SERVICE DETAIL TABS ================= */
.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.detail-tab {
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(17, 28, 51, 0.8);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.detail-tab:hover,
.detail-tab.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--accent-blue);
  color: #fff;
}

.detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.detail-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

/* ================= GALLERY ================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(17, 28, 51, 0.75);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-blue);
  color: #020617;
  border-color: var(--accent-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.gallery-thumb {
  height: 270px;
  background: #091020;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-thumb.contain-img img {
  object-fit: contain;
  padding: 12px;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-meta {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.gallery-meta span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.badge-real {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
  white-space: nowrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 860px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
}

.lightbox-inner img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #050a14;
}

.lightbox-caption {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

/* ================= FAQ ACCORDION ================= */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-body {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.open .faq-body {
  display: block;
}

/* ================= CONTACT & MAP ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(7, 13, 25, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.info-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.info-row strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.info-row a,
.info-row p {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

.info-row a:hover {
  color: var(--accent-blue);
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 13, 25, 0.72);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ================= CTA BANNER ================= */
.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(14, 23, 42, 0.95) 60%, rgba(245, 158, 11, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 560px;
}

/* ================= FOOTER & RGB/NEON MB-CODE SIGNATURE ================= */
.site-footer {
  background: #050a14;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.95fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* RGB / Neon Glowing Signature — MB-Code Standards */
@keyframes mbRgbFlow {
  0%   { background-position: 0% 50%; filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.75)); }
  33%  { background-position: 50% 50%; filter: drop-shadow(0 0 11px rgba(168, 85, 247, 0.8)); }
  66%  { background-position: 100% 50%; filter: drop-shadow(0 0 11px rgba(34, 197, 94, 0.8)); }
  100% { background-position: 0% 50%; filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.75)); }
}

.mbcode-signature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  background-image: linear-gradient(90deg, #38bdf8, #a855f7, #ec4899, #f59e0b, #22c55e, #38bdf8);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mbRgbFlow 4.5s linear infinite;
  box-shadow: 0 0 18px -4px rgba(168, 85, 247, 0.55), inset 0 0 12px -4px rgba(56, 189, 248, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mbcode-signature:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 24px -2px rgba(56, 189, 248, 0.75), inset 0 0 14px -2px rgba(236, 72, 153, 0.45);
}

/* ================= FLOATING BOTTOM-RIGHT WHATSAPP & CALL BUTTONS ================= */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 14px 28px -8px rgba(2, 6, 23, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.fab-whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.fab-call {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.fab-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 34px -8px rgba(2, 6, 23, 0.9);
}

/* Toast notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  border: 1px solid var(--accent-blue);
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1600;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .detail-panel-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 52px;
  }
  .section {
    padding: 48px 0;
  }
  .detail-panel,
  .info-card,
  .cta-box {
    padding: 22px;
  }
  .fab-btn span {
    display: none;
  }
  .fab-btn {
    padding: 13px;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
