/* ═══════════════════════════════════════════
   LAYOUT — Header, Hero, Strip, Float, Footer
═══════════════════════════════════════════ */

/* ─── Header ─── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
#header.scrolled {
  background: rgba(4,12,26,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 4px 24px rgba(0,0,0,0.40);
}

.logo-wrap  { display: flex; align-items: center; }
.logo-img   { height: 42px; width: auto; display: block; }

.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 6px;
}
.hamburger span {
  display: block; height: 1px;
  background: var(--white-80); border-radius: 1px;
  transition: width 0.3s ease;
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 14px; }
.hamburger span:nth-child(3) { width: 22px; }
.hamburger:hover span { width: 22px; }

/* Desktop nav (hidden mobile) */
.header-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.header-links a {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white-60); text-decoration: none;
  transition: color 0.2s;
}
.header-links a:hover { color: var(--white); }
.header-cta {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: rgba(26,64,128,0.70);
  border: 1px solid rgba(58,118,212,0.42);
  padding: 9px 18px; border-radius: var(--radius-sm);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  transition: background 0.2s, border-color 0.2s;
}
.header-cta:hover {
  background: rgba(34,87,168,0.78);
  border-color: rgba(58,118,212,0.58);
}

/* ─── Menu overlay ─── */
#menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,4,14,0.88);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  z-index: 5000;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 0 36px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
#menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-close {
  position: absolute; top: 22px; right: 22px;
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  cursor: pointer; background: none; border: none;
}
.menu-close span {
  display: block; width: 20px; height: 1px;
  background: var(--white-60);
}
.menu-close span:first-child  { transform: rotate(45deg)  translateY(0.5px); }
.menu-close span:last-child   { transform: rotate(-45deg) translateY(-0.5px); }

.menu-eyebrow {
  font-size: 9px; letter-spacing: 4px; color: var(--blue-200);
  text-transform: uppercase; margin-bottom: 36px; opacity: 0.8;
}
.menu-nav { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.menu-nav li a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 300;
  color: var(--white-80); text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s, letter-spacing 0.3s;
  display: block; padding: 8px 0;
}
.menu-nav li a:hover { color: var(--blue-200); letter-spacing: 2px; }

.menu-bottom {
  position: absolute; bottom: 36px; left: 36px; right: 36px;
  display: flex; justify-content: space-between; align-items: center;
}
.menu-contact a {
  display: block; font-size: 12px; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.5px; line-height: 1.8;
  transition: color 0.2s;
}
.menu-contact a:hover { color: var(--white-60); }
.menu-social { display: flex; gap: 16px; }
.menu-social a {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.menu-social a:hover { color: var(--blue-200); }

/* ─── Hero ─── */
#hero {
  position: relative; width: 100%;
  height: 100svh; min-height: 620px;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px 48px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1631049307038-da0ec367d30a?w=900&h=1200&fit=crop&q=85') center/cover no-repeat;
  transform: scale(1.06);
  transition: transform 9s ease-out;
  filter: brightness(0.22) saturate(0.4);
}
#hero.loaded .hero-bg { transform: scale(1); }

.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4,12,26,0.2)  0%,
    rgba(4,12,26,0.0)  30%,
    rgba(4,12,26,0.5)  65%,
    rgba(4,12,26,0.96) 100%
  );
}

.hero-accent-line {
  position: absolute; top: 0; right: 80px;
  width: 1px; height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(58,118,212,0.6), transparent);
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--blue-200);
  margin-bottom: 16px; opacity: 0.9;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 12vw, 82px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -1px; color: var(--white);
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--blue-200); }
.hero-sub {
  font-size: 13px; font-weight: 300;
  color: var(--white-60); line-height: 1.7;
  max-width: 280px; margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  position: absolute; bottom: 48px; right: 20px; z-index: 2;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 12px;
}
.stat {
  text-align: right;
  border-right: 1px solid rgba(58,118,212,0.4);
  padding-right: 12px;
}
.stat-num   { font-size: 20px; font-weight: 300; color: var(--blue-200); line-height: 1; }
.stat-label { font-size: 8px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-top: 3px; }

.hero-scroll {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; padding-bottom: 16px;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(58,118,212,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
.scroll-label { font-size: 8px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }

/* ─── Strip ─── */
#strip {
  background: rgba(6,15,34,0.55);
  border-top:    1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 28px 20px;
  display: flex; gap: 0;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative; z-index: 1;
}
#strip::-webkit-scrollbar { display: none; }

.strip-item {
  flex: 0 0 auto; min-width: 160px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.strip-item:last-child { border-right: none; }
.strip-icon { color: var(--blue-300); flex-shrink: 0; }
.strip-text { font-size: 11px; color: var(--white-60); line-height: 1.4; }
.strip-text strong { display: block; font-size: 12px; font-weight: 500; color: var(--white-80); }

/* ─── Floating CTAs ─── */
#float-cta {
  position: fixed; bottom: 24px; right: 20px; z-index: 2000;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
#float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }

.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover   { box-shadow: 0 8px 28px rgba(0,0,0,0.60), inset 0 1px 0 rgba(255,255,255,0.16); }
.float-btn:active  { transform: scale(0.93); }
.float-btn-call    { background: rgba(26,64,128,0.85); }
.float-btn-wa      { background: rgba(37,211,102,0.88); }

/* ─── Footer ─── */
footer {
  background: rgba(4,12,26,0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 48px 20px 32px;
  position: relative; z-index: 1;
}
.footer-brand    { margin-bottom: 32px; }
.footer-logo-img { height: 56px; width: auto; display: block; margin-bottom: 8px; }
.footer-tagline  { font-size: 10px; letter-spacing: 3px; color: var(--blue-200); text-transform: uppercase; }

.footer-cols     { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.footer-col h5   { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-200); margin-bottom: 14px; }
.footer-col a,
.footer-col p    { display: block; font-size: 12px; color: var(--text-muted); text-decoration: none; line-height: 1.9; transition: color 0.2s; }
.footer-col a:hover { color: var(--white-60); }

.footer-bottom-line { height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.10), rgba(58,118,212,0.20), transparent); margin-bottom: 20px; }
.footer-bottom  {
  font-size: 10px; color: var(--text-muted); line-height: 1.6;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-social  { display: flex; gap: 16px; }
.footer-social a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--blue-200); }