/* =============================================
   PET SOCIETY CO. — styles.css
   Luxury pet care palette:
   cream #F7F1E7 | blush/rose #C17C6C | deep rose #A85F50
   charcoal #2E2B27 | soft pink icon #D9A79C
   ============================================= */

:root{
  --cream: #f7f1e8;
  --cream-soft: #f0e8da;
  --rose: #d98f8a;
  --rose-deep: #d68882;
  --rose-pale: #e7c2b8;
  --charcoal: #2e2b27;
  --charcoal-soft: #2e2b27;
  --icon: #d6a79c;
  --paw-color: #e3cdc0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ display:block; max-width:100%; }

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

h1,h2,h3{ font-family: var(--font-display); font-weight:500; color: var(--charcoal); }

.btn{
  display:inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95em 2.1em;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-primary{
  background: var(--rose);
  color: #fff;
}
.btn-primary:hover{ background: var(--rose-deep); transform: translateY(-1px); }

.btn-light{
  background: var(--cream);
  color: var(--rose-deep);
}
.btn-light:hover{ background:#fff; transform: translateY(-1px); }

/* =============== decorative paw print =============== */
.paw-divider{
  display:inline-block;
  width: 22px; height: 22px;
  margin: 0.6em 0 1em;
  background-color: var(--rose);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><ellipse cx='32' cy='42' rx='16' ry='13'/><ellipse cx='14' cy='20' rx='7' ry='9'/><ellipse cx='50' cy='20' rx='7' ry='9'/><ellipse cx='24' cy='10' rx='6' ry='8'/><ellipse cx='40' cy='10' rx='6' ry='8'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><ellipse cx='32' cy='42' rx='16' ry='13'/><ellipse cx='14' cy='20' rx='7' ry='9'/><ellipse cx='50' cy='20' rx='7' ry='9'/><ellipse cx='24' cy='10' rx='6' ry='8'/><ellipse cx='40' cy='10' rx='6' ry='8'/></svg>");
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:contain; mask-size:contain;
}

.mini-divider{
  display:block;
  width: 14px; height: 14px;
  margin: 0.5em auto 0.7em;
  background-color: var(--icon);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><ellipse cx='32' cy='42' rx='16' ry='13'/><ellipse cx='14' cy='20' rx='7' ry='9'/><ellipse cx='50' cy='20' rx='7' ry='9'/><ellipse cx='24' cy='10' rx='6' ry='8'/><ellipse cx='40' cy='10' rx='6' ry='8'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><ellipse cx='32' cy='42' rx='16' ry='13'/><ellipse cx='14' cy='20' rx='7' ry='9'/><ellipse cx='50' cy='20' rx='7' ry='9'/><ellipse cx='24' cy='10' rx='6' ry='8'/><ellipse cx='40' cy='10' rx='6' ry='8'/></svg>");
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:contain; mask-size:contain;
}

.paw-mark{ font-size:1rem; color: var(--rose); text-align:center; margin-bottom:0.3em; }

/* =============== header =============== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(46,43,39,0.08);
}
.header-inner{
  max-width: 1280px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding: 1.1rem 2.5rem;
}
.logo{ display:flex; flex-direction:column; line-height:1.1; align-items:center; text-align:center; }
.logo-name{
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.logo-name.small{ font-size:1.1rem; }
.logo-tagline{
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 0.3em;
}

.main-nav{ display:flex; gap:2.1rem; }
.main-nav a{
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  transition: color 0.2s ease;
}
.main-nav a:hover{ color: var(--rose-deep); }

.header-btn{ font-size:0.78rem; padding:0.8em 1.7em; }

.nav-toggle{
  display:none;
  flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer;
  padding: 0.4rem;
}
.nav-toggle span{ width:22px; height:2px; background: var(--charcoal); display:block; }

.mobile-nav{
  display:none;
  flex-direction:column;
  background: var(--cream);
  border-top: 1px solid rgba(46,43,39,0.08);
  padding: 1rem 2rem 1.5rem;
}
.mobile-nav a{
  padding: 0.75rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(46,43,39,0.06);
}
.mobile-nav .btn{ margin-top:1rem; text-align:center; }

/* =============== hero =============== */
.hero{
  position: relative;
  min-height: 88vh;
  display:flex; align-items:center;
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0; z-index:0;
}
.hero-media img{
  position:relative;
  width:100%; height:100%; object-fit:cover;
  --hero-focus-x: 15%;
  --hero-focus-y: 50%;
  object-position: var(--hero-focus-x) var(--hero-focus-y);
  filter: brightness(1.05) contrast(1.08) saturate(1.24) sepia(0.16) hue-rotate(-5deg);
  z-index:0;
}

/* Keep the dogs visible on wider hero layouts */
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  z-index:1;
  background: linear-gradient(100deg, rgba(247,241,231,0.72) 0%, rgba(247,241,231,0.62) 30%, rgba(247,241,231,0.28) 52%, rgba(247,241,231,0.06) 72%, rgba(247,241,231,0) 86%);
  pointer-events:none;
}
.hero-content{
  position:relative; z-index:2;
  max-width: 620px;
  padding: 2rem 2.5rem;
  margin-left: 2.5rem;
}
@media (min-width: 981px){
  .hero-media img{
    --hero-focus-x: 0%;
    transform: scale(1.25);
    transform-origin: left center;
  }
}
.eyebrow{
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
  opacity: 1;
  margin-bottom: 0.9rem;
}
.hero-content h1{
  font-size: 3.2rem;
  line-height: 1.12;
  font-style: normal;
  color: var(--charcoal);
  opacity: 1;
}
.hero-text{
  color: var(--charcoal);
  opacity: 1;
  font-size: 1rem;
  margin-bottom: 1.8rem;
  max-width: 380px;
}
.hero .hero-text{ font-weight:500; }

/* =============== feature strip =============== */
.features{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2.5rem 3.5rem;
  text-align:center;
}
.feature-icon{
  display:inline-flex;
  width:44px; height:44px;
  color: var(--icon);
  margin-bottom: 0.4rem;
}
.feature-icon svg{ width:100%; height:100%; }
.feature h3{
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight:500;
  margin-top:0.5rem;
}
.feature p{
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  max-width: 220px;
  margin: 0 auto;
}

/* =============== story/about =============== */
.story{
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items:center;
}
.story-image{
  overflow:hidden;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(46,43,39,0.12);
}
.story-image img{
  width:100%; height:100%; object-fit:cover;
  display:block;
}
.story-copy h2,
.experience-intro h2,
.services h2,
.reviews h2{
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.story-copy h2:first-of-type{
  margin-bottom: 0.25rem;
}
.story-copy p{
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
}

.section-divider,
.section-divider-soft{
  position: relative;
  height: 70px;
  width: 100%;
  background: transparent;
}
.section-divider::before,
.section-divider-soft::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(247,241,232,0) 0%,
    rgba(247,241,232,0.15) 25%,
    rgba(247,241,232,0.38) 55%,
    rgba(240,232,218,0.75) 100%);
}

.story-list{
  list-style:none;
  margin: 1.5rem 0 2rem;
  display:grid;
  gap: 0.7rem;
}
.story-list li{
  position:relative;
  padding-left: 1.4rem;
  color: var(--charcoal);
  font-weight: 500;
}
.story-list li::before{
  content:"•";
  position:absolute;
  left:0;
  color: var(--rose-deep);
  font-size: 1.2rem;
}

/* =============== experience =============== */
.experience{
  position: relative;
  background: var(--cream-soft);
  padding: 5rem 2.5rem 6rem;
}
.experience::before,
.services::before,
.reviews::before,
.cta-band::before{
  content: "";
  position: absolute;
  left: 0; right: 0; top: -44px;
  height: 44px;
  background: linear-gradient(to bottom,
    rgba(247,241,232,0) 0%,
    rgba(247,241,232,0.25) 20%,
    rgba(247,241,232,0.7) 55%,
    rgba(247,241,232,1) 100%);
  pointer-events: none;
}
.experience-intro{
  max-width: 900px;
  margin: 0 auto 2.25rem;
  text-align:center;
}
.experience-grid{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.experience-card{
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(46,43,39,0.08);
  border-radius: 16px;
  padding: 0 0 1.5rem;
  text-align:left;
  overflow:hidden;
}
.experience-card img{
  width:100%;
  height: 325px;
  object-fit:cover;
  object-position: center 20%;
  display:block;
  margin-bottom: 1rem;
}
.boarding-card img{
  object-position: center 80%;
}
.experience-icon{
  display:inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(193,124,108,0.12);
  color: var(--rose-deep);
  align-items:center;
  justify-content:center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 1rem 0.5rem 1.25rem;
}
.experience-card h3{
  font-size: 1.15rem;
  margin: 0 1rem 0.5rem;
}
.experience-card p{
  color: var(--charcoal-soft);
  margin: 0 1.5rem;
}

/* =============== services =============== */
.services{
  position: relative;
  background: var(--cream-soft);
  padding: 5rem 2.5rem 6rem;
  text-align:center;
}
.services h2{
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
}
.services-sub{
  color: var(--charcoal-soft);
  font-size: 0.95rem;
  margin-bottom: 3.2rem;
}
.service-grid{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  text-align:left;
}
.service-card h3{
  font-size: 1.05rem;
  margin: 1.1rem 0 0.4rem;
}
.service-card .service-title{
  margin: 1.1rem 0 0.65rem;
  line-height: 1.2;
}
.service-card .service-name,
.service-card .service-tagline{
  display:block;
}
.service-card .service-name{
  font-size: 1.35rem;
  color: var(--charcoal);
}
.service-card .service-tagline{
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--rose-deep);
}
.service-card p{
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}
.service-image{
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow:hidden;
  background: var(--rose-pale);
}
.service-image img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.5s ease;
}
.transport-image img{
  object-position: center 10%;
}
.dropins-image img{
  object-position: center 30%;
}
.adventure-image img{
  object-position: center 70%;
}
.service-card:hover .service-image img{ transform: scale(1.04); }

