/* ---------- Cairns Real Estate ---------- */
:root {
  --navy: #16243d;
  --navy-2: #1e3357;
  --blue: #4a7fb5;
  --blue-dark: #3a689c;
  --blue-light: #dce8f4;
  --off: #f4f7fb;
  --text: #33405a;
  --muted: #6b7890;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(22, 36, 61, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .wordmark {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6ecf4;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }

.wordmark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.wordmark span {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--blue);
  margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav a:hover { color: var(--blue); text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }
.btn.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.btn.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.nav .btn { padding: 10px 22px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(160deg, rgba(22, 36, 61, 0.93) 0%, rgba(30, 51, 87, 0.84) 55%, rgba(39, 70, 114, 0.72) 100%),
    url("../images/hero-paisano.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to top right, rgba(255,255,255,0.05) 49.5%, transparent 50%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; max-width: 860px; text-align: center; }

.hero .kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a9c6e4;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.18rem;
  color: #d4e1f0;
  max-width: 640px;
  margin: 0 auto 38px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid #e6ecf4;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat .num {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1.1;
}

.stat .label {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 260px;
  margin: 6px auto 0;
}

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--off); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head .kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin: 10px 0 14px;
}
.section-head p { color: var(--muted); }

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #e6ecf4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(22, 36, 61, 0.14); }

.card .card-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card .card-body { padding: 30px 32px 36px; }

.card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: center;
}

.about-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
}
.about-panel img.portrait {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.about-panel .name { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.4rem; }
.about-panel .role { color: #a9c6e4; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px; }
.about-panel .brokered { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; color: #c3d5e9; }

.about-copy .kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 10px 0 20px; }
.about-copy p { margin-bottom: 18px; }

/* Highland band */
.highland {
  background:
    linear-gradient(120deg, rgba(22, 36, 61, 0.94) 0%, rgba(30, 51, 87, 0.88) 100%),
    url("../images/dining-paisano.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 70px 0;
}
.highland .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.highland h2 { color: var(--white); font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.highland p { color: #c3d5e9; max-width: 560px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 8px; }

/* ---------- Contact page ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0 70px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: #d4e1f0; max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.contact-info .info-card {
  background: var(--white);
  border: 1px solid #e6ecf4;
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.contact-info h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 1rem; }
.contact-info a.tel { color: var(--blue); font-weight: 600; font-size: 1.15rem; }

.form-shell {
  background: var(--white);
  border: 1px solid #e6ecf4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9c8dc;
  padding: 64px 0 32px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.site-footer h4 {
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: #b9c8dc; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 44px; }
.footer-brand .wordmark { color: var(--white); font-size: 1.2rem; }
.footer-brand .wordmark span { color: #a9c6e4; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: #8fa2bd;
}
.footer-bottom p { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 80px 0 90px; }
  .section { padding: 64px 0; }
}
