/* ============================================================
   AZ Home Insider — single-page real estate site
   Structure/skeleton replica (dark theme, Oswald headings).
   ============================================================ */

:root{
  --bg:        #141414;
  --bg-alt:    #1b1b1b;
  --card:      #1e1e1e;
  --card-line: #2c2c2c;
  --text:      #ffffff;
  --muted:     #b3b3b3;
  --red:       #e11b2c;
  --red-dark:  #b8141f;
  --maxw:      1200px;
  --head:      'Oswald', sans-serif;
  --body:      Arial, Helvetica, sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{ font-family:var(--head); font-weight:500; letter-spacing:.5px; }

.section{
  max-width:var(--maxw);
  margin:0 auto;
  padding:72px 24px;
}

.section-title{
  text-align:center;
  font-size:34px;
  letter-spacing:6px;
  text-transform:uppercase;
  margin-bottom:48px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:var(--head);
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:14px;
  padding:13px 34px;
  cursor:pointer;
  border:none;
  transition:background .2s, color .2s, border-color .2s;
}
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover{ background:var(--red-dark); }
.btn-outline{
  background:transparent;
  color:#fff;
  border:1px solid var(--muted);
}
.btn-outline:hover{ border-color:var(--red); color:var(--red); }

/* ---------- Social icons ---------- */
.social-row{ list-style:none; display:flex; gap:10px; align-items:center; }
.ico{
  width:25px; height:25px; border-radius:50%;
  background:#fff; display:block; opacity:.9;
  transition:opacity .2s, transform .2s;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
}
.ico:hover{ opacity:1; transform:translateY(-2px); }
/* Simple glyphs via radial dots so icons read as circular badges */
.ico-fb{ background:#fff; }
.ico-yt{ background:#fff; }
.ico-ig{ background:#fff; }
.ico-tt{ background:#fff; }
.ico-li{ background:#fff; }

/* =================== HEADER =================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--bg-alt);
  border-bottom:1px solid var(--card-line);
}
.header-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:10px 24px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
}
.logo img{ height:46px; width:auto; }

.site-nav{ justify-self:center; }
.nav-list{
  list-style:none; display:flex; gap:6px;
}
.nav-list a{
  font-family:var(--head);
  font-weight:500;
  letter-spacing:2px;
  font-size:14px;
  padding:10px 16px;
  display:block;
  border-bottom:3px solid transparent;
  transition:color .2s, border-color .2s;
}
.nav-list a:hover{ color:var(--red); border-color:var(--red); }

.nav-toggle{
  display:none;
  flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{ width:24px; height:2px; background:#fff; }

/* =================== HERO =================== */
.hero{
  position:relative;
  min-height:560px;
  display:flex; align-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:brightness(.45);
}
.hero-content{
  position:relative;
  max-width:var(--maxw);
  margin:0 auto;
  width:100%;
  padding:60px 24px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.hero-name{ font-size:56px; letter-spacing:4px; }
.hero-title{ font-size:40px; line-height:1.1; margin:6px 0 28px; }
.hero-feature{ position:relative; }
.hero-feature img{ width:100%; border:1px solid var(--card-line); }
.hero-feature-caption{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  font-family:var(--head); font-weight:600;
  font-size:34px; letter-spacing:3px;
  color:rgba(255,255,255,.85);
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}

/* =================== ABOUT =================== */
.about-intro{ text-align:center; max-width:820px; margin:0 auto 56px; }
.about-badge{
  width:120px; height:120px; border-radius:50%;
  margin:0 auto 24px; object-fit:cover;
  border:2px solid var(--card-line);
}
.about-quote{ font-size:26px; margin-bottom:18px; }
.about-lead{ color:var(--muted); margin-bottom:28px; }

.about-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.about-card{
  background:var(--card);
  border:1px solid var(--card-line);
  padding:32px 26px;
}
.about-card h4{
  font-size:22px; text-align:center;
  margin-bottom:16px; letter-spacing:2px;
}
.about-card p{ color:var(--muted); font-size:15px; }

/* =================== VIDEOS =================== */
.video-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.video-card{
  background:var(--card);
  border:1px solid var(--card-line);
  transition:transform .2s, border-color .2s;
}
.video-card:hover{ transform:translateY(-4px); border-color:var(--red); }
.video-card img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.video-card h3{
  font-size:16px; font-weight:400;
  padding:16px; color:var(--muted);
}
.video-card.is-hidden{ display:none; }

.videos{ text-align:center; }
.video-grid{ margin-bottom:36px; text-align:left; }
.videos .btn{ margin:6px; }
.contact-cta{ display:inline-block; }

/* =================== BRAND BANNER =================== */
.brand-banner{
  background:var(--bg-alt);
  padding:48px 24px;
  text-align:center;
}
.brand-banner img{
  max-width:var(--maxw); width:100%; margin:0 auto;
}

/* =================== GALLERY =================== */
.gallery{ text-align:center; }
.gallery-sub{ color:var(--muted); margin:-28px 0 40px; }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.gallery-grid img{
  width:100%; aspect-ratio:1/1; object-fit:cover;
  border:1px solid var(--card-line);
}

/* =================== CONTACT =================== */
.contact{ position:relative; }
.contact-map{
  position:absolute; inset:0;
  background:repeating-linear-gradient(45deg,#1f1f1f 0 18px,#1a1a1a 18px 36px);
  opacity:.5;
}
.contact-form-wrap{ position:relative; max-width:760px; margin:0 auto; }
.contact-heading{
  text-align:center; font-size:20px; letter-spacing:2px;
  color:var(--muted); margin-bottom:32px;
}
.contact-form{ display:flex; flex-direction:column; gap:18px; }
.contact-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form label{
  display:flex; flex-direction:column; gap:6px;
  font-family:var(--head); letter-spacing:1px;
  font-size:13px; color:var(--muted); text-transform:uppercase;
}
.contact-form input,
.contact-form textarea{
  background:#0f0f0f;
  border:1px solid var(--card-line);
  color:#fff;
  padding:12px 14px;
  font-family:var(--body); font-size:15px;
}
.contact-form input:focus,
.contact-form textarea:focus{ outline:none; border-color:var(--red); }
.contact-form .full{ grid-column:1 / -1; }
.contact-form .btn{ align-self:flex-start; }

/* =================== FOOTER =================== */
.site-footer{
  background:#0d0d0d;
  border-top:1px solid var(--card-line);
  padding:56px 24px 28px;
}
.footer-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:1fr auto 1fr; gap:40px;
  align-items:start;
}
.footer-col h3{
  font-size:18px; letter-spacing:3px; margin-bottom:18px;
}
.footer-col p{ color:var(--muted); font-size:14px; margin-bottom:10px; }
.footer-col a:hover{ color:var(--red); }
.footer-social{ margin-top:16px; }
.footer-headshot img{
  width:230px; height:262px; object-fit:cover;
  border:1px solid var(--card-line); margin:0 auto;
}
.newsletter{ display:flex; margin:14px 0 22px; max-width:320px; }
.newsletter input{
  flex:1; background:#0f0f0f; border:1px solid var(--card-line);
  color:#fff; padding:11px 14px;
}
.newsletter button{
  background:var(--red); color:#fff; border:none;
  padding:0 18px; cursor:pointer; font-size:18px;
}
.partner-logo{ width:200px; opacity:.9; }
.copyright{
  text-align:center; color:#7a7a7a; font-size:13px;
  margin-top:40px;
}

/* =================== RESPONSIVE =================== */
@media (max-width:900px){
  .hero-content{ grid-template-columns:1fr; }
  .about-cols{ grid-template-columns:1fr; }
  .video-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; text-align:center; }
  .footer-headshot img{ margin:0 auto; }
  .social-row{ justify-content:center; }
  .newsletter{ margin-left:auto; margin-right:auto; }
}

@media (max-width:680px){
  .header-inner{ grid-template-columns:auto auto; }
  .social-row{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-list{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; gap:0;
    background:var(--bg-alt);
    border-bottom:1px solid var(--card-line);
    max-height:0; overflow:hidden; transition:max-height .25s;
  }
  .nav-list.open{ max-height:340px; }
  .nav-list a{ border-bottom:1px solid var(--card-line); }
  .video-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .contact-form .row{ grid-template-columns:1fr; }
  .hero-name{ font-size:42px; }
  .hero-title{ font-size:30px; }
}
