/* ============================================================
   FIRSTBRICK — style.css v6.0  (Charcoal & Copper)
   Copper #B87333 · Navy #1A1A2E · Slate #2D2D44
   Cream #F0EDE8 · Text #3D3D3D · Sub #8C8C8C
   Applies to: projects, about, contact, legal pages
   ============================================================ */


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

:root {
  /* Brand */
  --copper:       #B87333;
  --copper-d:     #9A6028;
  --copper-l:     #F5E6D3;
  --copper-xl:    #FDF5EC;
  /* Dark */
  --navy:         #1A1A2E;
  --slate:        #2D2D44;
  --slate2:       #3D3D5C;
  /* Neutral */
  --white:        #FFFFFF;
  --cream:        #F0EDE8;
  --cream2:       #E8E4DE;
  --border:       #DDD8D0;
  --border2:      #C8C3BB;
  /* Text */
  --text:         #3D3D3D;
  --text2:        #5A5A5A;
  --text3:        #8C8C8C;
  /* Aliases (backward compat) */
  --brand:        #B87333;
  --brand-dark:   #9A6028;
  --brand-light:  #F5E6D3;
  --surface:      #FFFFFF;
  --bg:           #F0EDE8;
  --bg-alt:       #E8E4DE;
  --teal:         #B87333;
  --teal-dark:    #9A6028;
  --teal-light:   #F5E6D3;
  /* text with dash aliases */
  --text-2:       #5A5A5A;
  --text-3:       #8C8C8C;
  --navy-2:       #2D2D44;
  --navy-3:       #3D3D5C;
  /* Tokens */
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow:       0 4px 16px rgba(0,0,0,.09);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.12);
  --shadow-xl:    0 20px 60px rgba(0,0,0,.2);
  --t:            0.2s ease;
  --font:         Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-heading: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; color: var(--text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
p { color: var(--text2); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
@media(min-width:640px){ .container { padding: 0 28px; } }
@media(min-width:1024px){ .container { padding: 0 32px; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700;
  font-family: var(--font); cursor: pointer; border: none; transition: all var(--t);
  letter-spacing: -.01em; white-space: nowrap;
}
.btn-primary  { background: var(--copper); color: #fff; }
.btn-primary:hover  { background: var(--copper-d); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--copper); color: var(--copper); background: var(--copper-xl); }
.btn-navy  { background: var(--navy); color: #fff; }
.btn-navy:hover  { background: var(--slate); }
.btn-ghost { background: transparent; color: rgba(255,255,255,.82); border: 1.5px solid rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-submit {
  width: 100%; padding: 14px; background: var(--copper); color: #fff; border: none;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 700;
  font-family: var(--font); cursor: pointer; transition: background var(--t); letter-spacing: -.01em;
}
.btn-submit:hover { background: var(--copper-d); }
.btn-submit:disabled { background: var(--text3); cursor: not-allowed; }

/* ── SECTIONS ── */
.section     { padding: 56px 0; background: var(--white); }
.section-alt { padding: 56px 0; background: var(--cream); }
@media(min-width:768px){ .section, .section-alt { padding: 80px 0; } }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.section-label::before {
  content: ''; display: inline-block; width: 20px; height: 2px;
  background: var(--copper); border-radius: 2px; flex-shrink: 0;
}
h2 { font-size: 26px; letter-spacing: -.5px; }
@media(min-width:768px){ h2 { font-size: 36px; letter-spacing: -.8px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }

/* ── NAVBAR ── */
#navbar {
  background: var(--slate); border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky; top: 0; z-index: 999; transition: box-shadow var(--t);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; background: #fff; border-radius: 20px; padding: 6px 14px; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.nav-logo-text span { color: var(--copper); }

.nav-links { display: none; list-style: none; gap: 2px; }
@media(min-width:768px){ .nav-links { display: flex; } }
.nav-links a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); padding: 7px 12px; border-radius: var(--radius-sm); transition: all var(--t); }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-rera { display: none; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); padding: 5px 11px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
@media(min-width:1100px){ .nav-rera { display: block; } }
.nav-phone { display: none; font-size: 13px; font-weight: 700; color: var(--copper); white-space: nowrap; line-height: 1; }
@media(min-width:640px){ .nav-phone { display: flex; align-items: center; gap: 6px; } }
.nav-phone svg { width: 15px; height: 15px; stroke: var(--copper); stroke-width: 2; display: block; flex-shrink: 0; }
.nav-cta { display: inline-flex; align-items: center; padding: 9px 18px; background: var(--copper); color: #fff; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; transition: background var(--t); }
.nav-cta:hover { background: var(--copper-d); }

.nav-hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
@media(min-width:768px){ .nav-hamburger { display: none; } }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 998;
  background: var(--slate); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 20px 20px; box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a { padding: 12px 14px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.6); border-radius: var(--radius-sm); }
.mobile-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-menu-divider { height: 1px; background: rgba(255,255,255,.08); margin: 8px 0; }
.mobile-cta { background: var(--copper) !important; color: #fff !important; text-align: center; margin-top: 6px; font-weight: 700 !important; }

/* ── FORMS ── */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: var(--text2); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--cream); border: 1.5px solid var(--border);
  color: var(--text); padding: 11px 13px; font-size: 14px; font-family: var(--font);
  border-radius: var(--radius-sm); outline: none; transition: border-color var(--t); -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--copper); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-consent { font-size: 11px; color: var(--text3); line-height: 1.6; margin-bottom: 12px; }

/* ── PAGE HEADER (inner pages) ── */
.page-hdr { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06); padding: 64px 0 48px; }
.page-hdr .section-label { color: var(--copper); }
.page-hdr h1 { font-size: 32px; letter-spacing: -.8px; margin-top: 8px; color: #fff; }
@media(min-width:768px){ .page-hdr h1 { font-size: 42px; } }
.page-hdr p { font-size: 16px; max-width: 520px; margin-top: 10px; color: rgba(255,255,255,.5); }

/* ── PROJECT CARDS ── */
.project-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--t); display: flex; flex-direction: column; text-decoration: none; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(184,115,51,.35); }
.project-card-img { height: 180px; overflow: hidden; background: var(--cream2); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card-img img { transform: scale(1.04); }
.project-card-body { padding: 16px; flex: 1; }
.project-card-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 9px; letter-spacing: .02em; }
.tag-uc   { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.tag-rtmi { background: var(--copper-xl); color: var(--copper-d); border: 1px solid rgba(184,115,51,.25); }
.tag-np   { background: #EDE9FE; color: #5B21B6; border: 1px solid #DDD6FE; }
.project-card-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 3px; letter-spacing: -.2px; }
.project-card-builder { font-size: 12px; color: var(--copper); font-weight: 600; margin-bottom: 5px; }
.project-card-location { font-size: 12px; color: var(--text3); }
.project-card-footer { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--cream); }
.project-card-price span { display: block; font-size: 10px; color: var(--text3); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .05em; }
.project-card-price strong { font-size: 16px; font-weight: 800; color: var(--navy); }
.project-card-cta { font-size: 12px; font-weight: 700; color: var(--copper); }

/* ── FOOTER ── */
.footer { background: var(--navy); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); }
@media(min-width:640px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo-box { display: inline-flex; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 8px 16px; margin-bottom: 14px; }
.footer-logo-box img { height: 28px; width: auto; display: block; }
.footer-logo-text { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 240px; }
.footer-rera { display: inline-flex; align-items: center; gap: 6px; background: rgba(184,115,51,.12); border: 1px solid rgba(184,115,51,.25); padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; color: var(--copper); margin-top: 14px; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer-col ul li a:hover { color: rgba(255,255,255,.9); }
.footer-contact-row { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 9px; transition: color var(--t); }
.footer-contact-row:hover { color: rgba(255,255,255,.9); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.2); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.22); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,.55); }

/* ── DISCLAIMER ── */
.disclaimer { background: #0E0E1A; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.05); }
.disclaimer p { font-size: 11px; color: rgba(255,255,255,.2); text-align: center; line-height: 1.7; }

/* ── LEGAL PAGES ── */
.legal-page { padding: 0 0 88px; }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-meta { font-size: 13px; color: var(--text3); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); line-height: 1.7; }
.legal-wrap h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; color: var(--text); }
.legal-wrap p { font-size: 14px; line-height: 1.9; color: var(--text2); margin-bottom: 14px; }
.legal-wrap ul { margin: 12px 0 16px 20px; }
.legal-wrap ul li { font-size: 14px; line-height: 1.9; color: var(--text2); margin-bottom: 6px; }
.legal-wrap a { color: var(--copper); }
.notice-box { background: #FFFBEB; border: 1px solid #F59E0B; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 28px; }
.notice-box p { color: #92400E; font-size: 13px; margin: 0; }
.legal-contact-box { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-top: 12px; }
.legal-contact-box p { margin-bottom: 6px; font-size: 14px; }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
