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

:root {
  --navy: #0a1628;
  --navy-mid: #12233f;
  --navy-light: #1e3a5f;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5e9c8;
  --white: #fdfbf7;
  --off-white: #f0ece2;
  --gray: #8a8a8a;
  --text: #1a1a2e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5%;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: padding .3s;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .04em;
  text-decoration: none;
  z-index: 101;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(253,251,247,.7);
  text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: .55rem 1.4rem;
  text-decoration: none;
  font-weight: 500;
  transition: background .25s;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--gold-light); }

/* ── HAMBURGER MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 102; 
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  min-width: 36px; min-height: 36px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  justify-content: center; 
  align-items: center; 
}
.hamburger span {
  display: block; 
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center; 
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0); 
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg); 
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  padding: 2rem 5%;
  gap: 1.5rem;
  overflow-y: auto;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(253,251,247,.7);
  text-decoration: none;
  transition: color .25s;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta {
  display: inline-block;
  width: fit-content;
  border: none;
  margin-top: 1rem;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  opacity: 0;
}
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }
.back-to-top.visible {
  display: flex;
  opacity: 1;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  margin-top: 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(30,58,95,.6) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(201,168,76,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 5%; max-width: 780px;
  animation: fadeUp .9s ease both;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero-eyebrow::before { content:''; display:block; width:32px; height:1px; background:var(--gold); }
h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 1.6rem;
  letter-spacing: -.01em;
}
h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: rgba(253,251,247,.6);
  line-height: 1.8; max-width: 520px;
  margin-bottom: 2.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: 1rem 2.2rem; text-decoration: none;
  transition: background .25s, transform .2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(253,251,247,.3);
  padding: 1rem 2.2rem; text-decoration: none;
  transition: border-color .25s, color .25s;
  display: inline-block;
  background: none;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  position: absolute; right: 5%; bottom: 12%;
  display: flex; gap: 3rem; z-index: 2;
  animation: fadeUp 1s .3s ease both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 300;
  color: var(--gold); line-height: 1;
  display: block;
}
.stat-label {
  font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(253,251,247,.5);
  margin-top: .4rem; display: block;
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-hint span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(253,251,247,.35); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2s infinite; }

/* ── SECTION COMMON ── */
section { padding: 7rem 5%; }
.section-eyebrow {
  font-size: .7rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-eyebrow::before { content:''; display:block; width:24px; height:1px; background:var(--gold); }
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--navy); margin-bottom: 1.2rem;
}
h2 em { font-style: italic; }
.section-rule { width: 48px; height: 1px; background: var(--gold); margin-bottom: 2rem; }

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; max-width: 1300px; margin: 0 auto; }
.about-visual {
  position: relative; aspect-ratio: 4/5;
  background: var(--navy-mid);
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}
.about-visual-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 4rem; font-weight: 300;
  color: rgba(177,162,19,.98); line-height: 1; 
  text-align: center; letter-spacing: -.02em;
}
.about-visual-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 120px; height: 120px;
  background: var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.about-visual-badge strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--navy); line-height: 1; }
.about-visual-badge span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); opacity: .7; }
.about-body p {
  font-size: .95rem; font-weight: 300;
  line-height: 1.9; color: #444;
  margin-bottom: 1.2rem;
}
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.value-item { padding: 1.2rem; border-left: 2px solid var(--gold); background: var(--off-white); }
.value-item strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; display: block; margin-bottom: .3rem; color: var(--navy); }
.value-item p { font-size: .82rem; color: var(--gray); line-height: 1.6; margin: 0; }

/* ── SERVICES ── */
#services { background: var(--navy); }
#services h2 { color: var(--white); }
#services .section-rule { background: var(--gold); }
.services-intro { font-size: .95rem; font-weight: 300; color: rgba(253,251,247,.55); line-height: 1.9; max-width: 560px; margin-bottom: 3.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: rgba(201,168,76,.15); }
.service-card {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  transition: background .3s;
  cursor: default;
}
.service-card:hover { background: var(--navy-light); }
.service-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.6rem;
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--gold); font-weight: 300;
  transition: border-color .3s, background .3s;
}
.service-card:hover .service-icon { border-color: var(--gold); background: rgba(201,168,76,.08); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 400;
  color: var(--white); margin-bottom: .8rem;
}
.service-card p { font-size: .85rem; font-weight: 300; color: rgba(253,251,247,.5); line-height: 1.8; }

