/* ══════════════════════════════════════════════
   BRØDRENE BYGG SERVICE AS
   styles.css
   ══════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #f3f1ee;
  color: #1a1a1a;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; }

/* ── Variables ─────────────────────────────── */
:root {
  --gold:        #B07D20;
  --gold-l:      #C8922A;
  --gold-d:      #8A6018;
  --bg:          #f3f1ee;
  --bg2:         #eceae6;
  --bg3:         #ffffff;
  --bg4:         #f7f6f3;
  --txt:         #1a1a1a;
  --txt2:        #555555;
  --txt3:        #888888;
  --border:      rgba(0,0,0,0.09);
  --border-gold: rgba(176,125,32,0.3);
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --t:     0.28s ease;
  --container: 1160px;
  --section-y: 110px;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.12; }
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 560px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-tag.center { justify-content: center; }
.section-tag.center::before { display: none; }
.section-header.center { text-align: center; margin-bottom: 68px; }
.section-header.center .section-sub { margin: 0 auto; }
.gold { color: var(--gold); }

/* ── Layout ─────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-l);
  border-color: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,146,42,0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--txt);
  border-color: rgba(0,0,0,0.2);
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--txt);
  border-color: rgba(0,0,0,0.2);
}
.btn-outline:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ══ HEADER ═══════════════════════════════════ */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  transition: background var(--t), box-shadow var(--t);
}
#header.scrolled {
  background: rgba(243,241,238,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 78px;
  transition: height var(--t);
}
#header.scrolled .nav-inner { height: 66px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-img--footer { height: 38px; }
.webix-credit { display: inline-flex; align-items: center; }
.webix-logo-img { height: 20px; width: auto; display: block; opacity: 0.7; transition: opacity var(--t); }
.webix-logo-img:hover { opacity: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--txt);
  line-height: 1;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  line-height: 2;
}

/* Nav links */
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--txt2);
  padding: 7px 11px;
  border-radius: var(--r-sm);
  transition: color var(--t);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 11px; right: 11px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: center;
}
.nav-link:hover, .nav-link.active { color: var(--txt); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  padding: 10px 18px;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-sm);
  transition: all var(--t);
  white-space: nowrap;
}
.nav-cta:hover {
  background: rgba(200,146,42,0.1);
  border-color: var(--gold);
  color: var(--gold-l);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 7px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: all var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ HERO ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #edeae5 0%, #f5ede0 45%, #edeae5 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(176,125,32,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,125,32,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(176,125,32,0.1) 0%, transparent 70%);
  pointer-events: none;
}
/* Large diagonal accent */
.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 50%; height: 140%;
  background: linear-gradient(
    145deg,
    transparent 40%,
    rgba(176,125,32,0.05) 40%,
    rgba(176,125,32,0.05) 55%,
    transparent 55%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 24px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,146,42,0.09);
  border: 1px solid rgba(200,146,42,0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeDown 0.7s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 6.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 26px;
  animation: fadeUp 0.75s ease 0.15s both;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--txt2);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeUp 0.75s ease 0.28s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeUp 0.75s ease 0.42s both;
}
.hero-stats {
  display: inline-flex;
  align-items: stretch;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  animation: fadeUp 0.75s ease 0.56s both;
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 40px;
}
.hstat-val {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hstat-n {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hstat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hstat-l {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--txt3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 7px;
}
.hstat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 16px 0;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1s ease 1.2s both;
}
.hero-scroll span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt3);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2.2s ease-in-out infinite;
}

