/* =========================================================
   ALL INCLUSIVE REALTY - CONTACT LANDING PAGE
   Upload as:
   /var/www/allinclusiverealtyllc.granet.tech/style.css
   ========================================================= */

:root {
  --navy: #263c91;
  --navy-dark: #142768;
  --red: #f1182b;
  --red-dark: #c90f20;
  --ink: #142033;
  --muted: #5e6f88;
  --bg: #f3f7fc;
  --soft-blue: #eaf4ff;
  --paper: #ffffff;
  --line: #d7e3f2;
  --shadow: 0 18px 45px rgba(20, 39, 104, .13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(20, 39, 104, .08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  box-shadow: 0 12px 24px rgba(20, 39, 104, .18);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--navy-dark);
  font-size: 18px;
  font-weight: 950;
}

.brand-text span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
}

.links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 800;
  color: var(--navy-dark);
  font-size: 15px;
}

.phone-btn,
.btn {
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.phone-btn {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: white;
  box-shadow: 0 12px 24px rgba(20, 39, 104, .22);
}

.btn:hover,
.phone-btn:hover,
.action-card a:hover,
.more-btn:hover,
.submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(241, 24, 43, .22);
}

.btn.secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(38, 60, 145, .28);
  box-shadow: 0 12px 28px rgba(20, 39, 104, .10);
}

.btn.full {
  width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 64px;
  background:
    linear-gradient(90deg, rgba(243, 247, 252, .97), rgba(234, 244, 255, .90), rgba(243, 247, 252, .78)),
    url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 56px;
  height: 2px;
  background: rgba(38, 60, 145, .35);
}

.eyebrow.small {
  font-size: 12px;
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 950;
}

h1 span {
  color: var(--red);
}

.subtitle {
  max-width: 720px;
  margin: 18px 0 0;
  color: #2d3445;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 760px;
}

.trust-row div {
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(38, 60, 145, .16);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(20, 39, 104, .08);
}

.trust-row strong {
  display: block;
  color: var(--navy-dark);
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}

.trust-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.hero-card {
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(215, 227, 242, .95);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 950;
}

.hero-card h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.hero-card p {
  color: var(--muted);
  margin: 14px 0 0;
}

.mini-contact {
  display: grid;
  gap: 9px;
  margin: 22px 0;
}

.mini-contact a,
.mini-contact span {
  display: block;
  color: var(--ink);
  font-weight: 850;
}

/* =========================================================
   LANDING FOCUS
   ========================================================= */

.section {
  padding: 64px 0;
}

.section-head.centered {
  text-align: center;
  max-width: 830px;
  margin: 0 auto 28px;
}

.section-head.centered .eyebrow {
  justify-content: center;
}

.section-head.centered .eyebrow::before {
  display: none;
}

.section-head h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 950;
}

.hint {
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 760px;
  font-size: 17px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.action-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(20, 39, 104, .10);
  display: grid;
  gap: 12px;
}

.featured-action {
  border-color: rgba(241, 24, 43, .28);
  box-shadow: 0 18px 45px rgba(241, 24, 43, .10);
}

.action-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eef3ff;
  color: var(--navy);
  font-size: 25px;
}

.featured-action .action-icon {
  background: #fff0f1;
}

.action-card h3 {
  color: var(--navy-dark);
  font-size: 25px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.035em;
}

.action-card p {
  color: var(--muted);
  margin: 0;
}

.action-card a {
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: white;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 6px;
  transition: transform .18s ease, filter .18s ease;
}

