/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --blue: #1a3a6b;
  --blue-light: #2d5a9e;
  --silver: #8a9ab5;
  --silver-light: #c8d3e0;
  --silver-pale: #edf0f4;
  --white: #ffffff;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --grey-100: #f8f9fb;
  --grey-200: #eef0f4;
  --grey-400: #a0aec0;
  --text-dark: #0d1b2a;
  --text-mid: #3d5166;
  --text-light: #6b7f97;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 2px 12px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); line-height: 1.7; overflow-x: hidden; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; font-family: var(--font-sans); font-size: 13px;
  font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--full { width: 100%; }

/* ===== TYPOGRAPHY ===== */
.section-eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--blue-light);
  margin-bottom: 12px; display: block;
}
.section-eyebrow.light { color: var(--silver-light); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; line-height: 1.2; color: var(--text-dark); margin-bottom: 20px;
}
.section-subtitle { font-size: 16px; color: var(--text-light); max-width: 680px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px; height: 72px;
  background: rgba(255,255,255,0); backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(10,22,40,0.08);
}
.navbar.scrolled .brand-name, .navbar.scrolled .brand-sep, .navbar.scrolled .brand-office { color: var(--text-dark); }
.navbar.scrolled .nav-links a { color: var(--text-mid); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); }
.navbar.scrolled .nav-links .nav-cta { color: var(--white); background: var(--navy); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1200px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: var(--white); letter-spacing: 0.5px; transition: color 0.4s; }
.brand-sep { color: rgba(255,255,255,0.3); transition: color 0.4s; }
.brand-office { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: color 0.4s; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.85); transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta { padding: 10px 24px; background: rgba(255,255,255,0.15); border-radius: 2px; border: 1px solid rgba(255,255,255,0.3); }
.nav-links .nav-cta:hover { background: var(--white); color: var(--navy); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--navy); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/project-city.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(8,18,36,0.88) 0%, rgba(10,22,60,0.72) 60%, rgba(5,15,35,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 720px;
  padding: 120px 32px 80px; margin: 0 auto 0 max(32px, calc((100vw - 1200px)/2 + 32px));
}
.hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px; display: block;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.8; max-width: 580px;
  margin-bottom: 40px; animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-serif); font-size: 2rem; color: var(--white); font-weight: 400; line-height: 1; }
.stat-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s 1.5s infinite;
}

/* ===== ABOUT ===== */
.about { padding: 120px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-lg);
}
.about-img-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,22,40,0.3));
}
.about-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.8s ease; }
.about-img-frame:hover .about-img { transform: scale(1.03); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); border-radius: 8px; padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  min-width: 120px;
}
.remax-logo-img { max-height: 36px; max-width: 100px; object-fit: contain; }
.remax-text-badge { text-align: center; font-family: var(--font-sans); }
.remax-text-badge strong { font-size: 18px; color: #cc0000; display: block; }
.remax-text-badge span { font-size: 13px; color: var(--text-mid); font-weight: 600; }
.about-content { padding-left: 16px; }
.about-role { font-size: 14px; color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.about-text { font-size: 16px; color: var(--text-mid); line-height: 1.85; margin-bottom: 20px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 40px; }
.pillar {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--grey-100); border-radius: var(--radius); border: 1px solid var(--grey-200);
  font-size: 13px; font-weight: 500; color: var(--text-dark); transition: var(--transition);
  cursor: default;
}
.pillar:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pillar-icon { font-size: 20px; }

/* ===== INTRO STRIP ===== */
.intro-strip { background: var(--navy); padding: 100px 0; }
.strip-inner { text-align: center; }
.strip-title {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--white); font-weight: 300; max-width: 780px; margin: 0 auto 64px; line-height: 1.3;
}
.strip-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: left; }
.strip-feature { padding: 32px; background: rgba(255,255,255,0.04); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08); transition: var(--transition); }
.strip-feature:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.strip-icon { font-size: 28px; margin-bottom: 16px; }
.strip-feature h3 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: 0.3px; }
.strip-feature p { font-size: 14px; color: var(--silver); line-height: 1.7; }

/* ===== PORTFOLIO ===== */
.portfolio { padding: 120px 0; background: var(--grey-100); }
.project-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 48px;
  transition: box-shadow 0.4s, transform 0.4s;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card--reverse { direction: rtl; }