/* ══ TRUST BAR ═════════════════════════════════ */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 18px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--txt2);
  padding: 10px 28px;
}
.trust-item svg {
  width: 15px; height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-sep {
  width: 1px; height: 24px;
  background: var(--border);
}

/* ══ ABOUT ═════════════════════════════════════ */
.about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about-card-inner {
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 380px;
  justify-content: center;
}
.about-svg { width: 200px; height: 200px; opacity: 0.7; }
.about-card-lines {
  margin-top: 32px;
  align-self: stretch;
  display: flex; flex-direction: column; gap: 8px;
}
.acl {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.acl--short { width: 55%; opacity: 0.4; }
.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 116px; height: 116px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(200,146,42,0.4);
}
.about-badge-n {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.375rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.about-badge-t {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.88);
  text-align: center;
  line-height: 1.5;
}
.about-p {
  color: var(--txt2);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 38px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--txt2);
}
.feature-icon {
  width: 26px; height: 26px;
  background: rgba(200,146,42,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.feature-icon svg { width: 13px; height: 13px; }

/* ══ SERVICES ══════════════════════════════════ */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scard {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
}
.scard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--t);
}
.scard:hover { border-color: var(--border-gold); background: var(--bg4); transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.1); }
.scard:hover::before, .scard--featured::before { background: var(--gold); }
.scard--featured {
  background: linear-gradient(155deg, #fdf5e6 0%, var(--bg3) 100%);
  border-color: var(--border-gold);
}
.scard-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--txt3);
  margin-bottom: 16px;
}
.scard-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 18px;
}
.scard-icon svg { width: 100%; height: 100%; }
.scard-title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.scard-desc {
  color: var(--txt2);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.scard-list { flex: 1; margin-bottom: 20px; }
.scard-list li {
  font-size: 0.8125rem;
  color: var(--txt2);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scard-list li:last-child { border-bottom: none; }
.scard-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.scard-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  transition: all var(--t);
}
.scard-link svg { width: 15px; height: 15px; transition: transform var(--t); }
.scard-link:hover { color: var(--gold-l); }
.scard-link:hover svg { transform: translateX(4px); }

/* ══ PROJECTS ══════════════════════════════════ */
.projects { background: var(--bg2); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 250px 250px 250px;
  gap: 18px;
}
.proj-card:nth-child(1) { grid-column: span 2; }
.proj-card:nth-child(2) { grid-column: span 2; }
.proj-card:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.proj-card:nth-child(4) { grid-column: span 3; }
.proj-card:nth-child(5) { grid-column: span 3; }
.proj-card:nth-child(6) { grid-column: span 3; }
.proj-card:nth-child(7) { grid-column: span 3; }
.proj-card { border-radius: var(--r-md); overflow: hidden; }
.proj-bg {
  width: 100%; height: 100%;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.proj-bg:hover { transform: scale(1.025); }
/* When a real photo is loaded it covers the gradient + SVG */
.proj-bg.has-photo { background-size: cover; background-position: center; }
.proj-bg.has-photo .proj-deco { display: none; }

/* Unique backgrounds per card */
.pb-1 { background: linear-gradient(145deg, #d6c9b2 0%, #c4b494 50%, #d0c5ae 100%); }
.pb-2 { background: linear-gradient(145deg, #b8c8d8 0%, #9eb4c8 50%, #b2c2d4 100%); }
.pb-3 { background: linear-gradient(145deg, #b8ccb8 0%, #9cbd9c 50%, #b0c8b0 100%); }
.pb-4 { background: linear-gradient(145deg, #c8bcd8 0%, #b0a0c8 50%, #c0b4d4 100%); }
.pb-5 { background: linear-gradient(145deg, #d8b8b8 0%, #c89898 50%, #d0b0b0 100%); }
.pb-6 { background: linear-gradient(145deg, #b4c8d4 0%, #98b8c8 50%, #acc0cc 100%); }
.pb-7 { background: linear-gradient(145deg, #b8ccb4 0%, #9cc09a 50%, #b0c8ae 100%); }

/* Grid overlay on all cards */
.proj-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.proj-deco {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-deco svg { width: 100%; height: 100%; max-width: 180px; }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 45%, transparent 70%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.85;
  transition: opacity var(--t);
}
.proj-bg:hover .proj-overlay { opacity: 1; }
.proj-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,146,42,0.15);
  border: 1px solid rgba(200,146,42,0.25);
  padding: 4px 11px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 9px;
}
.proj-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.proj-meta {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

/* ══ CTA BAND ══════════════════════════════════ */
.cta-band {
  background: linear-gradient(145deg, #2a1f0e 0%, #3d2d12 50%, #2a1f0e 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 64px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-band-text p { color: rgba(255,255,255,0.6); margin-top: 8px; font-size: 1.0625rem; }
.cta-band-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ══ CONTACT ═══════════════════════════════════ */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.contact-intro {
  color: var(--txt2);
  font-size: 1.0625rem;
  line-height: 1.72;
  margin-bottom: 44px;
}
.cinfo { display: flex; flex-direction: column; gap: 14px; }
.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t);
  cursor: default;
}
a.cinfo-item { cursor: pointer; }
a.cinfo-item:hover { border-color: var(--border-gold); background: var(--bg4); }
.cinfo-icon {
  width: 42px; height: 42px;
  background: rgba(200,146,42,0.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.cinfo-icon svg { width: 19px; height: 19px; }
.cinfo-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt3);
  margin-bottom: 3px;
}
.cinfo-val {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--txt);
}

/* Call card */
.call-card {
  background: var(--bg3);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-lg);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.call-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-d));
}
.call-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,146,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.call-card-icon {
  width: 80px; height: 80px;
  background: rgba(200,146,42,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 28px;
}
.call-card-title {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.call-card-desc {
  color: var(--txt2);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 36px;
}
.call-card-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 24px;
  transition: color var(--t);
}
.call-card-number:hover { color: var(--gold-l); }
.call-card-btn {
  width: 100%;
  max-width: 280px;
  font-size: 0.9375rem;
  padding: 16px 32px;
  margin-bottom: 24px;
}
.call-card-alt {
  font-size: 0.875rem;
  color: var(--txt3);
}
.call-card-alt a {
  color: var(--txt2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t);
}
.call-card-alt a:hover { color: var(--gold); }

/* ══ FOOTER ════════════════════════════════════ */
.footer {
  background: #2a2218;
  border-top: 1px solid rgba(176,125,32,0.2);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.9375rem; line-height: 1.6; margin: 18px 0 10px; }
.footer-org { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: rgba(255,255,255,0.4); font-size: 0.9375rem; transition: color var(--t); }
.footer-col ul a:hover { color: var(--gold-l); }
.footer-col p { color: rgba(255,255,255,0.4); font-size: 0.9375rem; line-height: 1.9; margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-col a:hover { color: var(--gold-l); }
.footer-hours { font-size: 0.8125rem !important; color: rgba(255,255,255,0.35) !important; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.8125rem;
  color: var(--txt3);
}
.footer-bottom { color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--gold-l); }
.footer-bottom a:hover { color: #E0A83A; }

/* ══ ANIMATIONS ════════════════════════════════ */
@keyframes fadeDown  { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp    { from { opacity:0; transform:translateY(26px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn    { from { opacity:0; }                              to { opacity:1; } }
@keyframes pulse     { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.4); } }
@keyframes scrollAnim{
  0%   { height:48px; opacity:1; }
  80%  { height:0;    opacity:0; }
  100% { height:0;    opacity:0; }
}
@keyframes spin      { to { transform:rotate(360deg); } }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ RESPONSIVE ════════════════════════════════
   Breakpoints:
   1024px  – tablet landscape
    768px  – tablet portrait / large phone
    600px  – phone
    400px  – small phone
   ════════════════════════════════════════════ */

/* ── 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-y: 90px; }

  /* About */
  .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }

  /* Services: 2 col on tablet */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Projects: 2 col */
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .proj-card:nth-child(n)  { grid-column: span 1; grid-row: span 1; }
  .proj-card:nth-child(3)  { grid-column: span 2; }
  .proj-card:nth-child(4),
  .proj-card:nth-child(5),
  .proj-card:nth-child(6),
  .proj-card:nth-child(7)  { grid-column: span 1; }
  .proj-bg { height: 240px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .contact-left { max-width: 600px; }
  .cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

/* ── 768px ─────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-y: 68px; }

  /* ── Nav ── */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: center; gap: 2px; }
  .nav-link { font-size: 1.25rem; padding: 14px 28px; letter-spacing: 0.06em; }
  .nav-link::after { bottom: 8px; left: 28px; right: 28px; }
  .nav-cta { margin-top: 28px; font-size: 0.875rem; padding: 12px 24px; }

  /* ── Hero ── */
  .hero-content { padding: 100px 20px 70px; }
  .hero-badge { font-size: 0.625rem; padding: 7px 16px; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { gap: 12px; margin-bottom: 52px; }
  /* Stats: keep horizontal but compact */
  .hero-stats { border-radius: var(--r-md); }
  .hstat { padding: 18px 24px; }
  .hstat-n { font-size: 1.875rem; }
  .hstat-suffix { font-size: 1.125rem; }
  .hstat-l { font-size: 0.5625rem; }

  /* ── Trust bar ── */
  .trust-items { flex-direction: column; align-items: center; gap: 4px; padding: 16px 0; }
  .trust-sep { width: 40px; height: 1px; }
  .trust-item { font-size: 0.8125rem; padding: 8px 20px; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card-inner { min-height: 280px; padding: 40px 28px; }
  .about-svg { width: 160px; height: 160px; }
  .about-badge { width: 96px; height: 96px; bottom: -12px; right: -12px; }
  .about-badge-n { font-size: 1.875rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }

  /* ── Services accordion (mobile) ── */
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .scard { padding: 18px 20px; cursor: pointer; }

  /* Header row: icon + title + chevron */
  .scard-header {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .scard-header .scard-icon { width: 32px; height: 32px; margin-bottom: 0; flex-shrink: 0; }
  .scard-header .scard-title { margin-bottom: 0; font-size: 0.9375rem; flex: 1; }
  .scard-header .scard-num { display: none; }

  .scard-chevron {
    width: 20px; height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-left: auto;
  }
  .scard.expanded .scard-chevron { transform: rotate(180deg); }

  /* Collapsible body */
  .scard-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }
  .scard.expanded .scard-body { max-height: 600px; opacity: 1; }
  .scard-body-inner { padding-top: 14px; }
  .scard-desc { font-size: 0.875rem; margin-bottom: 12px; }
  .scard-list { margin-bottom: 12px; }

  /* ── Projects ── */
  .proj-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 14px; }
  .proj-card:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .proj-bg { height: 210px; }

  /* ── CTA Band ── */
  .cta-band { padding: 48px 0; }
  .cta-band-inner { flex-direction: column; text-align: center; gap: 28px; }
  .cta-band-btns { justify-content: center; flex-direction: column; align-items: center; gap: 12px; }
  .cta-band-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* ── Contact ── */
  .cinfo { grid-template-columns: 1fr; }
  .call-card { padding: 36px 24px; }
  .call-card-number { font-size: 2rem; }

  /* ── Footer ── */
  .footer { padding: 60px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 20px 0; }
}

/* ── 600px ─────────────────────────────────── */
@media (max-width: 600px) {
  :root { --section-y: 56px; }

  .container { padding: 0 18px; }

  /* Hero: stack buttons, compact stats */
  .hero-content { padding: 90px 18px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Stats: go horizontal-scrollable or compact */
  .hero-stats { width: 100%; border-radius: var(--r-sm); }
  .hstat { padding: 16px 18px; flex: 1; }
  .hstat-n { font-size: 1.625rem; }
  .hstat-suffix { font-size: 1rem; }

  /* About badge smaller */
  .about-badge { width: 84px; height: 84px; }
  .about-badge-n { font-size: 1.625rem; }
  .about-badge-t { font-size: 0.4375rem; }

  /* Projects */
  .proj-bg { height: 185px; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: span 1; }

  /* Buttons */
  .btn { padding: 13px 22px; font-size: 0.75rem; }
}

/* ── 400px ─────────────────────────────────── */
@media (max-width: 400px) {
  .hero-stats { flex-direction: column; width: 100%; border-radius: var(--r-md); }
  .hstat { padding: 16px 20px; width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .hstat-l { margin-top: 0; }
  .hstat-sep { width: 60%; height: 1px; margin: 0 auto; align-self: auto; }

  .scard { padding: 28px 20px; }
  .form-card { padding: 22px 16px; }
  .cta-band-btns .btn { max-width: 100%; }
}