/* ── PROPERTIES ── */
#properties { background: var(--off-white); }
.properties-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.properties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.property-card { background: var(--white); overflow: hidden; transition: transform .3s; }
.property-card:hover { transform: translateY(-4px); }
.property-img {
  height: 220px;
  background: var(--navy-mid);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.property-img-bg {
  position: absolute; inset: 0;
  opacity: .4;
}
.p1 .property-img-bg { background: linear-gradient(135deg, #1e3a5f, #0a1628); }
.p2 .property-img-bg { background: linear-gradient(135deg, #2a1f0a, #4a2e0a); }
.p3 .property-img-bg { background: linear-gradient(135deg, #0a1f1a, #0f3028); }
.property-img-label {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,.5); letter-spacing: .1em;
  text-align: center;
}
.property-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  padding: .35rem .8rem; font-weight: 500;
}
.tag-available { background: var(--gold); color: var(--navy); }
.tag-enquire { background: var(--navy); color: var(--gold); border: 1px solid var(--gold); }
.property-body { padding: 1.5rem; }
.property-body h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--navy); margin-bottom: .3rem; }
.property-location { font-size: .78rem; letter-spacing: .08em; color: var(--gray); margin-bottom: 1rem; }
.property-details { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; }
.property-detail { font-size: .78rem; color: var(--gray); font-weight: 300; }
.property-detail strong { color: var(--navy); font-weight: 500; display: block; font-size: .9rem; }
.property-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--off-white); }
.property-price { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--navy); }
.property-price small { font-family: var(--sans); font-size: .72rem; color: var(--gray); display: block; }
.property-link { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-decoration: none; font-weight: 500; transition: color .25s; }
.property-link:hover { color: var(--navy); }

/* ── HOME VALUE ── */
#homevalue { background: var(--navy); }
#homevalue h2 { color: var(--white); }
#homevalue .section-rule { background: var(--gold); }
.homevalue-intro { font-size: 1.1rem; font-weight: 300; color: rgba(253,251,247,.7); line-height: 1.9; text-align: center; margin-bottom: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.homevalue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.homevalue-card {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  transition: transform .3s, background .3s;
  border: 1px solid rgba(201,168,76,.15);
  display: flex; flex-direction: column;
  gap: 1.2rem;
}
.homevalue-card:hover { background: var(--navy-light); transform: translateY(-4px); }
.homevalue-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 400;
  color: var(--gold); margin: 0;
}
.homevalue-card p { font-size: .92rem; font-weight: 300; color: rgba(253,251,247,.6); line-height: 1.7; margin: 0; }
.homevalue-card a {
  font-family: var(--sans);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: .85rem 1.8rem; text-decoration: none;
  transition: background .25s, transform .2s;
  display: inline-block;
  align-self: flex-start;
  cursor: pointer;
  border: none;
}
.homevalue-card a:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── VALUATION MODAL ── */
.valuation-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 10, 20, 0.85);
  backdrop-filter: blur(6px); 
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  overflow-y: auto;
}
.valuation-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.valuation-modal-content {
  background: var(--navy);
  padding: 3rem 2.5rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(201,168,76,.25);
  animation: slideUp 0.3s ease;
  scrollbar-color: rgba(201,168,76,.3) transparent; 
}
.valuation-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid rgba(201,168,76,.25);
  font-size: 1.3rem;
  cursor: pointer;
  color: rgba(253,251,247,.5); /* border animates to gold on hover */
  transition: color .25s;
}
.valuation-modal-close:hover { color: var(--gold); }
.valuation-modal-header {
  margin-bottom: 2.5rem;
  text-align: center;
}
.valuation-modal-header h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.valuation-modal-intro {
  font-size: .95rem;
  font-weight: 300;
  color: rgba(253,251,247,.5);
  line-height: 1.8;
  border-bottom: 1px solid rgba(201,168,76,.15); 
}

/* ── FORM ELEMENTS ── */
.valuation-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-group label {
  font-size: .63rem;
  font-weight: 500;
  color: rgba(253,251,247,.45);
  letter-spacing: .05em;
}
.form-group label .required {
  color: var(--gold);
}
.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: rgba(201,168,76,.18);
  color: var(--white);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 300;
  padding: .9rem 1rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: none;
  -webkit-appearance: none;
}
.form-group select {
  -webkit-appearance: auto;
  appearance: auto;
  cursor: pointer;
}
.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.1);
}
.form-group select option {
  background: var(--white);
  color: var(--text);
}
.form-group input,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-row-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: .5rem;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.radio-item input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--gold);
  -webkit-appearance: radio;
  appearance: radio;
  border-radius: 50%;
  margin: 0;
}
.radio-item label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  font-size: .9rem;
  color: rgba(253,251,247,.5);
  border: 1px solid rgba(gold,.2); 
  padding: .45rem 1.05rem; 
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-top: .5rem;
}
.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--gold);
  margin-top: .25rem;
  flex-shrink: 0;
}
.checkbox-group label {
  margin: 0;
  cursor: pointer;
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(253,251,247,.5);
  font-weight: 300;
}

.form-section-title {
  font-size: 1rem; 
  font-weight: 500;
  color: var(--gold);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,.12);
}

.valuation-form-submit,
.form-submit {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1.1rem 3rem;
  cursor: pointer;
  transition: background .25s, transform .2s;
}
.valuation-form-submit {
  margin-top: 1rem;
  align-self: center;
}
.valuation-form-submit:hover,
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(gold,.25); 
}
.valuation-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  padding: 1rem;
  border-radius: 4px;
  font-size: .85rem;
  text-align: center;
  margin-bottom: 1rem;
  display: none;
}
.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.legal-text {
  font-size: .75rem;
  color: rgba(253,251,247,.3);
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(gold,.1);
}
.legal-text strong {
  color: rgba(253,251,247,.5);
  font-weight: 500;
}