.featured-action a {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  padding-top: 32px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-copy {
  background: linear-gradient(135deg, var(--navy-dark), #07184c);
  color: #ffffff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 112px;
}

.contact-copy .eyebrow,
.contact-copy h2 {
  color: #ffffff;
}

.contact-copy p {
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods div {
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 15px;
}

.contact-methods strong {
  color: #ffffff;
}

.contact-methods span {
  color: rgba(255, 255, 255, .80);
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.form-header h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
}

.form-header p {
  margin: 8px 0 4px;
  color: var(--muted);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(38, 60, 145, .12);
}

.submit {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(241, 24, 43, .22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, filter .18s ease;
}

/* =========================================================
   MODALS
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: rgba(20, 32, 51, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
}

.modal:target {
  display: flex;
}

.modal-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  position: relative;
  animation: pop 0.18s ease-out;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close {
  position: absolute;
  top: 17px;
  right: 21px;
  color: #53647f;
  font-size: 31px;
  line-height: 1;
  text-decoration: none;
  z-index: 5;
  font-weight: 400;
}

/* Meet the team modal */
.about-card {
  width: min(1120px, calc(100vw - 64px));
  max-height: 88vh;
  overflow: auto;
  padding: 44px 34px 34px;
  border-radius: 18px;
}

.about-hero {
  text-align: center;
  padding: 0 24px 32px;
  border-bottom: 1px solid #d7e3f2;
  margin-bottom: 26px;
}

.about-hero .mini {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 950;
  font-size: 12px;
  margin-bottom: 13px;
}

.about-hero h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--navy-dark);
  text-align: center;
  font-weight: 950;
}

.about-hero h2 span {
  color: var(--red);
}

.about-hero p {
  max-width: 820px;
  margin: 13px auto 0;
  color: #5b6d89;
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.about-hero p strong {
  color: #53647f;
  font-weight: 900;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agent-card {
  background: #fbfdff;
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(20, 39, 104, 0.08);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 14px;
  min-height: 410px;
}

.agent-top {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.agent-avatar {
  width: 96px;
  height: 96px;
  min-width: 96px;
  flex: 0 0 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  object-fit: cover;
  object-position: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), rgba(255,255,255,.25) 42%, transparent 44%),
    linear-gradient(135deg, #f6f9ff, #eef3ff);
  color: var(--navy-dark);
  border: 4px solid #ffffff;
  box-shadow: 0 12px 26px rgba(20, 39, 104, 0.14);
  font-weight: 950;
  letter-spacing: -.04em;
}

.agent-avatar.large {
  width: 112px;
  height: 112px;
  min-width: 112px;
  flex: 0 0 112px;
  font-size: 24px;
}

.agent-card h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 950;
}

.agent-role {
  color: #5b6d89;
  font-weight: 900;
  margin-top: 5px;
  line-height: 1.35;
}

.agent-line {
  width: 46px;
  height: 3px;
  background: var(--red);
  border-radius: 99px;
}

.agent-contact a {
  display: block;
  color: #142033;
  margin: 4px 0;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.35;
}

.agent-blurb {
  color: #5b6d89;
  font-size: 14px;
  line-height: 1.5;
  min-height: 72px;
}

.more-btn {
  min-height: 44px;
  border-radius: 9px;
  border: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #ffffff;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(20, 39, 104, 0.18);
  text-decoration: none;
  width: 100%;
  transition: transform .18s ease, filter .18s ease;
}

/* Bio modals */
.bio-card {
  width: min(820px, calc(100vw - 34px));
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
}

.bio-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding-right: 30px;
}

.bio-head h2 {
  text-align: left;
  margin: 0;
  color: var(--navy-dark);
  font-size: 34px;
  letter-spacing: -.04em;
}

.bio-head p {
  text-align: left;
  margin: 5px 0 0;
  color: var(--muted);
}

.bio-text p {
  text-align: left;
  max-width: none;
  line-height: 1.7;
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.badge {
  background: #eef3ff;
  color: var(--navy);
  border: 1px solid #cdd9ff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.contact-strip a {
  min-height: 44px;
  border-radius: 9px;
  border: 1px solid #d7e3f2;
  color: var(--navy);
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  text-decoration: none;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: linear-gradient(135deg, var(--navy-dark), #07184c);
  color: white;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer h3 {
  margin: 0 0 12px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, .82);
}

.footer a {
  display: block;
  margin: 6px 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .action-grid,
  .agent-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    width: min(760px, calc(100vw - 34px));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .links {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .phone-btn {
    width: 100%;
  }

  .hero {
    padding: 58px 0 42px;
  }

  .hero-actions,
  .trust-row,
  .two,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .trust-row {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .modal {
    padding: 16px;
  }

  .about-card {
    width: 100%;
    padding: 38px 18px 22px;
  }

  .about-hero {
    padding: 0 6px 24px;
  }

  .about-hero h2 {
    font-size: 36px;
  }

  .agent-top {
    align-items: flex-start;
  }

  .agent-card {
    min-height: auto;
  }

  .agent-avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
    flex-basis: 88px;
  }

  .bio-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brand-text strong {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-card,
  .contact-form,
  .contact-copy {
    padding: 22px;
  }
}