/* Single explore button under the services grid */
.services .explore-all{ display:inline-block; margin-top:1.2rem; }

/* =============== documents page =============== */
.documents-hero{
  padding: 6rem 2.5rem 3rem;
  background: var(--cream-soft);
}
.documents-hero-inner,
.documents-main{
  max-width: 920px;
  margin: 0 auto;
}
.documents-hero h1{
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.documents-hero p:not(.eyebrow){
  max-width: 540px;
  color: var(--charcoal-soft);
}
.documents-main{ padding: 4rem 2.5rem 5rem; }
.document-item{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(46,43,39,0.1);
  border-radius: 6px;
}
.document-item h2{ font-size: 1.7rem; margin-bottom: 0.35rem; }
.document-item p:not(.footer-label){ color: var(--charcoal-soft); max-width: 520px; }
.document-download{ white-space: nowrap; }
.documents-help{ margin-top: 1.25rem; color: var(--charcoal-soft); font-size: 0.9rem; }
.documents-help a{ color: var(--rose-deep); }

/* =============== contact page =============== */
.contact-hero{
  position: relative;
  padding: 5.5rem 2.5rem 3rem;
  background: linear-gradient(180deg, rgba(247,241,232,0.9), rgba(240,232,218,0.96));
}
.contact-hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items:center;
}
.contact-hero-copy h1{
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
/* The services introduction needs a more compact display scale than contact. */
.services-page .contact-hero-copy h1{
  font-size: clamp(2.125rem, 3.4vw, 3.4rem);
}
.contact-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-map-card{
  position: relative;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(46,43,39,0.08);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 20px 45px rgba(46,43,39,0.08);
  min-height: 420px;
}
.map-frame{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}
.map-frame iframe{
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.15) sepia(0.2) saturate(0.8) contrast(1.05);
}
.contact-main{
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
}
.contact-panel{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(46,43,39,0.08);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(46,43,39,0.04);
}
.contact-copy h2,
.service-area h2{
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.contact-copy p{
  color: var(--charcoal-soft);
}
.contact-details{
  display:grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.detail-label{
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.35rem;
}
.booking-form{
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(46,43,39,0.08);
  padding: 1.5rem;
}
.form-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.single{ grid-template-columns: 1fr; }
.booking-form label{
  display:flex;
  flex-direction:column;
  gap:0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--charcoal-soft);
}
.booking-form input,
.booking-form textarea,
.booking-form select{
  width:100%;
  border: 1px solid rgba(46,43,39,0.12);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--charcoal);
}
.booking-form select{
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--rose-deep) 50%), linear-gradient(135deg, var(--rose-deep) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.booking-form textarea{ resize: vertical; min-height: 140px; }
.full-width{ width:100%; }

.service-area{
  background: var(--cream-soft);
  padding: 4rem 2.5rem 5rem;
}
.service-area-inner{
  max-width: 1200px;
  margin: 0 auto;
}
.location-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.location-card{
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(46,43,39,0.08);
  border-radius: 16px;
  padding: 1.5rem;
}
.location-card h3{
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.location-card p{
  color: var(--charcoal-soft);
}

/* =============== reviews =============== */
.reviews{
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  text-align:center;
}
.review-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.review-card{
  background: #fff;
  border: 1px solid rgba(46,43,39,0.08);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align:left;
  box-shadow: 0 10px 30px rgba(46,43,39,0.04);
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}
.review-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1.2rem;
}
.review-meta cite{
  font-style: normal;
  color: var(--charcoal);
  font-weight: 600;
}
.review-meta time{
  color: var(--charcoal-soft);
}
.review-meta span{
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  background: var(--cream-soft);
  color: var(--charcoal-soft);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.review-card p{ margin:0; }

/* =============== cta band =============== */
.cta-band{
  background: var(--cream-soft);
  color: var(--charcoal);
  text-align:center;
  padding: 4.5rem 2rem;
}
.cta-band h2{
  color:var(--charcoal);
  font-size: 2rem;
  margin-bottom: 1.6rem;
  line-height:1.25;
}
.cta-sub{
  margin-top: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* =============== footer =============== */
.site-footer{
  padding: 2.5rem 2rem 3rem;
  color: var(--charcoal-soft);
  background: #f6efe7;
}
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items:start;
  font-size: 0.86rem;
}
.footer-label{
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.5rem;
}
.site-footer .logo-name{
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.site-footer a{ color: var(--rose-deep); }
.copyright{
  max-width: 1200px;
  margin: 1.6rem auto 0;
  text-align:center;
  font-size: 0.75rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 980px){
  .main-nav, .header-btn{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav.open{ display:flex; }

  .hero{ min-height: 45vh; }
  .hero-media::after{ background: linear-gradient(100deg, rgba(247,241,231,0.7) 0%, rgba(247,241,231,0.62) 42%, rgba(247,241,231,0.24) 62%, rgba(247,241,231,0) 80%); }
  .hero-content{ margin: calc(2rem + 17px) 0 0; padding: 0 1.5rem; max-width: 340px; }
  .hero-content h1{ font-size: 1.95rem; }
  .hero-text{ font-size: 0.85rem; margin-top: calc(1.5rem + 15px); margin-bottom: 1.375rem; }
  .hero-content .btn{
    font-size: 0.74rem;
    padding: 0.75em 1.35em;
  }
  .hero-content h1,
  .hero-text{ text-shadow: 0 1px 2px rgba(247,241,231,0.55); }

  /* Keep the dogs in frame while showing more of the image on smaller screens. */
  .hero-media img{
    --hero-focus-x: 0%;
    --hero-focus-y: 55%;
    object-position: 0% 55%;
    transform: scale(1);
    transform-origin: var(--hero-focus-x) var(--hero-focus-y);
  }

  /* Center the logo in the mobile header now that only it + the toggle are visible */
  .header-inner{ position: relative; }
  .logo{ position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); }
  .nav-toggle{ margin-left: auto; }

  .story,
  .review-grid,
  .experience-grid,
  .footer-inner{ grid-template-columns: 1fr; }

  .story{ padding: 3.5rem 1.5rem; }
  .features{ grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; padding: 3rem 1.5rem; }
  .experience,
  .services,
  .reviews{ padding: 3.5rem 1.5rem 4rem; }
  .service-grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .documents-hero{ padding: 3.5rem 1.5rem 2.5rem; }
  .documents-main{ padding: 3rem 1.5rem 4rem; }
  .document-item{ grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; }
  .document-download{ justify-self: start; }

  .cta-band h2{ font-size: 1.6rem; }

  /* Contact form responsive improvements */
  .contact-panel{ grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .contact-hero{ padding: 3.5rem 1.5rem 2rem; }
  .contact-map-card, .map-frame, .map-frame iframe{ min-height: 260px; }
  .booking-form{ padding: 1rem; }
  .form-row{ grid-template-columns: 1fr; gap: 0.75rem; }
  .booking-form label{ font-size: 0.9rem; gap:0.6rem; }
  .booking-form input, .booking-form textarea, .booking-form select{ padding: 0.95rem 1rem; font-size: 0.98rem; border-radius: 10px; }
  .booking-form .btn{ display:block; width:100%; padding: 0.95rem 1rem; font-size: 1rem; }
  /* Ensure copy appears before map and form stacks under copy */
  .contact-hero-inner{ grid-template-columns: 1fr; grid-auto-flow: row; }
  .contact-hero-copy{ order: 1; }
  .contact-map-card{ order: 2; margin-top: 0.9rem; }
  .contact-panel{ grid-template-columns: 1fr; grid-auto-flow: row; }
  .contact-copy{ order: 1; }
  .booking-form{ order: 2; margin-top: 0.9rem; }
}

@media (min-width: 601px) and (max-width: 980px){
  .hero{ min-height: 65vh; }
  .hero-content{ max-width: 480px; }
  .hero-media img{
    --hero-focus-x: 8%;
    --hero-focus-y: 50%;
    object-position: var(--hero-focus-x) var(--hero-focus-y);
    transform: scale(1.12);
  }
}

@media (max-width: 600px){
  .hero{ min-height: 460px; }
  .hero-content{
    align-self: stretch;
    box-sizing: border-box;
    margin: 0;
    min-height: 100%;
    padding: calc(2rem + 32px) 1.5rem 0;
  }
  .hero-media img{
    --hero-focus-x: 10%;
    --hero-focus-y: 45%;
    object-position: 10% 45%;
  }
  .hero-text{ margin-top: -14px; }
  .hero-content .btn{
    position: absolute;
    left: 1.5rem;
    bottom: calc(3rem + 60px);
  }
}

@media (max-width: 980px) and (orientation: landscape){
  .hero{ min-height: 75vh; }
}

/* Broader stacking rules for tablets and narrow desktops */
@media (max-width: 1024px){
  .contact-hero-inner, .contact-panel {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    display: grid !important;
  }
  .contact-hero-copy, .contact-copy { order: 1; }
  .contact-map-card, .booking-form { order: 2; margin-top: 0.85rem; }
  .contact-map-card, .map-frame, .map-frame iframe { min-height: 260px !important; }
}

@media (max-width: 480px){
  .header-inner{ padding: 1rem 1.25rem; }
  .hero-content h1{ font-size: 1.7rem; }
  .features{ grid-template-columns: 1fr; }
  .review-card{ text-align:center; }
}

@media (min-width: 981px) and (max-width: 1180px){
  .footer-inner{ grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 981px){
  .footer-inner{ row-gap: 0; }
  .footer-inner > div:nth-child(1){ grid-column: 1; grid-row: 1; }
  .footer-inner > div:nth-child(2){ grid-column: 1; grid-row: 2; }
  .footer-inner > div:nth-child(3){ grid-column: 2; grid-row: 1; }
  .footer-inner > div:nth-child(4){ grid-column: 3; grid-row: 1; }
  .footer-inner > div:first-child > p,
  .footer-inner > div:nth-child(2) > p:not(.footer-label){ white-space: nowrap; }
}

/* Force-stack fixes for very narrow phones */
@media (max-width: 420px){
  .contact-hero-inner, .contact-panel {
    display: block !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
  }
  .contact-hero-copy, .contact-copy { display: block !important; width: 100% !important; }
  .contact-map-card, .booking-form {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-top: 0.85rem !important;
  }
  .map-frame, .map-frame iframe { min-height: 220px !important; }
}
