@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@500;700&display=swap');

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

:root {
  --earth: #2C1A0E;
  --rust: #B84A1E;
  --sand: #D4A96A;
  --cream: #F5EFE4;
  --sage: #4A5C3E;
  --stone: #8A7D6E;
  --dark: #1A1008;
  --white: #FDFAF5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--earth);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(26, 16, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 169, 106, 0.2);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--sand); letter-spacing: 0.04em;
  text-decoration: none; line-height: 1.2;
}
.nav-logo span {
  display: block; font-size: 0.62rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500; letter-spacing: 0.22em;
  color: var(--stone); text-transform: uppercase;
}

.nav-links { display: flex; gap: 2.4rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(245, 239, 228, 0.78);
  text-decoration: none; font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; transition: color 0.25s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--sand); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(26,16,8,0.98); border: 1px solid rgba(212,169,106,0.2);
  min-width: 220px; padding: 0.6rem 0;
  backdrop-filter: blur(12px);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.65rem 1.3rem;
  color: rgba(245,239,228,0.75) !important;
  font-size: 0.8rem; letter-spacing: 0.06em;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  color: var(--sand) !important;
  border-left-color: var(--rust);
  background: rgba(212,169,106,0.06);
}

.nav-cta {
  background: var(--rust); color: var(--white);
  border: none; padding: 0.6rem 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; cursor: pointer;
  text-decoration: none; transition: background 0.25s;
}
.nav-cta:hover { background: #9a3c14; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 14rem 6rem 8rem;
  min-height: 550px;
  background: var(--dark);
  position: relative; overflow: hidden;
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,16,8,0.7) 0%, rgba(26,16,8,0.4) 50%, rgba(26,16,8,0.2) 100%);
  z-index: 1;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 700px; display: inline-block; padding: 1.5rem 2rem; background: rgba(26,16,8,0.45); backdrop-filter: blur(2px); }

.page-hero-inner { position: relative; z-index: 2; max-width: 700px; display: inline-block; padding: 1.5rem 2rem; background: rgba(26,16,8,0.45); backdrop-filter: blur(2px); }
.page-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--rust);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.page-tag::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--rust); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  color: var(--cream); margin-bottom: 1.2rem;
}
.page-hero h1 em { font-style: italic; color: var(--sand); }
.page-hero p {
  font-size: 1.05rem; font-weight: 300; line-height: 1.75;
  color: rgba(212,169,106,0.7); max-width: 540px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: var(--cream);
  padding: 0.9rem 6rem;
  border-bottom: 1px solid rgba(138,125,110,0.2);
  font-size: 0.78rem; color: var(--stone);
}
.breadcrumb a { color: var(--rust); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; }

/* ─── CONTENT SECTIONS ─── */
.content-section { padding: 5rem 6rem; }
.content-section.cream { background: var(--cream); }
.content-section.white { background: var(--white); }
.content-section.dark { background: var(--earth); }

.section-bar { width: 3rem; height: 3px; background: var(--rust); margin-bottom: 1.5rem; }
.section-tag-inline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--rust);
  margin-bottom: 0.8rem; display: block;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--earth);
  line-height: 1.2; margin-bottom: 1.5rem;
}
h2.section-title.light { color: var(--cream); }
.lead-text {
  font-size: 1.05rem; font-weight: 300; line-height: 1.85;
  color: var(--stone); margin-bottom: 1.5rem;
}
.body-text {
  font-size: 0.95rem; font-weight: 300; line-height: 1.85;
  color: var(--stone); margin-bottom: 1.2rem;
}

/* ─── TWO-COL ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.two-col.flip > *:first-child { order: 2; }
.two-col.flip > *:last-child { order: 1; }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: var(--earth);
  padding: 2.8rem 3rem; position: relative;
}
.highlight-box::after {
  content: ''; position: absolute;
  bottom: -0.8rem; right: -0.8rem;
  width: 100%; height: 100%;
  border: 1px solid var(--sand); z-index: -1;
}
.highlight-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--sand);
  margin-bottom: 1rem;
}
.highlight-box p { font-size: 0.9rem; line-height: 1.75; color: var(--stone); font-weight: 300; }
.highlight-box ul { list-style: none; margin-top: 1rem; }
.highlight-box ul li {
  font-size: 0.9rem; color: var(--stone); font-weight: 300;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(212,169,106,0.1);
  display: flex; align-items: flex-start; gap: 0.7rem;
}
.highlight-box ul li::before { content: '→'; color: var(--rust); flex-shrink: 0; }

/* ─── PROCESS STEPS ─── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem; padding: 2rem 0;
  border-bottom: 1px solid rgba(138,125,110,0.2);
  position: relative;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700;
  color: rgba(184,74,30,0.2); line-height: 1;
  padding-top: 0.2rem;
}
.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--earth);
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.9rem; line-height: 1.75; color: var(--stone); font-weight: 300; }

/* ─── CARDS GRID ─── */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: rgba(138,125,110,0.2); }
.info-card {
  background: var(--white); padding: 2.5rem 2.2rem;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.info-card:hover { background: var(--cream); }
.info-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: var(--rust);
  transition: width 0.4s;
}
.info-card:hover::before { width: 100%; }
.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--earth);
  margin-bottom: 0.8rem;
}
.info-card p { font-size: 0.88rem; line-height: 1.75; color: var(--stone); font-weight: 300; }
.card-icon { color: var(--rust); margin-bottom: 1rem; }
.card-icon svg { width: 2.2rem; height: 2.2rem; }

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--rust); padding: 4rem 6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--white); font-weight: 700;
}
.cta-strip p { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-top: 0.4rem; }
.btn-white {
  background: var(--white); color: var(--rust);
  padding: 1rem 2.2rem; text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; white-space: nowrap;
  transition: background 0.25s;
}
.btn-white:hover { background: var(--cream); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--rust); color: var(--white);
  padding: 1rem 2.2rem; display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: #9a3c14; transform: translateY(-2px); }