.project-card--reverse > * { direction: ltr; }
.project-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover .project-img { transform: scale(1.05); }
.project-tag {
  position: absolute; top: 24px; left: 24px; background: var(--white);
  color: var(--navy); padding: 8px 18px; border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}
.project-tag--gold { background: var(--navy); color: var(--gold-light); }
.project-info { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.project-cat { font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 12px; }
.project-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 400; color: var(--text-dark); margin-bottom: 20px; line-height: 1.2; }
.project-desc { font-size: 15px; color: var(--text-light); line-height: 1.85; margin-bottom: 28px; }
.project-highlights { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.project-highlights li { font-size: 14px; color: var(--text-mid); display: flex; align-items: center; gap: 10px; }
.project-highlights li::before { content: ''; display: block; width: 16px; height: 1px; background: var(--blue-light); flex-shrink: 0; }
.project-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 28px; padding: 16px 0; border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.project-price-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); }
.project-price { font-family: var(--font-serif); font-size: 2rem; color: var(--navy); font-weight: 500; }

/* ===== QUOTE STRIP ===== */
.quote-strip { padding: 100px 0; background: var(--silver-pale); }
.quote-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--font-serif); font-size: 120px; line-height: 0.6; color: var(--silver-light); margin-bottom: 16px; }
.quote-text { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 300; color: var(--text-dark); line-height: 1.6; margin-bottom: 40px; }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.quote-author-img-wrap { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--silver-light); flex-shrink: 0; }
.quote-author-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.quote-author strong { display: block; font-size: 15px; font-weight: 600; color: var(--text-dark); }
.quote-author span { display: block; font-size: 12px; color: var(--text-light); letter-spacing: 0.5px; }

/* ===== CONTACT ===== */
.contact { padding: 120px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-text { font-size: 16px; color: var(--text-light); line-height: 1.85; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-label { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--text-dark); transition: color 0.2s; }
a.contact-value:hover { color: var(--blue); }
.contact-social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border: 1px solid var(--grey-200); border-radius: var(--radius); font-size: 13px;
  font-weight: 500; color: var(--text-mid); transition: var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--grey-100); border-radius: var(--radius-lg);
  padding: 48px; border: 1px solid var(--grey-200);
}
.form-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text-dark); margin-bottom: 32px; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; background: var(--white); border: 1px solid var(--silver-light);
  border-radius: var(--radius); font-family: var(--font-sans); font-size: 14px;
  color: var(--text-dark); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--grey-400); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,58,107,0.08); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-disclaimer { margin-top: 16px; font-size: 11px; color: var(--text-light); line-height: 1.6; text-align: center; }
.form-success {
  display: none; position: absolute; inset: 0; background: var(--grey-100);
  border-radius: var(--radius-lg); align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; text-align: center; padding: 48px;
  border: 1px solid var(--grey-200);
}
.form-success.visible { display: flex; animation: fadeIn 0.5s ease; }
.success-icon { width: 64px; height: 64px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 8px; }
.form-success h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--text-dark); font-weight: 400; }
.form-success p { font-size: 15px; color: var(--text-light); max-width: 340px; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); font-weight: 400; margin-bottom: 6px; }
.footer-office { font-size: 12px; color: var(--silver); letter-spacing: 0.3px; margin-bottom: 20px; line-height: 1.6; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; font-style: italic; }
.footer-col-title { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-bottom: 20px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links-col ul li a:hover { color: var(--white); }
.footer-bottom { padding: 28px 0; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
.reveal {
  opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 420px; margin: 0 auto; }
  .strip-features { grid-template-columns: 1fr 1fr; gap: 24px; }
  .project-card, .project-card--reverse { grid-template-columns: 1fr; direction: ltr; }
  .project-img-wrap { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .brand-name { font-size: 17px; }
  .brand-office { font-size: 9px; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); padding: 10px 0; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 18px 32px; color: var(--text-mid); font-size: 14px; border-bottom: 1px solid var(--grey-200); }
  .nav-links .nav-cta { background: var(--navy); color: var(--white); border: none; border-radius: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 100px 20px 60px; margin: 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .about { padding: 80px 0; }
  .about-pillars { grid-template-columns: 1fr; }
  .strip-features { grid-template-columns: 1fr; }
  .portfolio { padding: 80px 0; }
  .project-info { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; bottom: -16px; }
}
