/* =============================================
   HOSTFORGE — Main Stylesheet v2
   Dark Luxury · Gold Accent · Rich Layout
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Variables ───────────────────────────────── */
:root {
  --black:    #141414;
  --dark:     #1a1a1a;
  --dark2:    #212121;
  --dark3:    #2a2a2a;
  --grey1:    #363636;
  --grey2:    #575757;
  --grey3:    #888888;
  --grey4:    #b8b8b8;
  --grey5:    #d8d8d8;
  --white:    #f2f0eb;
  --gold:     #c8a84b;
  --gold-lt:  #dfc070;
  --gold-dk:  #9a7830;
  --gold-bg:  rgba(200,168,75,0.07);
  --gold-brd: rgba(200,168,75,0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
  --radius: 2px;
  --max-w: 1160px;
  --section-pad: 120px;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--grey4);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); }

/* ── Helpers ─────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.gold  { color: var(--gold); }
.white { color: var(--white); }
.muted { color: var(--grey3); }

.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

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

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(200,168,75,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--grey5);
  border: 1px solid var(--grey2);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20,20,20,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(20,20,20,0.99);
  box-shadow: 0 1px 0 var(--gold-brd);
}

/* nav-inner is a flex row — 3 columns: logo | links | cta */
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}

/* ── Logo — fixed width left anchor ── */
.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
  vertical-align: middle;
}

/* ── Links — grow to fill middle, centered ── */
.nav-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  list-style: none;
}
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey3);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  line-height: 1;
  display: block;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── CTA — fixed width right anchor ── */
.nav-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--grey3);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--transition);
  line-height: 1;
}
.nav-phone:hover { color: var(--gold); }
.nav-phone svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
}

/* Compact CTA button */
.nav-cta .btn {
  padding: 10px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  line-height: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px;
  opacity: 0; transition: opacity var(--transition);
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 400;
  color: var(--grey4); transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-contact {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px; margin-top: 20px;
}
.mobile-menu .mobile-contact a {
  font-family: var(--font-body);
  font-size: 0.88rem; color: var(--grey3);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 400px;
  grid-template-rows: 1fr auto;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 65% 40%, rgba(200,168,75,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 10% 90%, rgba(200,168,75,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(200,168,75,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black, transparent);
  pointer-events: none;
}

.hero-left {
  position: relative; z-index: 2;
  padding: 140px 0 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-brd);
  border-radius: 2px;
  padding: 8px 18px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}
.hero-eyebrow i {
  width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
  font-style: normal; display: block;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hero-title-italic {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  line-height: 1.08;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 36px;
}

.hero-desc {
  font-size: 1.02rem;
  line-height: 1.88;
  color: var(--grey3);
  max-width: 490px;
  margin-bottom: 52px;
}
.hero-desc strong { color: var(--grey5); font-weight: 400; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right panel */
.hero-right {
  position: relative; z-index: 2;
  padding: 140px 0 80px 52px;
  display: flex;
  align-items: center;
}

.hero-panel {
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-radius: 4px;
  padding: 36px 32px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.hero-panel-title {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero-panel-title::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

.hero-checklist { display: flex; flex-direction: column; }
.hero-check {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--grey1);
  font-size: 0.86rem; color: var(--grey4);
  transition: color var(--transition);
}
.hero-check:last-child { border-bottom: none; }
.hero-check:hover { color: var(--white); }
.check-dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

.hero-panel-cta {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--grey1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-cta-phone {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--gold);
  border-radius: var(--radius);
  color: var(--black);
  font-weight: 600; font-size: 0.92rem;
  transition: var(--transition);
}
.hero-cta-phone:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(200,168,75,0.25);
}
.hero-cta-email {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--grey1);
  border-radius: var(--radius);
  color: var(--grey4); font-size: 0.8rem;
  transition: var(--transition);
}
.hero-cta-email:hover { border-color: var(--gold-brd); color: var(--white); }

/* Stats bar */
.hero-stats-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--grey1);
  background: var(--dark);
}
.stat-item {
  padding: 34px 40px;
  border-right: 1px solid var(--grey1);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--dark2); }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.stat-item:hover::after { width: 100%; }
.stat-n {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 400;
  color: var(--white); line-height: 1;
  margin-bottom: 7px;
}
.stat-n em { color: var(--gold); font-style: normal; }
.stat-l {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey3);
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--grey1);
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--white);
  margin-bottom: 22px;
}
.about-text p {
  color: var(--grey3); font-size: 0.95rem;
  line-height: 1.9; margin-bottom: 18px;
}

