/* LA Keys Theme — Main Styles
   Navy + Gold brand palette from the LA Keys logo. */

:root {
  --navy: #144783;
  --navy-deep: #0A2544;
  --navy-darkest: #010D24;
  --gold: #D0A263;
  --gold-soft: #C5A471;
  --gold-deep: #A67E3F;

  --bg: #FAFAF7;
  --bg-soft: #F2EFE7;
  --bg-card: #FFFFFF;
  --ink: #010D24;
  --ink-soft: #455976;
  --ink-faint: #7A8499;
  --line: rgba(20,71,131,0.12);
  --line-soft: rgba(20,71,131,0.06);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 100;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; }
.logo img, .custom-logo { height: 44px !important; width: auto !important; max-width: 220px; }
.custom-logo-link { display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink-soft);
  transition: color 0.2s; font-weight: 500;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 10px 22px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.3px; transition: background 0.2s;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--navy-deep); }
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 12px 20px; }
  .logo img, .custom-logo { height: 38px !important; }
}

/* ─── HERO ─── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(208,162,99,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px;
  align-items: center; position: relative;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--serif); font-size: 68px; line-height: 1.02;
  font-weight: 500; color: var(--navy-darkest); margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: italic; color: var(--gold-deep); font-weight: 500;
}
.hero p {
  font-size: 18px; color: var(--ink-soft); line-height: 1.7;
  margin-bottom: 40px; max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; font-size: 14px; font-weight: 500;
  letter-spacing: 0.3px; cursor: pointer; transition: all 0.25s;
  border: none; font-family: inherit; border-radius: 2px;
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: #fff !important; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--navy) !important;
  border: 1px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff !important; }
.btn-whatsapp { background: #25D366; color: white !important; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-gold { background: var(--gold); color: var(--navy-darkest) !important; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline-light {
  background: transparent; color: #fff !important;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: #fff; color: var(--navy-darkest) !important;
  border-color: #fff;
}

.hero-image {
  aspect-ratio: 4/5; background: var(--bg-card);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-soft);
  box-shadow: 0 20px 60px rgba(20,71,131,0.08);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: var(--ink-faint);
  font-family: var(--serif); font-size: 22px; font-style: italic;
  text-align: center; padding: 40px;
}
.hero-image-placeholder::before {
  content: "LA"; font-family: var(--serif); font-size: 90px;
  color: var(--gold); opacity: 0.25; margin-bottom: 20px;
  letter-spacing: -4px; line-height: 1;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 80px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat { padding: 0 24px; position: relative; }
.stat:first-child { padding-left: 0; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 10%; bottom: 10%;
  width: 1px; background: var(--line);
}
.stat-number {
  font-family: var(--serif); font-size: 44px; font-weight: 500;
  color: var(--navy); line-height: 1; margin-bottom: 8px;
}
.stat-number em { color: var(--gold-deep); font-style: normal; }
.stat-label {
  font-size: 12px; color: var(--ink-faint);
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
}

@media (max-width: 900px) {
  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 16px; }
  .hero-stats { margin-top: 50px; }
  .stat-number { font-size: 32px; }
  .stat { padding: 0 16px; }
}

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--serif); font-size: 46px; line-height: 1.12;
  font-weight: 500; color: var(--navy-darkest); margin-bottom: 20px;
  letter-spacing: -0.3px; max-width: 600px;
}
.section-title em { font-style: italic; color: var(--gold-deep); }
.section-sub {
  font-size: 17px; color: var(--ink-soft); max-width: 560px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title { font-size: 32px; }
  .section-sub { font-size: 15px; }
}

/* ─── WHY US ─── */
.why { padding: 100px 0; background: var(--bg-soft); }
.why-head { margin-bottom: 60px; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.why-card {
  background: var(--bg-card); padding: 44px 36px;
  border: 1px solid var(--line-soft);
  transition: all 0.3s; border-radius: 4px;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(20,71,131,0.10);
}
.why-card:hover::before { transform: scaleX(1); }
.why-num {
  font-family: var(--serif); font-size: 36px; font-weight: 500;
  color: var(--gold); line-height: 1; margin-bottom: 20px;
  font-style: italic;
}
.why-card h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--navy-darkest); margin-bottom: 14px;
}
.why-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 768px) {
  .why { padding: 70px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-card { padding: 32px 28px; }
}

/* ─── FEATURED PROJECT ─── */
.featured {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-deep) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.featured::before {
  content: ""; position: absolute; top: 50%; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(208,162,99,0.12) 0%, transparent 70%);
  pointer-events: none; transform: translateY(-50%);
}
.featured-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative;
}
.featured-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.featured-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--gold);
}
.featured h2 {
  font-family: var(--serif); font-size: 58px; line-height: 1.05;
  font-weight: 500; margin-bottom: 24px; letter-spacing: -0.3px;
  color: #fff;
}
.featured h2 em { font-style: italic; color: var(--gold); }
.featured-lead {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
}
.featured-lead p { margin-bottom: 12px; }
.featured-points {
  display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px;
}
.featured-point {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: rgba(255,255,255,0.88);
}
.featured-point::before {
  content: ""; width: 8px; height: 8px; background: var(--gold);
  margin-top: 8px; flex-shrink: 0; transform: rotate(45deg);
}
.featured-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.featured-image {
  aspect-ratio: 4/5; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(208,162,99,0.18);
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; overflow: hidden;
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-image-placeholder {
  font-family: var(--serif); font-size: 26px; font-style: italic;
  color: rgba(208,162,99,0.5); text-align: center; padding: 40px;
}

@media (max-width: 900px) {
  .featured { padding: 70px 0; }
  .featured-grid { grid-template-columns: 1fr; gap: 50px; }
  .featured h2 { font-size: 36px; }
  .featured-lead { font-size: 16px; }
}

/* ─── PROJECTS GRID ─── */
.projects { padding: 120px 0; background: var(--bg); }
.projects-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; gap: 40px; flex-wrap: wrap;
}
.projects-head > div:first-child { flex: 1; min-width: 280px; }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.project-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  overflow: hidden; transition: all 0.3s;
  display: flex; flex-direction: column; border-radius: 4px;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(20,71,131,0.10);
}
.project-image {
  aspect-ratio: 4/3; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.project-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.project-card:hover .project-image img { transform: scale(1.04); }
.project-placeholder {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  color: var(--navy); opacity: 0.4; text-align: center; padding: 20px;
}
.project-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.project-location {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 10px; font-weight: 600;
}
.project-name {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--navy-darkest); margin-bottom: 12px; line-height: 1.2;
}
.project-desc {
  font-size: 14px; color: var(--ink-soft); line-height: 1.65;
  margin-bottom: 24px; flex: 1;
}
.project-link {
  font-size: 12px; font-weight: 600; color: var(--navy);
  letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; align-self: flex-start;
}
.project-link::after {
  content: "→"; transition: transform 0.2s; color: var(--gold-deep);
}
.project-card:hover .project-link::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .projects { padding: 70px 0; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ─── INSIGHTS ─── */
.insights { padding: 120px 0; background: var(--bg-soft); }
.insights-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; gap: 40px; flex-wrap: wrap;
}
.insights-head > div:first-child { flex: 1; min-width: 280px; }
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.insight-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  overflow: hidden; transition: all 0.3s;
  display: flex; flex-direction: column; border-radius: 4px;
  position: relative;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(20,71,131,0.10);
}
.insight-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.insight-card:hover::after { transform: scaleX(1); }
.insight-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.insight-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.insight-image-placeholder {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  color: var(--gold); opacity: 0.45; text-align: center; padding: 20px;
}
.insight-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(208,162,99,0.95); color: var(--navy-darkest);
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; padding: 6px 12px; border-radius: 2px;
  z-index: 1;
}
.insight-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.insight-date {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 12px; font-weight: 600;
}
.insight-title {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy-darkest); margin-bottom: 12px; line-height: 1.25;
}
.insight-excerpt {
  font-size: 14px; color: var(--ink-soft); line-height: 1.65;
  margin-bottom: 20px; flex: 1;
}
.insight-link {
  font-size: 12px; font-weight: 600; color: var(--navy);
  letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; align-self: flex-start;
}
.insight-link::after {
  content: "→"; transition: transform 0.2s; color: var(--gold-deep);
}
.insight-card:hover .insight-link::after { transform: translateX(4px); }