.btn-outline-dark {
  border: 1px solid rgba(44,26,14,0.3); color: var(--earth);
  padding: 1rem 2.2rem; display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.25s;
}
.btn-outline-dark:hover { border-color: var(--rust); color: var(--rust); }

/* ─── FORM ─── */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--stone);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--white);
  border: 1px solid rgba(138,125,110,0.3);
  color: var(--earth); padding: 0.85rem 1rem;
  font-family: 'Barlow', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--rust); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--rust); color: var(--white);
  border: none; padding: 1rem 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; cursor: pointer;
  align-self: flex-start; transition: background 0.25s;
}
.form-submit:hover { background: #9a3c14; }

/* ─── FOOTER ─── */
footer {
  background: var(--cream);
  padding: 5rem 6rem 0;
}









.contact-detail { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.9rem; }
.contact-detail svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--rust); margin-top: 0.15rem; }
.contact-detail span { font-size: 0.85rem; line-height: 1.55; color: var(--stone); }
.contact-detail a { color: var(--stone); text-decoration: none; }
.contact-detail a:hover { color: var(--earth); }




/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .page-hero { padding: 8rem 2rem 3.5rem; }
  .breadcrumb { padding: 0.9rem 2rem; }
  .content-section { padding: 3.5rem 2rem; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip > * { order: unset !important; }
  .cards-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 3rem 2rem; flex-direction: column; align-items: flex-start; }
  footer { padding: 3.5rem 2rem 0; }
  .footer-logo-desktop { display: none; }
  .footer-desktop-wrap { display: block; }
  .footer-brand-bar { border-bottom: 1px solid rgba(138,125,110,0.25); margin-bottom: 2rem; }
  .footer-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(138,125,110,0.25);
  }
  
  .form-row { grid-template-columns: 1fr; }
}

/* ─── HAMBURGER & MOBILE MENU ─── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; z-index: 101;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--sand); transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(26,16,8,0.98);
  z-index: 99; overflow-y: auto;
  padding: 1.5rem 2rem 3rem;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(245,239,228,0.85); text-decoration: none;
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.06em;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(212,169,106,0.1);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--sand); }
.mobile-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--rust);
  margin-top: 1.5rem; margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ─── GIS PAGE SPECIFIC ─── */
@media (max-width: 900px) {
  .page-hero.gis-hero,
  .page-hero.gis-hero[style] {
    background-position: 75% center !important;
  }
}

/* ─── APPLY PAGE SPECIFIC ─── */
@media (max-width: 900px) {
  .page-hero.apply-hero,
  .page-hero.apply-hero[style] {
    background-position: 65% center !important;
  }
}

/* ─── MOBILE IMAGE FIXES ─── */
@media (max-width: 900px) {
  .page-hero {
    background-position: center center !important;
    background-size: cover !important;
    min-height: 400px;
    padding: 10rem 2rem 4rem;
  }
  .page-hero[style] {
    background-position: center center !important;
  }
}




/* ─── NEW FOOTER ─── */
footer {
  background: var(--cream);
  padding: 4rem 6rem 0;
}

.footer-brand-bar {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(138,125,110,0.25);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.footer-brand-bar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--earth);
  margin-bottom: 0.2rem;
}
.footer-brand-bar .tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 1rem;
}
.footer-brand-bar p {
  font-size: 0.85rem; line-height: 1.75; color: var(--stone); font-weight: 300;
}

/* Desktop: brand left + 4 columns right */
.footer-desktop-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(138,125,110,0.25);
}
.footer-boxes {
  display: contents;
}

.footer-box h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rust); margin-bottom: 1.2rem;
}
.footer-box ul { list-style: none; }
.footer-box ul li { margin-bottom: 0.6rem; }
.footer-box ul li a { font-size: 0.88rem; color: var(--stone); text-decoration: none; transition: color 0.2s; }
.footer-box ul li a:hover { color: var(--earth); }

.footer-bar {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bar p { font-size: 0.78rem; color: var(--stone); }
.footer-bar a { color: var(--rust); text-decoration: none; }

.footer-logo-desktop { display: block; }

/* Mobile: brand full width, then 2x2 grid */
@media (max-width: 900px) {
  footer { padding: 3.5rem 2rem 0; }
  .footer-logo-desktop { display: none; }
  .footer-desktop-wrap { display: block; }
  .footer-brand-bar { border-bottom: 1px solid rgba(138,125,110,0.25); margin-bottom: 2rem; }
  .footer-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(138,125,110,0.25);
  }
  .footer-brand-bar { max-width: 100%; }
  .footer-boxes {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  #fbox-services { grid-column: 1; grid-row: 1; }
  #fbox-leasing  { grid-column: 2; grid-row: 1; }
  #fbox-contact  { grid-column: 1; grid-row: 2; }
  #fbox-company  { grid-column: 2; grid-row: 2; }
}