.about-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 36px;
}
.about-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-radius: 2px;
  padding: 9px 16px;
  font-size: 0.79rem; color: var(--grey4);
  transition: var(--transition);
}
.about-pill:hover { border-color: var(--gold-brd); color: var(--white); }
.about-pill svg { color: var(--gold); flex-shrink: 0; }

.about-right {
  display: flex; flex-direction: column; gap: 14px;
}
.about-card {
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-radius: 4px;
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}
.about-card:hover { background: var(--dark3); border-color: var(--gold-brd); }
.about-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.about-card:hover::before { opacity: 1; }
.about-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.about-card-icon {
  width: 38px; height: 38px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-brd);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.about-card h3 {
  font-size: 0.9rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em;
}
.about-card p { font-size: 0.83rem; color: var(--grey3); line-height: 1.75; }

/* ============================================
   SERVICES
   ============================================ */
#services {
  padding: var(--section-pad) 0;
  background: var(--dark);
  border-top: 1px solid var(--grey1);
  border-bottom: 1px solid var(--grey1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
}
.section-header-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--white); margin-bottom: 12px;
}
.section-header-text p { font-size: 0.95rem; color: var(--grey3); max-width: 440px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--grey1);
  border: 1px solid var(--grey1);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--dark);
  padding: 50px 44px;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transition: width 0.6s var(--ease);
}
.service-card:hover { background: var(--dark2); }
.service-card:hover::after { width: 100%; }

.service-num {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 400;
  color: var(--grey1); line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: rgba(200,168,75,0.18); }

.service-icon {
  width: 50px; height: 50px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-brd);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(200,168,75,0.14);
  border-color: rgba(200,168,75,0.35);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 400;
  color: var(--white); margin-bottom: 12px;
}
.service-card p {
  font-size: 0.87rem; color: var(--grey3);
  line-height: 1.85; margin-bottom: 24px;
}
.service-list {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--grey1);
}
.service-list li {
  font-size: 0.8rem; color: var(--grey4);
  display: flex; align-items: center; gap: 10px;
}
.service-list li::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--gold-dk); flex-shrink: 0;
}

/* ============================================
   SOLUTIONS
   ============================================ */
#solutions {
  padding: var(--section-pad) 0;
  position: relative; overflow: hidden;
}
#solutions::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,168,75,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.solutions-intro { max-width: 580px; margin-bottom: 64px; }
.solutions-intro h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--white); margin-bottom: 14px;
}
.solutions-intro p { font-size: 0.95rem; color: var(--grey3); }

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.solution-card {
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-radius: 4px;
  padding: 50px 46px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.solution-card:hover {
  border-color: var(--gold-brd);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.solution-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.4s;
}
.solution-card:hover::after { opacity: 1; }

.solution-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-brd);
  color: var(--gold);
  font-size: 0.63rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px;
  margin-bottom: 26px;
}
.solution-tag-dot {
  width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
}
.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 400;
  color: var(--white); margin-bottom: 16px;
  line-height: 1.15;
}
.solution-card p {
  font-size: 0.89rem; color: var(--grey3);
  line-height: 1.85; margin-bottom: 14px;
}
.solution-features {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--grey1);
  display: flex; flex-direction: column; gap: 10px;
}
.solution-feat {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; color: var(--grey4);
}
.solution-feat::before { content: '✓'; color: var(--gold); font-size: 0.7rem; flex-shrink: 0; }

.solution-bg-num {
  position: absolute;
  bottom: -12px; right: 18px;
  font-family: var(--font-display);
  font-size: 10rem; font-weight: 700;
  color: rgba(255,255,255,0.018);
  line-height: 1;
  pointer-events: none; user-select: none;
}

/* ============================================
   REFERENCES
   ============================================ */
#references {
  padding: var(--section-pad) 0;
  background: var(--dark);
  border-top: 1px solid var(--grey1);
  border-bottom: 1px solid var(--grey1);
}
.references-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 40px; flex-wrap: wrap;
}
.references-header-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--white); margin-bottom: 10px;
}
.references-header-text p { font-size: 0.95rem; color: var(--grey3); }

.ref-legend {
  display: flex; flex-wrap: wrap; gap: 7px;
  align-items: center;
}
.ref-legend-label {
  font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey2);
  margin-right: 2px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--grey1);
  border: 1px solid var(--grey1);
  border-radius: 4px;
  overflow: hidden;
}

