/* ===================================================================
   AUREVIA REALTY — Responsive Breakpoints
=================================================================== */

/* ---------- Laptop / small desktop ---------- */
@media (max-width:1280px){
  .container{padding:0 20px;}
  .invest-grid{grid-template-columns:repeat(3,1fr);}
  .invest-card:nth-child(4),.invest-card:nth-child(5){grid-column:span 1;}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr;}
  .footer-grid > :nth-child(4){grid-column:1/-1;max-width:420px;}
}

/* ---------- Tablet ---------- */
@media (max-width:1080px){
  .section{padding:96px 0;}
  .nav{gap:20px;}
  .header__call span{display:none;}

  .about{padding-top:170px;}
  .about__grid{grid-template-columns:1fr;gap:60px;}
  .about__media-frame{max-width:520px;margin:0 auto;}
  .about__badge{right:50%;transform:translateX(50%);bottom:-26px;}

  .why-grid{grid-template-columns:repeat(2,1fr);}
  .projects-grid{grid-template-columns:repeat(2,1fr);}
  .amenities-grid{grid-template-columns:repeat(2,1fr);}
  .invest-grid{grid-template-columns:repeat(2,1fr);}
  .counters-grid{grid-template-columns:repeat(2,1fr);}

  .contact-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}

  .hero__floating .container{grid-template-columns:repeat(2,1fr);}
  .hero__floating{transform:translateY(20%);}
}

/* ---------- Large mobile / tablet portrait ---------- */
@media (max-width:820px){
  .section{padding:80px 0;}
  .section-head{margin-bottom:48px;}
  .section-cta-band{padding:44px 30px;flex-direction:column;text-align:center;}

  .hero{min-height:760px;}
  .hero__floating{display:none;}
  .about{padding-top:120px;}

  .why-grid{grid-template-columns:1fr;}
  .projects-grid{grid-template-columns:1fr;}
  .amenities-grid{grid-template-columns:1fr;}
  .invest-grid{grid-template-columns:1fr 1fr;}
  .counters-grid{grid-template-columns:1fr 1fr;}

  .form-row{grid-template-columns:1fr;}
  .contact-form,.contact-info-card{padding:36px 26px;}

  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:14px;}

  .footer-grid{grid-template-columns:1fr 1fr;gap:40px;}
  .footer-grid > :nth-child(4){grid-column:auto;max-width:none;}
  .footer-bottom{justify-content:center;text-align:center;}
}

/* ---------- Mobile ---------- */
@media (max-width:600px){
  .container{padding:0 18px;}
  :root{--header-h:76px;}

  .header__logo-text{font-size:.9rem;}
  .header__logo-text span{display:none;}
  .header__logo img{height:40px;}
  .header__actions .icon-btn:first-of-type{display:none;}

  .hero h1{font-size:2.1rem;}
  .hero__sub{font-size:1rem;margin-bottom:34px;}
  .hero__actions{flex-direction:column;align-items:stretch;}
  .hero__actions .btn{width:100%;}
  .hero__dots{bottom:110px;}

  .about__highlights{grid-template-columns:1fr;}
  .about__badge{padding:18px 22px;min-width:130px;}
  .about__badge strong{font-size:1.7rem;}

  .why-card{padding:34px 24px;}

  .amenities-grid{grid-template-columns:1fr;}
  .invest-grid{grid-template-columns:1fr;}
  .counters-grid{grid-template-columns:1fr;gap:16px;}
  .counter-item{padding:32px 20px;}

  .testi-card{padding:36px 24px;}
  .testi-card p{font-size:1.08rem;}

  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px;}

  .contact-info-card,.contact-form{padding:30px 22px;}
  .footer-grid{grid-template-columns:1fr;gap:36px;padding-bottom:50px;}
  .footer{padding-top:70px;}

  .floating-actions{right:16px;bottom:16px;}
  .fab{width:52px;height:52px;}
  .fab svg{width:22px;height:22px;}
  .back-to-top{width:42px;height:42px;}

  .lightbox__prev,.lightbox__next{width:42px;height:42px;}
  .lightbox__prev{left:12px;}
  .lightbox__next{right:12px;}
  .lightbox__close{top:16px;right:16px;width:42px;height:42px;}
}

/* ---------- Small mobile ---------- */
@media (max-width:400px){
  .hero h1{font-size:1.8rem;}
  .section-title{font-size:1.7rem;}
  .btn{padding:14px 26px;font-size:.88rem;}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}
