/* ==========================================================================
   AKDENİZ VİNÇ & AĞIR NAKLİYAT - LUXURY & RESPONSIVE INDUSTRIAL DESIGN SYSTEM
   Mobile & Tablet First Fully Responsive Engine (320px - 1440px+)
   ========================================================================== */

:root {
  /* Premium Dark Obsidian Palette */
  --bg-main: #060911;
  --bg-surface: #0c1220;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-glass: rgba(12, 18, 32, 0.94);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.4);

  --accent-gold: #f59e0b;
  --accent-amber: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 45px rgba(245, 158, 11, 0.2);

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

/* Reset & Global Spacing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

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

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

/* Fluid Spacious Container */
.container {
  width: 96%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 18px var(--accent-gold); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Section Header Styling */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0.8rem 0;
  letter-spacing: -0.03em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  line-height: 1.7;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  white-space: nowrap;
  touch-action: manipulation;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover, .btn-secondary:active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-gold);
  color: var(--accent-amber);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   HEADER & NAVBAR ENGINE WITH HIGH-VISIBILITY PURE CSS HAMBURGER BUTTON
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 9, 17, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(6, 9, 17, 0.98);
  box-shadow: var(--shadow-md);
}

/* Top Notification Bar */
.header-top {
  background: rgba(0, 0, 0, 0.6);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-top-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  word-break: break-word;
}

.header-top-contact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
}

.header-top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

/* Main Navbar */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.brand-logo span {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: nowrap;
  margin: 0 auto;
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-fast);
}

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

/* HIGH-VISIBILITY PURE CSS HAMBURGER TOGGLE BUTTON */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: #f59e0b !important;
  border: none !important;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0 !important;
  z-index: 1002;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  touch-action: manipulation;
  margin-right: 0.2rem;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #060911 !important;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

/* Active Hamburger Animation -> Converts 3 lines into an X cross */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9.5rem 0 4.5rem 0;
  background: linear-gradient(to bottom, rgba(6, 9, 17, 0.55), var(--bg-main)), url('images/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 40%, rgba(6, 9, 17, 0.3) 0%, rgba(6, 9, 17, 0.94) 80%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.16;
  margin: 1.2rem 0;
  letter-spacing: -0.03em;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 650px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.8rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.hero-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-feature-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quick Quote Card */
.quote-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.quote-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.quote-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

/* Services Section */
.services {
  padding: 5.5rem 0;
  background: var(--bg-main);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

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

.service-features li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-gold);
}

/* District Bar */
.district-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}

.district-item {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 1rem 0.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.district-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.district-item h3 {
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.district-item p {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Calculator Section */
.calculator-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
}

.calc-box {
  background: var(--bg-main);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.calc-inputs h3 {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}

.calc-inputs p {
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.slider-group {
  margin-bottom: 1.8rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.slider-value {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.1rem;
}

input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  outline: none;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.calc-result-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
}

.calc-result-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 0.8rem;
}

.calc-crane-name {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.4rem;
}

.calc-specs {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calc-spec-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calc-spec-item strong {
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

/* Lightbox Gallery */
.gallery-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 16px var(--accent-gold-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 17, 0.96) 0%, rgba(6, 9, 17, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.gallery-overlay h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.92);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 6, 12, 0.95);
  backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-img-wrapper {
  background: #000;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.lightbox-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent-gold);
  color: #000;
}

/* Fleet Showcase Section */
.fleet-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.fleet-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition-normal);
}

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

.fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

.fleet-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-weight: 700;
}

.fleet-specs-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.fleet-specs-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  padding: 1.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 1.3rem 1.3rem 1.3rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: none;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT SECTION - FULLY RESPONSIVE MOBILE ADDRESS LAYOUT
   ========================================================================== */
.contact-section {
  padding: 5.5rem 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-card {
  background: var(--bg-surface);
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  font-style: normal;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  color: #fff;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.contact-info-text strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.address-full-text {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.92rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-phone-link {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.15rem;
}

.contact-wa-link {
  color: #25d366;
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-map-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  text-align: center;
}

.contact-map-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.contact-map-card p {
  color: var(--text-secondary);
  max-width: 400px;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Floating Action Widget */
.floating-widget {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.floating-btn {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: var(--transition-normal);
  position: relative;
  text-decoration: none;
  padding: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.btn-whatsapp-floating {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
}

.btn-whatsapp-floating:hover {
  transform: scale(1.08);
}

.btn-phone-floating {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-gold) !important;
  color: var(--accent-gold) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7) !important;
}

.btn-phone-floating:hover {
  background: var(--bg-card) !important;
  border-color: var(--accent-amber) !important;
  color: var(--accent-amber) !important;
  transform: scale(1.08);
}

.floating-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Footer */
.footer {
  background: #03050a;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   ADVANCED MOBILE & TABLET MEDIA QUERIES (320px to 1024px)
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-menu {
    gap: 0.9rem;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .header-top-info {
    font-size: 0.78rem;
  }

  .header-wa-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .nav-bar {
    padding: 0.75rem 0.4rem;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 5.5rem 1.8rem 2.5rem 1.8rem;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    justify-content: flex-start;
    gap: 1.4rem;
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    z-index: 999;
    border-right: 1px solid var(--border-gold);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    padding-top: 8rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .calc-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
  }

  .lightbox-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .header-top-info {
    display: none;
  }

  .header-top .container {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  .district-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-specs {
    gap: 1rem;
  }

  .contact-card, .contact-map-card {
    padding: 1.6rem 1.2rem;
  }

  .floating-widget {
    bottom: 1.2rem;
    right: 1.2rem;
    gap: 0.6rem;
  }

  .floating-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }

  .floating-btn svg {
    width: 22px;
    height: 22px;
  }

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

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

@media (max-width: 380px) {
  .container {
    width: 98%;
    padding: 0 0.4rem;
  }

  .nav-bar {
    padding: 0.65rem 0.2rem;
  }

  .brand-logo {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .quote-card {
    padding: 1.4rem 1rem;
  }

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