/* ============================================================
   IGWT Properties, LLC — Main Stylesheet
   Design: Warm & Community-Focused
   Palette: Deep Navy | Warm Gold | Cream | Soft Warm Gray
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:       #1a2744;
  --navy-light: #243358;
  --gold:       #c9a84c;
  --gold-light: #e2c47a;
  --cream:      #faf8f4;
  --warm-gray:  #f0ece4;
  --text:       #2c2c2c;
  --text-muted: #6b6560;
  --white:      #ffffff;
  --border:     #e0d9cf;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 16px rgba(26,39,68,0.08);
  --shadow-lg:  0 8px 40px rgba(26,39,68,0.14);

  --max-width:  1140px;
  --section-pad: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p, .section--navy .lead { color: rgba(255,255,255,0.82); }
.section--warm  { background: var(--warm-gray); }

.section-header {
  margin-bottom: 48px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section--navy .section-header .eyebrow { color: var(--gold-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img,
.nav-logo-img {
  height: 52px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-text .name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-logo-text .tagline {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links .btn-primary {
  padding: 9px 20px;
  font-size: 0.85rem;
}
.nav-links .btn-primary:hover { color: var(--navy); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text) !important;
  background: none !important;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--cream) !important; color: var(--navy) !important; }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2d4a8a 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; }
.hero-content { max-width: 620px; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Service Cards --- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: gap 0.2s;
}
.service-card .card-link:hover { gap: 10px; color: var(--gold); }

/* --- Mission Block --- */
.mission-block {
  display: flex;
  gap: 64px;
  align-items: center;
}
.mission-text { flex: 1; }
.mission-visual {
  flex: 0 0 380px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
}
.mission-visual .cross-symbol {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}
.mission-visual h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 16px; }
.mission-visual p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 24px;
  left: 28px;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  padding-top: 16px;
}
.testimonial-author {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--gold);
  padding: 40px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  text-align: center;
}
.stat-item .number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-item .label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* --- Process Steps --- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-content h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step-content p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 1rem; padding: 16px 40px; }

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

/* --- Info Boxes --- */
.info-box {
  background: var(--warm-gray);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 28px 0;
}
.info-box h4 { margin-bottom: 8px; font-size: 1rem; }
.info-box p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex: 0 0 24px;
  height: 24px;
  background: var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* --- Team Card --- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.team-card-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  background: var(--warm-gray);
}
.team-card-img-placeholder {
  width: 100%;
  height: 260px;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--border);
}
.team-card-body { padding: 28px; }
.team-card-body h3 { margin-bottom: 4px; font-size: 1.2rem; }
.team-card-body .role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-card-body p { font-size: 0.92rem; color: var(--text-muted); }

/* --- Values List --- */
.values-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.values-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.values-list .icon {
  flex: 0 0 36px;
  height: 36px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}
.values-list .text strong { display: block; font-size: 0.95rem; color: var(--navy); }
.values-list .text span { font-size: 0.88rem; color: var(--text-muted); }

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-logo-img {
  max-width: 120px;
  height: auto;
  margin-bottom: 16px;
}
.footer-brand .tagline {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.65; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.footer-contact-item .icon { font-size: 1rem; margin-top: 1px; flex: 0 0 18px; }
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75) !important;
  transition: all 0.15s;
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  background: rgba(201,168,76,0.08);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  :root { --section-pad: 60px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .mission-block { flex-direction: column; gap: 40px; }
  .mission-visual { flex: unset; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .contact-form { padding: 32px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 16px 24px 24px; gap: 4px; box-shadow: var(--shadow-lg); }
  .nav-links.open .nav-dropdown .dropdown-menu { display: block; position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.06); margin-top: 4px; border-radius: var(--radius); }
  .nav-links.open .dropdown-menu a { color: rgba(255,255,255,0.8) !important; border-color: rgba(255,255,255,0.1); }
  .nav-toggle { display: flex; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px; }
  .cta-banner { padding: 52px 0; }
}