/* ── CONTACT ── */
#contact { background: var(--navy); }
#contact h2 { color: var(--white); }
#contact .section-rule { background: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; max-width: 1000px; margin: 0 auto; }
.contact-info p { font-size: .9rem; font-weight: 300; color: rgba(253,251,247,.55); line-height: 1.9; margin-bottom: 2.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.contact-detail-icon { width: 36px; height: 36px; border: 1px solid rgba(201,168,76,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-detail-label { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(253,251,247,.35); margin-bottom: .2rem; }
.contact-detail-val { font-size: .9rem; color: var(--white); font-weight: 300; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form .form-group { display: flex; flex-direction: column; gap: .5rem; }
.contact-form .form-group label { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(253,251,247,.45); }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  color: var(--white);
  font-family: var(--sans); font-size: .88rem; font-weight: 300;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .25s;
  resize: none;
  -webkit-appearance: none;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus { border-color: var(--gold); }
.contact-form .form-group select option { background: var(--navy); }
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: rgba(255,255,255,.2); }

/* ── FOOTER ── */
footer {
  background: #070e1a;
  padding: 2.5rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(201,168,76,.12);
}
.footer-logo { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--white); }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: .75rem; color: rgba(253,251,247,.5); letter-spacing: .05em; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(253,251,247,.5); text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--gold); }

/* ── TECHNOLOGY ── */
#technology { background: var(--white); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.tech-body p { font-size: .95rem; font-weight: 300; line-height: 1.9; color: #444; margin-bottom: 1.5rem; }
.tech-solutions { list-style: none; display: flex; flex-direction: column; gap: .85rem; margin-top: .5rem; }
.tech-solutions li {
  display: flex; align-items: flex-start; gap: .9rem;
  font-size: .9rem; font-weight: 300; color: #444; line-height: 1.6;
}
.tech-solutions li::before {
  content: '';
  display: block; flex-shrink: 0;
  width: 6px; height: 6px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  margin-top: .45rem;
}
.tech-visual {
  position: relative;
  background: var(--navy);
  padding: 3rem 2.5rem;
  overflow: hidden;
}
.tech-visual::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(201,168,76,.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(30,58,95,.8) 0%, transparent 60%);
}
.tech-visual-grid {
  position: absolute; inset: 0; opacity: .05;
  background-image: linear-gradient(rgba(201,168,76,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,1) 1px, transparent 1px);
  background-size: 36px 36px;
}
.tech-cards { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; }
.tech-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.18);
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: 1rem;
  transition: background .3s, border-color .3s;
}
.tech-card:hover { background: rgba(201,168,76,.07); border-color: rgba(201,168,76,.4); }
.tech-card-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,.3);
}
.tech-card-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.tech-card-title { font-size: .85rem; font-weight: 400; color: var(--white); margin-bottom: .15rem; }
.tech-card-sub { font-size: .75rem; font-weight: 300; color: rgba(253,251,247,.45); }
.tech-tagline {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,168,76,.15);
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: rgba(201,168,76,.7);
  line-height: 1.6; position: relative; z-index: 1;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-three { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  section { padding: 4rem 5%; }
  #home { margin-top: 0; }
  .back-to-top { bottom: 1rem; right: 1rem; }
  .homevalue-grid { grid-template-columns: 1fr; }
  .valuation-modal-content {
    max-height: 95vh;
    padding: 2rem 1.5rem;
  }
  .radio-group {
    gap: 1rem;
  }
  
  /* ── VALUATION MODAL ── */
.valuation-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.valuation-modal.active {
  display: flex;
  opacity: 1;
}

.valuation-modal-content {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.valuation-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s;
}

.valuation-modal-close:hover {
  color: var(--gold);
}

.valuation-modal-header {
  margin-bottom: 2rem;
}

.valuation-modal-header h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.valuation-modal-intro {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ── FORM STYLES ── */
.valuation-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-row-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.required {
  color: #d32f2f;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-section-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.radio-item label,
.checkbox-item label {
  cursor: pointer;
  font-size: 0.95rem;
  margin: 0;
}

.valuation-form-submit {
  background: var(--gold);
  color: var(--navy);
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.2s;
  margin-top: 1rem;
  font-family: var(--sans);
}

.valuation-form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.valuation-form-submit:active {
  transform: translateY(0);
}

.valuation-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--gray);
}

.form-message {
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-message.active {
  display: block;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.legal-text {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1rem;
  line-height: 1.5;
}

/* ── RESPONSIVE FORM ── */
@media (max-width: 768px) {
  .valuation-modal-content {
    padding: 1.5rem;
    max-width: 95%;
  }
  
  .form-row,
  .form-row-three {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .valuation-modal-header h3 {
    font-size: 1.5rem;
  }
  
  /* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}
}
}
