/* Ikhousings LLC — style.css */
:root {
  --navy: #0f1f33;
  --navy-deep: #0a1626;
  --navy-soft: #1c2d44;
  --gold: #c69a5a;
  --gold-soft: #d9b07a;
  --terracotta: #b6694b;
  --cream: #f6f0e6;
  --cream-soft: #faf5ec;
  --paper: #fffdf8;
  --ink: #14202f;
  --ink-soft: #3b495b;
  --muted: #6b7686;
  --line: #e3dccd;
  --line-strong: #c9bfa9;
  --success: #2f7a4a;
  --danger: #9b2c2c;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 51, 0.06);
  --shadow-md: 0 8px 28px rgba(15, 31, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 51, 0.14);
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--terracotta); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.18rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; color: var(--navy); }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ——— Header / nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
}
.brand:hover { color: var(--navy-deep); }
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; color: var(--gold); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.brand-name em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a:hover { color: var(--navy-deep); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
}
.nav-cta:hover { background: var(--terracotta); color: #fff !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy-deep); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .nav-cta { margin-top: 10px; justify-content: center; }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(198, 154, 90, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(15, 31, 51, 0.06), transparent 60%),
    linear-gradient(180deg, var(--cream-soft) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--terracotta);
  display: inline-block;
}
.hero h1 strong { color: var(--gold); font-weight: 500; font-style: italic; }
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--navy-deep); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy-deep); color: var(--navy-deep); }

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta dt {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hero-meta dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin: 0;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-soft));
  color: var(--cream);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 380px;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle at 30% 30%, rgba(198, 154, 90, 0.55), transparent 65%);
  filter: blur(4px);
}
.hero-visual h3 {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.hero-visual p { color: rgba(246, 240, 230, 0.78); margin-bottom: 28px; }
.hv-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  position: relative; z-index: 1;
}
.hv-stat .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-soft);
  display: block;
  line-height: 1.1;
}
.hv-stat .lbl {
  font-size: .82rem;
  color: rgba(246, 240, 230, 0.7);
  letter-spacing: .04em;
}
.hv-rule {
  height: 1px;
  background: rgba(246, 240, 230, 0.15);
  margin: 26px 0 22px;
  position: relative; z-index: 1;
}

/* ——— Section base ——— */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* ——— About ——— */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}
.about-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.about-points li::before {
  content: "";
  margin-top: 10px;
  width: 18px; height: 1px;
  background: var(--gold);
}
.about-points strong { color: var(--navy-deep); display: block; margin-bottom: 2px; font-weight: 600; }
.about-points span { color: var(--ink-soft); font-size: .98rem; }

.fact-card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.fact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list .k { color: var(--muted); letter-spacing: .04em; font-size: .82rem; text-transform: uppercase; }
.fact-list .v { color: var(--navy-deep); font-weight: 500; text-align: right; }

/* ——— Services ——— */
.services { background: linear-gradient(180deg, var(--cream-soft) 0%, var(--paper) 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.service-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream-soft);
  color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy-deep); }
.service-card p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* ——— Contact ——— */
.contact { background: var(--navy-deep); color: var(--cream); }
.contact h2 { color: var(--cream); }
.contact .eyebrow { color: var(--gold-soft); }
.contact .eyebrow::before { background: var(--gold-soft); }
.contact p { color: rgba(246, 240, 230, 0.78); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 22px; }
.contact-info .info {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-info .info-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(246, 240, 230, 0.08);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .info-ico svg { width: 20px; height: 20px; }
.contact-info .lbl {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 240, 230, 0.55);
  display: block;
  margin-bottom: 4px;
}
.contact-info .val { color: var(--cream); font-size: 1rem; }
.contact-info a { color: var(--cream); border-bottom: 1px solid rgba(246, 240, 230, 0.2); }
.contact-info a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* Form */
.contact-form {
  background: rgba(246, 240, 230, 0.04);
  border: 1px solid rgba(246, 240, 230, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
}
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246, 240, 230, 0.7);
}
.field label .opt { color: rgba(246, 240, 230, 0.45); text-transform: none; letter-spacing: 0; font-size: .78rem; }
.field input,
.field textarea {
  font: inherit;
  color: var(--cream);
  background: rgba(246, 240, 230, 0.06);
  border: 1px solid rgba(246, 240, 230, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(246, 240, 230, 0.4); }
.field input:focus,
.field textarea:focus { border-color: var(--gold-soft); background: rgba(246, 240, 230, 0.1); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }

.consent {
  margin: 20px 0 18px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1px solid rgba(246, 240, 230, 0.35);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.consent input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 7px; height: 12px;
  border: solid var(--navy-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent label {
  font-size: .85rem;
  line-height: 1.55;
  color: rgba(246, 240, 230, 0.78);
}
.consent label a { color: var(--gold-soft); border-bottom: 1px dotted rgba(217, 176, 122, 0.5); }
.consent label a:hover { color: #fff; }

.submit-btn {
  background: var(--gold);
  color: var(--navy-deep);
  border: 0;
  padding: 14px 26px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s ease, transform .15s ease;
}
.submit-btn:hover { background: var(--gold-soft); transform: translateY(-1px); }

.form-status {
  display: none;
  margin-top: 14px;
  font-size: .9rem;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(47, 122, 74, 0.18);
  border: 1px solid rgba(47, 122, 74, 0.45);
  color: #d6eee0;
}
.form-status.show { display: block; }

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 240, 230, 0.7);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(246, 240, 230, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid li { font-size: .92rem; color: rgba(246, 240, 230, 0.7); }
.footer-grid a { color: rgba(246, 240, 230, 0.85); }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.footer-brand .brand-mark { color: var(--gold-soft); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-name em { color: var(--gold-soft); }
.footer-brand p { margin-top: 14px; max-width: 36ch; }

.footer-bottom {
  border-top: 1px solid rgba(246, 240, 230, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(246, 240, 230, 0.5);
}

/* ——— Legal pages ——— */
.legal-hero {
  padding: clamp(72px, 9vw, 110px) 0 clamp(36px, 5vw, 56px);
  background: linear-gradient(180deg, var(--cream-soft), var(--paper));
  border-bottom: 1px solid var(--line);
}
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { margin: 0 0 12px; }
.legal-hero p { color: var(--ink-soft); max-width: 60ch; }

.legal-body {
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--paper);
}
.legal-body .wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.legal-body h2 {
  font-size: 1.35rem;
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--navy-deep);
}
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1rem; color: var(--navy); margin: 22px 0 6px; }
.legal-body p, .legal-body li { font-size: 1rem; color: var(--ink-soft); }
.legal-body ul { padding-left: 1.1rem; }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--navy-deep); }
.legal-meta {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.legal-meta strong { color: var(--navy-deep); }

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
