/* Ivan Gonzalez — Miami Way Realty | ivan-sellsrealty.com
   Teal / ocean palette, clean single-page layout, mobile-first. */

:root {
  --teal: #0e7c86;
  --teal-dark: #0a5e68;
  --teal-deep: #07444c;
  --sand: #f6f1e8;
  --ink: #1d2b2e;
  --muted: #5a6b6e;
  --line: #dfe7e8;
  --white: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.9rem; color: var(--teal-deep); }
p { margin: 0 0 1rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 640px; text-wrap: pretty; }
.search-inner p { text-wrap: pretty; }
.small-print { font-size: .85rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-large { font-size: 1.15rem; padding: 15px 36px; }
.btn-phone {
  background: var(--teal);
  color: var(--white);
  padding: 10px 18px;
  font-size: .95rem;
  white-space: nowrap;
}
.btn-phone:hover { background: var(--teal-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.15rem; color: var(--teal-deep); }
.brand-text span span { font-size: .85rem; color: var(--muted); }
.main-nav { margin-left: auto; display: flex; gap: 22px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.main-nav a:hover { color: var(--teal); }

/* Hero */
.hero { position: relative; min-height: 480px; display: flex; align-items: flex-end; color: var(--white); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,68,76,.15) 0%, rgba(7,68,76,.78) 100%);
}
.hero-content { position: relative; padding: 120px 20px 64px; max-width: 1080px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: 3rem; margin-bottom: 12px; }
.hero-sub { font-size: 1.25rem; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Listings */
.listing {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 32px; background: var(--white);
  box-shadow: 0 2px 12px rgba(7,68,76,.06);
}
.listing-photos { padding: 16px 0 16px 16px; }
.listing-photos > a { display: block; }
.listing-photos a:hover img { opacity: .92; }
.photo-hint { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.listing-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.thumb-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px;
}
.thumb-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.listing-info { padding: 28px 28px 28px 0; }
.price { font-size: 2rem; font-weight: 800; color: var(--teal-dark); margin-bottom: 4px; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.listing-info h3 { font-size: 1.35rem; color: var(--teal-deep); }
.specs { font-weight: 700; margin-bottom: 12px; }
.facts { margin: 0 0 14px; padding-left: 20px; color: var(--ink); }
.facts li { margin-bottom: 4px; }
.mls { color: var(--muted); font-size: .9rem; }

/* Search section */
.section-search { background: var(--sand); text-align: center; }
.search-inner { max-width: 640px; }
.search-inner h2 { margin-bottom: 8px; }
.search-note { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* About */
.about-inner { max-width: 720px; }
.credentials { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.credentials li {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: .95rem;
}

/* Contact */
.section-contact { background: var(--teal-deep); color: var(--white); }
.section-contact h2 { color: var(--white); }
.contact-inner { max-width: 760px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.contact-card {
  display: block; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius); padding: 18px;
  text-decoration: none; color: var(--white);
}
.contact-card:hover { background: rgba(255,255,255,.16); }
.contact-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; margin-bottom: 6px; }
.contact-value { font-weight: 700; word-break: break-word; }
.office { opacity: .9; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.socials a { color: var(--white); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #cfe0e2; padding: 32px 0; }
.site-footer p { margin: 0 0 4px; }
.site-footer .small-print { color: #9fb6b9; }

/* Name badges: U.S. Navy Veteran seal + REALTOR logo beside Ivan's name */
.name-badges { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; margin-left: 6px; }
.name-badges img { height: 22px; width: auto; }
.name-badges-lg img { height: 28px; }
.brand-badges { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.brand-badges img { height: 38px; width: auto; }
.badges-row { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; }
.badges-row img { height: 56px; width: auto; }
.contact-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: .5rem; }
.contact-head h2 { margin-bottom: 0; }
.contact-badges { display: flex; align-items: center; gap: 10px; }
.contact-badges img { height: 36px; width: auto; }

/* Mobile */
@media (max-width: 820px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1.1rem; }
  .listing { grid-template-columns: 1fr; }
  .listing-photos { padding: 16px 16px 0; }
  .listing-info { padding: 8px 20px 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-inner { gap: 12px; }
  .btn-phone { margin-left: auto; }
  .brand-badges .badge-realtor { display: none; }
  .brand-badges img { height: 30px; }
  .badges-row img { height: 44px; }
}