.ref-card {
  background: var(--dark);
  padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  cursor: pointer; position: relative;
  transition: background var(--transition);
  overflow: hidden;
}
.ref-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.ref-card:hover { background: var(--dark2); }
.ref-card:hover::before { width: 100%; }

.ref-domain {
  font-size: 0.88rem; font-weight: 500;
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.ref-arrow {
  color: var(--grey2); font-size: 0.8rem;
  transition: color var(--transition), transform var(--transition);
}
.ref-card:hover .ref-arrow { color: var(--gold); transform: translateX(3px); }

.ref-client-name {
  font-size: 0.76rem; color: var(--grey3);
  margin-top: -4px;
}

.ref-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ref-tag {
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px; border: 1px solid;
  white-space: nowrap;
}
.ref-tag.t-host  { color: var(--grey3); border-color: var(--grey2); }
.ref-tag.t-ssl   { color: #6ecfa5; border-color: rgba(110,207,165,0.25); background: rgba(110,207,165,0.05); }
.ref-tag.t-nvme  { color: #e0855a; border-color: rgba(224,133,90,0.25); background: rgba(224,133,90,0.05); }
.ref-tag.t-cf    { color: #f4952a; border-color: rgba(244,149,42,0.25); background: rgba(244,149,42,0.06); }
.ref-tag.t-web   { color: var(--gold); border-color: var(--gold-brd); background: var(--gold-bg); }
.ref-tag.t-shop  { color: #7cb8ff; border-color: rgba(124,184,255,0.25); background: rgba(124,184,255,0.06); }
.ref-tag.t-email { color: var(--grey2); border-color: rgba(68,68,68,0.5); }

/* ============================================
   FAQ
   ============================================ */
#faq {
  padding: var(--section-pad) 0;
}
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 90px; align-items: start;
}
.faq-left h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--white); margin-bottom: 18px;
}
.faq-left p {
  font-size: 0.94rem; color: var(--grey3);
  margin-bottom: 32px; line-height: 1.8;
}
.faq-highlight {
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.84rem; color: var(--grey4); line-height: 1.8;
}
.faq-highlight strong { color: var(--gold); font-weight: 500; }

.faq-list { border-top: 1px solid var(--grey1); }
.faq-item { border-bottom: 1px solid var(--grey1); }
.faq-q {
  width: 100%; background: none; border: none;
  text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.93rem; font-weight: 400;
  color: var(--grey4); transition: color var(--transition);
  gap: 20px;
}
.faq-q:hover { color: var(--white); }
.faq-icon {
  width: 26px; height: 26px;
  border: 1px solid var(--grey2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--grey3);
  font-size: 1.1rem; line-height: 1;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  border-color: var(--gold); background: var(--gold-bg);
  color: var(--gold); transform: rotate(45deg);
}
.faq-item.open .faq-q { color: var(--white); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 22px; }
.faq-a p { font-size: 0.87rem; color: var(--grey3); line-height: 1.85; }

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: var(--section-pad) 0;
  background: var(--dark);
  border-top: 1px solid var(--grey1);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.contact-info h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--white); margin-bottom: 16px;
}
.contact-info > p {
  font-size: 0.95rem; color: var(--grey3);
  line-height: 1.85; margin-bottom: 36px;
}
.contact-methods {
  display: flex; flex-direction: column;
  border: 1px solid var(--grey1);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 28px;
}
.contact-method {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--grey1);
  transition: background var(--transition);
}
.contact-method:last-child { border-bottom: none; }
.contact-method:hover { background: var(--dark2); }
.cm-icon {
  width: 40px; height: 40px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-brd);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.cm-lbl { font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey3); margin-bottom: 3px; }
.cm-val { font-size: 0.92rem; color: var(--white); font-weight: 400; }

.contact-note {
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.81rem; color: var(--grey3); line-height: 1.8;
}

.contact-form { display: flex; flex-direction: column; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey3);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark2);
  border: 1px solid var(--grey1);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 0.88rem; color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; width: 100%; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey2); }
