/* =========================================================
   MARGINAL — CONTACT PAGE
   File: assets/css/style-contact.css
   ========================================================= */

.page-banner{
  width:100%;
  height:320px;
  min-height:320px;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:center/cover no-repeat;
}

.page-banner-contact{
  background-image:url("../images/banners/contact.jpg");
  background-position:center 50%;
}

.page-banner::before{
  position:absolute;
  inset:0;
  content:"";
  background:linear-gradient(
    90deg,
    rgba(6,36,52,.54) 0%,
    rgba(6,36,52,.28) 38%,
    rgba(6,36,52,.07) 64%,
    rgba(6,36,52,0) 100%
  );
}

.page-banner-inner{
  position:relative;
  z-index:1;
  padding:34px 0 30px;
}

.page-banner h1{
  max-width:820px;
  margin:0;
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-size:clamp(3rem,5.2vw,5rem);
  font-weight:800;
  line-height:.88;
  letter-spacing:-.025em;
  text-transform:uppercase;
  text-shadow:0 3px 18px rgba(4,25,38,.28);
}

.page-title-line,
.page-title-accent{
  display:block;
}

.page-title-line{color:#fff}

.page-title-accent{
  margin-top:6px;
  color:#44bdf7;
}

.page-banner-rule{
  display:block;
  width:76px;
  height:3px;
  margin-top:18px;
  background:#44bdf7;
}

.page-banner-text{
  max-width:650px;
  margin:18px 0 0;
  color:rgba(255,255,255,.96);
  font-size:1rem;
  line-height:1.55;
  text-shadow:0 2px 12px rgba(4,25,38,.28);
}

.contact-page{
  padding-top:82px;
}

.contact-head{
  align-items:flex-end;
}

.contact-layout{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:28px;
  align-items:start;
  margin-top:42px;
}

.contact-card,
.form-card{
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow);
}

.contact-card{
  padding:32px;
}

.contact-card h3,
.form-card h3{
  font-size:2.7rem;
}

.contact-card > p{
  margin-top:8px;
  color:var(--muted);
}

.contact-list{
  display:grid;
  gap:0;
  margin-top:26px;
}

.contact-item{
  padding:17px 0;
  border-bottom:1px solid var(--line);
}

.contact-item:last-child{
  border-bottom:0;
}

.contact-item span{
  display:block;
  margin-bottom:6px;
  color:var(--ocean);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.contact-item a,
.contact-item strong{
  color:var(--navy);
  font-size:.96rem;
  font-weight:800;
}

.contact-note{
  margin-top:24px;
  padding:18px;
  border-left:4px solid var(--sun);
  border-radius:8px 14px 14px 8px;
  color:#526371;
  background:#fff8e8;
  font-size:.88rem;
  line-height:1.55;
}

.form-card{
  padding:32px;
}

.form-card-head p{
  margin-top:9px;
  color:var(--muted);
}

.form-frame-wrap{
  margin-top:24px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f7fbfd;
}

.form-frame{
  width:100%;
  min-height:720px;
  display:block;
  border:0;
  background:#fff;
}

.form-fallback{
  min-height:720px;
  display:grid;
  place-items:center;
  padding:30px;
  color:var(--muted);
  text-align:center;
}

.form-fallback strong{
  display:block;
  color:var(--navy);
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-size:2rem;
  text-transform:uppercase;
}

.form-fallback p{
  margin-top:8px;
}

.form-fallback code{
  display:inline-block;
  margin-top:12px;
  padding:7px 10px;
  border-radius:8px;
  color:var(--navy);
  background:#eefaff;
}

.quick-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}

.quick-link{
  min-height:210px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 28px rgba(23,63,87,.06);
}

.quick-link > span{
  display:block;
  margin-bottom:18px;
  color:var(--ocean);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.quick-link strong{
  display:block;
  color:var(--navy);
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-size:1.75rem;
  line-height:1;
}

.quick-link p{
  margin:12px 0 0;
  color:var(--muted);
  font-size:.88rem;
}

.quick-link a{
  display:inline-block;
  margin-top:20px;
  color:var(--ocean);
  font-weight:800;
}

.contact-hours{
  margin-top:28px;
  padding:22px 26px;
  border-left:5px solid var(--ocean);
  border-radius:14px;
  background:#eefaff;
  color:#526371;
}

.contact-hours strong{
  color:var(--navy);
}

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

  .quick-links{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:700px){
  .page-banner{
    height:300px;
    min-height:300px;
    background-position:62% center;
  }

  .page-banner::before{
    background:rgba(7,37,54,.60);
  }

  .page-banner-inner{
    padding:28px 0;
  }

  .page-banner h1{
    font-size:clamp(2.7rem,12vw,4.2rem);
  }

  .page-banner-text{
    max-width:100%;
    font-size:.9rem;
  }

  .contact-card,
  .form-card{
    padding:24px;
  }

  .quick-links{
    grid-template-columns:1fr;
  }

  .form-frame,
  .form-fallback{
    min-height:650px;
  }
}
