/* NAMESTORE CONTACT V6 — GRANDBRANDS INSPIRED */

/* Unified navy-and-gold header */
body header.top,
body .top{
  background:linear-gradient(180deg,#18324f,#071a2f)!important;
  border-top:4px double #d4af37!important;
  border-bottom:4px double #d4af37!important;
  color:#fff!important;
}
.top .nav{padding-top:10px!important;padding-bottom:10px!important}
.top .tag{color:#f4f0e5!important}
.top .menu a{color:#fff!important}
.top .menu .cta{
  color:#071a2f!important;
  background:linear-gradient(#ffe57b,#d6a51c)!important;
  border:2px solid #a77908!important;
  border-radius:7px!important;
  padding:12px 20px!important;
}

/* Centered GrandBrands-width page */
body > .pagehero,
body > .hero,
body > header.top,
body > footer.footer{
  width:calc(100% - 40px)!important;
  max-width:1220px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Shorter globe hero */
.pagehero,.hero{
  padding-top:24px!important;
  padding-bottom:28px!important;
  min-height:0!important;
}
.pagehero .wrap,.hero .wrap{
  max-width:100%!important;
  padding-left:30px!important;
  padding-right:30px!important;
  box-sizing:border-box!important;
}
.pagehero h1,.hero h1{
  font-size:clamp(36px,4vw,55px)!important;
  line-height:1.05!important;
  margin:8px 0 12px!important;
}
.pagehero p,.hero p{
  font-size:clamp(16px,1.6vw,20px)!important;
  line-height:1.4!important;
  margin:0!important;
  max-width:850px!important;
}

/* Compact contact area */
.contact-wrap,.contact-main,.contact-container{
  max-width:1220px!important;
  width:calc(100% - 40px)!important;
  margin:0 auto!important;
  padding-top:16px!important;
  padding-bottom:16px!important;
  box-sizing:border-box!important;
}
.contact-grid,.contact-columns{
  gap:18px!important;
  align-items:stretch!important;
}

/* Elegant white cards */
.contact-card,.contact-info,.contact-form,
.info-card,.form-card{
  background:linear-gradient(160deg,#fff,#fafbfc)!important;
  border:2px solid #c99d37!important;
  border-top:5px solid #d4af37!important;
  border-radius:10px!important;
  box-shadow:0 12px 28px rgba(7,26,47,.11)!important;
  padding:24px!important;
}

/* Form typography */
.contact-form h2,.form-card h2,
.contact-card h2,.info-card h2{
  font-family:Georgia,serif!important;
  color:#071a2f!important;
  line-height:1.12!important;
}
form label{
  color:#071a2f!important;
  font-weight:800!important;
}
form input:not([type="hidden"]):not([type="checkbox"]),
form select,form textarea{
  border:1px solid #c5cfda!important;
  border-radius:7px!important;
  background:#f9fbfd!important;
  box-shadow:none!important;
}
form input:focus,form select:focus,form textarea:focus{
  outline:2px solid rgba(212,175,55,.55)!important;
  border-color:#c99d37!important;
}
form textarea{min-height:110px!important}

/* Gold submit button */
form button[type="submit"],
form input[type="submit"]{
  background:linear-gradient(180deg,#e5b64c,#b77d1c)!important;
  color:#fff!important;
  border:1px solid #a77908!important;
  border-radius:7px!important;
  font-weight:900!important;
  box-shadow:0 5px 12px rgba(92,63,10,.18)!important;
}

/* Tighter overall spacing */
.contact-grid h2,.contact-columns h2{margin-top:0!important}
.contact-grid p,.contact-columns p{line-height:1.45!important}

@media(max-width:700px){
  body > .pagehero,body > .hero,
  body > header.top,body > footer.footer,
  .contact-wrap,.contact-main,.contact-container{
    width:calc(100% - 24px)!important;
  }
  .pagehero .wrap,.hero .wrap{
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

/* NAMESTORE CONTACT — FINAL COMPACT LAYOUT */
.contact-wrap,.contact-main,.contact-container{
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.contact-grid,.contact-columns{gap:16px!important}
.contact-card,.contact-info,.contact-form,
.info-card,.form-card{
  padding:20px 22px!important;
}
.contact-grid form,.contact-columns form{
  margin-top:0!important;
}
.contact-grid form label,
.contact-columns form label{
  margin-bottom:4px!important;
}
.contact-grid form input,
.contact-grid form select,
.contact-columns form input,
.contact-columns form select{
  min-height:42px!important;
}
.contact-grid form textarea,
.contact-columns form textarea{
  min-height:105px!important;
}
.contact-grid form p,
.contact-columns form p{
  margin-top:8px!important;
  margin-bottom:8px!important;
}

/* Premium feature panel */
.ns-contact-feature{
  margin-top:18px;
  padding:19px;
  background:linear-gradient(145deg,#142c45,#071729);
  color:#fff;
  border:3px double #d4af37;
  border-radius:6px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.ns-feature-eyebrow{
  font-size:10px;
  letter-spacing:1.7px;
  font-weight:900;
  color:#e2b650;
  margin-bottom:9px;
}
.ns-contact-feature h3{
  color:#fff!important;
  font-family:Georgia,serif;
  font-size:clamp(22px,2vw,29px);
  line-height:1.08;
  margin:0 0 14px;
}
.ns-feature-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:12px;
}
.ns-feature-stats div{
  text-align:center;
  padding:11px 6px;
  border:1px solid rgba(212,175,55,.65);
  border-radius:4px;
  background:rgba(255,255,255,.06);
}
.ns-feature-stats strong{
  display:block;
  color:#e2b650;
  font:700 24px Georgia,serif;
}
.ns-feature-stats span{
  display:block;
  font-size:10px;
  color:#fff;
  font-weight:700;
}
.ns-contact-feature p{
  color:#fff!important;
  font-size:12px!important;
  line-height:1.45!important;
  margin:0 0 14px!important;
}
.ns-feature-button{
  display:block;
  text-align:center;
  padding:12px 10px;
  background:linear-gradient(110deg,#e3b34a,#b77d1c);
  color:#fff!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:900;
  border-radius:5px;
}

/* NAMESTORE CONTACT — FINAL SPACING CORRECTION */

/* Stop columns from stretching vertically */
.contact-grid,
.contact-columns{
  align-items:start!important;
  gap:12px!important;
}

/* Remove excessive outer spacing */
.contact-wrap,
.contact-main,
.contact-container{
  padding-top:8px!important;
  padding-bottom:8px!important;
}

/* Compact cards */
.contact-card,
.contact-info,
.contact-form,
.info-card,
.form-card{
  height:auto!important;
  min-height:0!important;
  padding:16px 20px!important;
}

/* Tighten headings and field spacing */
.contact-card h2,
.contact-form h2,
.info-card h2,
.form-card h2{
  margin-top:0!important;
  margin-bottom:12px!important;
}

form label{
  margin-bottom:3px!important;
}

form input:not([type="hidden"]),
form select{
  min-height:40px!important;
}

form textarea{
  min-height:90px!important;
}

/* Compact NameStore feature panel */
.ns-contact-feature{
  margin-top:12px!important;
  padding:14px 16px!important;
}

.ns-contact-feature h3{
  font-size:24px!important;
  margin-bottom:10px!important;
}

.ns-feature-stats{
  margin-bottom:9px!important;
}

.ns-feature-stats div{
  padding:8px 5px!important;
}

.ns-contact-feature p{
  margin-bottom:10px!important;
}

.ns-feature-button{
  padding:10px!important;
}

/* Prevent artificial form/card height */
.contact-grid > *,
.contact-columns > *{
  min-height:0!important;
  align-self:start!important;
}

/* =================================================
   GRANDBRANDS STANDARD — EQUAL CONTACT CARDS V1
   Combined width: 1220px
   Equal height, aligned borders
   ================================================= */

/* Match header and footer outer edges */
.contact-wrap,
.contact-main,
.contact-container{
  width:calc(100% - 40px)!important;
  max-width:1220px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:12px 0!important;
  box-sizing:border-box!important;
}

/* Two cards fill the complete frame */
.contact-grid,
.contact-columns{
  display:grid!important;
  grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
}

/* Identical top and bottom edges */
.contact-grid > *,
.contact-columns > *{
  height:100%!important;
  min-height:0!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
}

/* Consistent card frames */
.contact-card,
.contact-info,
.contact-form,
.info-card,
.form-card{
  height:100%!important;
  box-sizing:border-box!important;
  padding:18px 20px!important;
  border:2px solid #cba33b!important;
  border-top:5px solid #d4af37!important;
  border-radius:9px!important;
}

/* No unnecessary interior whitespace */
.ns-contact-feature{
  margin-top:12px!important;
}

/* Mobile: stack cards naturally */
@media(max-width:800px){
  .contact-grid,
  .contact-columns{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .contact-grid > *,
  .contact-columns > *{
    height:auto!important;
  }
}

/* NAMESTORE CONTACT — WIDTH REPAIR V2 */

/* Constrain the actual two-card grid */
body .contact-grid,
body .contact-columns{
  width:calc(100% - 40px)!important;
  max-width:1220px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;
  gap:16px!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
}

/* Both cards end at the same height */
body .contact-grid > *,
body .contact-columns > *{
  min-width:0!important;
  height:100%!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
}

/* Keep card contents inside their borders */
body .contact-grid > * *,
body .contact-columns > * *{
  max-width:100%;
  box-sizing:border-box;
}

/* Mobile */
@media(max-width:800px){
  body .contact-grid,
  body .contact-columns{
    width:calc(100% - 24px)!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  body .contact-grid > *,
  body .contact-columns > *{
    height:auto!important;
  }
}