.form-group textarea { resize: vertical; min-height: 126px; }
.form-group select option { background: var(--dark2); }
.form-note { font-size: 0.73rem; color: var(--grey2); }
.form-submit { display: flex; justify-content: flex-end; margin-top: 6px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--black);
  border-top: 1px solid var(--grey1);
}
.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--grey1);
}
.footer-logo img { height: 28px; }
.footer-brand p {
  font-size: 0.84rem; color: var(--grey3);
  line-height: 1.8; margin-top: 16px; max-width: 240px;
}
.footer-col h4 {
  font-size: 0.63rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey3); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a {
  font-size: 0.83rem; color: var(--grey3);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul a::before {
  content: '';
  width: 10px; height: 1px;
  background: var(--grey2);
  transition: background var(--transition), width var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-col ul a:hover::before { background: var(--gold); width: 14px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.73rem; color: var(--grey2); }
.footer-bottom a { color: var(--gold-dk); }
.footer-bottom a:hover { color: var(--gold); }
.footer-links-inline { display: flex; gap: 18px; }
.footer-links-inline a {
  font-size: 0.71rem; color: var(--grey2);
  letter-spacing: 0.05em; transition: color var(--transition);
}
.footer-links-inline a:hover { color: var(--gold); }

/* ============================================
   FLOATING
   ============================================ */
.quick-actions {
  position: fixed;
  bottom: 32px; right: 32px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 90;
}
.quick-action {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  cursor: pointer; text-decoration: none;
}
.quick-action.phone-btn { background: var(--gold); color: var(--black); }
.quick-action.phone-btn:hover { background: var(--gold-lt); transform: scale(1.1); box-shadow: 0 12px 36px rgba(200,168,75,0.3); }
.quick-action.top-btn {
  background: var(--dark2); border: 1px solid var(--grey1);
  color: var(--grey3); opacity: 0; pointer-events: none;
}
.quick-action.top-btn.visible { opacity: 1; pointer-events: all; }
.quick-action.top-btn:hover { color: var(--gold); border-color: var(--gold-brd); }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark2);
  border: 1px solid var(--gold-brd);
  color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 0.85rem; z-index: 200;
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  :root { --section-pad: 90px; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-stats-bar { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(3, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ── TABLET / MOBILE — 768px ─────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Header — samo logo + hamburger, bez gumba i telefona */
  .nav-inner { height: 60px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-cta .btn { display: none; }   /* sakrij CTA gumb u headeru na mobu */
  .hamburger { display: flex; }

  /* Hero — čišći mobile layout */
  .hero-left { padding: 100px 0 48px; }
  .hero-eyebrow { font-size: 0.6rem; padding: 6px 13px; margin-bottom: 24px; }
  .hero-desc { font-size: 0.93rem; max-width: 100%; margin-bottom: 36px; }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* Stats */
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 20px; }
  .stat-n { font-size: 2rem; }

  /* References */
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .references-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ref-legend { display: none; } /* legenda skrivena na mobu — uštedi prostor */

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quick-actions { bottom: 20px; right: 16px; }
}

/* ── SMALL MOBILE — 520px ────────────────────── */
@media (max-width: 520px) {
  /* Header */
  .nav-inner { height: 56px; }
  .nav-logo img { height: 26px; }

  /* Hero */
  .hero-left { padding: 88px 0 40px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-title-italic { font-size: clamp(2.2rem, 9vw, 3rem); margin-bottom: 22px; }
  .hero-eyebrow { font-size: 0.58rem; letter-spacing: 0.13em; }

  /* Stats */
  .hero-stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 16px; }
  .stat-n { font-size: 1.8rem; }
  .stat-l { font-size: 0.62rem; }

  /* References */
  .references-grid { grid-template-columns: 1fr 1fr; }

  /* About pills — wrap tighter */
  .about-pills { gap: 7px; }
  .about-pill { font-size: 0.75rem; padding: 7px 12px; }

  /* Solutions */
  .solution-card { padding: 36px 28px; }
  .solution-bg-num { font-size: 6rem; }

  /* FAQ */
  .faq-q { font-size: 0.86rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-links-inline { display: none; }

  /* Floating phone btn */
  .quick-action { width: 46px; height: 46px; }
}

/* ── Mobile menu — kompaktniji ───────────────── */
@media (max-width: 768px) {
  .mobile-menu {
    padding: 80px 24px 40px;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
  }
  .mobile-menu a {
    font-size: 1.9rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--grey1);
    color: var(--grey5);
  }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu .mobile-contact {
    align-items: flex-start;
    margin-top: 32px;
    gap: 10px;
  }
  .mobile-menu .mobile-contact a {
    font-size: 0.85rem;
    color: var(--grey3);
  }
}