/* ==========================================================================
   G-Tech Builder — New Website
   Clean, original, mobile-first stylesheet (no inherited Brick & Bolt code).
   ========================================================================== */

:root {
  --primary: #f15a29;
  --primary-dark: #d6481c;
  --dark: #1d1a12;
  --grey: #6b6b6b;
  --grey-light: #8a8a8a;
  --border: #e6e6e6;
  --bg-light: #f7f7fb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(29, 26, 18, 0.08);
  --shadow-hover: 0 10px 30px rgba(29, 26, 18, 0.14);
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "DM Sans", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 12px; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw + 1rem, 46px); }
h2 { font-size: clamp(24px, 3vw + 1rem, 34px); }
h3 { font-size: clamp(18px, 1.5vw + 1rem, 22px); }
p { margin: 0 0 14px; color: var(--grey); font-size: clamp(15px, 0.4vw + 0.9rem, 17px); }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}

.section { padding: 56px 0; }
.section--alt { background: var(--bg-light); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 64px; width: auto; }
@media (max-width: 575.98px) {
  .site-logo img { height: 52px; }
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 34px;
  background: transparent;
  border: none;
  padding: 6px;
  z-index: 1100;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.25s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-wrapper { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.main-nav .nav-link {
  display: block;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--dark);
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav .nav-link:hover, .main-nav .nav-link.is-active { color: var(--primary); }
.has-submenu { position: relative; }
.has-submenu .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.caret-icon { flex-shrink: 0; transition: transform 0.2s ease; }
.has-submenu:hover .caret-icon,
.has-submenu.is-open .caret-icon { transform: rotate(180deg); }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
  min-width: 220px;
  padding: 8px;
  z-index: 50;
}
.has-submenu:hover .submenu,
.has-submenu.is-open .submenu { display: block; }
.submenu .nav-link { padding: 9px 12px; font-weight: 500; font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.header-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--dark); font-size: 15px; white-space: nowrap; }
.header-phone svg { flex-shrink: 0; }
.phone-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  flex-shrink: 0;
}
.phone-icon-circle svg path { fill: #fff; }
.phone-text { font-weight: 700; }

@media (max-width: 1199.98px) {
  .site-header { position: sticky; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 1100; }
  .nav-wrapper {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1090;
    box-sizing: border-box;
  }
  .nav-wrapper.is-open {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 18px 18px 28px;
  }
  .main-nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .main-nav .nav-link { width: 100%; box-sizing: border-box; white-space: normal; color: var(--dark); background: #fff; }
  .has-submenu .submenu {
    display: none;
    position: static;
    box-shadow: none;
    background: var(--bg-light);
    margin: 4px 0 8px;
    width: 100%;
  }
  .has-submenu.is-open .submenu { display: block; }
  .header-actions { display: flex; flex-direction: column; align-items: stretch; margin-top: 18px; gap: 12px; }
  .header-actions .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.45);
    z-index: 1080; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; pointer-events: none;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0;
}
.hero-img { border-radius: var(--radius); overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { color: #fff; }
.hero p.lead { color: #d8d4cc; font-size: 18px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 110px; }

.lead-form-card {
  background: #fff;
  color: var(--dark);
  border-radius: var(--radius);
  padding: 32px 44px 32px 30px;
  box-shadow: var(--shadow);
}
.lead-form-card h3 { margin-bottom: 18px; }
.lead-form-card p { font-size: 14px; margin-bottom: 16px; }
.form-row { margin-bottom: 22px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--primary); }
.form-note { font-size: 12px; color: var(--grey-light); margin-top: 10px; }

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
}

/* ---------------- Cards / Grids ---------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991.98px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px; }
.card-body h4 { margin-bottom: 6px; font-size: 18px; }
.card-body p { font-size: 14px; margin-bottom: 10px; }
.card-link { color: var(--primary); font-weight: 700; font-size: 14px; }

.feature {
  text-align: center;
  padding: 26px 18px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(241, 90, 41, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: var(--primary);
  font-size: 24px; font-weight: 800;
}
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 14px; margin: 0; }

/* Steps */
.steps { display: flex; align-items: flex-start; gap: 16px; position: relative; padding: 0 6px; }
.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  background-image: linear-gradient(90deg, var(--primary) 0%, var(--primary) 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  z-index: 0;
  animation: stepsLineFill 2.4s ease-out forwards;
}
@keyframes stepsLineFill {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}
.step { text-align: center; position: relative; z-index: 1; flex: 1; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin: 0 auto 10px; font-size: 16px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  position: relative;
  animation: stepPop 0.5s ease both;
  animation-delay: calc(var(--step-i, 0) * 0.15s);
}
@keyframes stepPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.step span { font-weight: 600; font-size: 14px; display: block; }
@media (max-width: 991.98px) {
  .steps { flex-wrap: wrap; }
  .steps::before { display: none; }
  .step { flex: 0 0 calc(33.333% - 11px); }
}
@media (max-width: 575.98px) {
  .step { flex: 0 0 calc(50% - 8px); }
}

/* FAQ accordion */
.accordion-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.accordion-trigger {
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.accordion-trigger::after { content: "+"; font-size: 22px; color: var(--primary); flex-shrink: 0; transition: transform 0.2s; }
.accordion-item.is-open .accordion-trigger::after { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 20px; }
.accordion-item.is-open .accordion-panel { padding-bottom: 16px; }
.accordion-panel p { margin: 0; font-size: 14px; }

/* CTA banner */
.cta-banner {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; margin: 0; }
.cta-banner .btn--outline { border-color: #fff; color: #fff; }
.cta-banner .btn--outline:hover { background: #fff; color: var(--primary); }

/* Page banner (sub-pages) */
.page-banner {
  background: var(--dark);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: #d8d4cc; max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: #c9c5bc; margin-bottom: 10px; }
.breadcrumb a { color: #fff; font-weight: 600; }

/* Stats band */
.stats-band { background: var(--dark); padding: 42px 0; }
.stats-band .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .stat-num { font-family: Georgia, 'Times New Roman', serif; font-size: 38px; line-height: 1; color: #fff; margin-bottom: 8px; }
.stats-band .stat-num span { color: var(--primary); }
.stats-band .stat-label { font-size: 14px; color: #cfc9bd; }
@media (max-width: 850px) { .stats-band .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }

/* Content + image split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 850px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 850px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.06); }

/* Packages / pricing table */
.pkg-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.pkg-card.is-popular { border-color: var(--primary); box-shadow: var(--shadow); position: relative; }
.pkg-card .price { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pkg-card ul { margin: 14px 0; }
.pkg-card li { padding: 6px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.pkg-card li:last-child { border-bottom: none; }
.badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--primary); color: #fff; font-size: 11px;
  padding: 4px 12px; border-radius: 12px; font-weight: 700;
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--bg-light); border-radius: var(--radius); padding: 28px; }
.contact-info-card h4 { color: var(--primary); font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.contact-info-card .info-block { margin-bottom: 22px; }
.contact-info-card .info-block p { margin: 0 0 4px; color: var(--dark); font-size: 15px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--dark); color: #cfc9bd; padding: 50px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 30px; }
@media (max-width: 850px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social .social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social .social-icon:hover { background: var(--primary); transform: translateY(-2px); }
.footer-logo {
  display: inline-block;
  background: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 56px; display: block; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #a9a397;
}

/* ---------------- Hero Slider (homepage) ---------------- */
.hero-slider {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,9,6,0.78) 0%, rgba(10,9,6,0.45) 55%, rgba(10,9,6,0.15) 100%);
  z-index: 2;
}
.hero-slider .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: center;
  padding-right: 28px;
  padding: 64px 20px;
  width: 100%;
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  padding: 0;
}
.hero-dot.is-active { background: var(--primary); width: 26px; border-radius: 6px; }
.tag-pill {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: clamp(18px, 2vw + 1rem, 30px);
}
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0 0; font-weight: 600; font-size: 14px; color: #f0ede6; }
.hero-stats span::before { content: "\25C6"; color: var(--primary); margin-right: 6px; }

.phone-input-group { display: flex; }
.phone-input-group .country-code {
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  text-align: center;
  background: #f3f3f3;
  font-weight: 600;
}
.phone-input-group input { border-radius: 0 6px 6px 0; }

@media (max-width: 991.98px) {
  .hero-slider .container { grid-template-columns: 1fr; padding: 40px 20px; }
  .hero-slider { min-height: 0; }
  .hero-slider .hero-cta { margin-top: 18px; }
}

/* ---------------- WhatsApp floating button ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 2000;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 575.98px) {
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