.insights-footer {
  text-align: center; margin-top: 50px;
}

@media (max-width: 900px) {
  .insights { padding: 70px 0; }
  .insights-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── CONTACT ─── */
.contact { padding: 120px 0; background: var(--bg-soft); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: flex-start;
}
.contact-left h2 {
  font-family: var(--serif); font-size: 50px; line-height: 1.08;
  font-weight: 500; color: var(--navy-darkest); margin-bottom: 24px;
  letter-spacing: -0.3px;
}
.contact-left h2 em { font-style: italic; color: var(--gold-deep); }
.contact-left p { font-size: 17px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 40px; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.contact-channel {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 26px; background: var(--bg-card);
  border: 1px solid var(--line-soft);
  transition: all 0.25s; border-radius: 4px;
}
.contact-channel:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(20,71,131,0.06);
}
.channel-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold);
  border-radius: 2px;
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-info { flex: 1; }
.channel-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 4px; font-weight: 600;
}
.channel-value {
  font-size: 17px; font-weight: 500; color: var(--navy-darkest);
}

.contact-form {
  background: var(--bg-card); padding: 44px;
  border: 1px solid var(--line-soft); border-radius: 4px;
  border-top: 3px solid var(--gold);
}
.contact-form h3 {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--navy-darkest); margin-bottom: 8px;
}
.contact-form > p {
  font-size: 14px; color: var(--ink-soft); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 8px; font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line);
  font-family: inherit; font-size: 15px; color: var(--navy-darkest);
  transition: border-color 0.2s; border-radius: 2px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  width: 100%; padding: 16px; background: var(--navy);
  color: #fff; border: none; font-family: inherit;
  font-size: 14px; font-weight: 500; letter-spacing: 1px;
  cursor: pointer; transition: background 0.2s; border-radius: 2px;
  text-transform: uppercase;
}
.contact-form button:hover { background: var(--navy-deep); }
.form-note {
  font-size: 12px; color: var(--ink-faint); margin-top: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .contact { padding: 70px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-left h2 { font-size: 36px; }
  .contact-form { padding: 28px; }
}

/* ─── FOOTER ─── */
.footer {
  padding: 70px 0 30px;
  background: var(--navy-darkest); color: rgba(255,255,255,0.65);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  margin-bottom: 40px;
}
.footer-tag { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; font-size: 13px;
}
.footer-bottom em { color: var(--gold); font-style: italic; font-family: var(--serif); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── PAGINATION (for blog index) ─── */
.nav-links.pagination,
.navigation.pagination .nav-links {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.page-numbers {
  padding: 10px 16px; background: var(--bg-card);
  border: 1px solid var(--line); color: var(--navy);
  font-size: 14px; font-weight: 500;
}
.page-numbers.current { background: var(--navy); color: #fff; }
.page-numbers:hover:not(.current) { background: var(--bg-soft); }
