/* ============================================================
   TKF BUILDING SOLUTIONS — STYLES
   Colour palette (orange + dark from logo):
     Orange:          #f7941d
     Orange dark:     #d97d10
     Orange deep:     #b86a0c
     Purple:          #7b2d8b
     Dark:            #1a1e2e
     Navy text:       #1a2332
     Text body:       #4a5660
     Off-white:       #faf8f5
     Border light:    #e4ddd5
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange:        #f7941d;
  --orange-dark:   #d97d10;
  --orange-deep:   #b86a0c;
  --orange-tint:   #fef3e2;
  --dark:          #1a1e2e;
  --dark-mid:      #232840;
  --white:         #ffffff;
  --off-white:     #faf8f5;
  --navy:          #1a2332;
  --text-dark:     #1a2332;
  --text-body:     #4a5660;
  --border-light:  #e4ddd5;
  --nav-height:    84px;
  --accent:        #f7941d;
  --accent-dark:   #d97d10;
  --accent-deep:   #b86a0c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 640px;
  margin-bottom: 36px;
}

.section-light {
  background: var(--off-white);
}

.section-light .section-title,
.section-light .section-intro {
  color: var(--text-dark);
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  text-align: center;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  opacity: 1;
}

.hero .btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  font-weight: 700;
}

.hero .btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  opacity: 1;
}

.section-dark .btn-primary {
  background: var(--orange);
  color: var(--white);
}

.section-dark .btn-primary:hover {
  background: var(--orange-dark);
  opacity: 1;
}

.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  opacity: 1;
}

.btn-secondary svg,
.btn-secondary i {
  width: 18px;
  height: 18px;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(26,30,46,0.08);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo {
  height: 60px;
  width: auto;
  display: block;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
  opacity: 0.85;
}

.nav-links a:hover {
  color: var(--orange-dark);
  opacity: 1;
}

.nav-cta-btn {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--orange);
  padding: 9px 20px;
  border-radius: 5px;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background 0.2s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-cta-btn:hover {
  background: var(--orange-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.nav-mobile-menu.open {
  display: flex;
  max-height: 400px;
  padding: 8px 0 16px;
}

.mobile-link {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  display: block;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-light);
}

.mobile-link:hover {
  background: var(--off-white);
  color: var(--orange-dark);
}

.mobile-cta {
  background: var(--orange);
  color: var(--white) !important;
  margin: 8px 16px;
  border-radius: 6px;
  text-align: center;
  border-bottom: none !important;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26,30,46,0.82) 0%, rgba(26,30,46,0.65) 40%, rgba(26,30,46,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 90px 24px 40px;
  margin: 0 auto 0 max(24px, calc((100vw - 1140px) / 2 + 24px));
}

.hero-badge {
  display: inline-block;
  background: rgba(247,148,29,0.2);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(247,148,29,0.4);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  padding: 56px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.service-card:nth-child(1) { grid-column: 1 / 3; }
.service-card:nth-child(2) { grid-column: 3 / 5; }
.service-card:nth-child(3) { grid-column: 5 / 7; }
.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(247,148,29,0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon i,
.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-section {
  padding: 56px 0;
  background: var(--white);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.about-text .section-title {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--orange-tint);
  padding: 40px 36px;
  border-radius: 14px;
  border-left: 4px solid var(--orange);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
}

/* ============================================================
   WHY US
   ============================================================ */

.section-dark {
  padding: 56px 0;
  background: var(--dark);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-intro {
  color: rgba(255,255,255,0.75);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.about-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 28px 24px;
  transition: background 0.2s;
}

.about-card:hover {
  background: rgba(255,255,255,0.1);
}

.about-card-marker {
  width: 32px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-light {
  padding: 56px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 40px;
  align-items: center;
}

.contact-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-subtext {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 420px;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-row-icon {
  flex-shrink: 0;
  color: var(--orange-dark);
  margin-top: 2px;
}

.contact-row-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-body);
  opacity: 0.7;
  margin-bottom: 3px;
}

.contact-row-value {
  display: block;
  font-size: 0.97rem;
  color: var(--navy);
  line-height: 1.5;
  font-weight: 600;
}

a.contact-row-value:hover {
  color: var(--orange-dark);
}

/* Form card */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(26,30,46,0.08);
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-success {
  background: #f0f7f0;
  border: 1px solid #c3dfc3;
  color: #2d5a2d;
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.required-star {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 7px;
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,148,29,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 84px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--white);
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
}

.footer-main {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  max-width: 260px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--orange-dark);
}

.footer-contact-link svg {
  flex-shrink: 0;
  color: var(--orange-dark);
}

.footer-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-dark);
  margin-bottom: 20px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a,
.footer-col-links span {
  font-size: 0.92rem;
  color: var(--text-body);
  transition: color 0.2s;
}

.footer-col-links a:hover {
  color: var(--orange-dark);
}

.footer-bottom-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
}

.footer-bottom-inner {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.footer-built-by {
  color: var(--text-body);
  transition: color 0.2s;
}

.footer-built-by:hover {
  color: var(--orange-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta-btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile-menu {
    display: flex;
  }

  .nav-logo {
    height: 48px;
  }

  .hero-content {
    padding: 80px 20px 32px;
    margin: 0;
  }

  .hero-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 240px;
    font-size: 0.72rem;
    margin-bottom: 12px;
    padding: 5px 12px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero .btn-primary {
    border: none;
  }

  .hero-content h1 {
    margin-bottom: 12px;
  }

  .hero-subtitle {
    margin-bottom: 24px;
    font-size: 0.93rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .services,
  .about-section,
  .section-dark,
  .contact-light {
    padding: 44px 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: auto; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-form-wrap {
    max-width: 100%;
    justify-self: stretch;
  }

  .about-stats {
    padding: 28px 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main {
    padding: 48px 0 36px;
  }

  .footer-tagline {
    max-width: 100%;
  }
}
