/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Georgia, serif; color: #2c3e50; background: #fff; line-height: 1.7; }

/* ===== TOKENS ===== */
:root {
  --blue: #1a6fa8; --blue-dark: #145a8a; --blue-light: #e8f4fd;
  --sand: #f5f0e8; --sand-dark: #e8dfc8;
  --terra: #c0622a; --terra-light: #f9ede6;
  --text: #2c3e50; --text-light: #5a6a7a;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,.10);
}

/* ===== TYPE ===== */
h1,h2,h3,h4 { font-family: Georgia, serif; line-height: 1.25; }
h1 { font-size: clamp(2rem,4vw,3rem); }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
sup { font-size: .55em; vertical-align: super; line-height: 0; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 76px;
}
.logo-area { display: flex; align-items: center; gap: 16px; }

.logo-text .logo-name { font-size: 1.15rem; font-weight: bold; color: var(--blue-dark); }
.logo-text .logo-title { font-size: .72rem; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }
nav { display: flex; gap: 1.6rem; align-items: center; }
nav a { font-size: .88rem; font-family: Arial,sans-serif; color: var(--text); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; transition: color .2s; }
nav a:hover { color: var(--blue); }
nav a.cta-nav { background: var(--terra); color: #fff; padding: 8px 14px; border-radius: 4px; white-space: nowrap; }
nav a.cta-nav:hover { background: #a0501f; color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background: #fff; border-top: 1px solid #e0e0e0; padding: 1rem 2rem 1.5rem; }
.mobile-menu a { padding: .6rem 0; font-size: 1rem; color: var(--text); font-weight: 600; border-bottom: 1px solid #f0f0f0; }
.mobile-menu a.cta-nav { color: var(--terra); border: none; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center;
  background: #0a2030; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero-beach.jpg');
  background-size: cover;
  background-position: center 60%;
  opacity: 0.70;
}
/* Subtle left-side scrim ONLY — just enough to read text, not dim the photo */

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
  display: flex; align-items: center; gap: 3rem;
  width: 100%;
}
.hero-text { flex: 1 1 0; min-width: 0; }
.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-style: italic; font-weight: 400;
  color: #0a2240;
  margin: 0 0 4rem; line-height: 1.1; white-space: nowrap;
}
.hero-sub {
  font-size: 1.05rem; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.85), 0 0 16px rgba(0,0,0,.6);
  margin-bottom: 1.8rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { flex: 0 0 240px; }
.hero-photo img {
  width: 240px; height: 300px;
  object-fit: cover; object-position: top;
  border-radius: 8px;
  border: 4px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  display: block;
}

/* ===== CRED BAR ===== */
.cred-bar { background: var(--blue-dark); color: #fff; padding: 1.2rem 2rem; }
.cred-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }
.cred-item { font-size: .82rem; font-family: Arial,sans-serif; letter-spacing: 1.2px; text-transform: uppercase; opacity: .9; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 13px 28px; border-radius: 5px; font-family: Arial,sans-serif; font-weight: 700; font-size: .95rem; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: #a0501f; color: #fff; }
.btn-secondary { background: rgba(0,0,0,.25); color: #fff; border: 2px solid rgba(255,255,255,.85); }
.btn-secondary:hover { background: rgba(0,0,0,.4); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ===== SECTIONS ===== */
section { padding: 4rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 2.5rem; color: var(--blue-dark); }
.section-title span { display: block; font-size: .85rem; font-family: Arial,sans-serif; color: var(--terra); text-transform: uppercase; letter-spacing: 2px; margin-bottom: .4rem; }
.bg-sand { background: var(--sand); }
.bg-blue-light { background: var(--blue-light); }
.bg-blue { background: var(--blue-dark); color: #fff; }
.bg-blue h2,.bg-blue h3 { color: #fff; }
.bg-blue p { color: rgba(255,255,255,.88); }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.8rem; }
.card { background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card-body { padding: 1.6rem; }
.card-icon { font-size: 2rem; margin-bottom: .8rem; }
.card h3 { margin-bottom: .5rem; color: var(--blue-dark); }

/* ===== AREAS ===== */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1.4rem; }
.area-card { background: #fff; border-radius: 8px; padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow); transition: transform .2s; border-top: 4px solid var(--blue); }
.area-card:hover { transform: translateY(-3px); }
.area-card h3 { color: var(--blue-dark); margin-bottom: .4rem; font-size: 1.1rem; }
.area-card p { font-size: .85rem; color: var(--text-light); margin: 0; }
.route-line { text-align: center; padding: 1rem 0; }

/* ===== ABOUT SPLIT ===== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-photo img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.credential-list { list-style: none; margin: 1rem 0; }
.credential-list li { padding: .4rem 0 .4rem 1.4rem; position: relative; font-size: .95rem; }
.credential-list li::before { content: '✓'; position: absolute; left: 0; color: var(--terra); font-weight: bold; }

/* ===== TESTIMONIALS ===== */
.testimonial { background: #fff; border-left: 4px solid var(--terra); border-radius: 0 8px 8px 0; padding: 1.4rem 1.8rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.testimonial p { font-style: italic; margin-bottom: .5rem; }
.testimonial cite { font-size: .85rem; color: var(--terra); font-style: normal; font-weight: 700; }

/* ===== FORM ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1/-1; }
label { font-size: .85rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .8px; }
input,select,textarea { padding: .7rem 1rem; border: 1.5px solid #d0dbe8; border-radius: 5px; font-size: 1rem; font-family: Georgia,serif; color: var(--text); transition: border-color .2s; }
input:focus,select:focus,textarea:focus { outline: none; border-color: var(--blue); }
textarea { resize: vertical; min-height: 120px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; padding: 4rem 2rem; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== PHOTO BREAK ===== */
.photo-break { width: 100%; height: 340px; overflow: hidden; position: relative; }
.photo-break img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-break-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,90,138,.68) 0%, rgba(20,90,138,.18) 55%, transparent 100%); display: flex; align-items: center; }
.photo-break-quote { padding: 2.5rem 4rem; color: #fff; max-width: 560px; }
.photo-break-quote p { font-size: 1.5rem; font-style: italic; line-height: 1.4; text-shadow: 0 2px 8px rgba(0,0,0,.4); margin: 0; }
.photo-break-quote cite { margin-top: 1rem; display: block; font-weight: bold; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; opacity: .9; font-style: normal; }

/* ===== FOOTER ===== */
footer { background: #0f2a3d; color: rgba(255,255,255,.8); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { font-size: .88rem; margin-top: .8rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.footer-brand .personal-footer-logo { height: 120px; width: 200px; object-fit: contain; object-position: left center; margin-bottom: 1rem; display: block; border-radius: 4px; background: #fff; padding: 4px; }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: .5rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); max-width: 1200px; margin: 0 auto; padding: 1.2rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: rgba(255,255,255,.5); }
.eho-badge { display: flex; align-items: center; gap: 8px; }
.eho-icon { width: 32px; height: 32px; border: 2px solid rgba(255,255,255,.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: bold; color: rgba(255,255,255,.7); text-align: center; line-height: 1.1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { flex-direction: column-reverse; text-align: center; gap: 1.5rem; padding: 2.5rem 1.2rem; }
  .hero-headline { white-space: normal; font-size: 2rem; }
  .hero-btns { justify-content: center; }
  .hero-photo { flex: none; }
  .hero-photo img { width: 160px; height: 200px; }
  .about-split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 2.5rem 1.2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .photo-break-quote { padding: 1.5rem 1.5rem; }
  .photo-break-quote p { font-size: 1.1rem; }
}

/* ===== EXIT REALTY LOGO BLOCKS ===== */
.exit-logo-block {
  display: flex; align-items: center; gap: 8px;
}
.exit-logo-img { height: 44px; width: auto; max-width: 280px; object-fit: contain; flex-shrink: 0; }
.exit-logo-text {
  font-family: Arial, sans-serif;
  font-size: .82rem; font-weight: 700;
  color: #1a6fa8; line-height: 1.3;
  letter-spacing: .5px;
}
.exit-footer-logo-block {
  display: flex; align-items: center; gap: 10px; margin-bottom: 1rem;
}
.exit-footer-logo-img { height: 60px; width: auto; max-width: 240px; object-fit: contain; }
.exit-footer-logo-text {
  font-family: Arial, sans-serif;
  font-size: .95rem; font-weight: 700;
  color: #fff; line-height: 1.3;
  letter-spacing: .5px;
}

.footer-logos-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-logos-row .personal-footer-logo {
  height: 100px; width: auto; max-width: 160px;
  object-fit: contain; border-radius: 4px;
  background: #fff; padding: 4px;
}

/* Hero outline button - white, visible on beach photo */
.btn-hero-outline {
  background: rgba(0,0,0,.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,.85);
  padding: 13px 28px; border-radius: 5px;
  font-family: Arial,sans-serif; font-weight: 700; font-size: .95rem;
  transition: all .2s; display: inline-block;
}
.btn-hero-outline:hover { background: rgba(0,0,0,.4); color: #fff; }

/* ===== HERO BYLINE ===== */
.hero-byline {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.85);
  margin: 0 0 .4rem;
  text-align: right;
}
.hero-headline {
  text-align: right;
}
