/* ============================================
   UNITED TILE WORKS — Global Stylesheet
   Colors: Navy / Blue / Sky / Terracotta / Sand
   Fonts: Barlow Condensed + Inter
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:       #0D1B3E;
  --blue:       #1A56DB;
  --sky:        #38BDF8;
  --terra:      #C1724F;
  --sand:       #FDF5F0;
  --white:      #FFFFFF;
  --text-dark:  #1C2340;
  --text-mid:   #475569;
  --text-light: #94A3B8;
  --border:     rgba(13,27,62,0.1);
  --shadow-sm:  0 2px 8px rgba(13,27,62,0.08);
  --shadow-md:  0 6px 24px rgba(13,27,62,0.12);
  --shadow-lg:  0 16px 48px rgba(13,27,62,0.16);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(193,114,79,0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-primary:hover {
  background: #a85c3c;
  border-color: #a85c3c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(193,114,79,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #162d6a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo img { height: 44px; width: auto; }
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.logo-text span { color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.active { color: var(--sky); }
.nav-cta {
  margin-left: 12px;
  padding: 10px 22px !important;
  background: var(--terra) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover {
  background: #a85c3c !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(193,114,79,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--sky); }
.mobile-menu .btn-primary {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 14px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--sky); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-contact-item .icon {
  color: var(--terra);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--terra);
  padding: 24px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- CARD ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
