/* ============================================================
   Frankbest Construction Ltd — Main Stylesheet
   Developed by Dovia Ltd
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy:         #0A1628;
  --navy-mid:     #122040;
  --orange:       #E8640A;
  --orange-lt:    #F97316;
  --cream:        #F7F4EF;
  --slate:        #4A5568;
  --border:       #D1D9E0;
  --white:        #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── NAVIGATION ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--orange);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--orange);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav-logo-text span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-lt) !important; }
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.mobile-menu { display: none; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  padding: 120px 24px 64px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px;
  height: 100%;
  background: var(--orange);
  transform: skewX(-12deg) translateX(-200px);
  opacity: 0.6;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.page-hero-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p {
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ── HERO (homepage) ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.28;
}
.hero-slash {
  position: absolute;
  top: 0; right: -100px;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(232,100,10,0.12) 40%);
  pointer-events: none;
}
.hero-slash-line {
  position: absolute;
  top: 0; right: 200px;
  width: 4px; height: 100%;
  background: var(--orange);
  transform: skewX(-12deg);
  opacity: 0.7;
}
.hero-slash-line2 {
  position: absolute;
  top: 0; right: 220px;
  width: 1px; height: 100%;
  background: var(--orange);
  transform: skewX(-12deg);
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--orange); }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--orange); display: block; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-mid);
  padding: 20px 24px;
  overflow: hidden;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.trust-item svg { color: var(--orange); flex-shrink: 0; }

/* ── SHARED SECTION STYLES ───────────────────────────────── */
section { padding: 88px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-body {
  font-size: 1rem;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.75;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 32px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--orange-lt); transform: translateY(-1px); color: var(--white); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 32px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--orange); background: rgba(232,100,10,0.1); color: var(--white); }
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--navy-mid); color: var(--white); }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 32px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-white:hover { background: var(--cream); color: var(--orange); }

/* ── ABOUT SECTION ───────────────────────────────────────── */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img { aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.about-badge span { display: block; font-size: 2rem; }
.about-features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-feature { display: flex; gap: 12px; align-items: flex-start; }
.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.about-feature-text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-feature-text p { font-size: 0.82rem; color: var(--slate); margin-top: 2px; }
.about-cta { margin-top: 36px; display: flex; gap: 16px; align-items: center; }
.about-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.about-phone span {
  color: var(--orange);
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SERVICES ────────────────────────────────────────────── */
.services { background: var(--navy); }
.services .section-title { color: var(--white); }
.services .section-body { color: rgba(255,255,255,0.55); }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--navy-mid);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--orange);
  transition: width 0.4s ease;
}
.service-card:hover { background: #162A4A; }
.service-card:hover::after { width: 100%; }
.service-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: 20px; right: 24px;
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(232,100,10,0.15);
  border: 1px solid rgba(232,100,10,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.service-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-list li {
  list-style: none;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: '';
  display: block;
  width: 14px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery { background: var(--white); padding: 0; }
.gallery-header {
  padding: 80px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img {
  width: 100%; height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall img { height: 564px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img { height: 280px; }

/* ── PROCESS ─────────────────────────────────────────────── */
.process { background: var(--cream); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.process-step {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--border);
}
.process-step.active::before { background: var(--orange); }
.process-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step.active .process-step-num { color: var(--orange); }
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.process-step p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; }

/* ── COVERAGE ────────────────────────────────────────────── */
.coverage { background: var(--white); }
.coverage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.coverage-image img { width: 100%; height: 420px; object-fit: cover; }
.coverage-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area-pill {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
}
.area-pill.highlight {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--orange);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; right: -60px;
  width: 40%; height: 100%;
  background: rgba(0,0,0,0.08);
  transform: skewX(-12deg);
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}
.cta-text p { color: rgba(255,255,255,0.75); margin-top: 8px; font-size: 1rem; }

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact { background: var(--navy); }
.contact .section-title { color: var(--white); }
.contact .section-label { color: var(--orange); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-top: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(232,100,10,0.15);
  border: 1px solid rgba(232,100,10,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.contact-item-value { font-size: 0.95rem; color: var(--white); font-weight: 500; line-height: 1.5; }
.contact-item-value a { color: var(--orange); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #060E1A;
  padding: 48px 24px 24px;
  border-top: 2px solid var(--orange);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--orange); }
.reg-info {
  background: rgba(255,255,255,0.04);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall img { height: 280px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--navy);
    z-index: 99;
    padding: 32px 24px;
    gap: 0;
    overflow-y: auto;
  }
  .mobile-menu.open a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1.2rem;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .hero-stats { gap: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
  .about-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .coverage-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .service-card { padding: 40px 32px !important; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
