/* ====== Mamipring Group — Option A Brand System ====== */
:root{
  --navy: #0B1C2D;       /* Midnight Navy */
  --gold: #C9A24D;       /* Empire Gold */
  --ivory: #F5F6F2;      /* Soft Ivory */
  --gray: #8A8F98;       /* Stone Gray */

  --text: rgba(245,246,242,.92);
  --text-soft: rgba(245,246,242,.74);
  --line: rgba(201,162,77,.22);
  --card: rgba(245,246,242,.04);

  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 22px;

  --h1: clamp(34px, 4vw, 54px);
  --h2: clamp(22px, 2.2vw, 30px);
  --h3: 18px;
  --p: 16px;

  --section-pad: clamp(64px, 8vw, 112px);
  --container: 1180px;
}

/* ====== Base ====== */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body.mpg{
  margin:0;
  background:
    radial-gradient(1200px 700px at 50% 20%, rgba(201,162,77,.12), transparent 60%),
    radial-gradient(900px 600px at 20% 80%, rgba(245,246,242,.06), transparent 55%),
    var(--navy);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a{ color: var(--ivory); text-decoration:none; }
a:hover{ opacity:.95; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.site-main{ min-height: 60vh; }

/* ====== Header ====== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,28,45,.72);
  border-bottom: 1px solid rgba(201,162,77,.12);
  backdrop-filter: blur(10px);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand__logo{
  width: clamp(170px, 18vw, 240px);
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.25));
}

/* Desktop nav */
.nav{ display:block; }
.nav__list{
  list-style:none; margin:0; padding:0;
  display:flex; gap: 18px;
  align-items:center;
}
.nav__list a{
  color: rgba(245,246,242,.86);
  font-size: 14px;
  letter-spacing: .2px;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav__list a:hover{
  background: rgba(201,162,77,.10);
  color: var(--ivory);
}

/* Mobile toggle */
.nav__toggle{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,77,.22);
  background: rgba(245,246,242,.04);
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  width: 18px; height: 2px;
  background: rgba(245,246,242,.82);
  margin: 6px auto;
}

/* Drawer */
.nav-drawer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 60;
}
.nav-drawer.is-open{
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer__inner{
  position: absolute;
  right: 0;
  top: 0;
  width: min(380px, 92vw);
  height: 100%;
  background: rgba(11,28,45,.96);
  border-left: 1px solid rgba(201,162,77,.16);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.nav-drawer__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.nav-drawer__title{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: .3px;
}
.nav-drawer__close{
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,77,.22);
  background: rgba(245,246,242,.04);
  color: var(--ivory);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}
.nav-drawer__nav .nav__list{
  flex-direction: column;
  align-items:flex-start;
  gap: 8px;
}
.nav-drawer__nav .nav__list a{
  width: 100%;
  padding: 10px 12px;
}
.nav-drawer__footer{
  margin-top: auto;
  color: rgba(245,246,242,.55);
  font-size: 12px;
  border-top: 1px solid rgba(201,162,77,.12);
  padding-top: 12px;
}

/* ====== Sections & Cards ====== */
.section{
  padding: var(--section-pad) 0;
}
.section--tight{ padding: clamp(46px, 6vw, 78px) 0; }
.section__label{
  color: rgba(201,162,77,.85);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__title{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: var(--h2);
  margin: 0 0 12px;
}
.section__divider{
  width: 84px;
  height: 1px;
  background: rgba(201,162,77,.55);
  margin: 14px 0 22px;
}
.prose{
  max-width: 860px;
}
.prose h1{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: var(--h1);
  margin: 0 0 14px;
  letter-spacing: .2px;
}
.prose p{
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: var(--p);
  line-height: 1.7;
}
.prose ul{
  margin: 10px 0 0 18px;
  color: var(--text-soft);
  line-height: 1.7;
}
.grid{
  display:grid;
  gap: 16px;
}
.grid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

.card{
  border: 1px solid rgba(201,162,77,.16);
  background: linear-gradient(180deg, rgba(245,246,242,.05), rgba(11,28,45,.22));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card__title{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ivory);
  font-size: 16px;
}
.card__text{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 14.5px;
}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-family: Montserrat, Inter, sans-serif;
  border: 1px solid rgba(201,162,77,.45);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn--primary{
  background: linear-gradient(180deg, rgba(201,162,77,.26), rgba(201,162,77,.12));
  color: var(--ivory);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn--primary:hover{
  transform: translateY(-1px);
  border-color: rgba(201,162,77,.75);
  background: linear-gradient(180deg, rgba(201,162,77,.34), rgba(201,162,77,.14));
}
.btn--ghost{
  border-color: rgba(245,246,242,.18);
  background: rgba(245,246,242,.03);
  color: rgba(245,246,242,.86);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  background: rgba(245,246,242,.05);
}

.actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ====== Hero ====== */
.hero{
  padding: clamp(74px, 9vw, 130px) 0 clamp(40px, 6vw, 84px);
}
.hero__wrap{
  border: 1px solid rgba(201,162,77,.18);
  background: linear-gradient(180deg, rgba(245,246,242,.04), rgba(11,28,45,.18));
  border-radius: 26px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero__halo{
  position:absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 25%, rgba(201,162,77,.10), transparent 55%);
  pointer-events:none;
}
.hero__motto{
  color: rgba(201,162,77,.85);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ====== Footer ====== */
.site-footer{
  border-top: 1px solid rgba(201,162,77,.12);
  background: rgba(11,28,45,.82);
  backdrop-filter: blur(10px);
  padding: 46px 0 18px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.footer__logo{ width: 210px; opacity: .96; }
.footer__motto{
  margin-top: 10px;
  color: rgba(245,246,242,.82);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
}
.footer__note{
  margin-top: 8px;
  color: rgba(245,246,242,.55);
  font-size: 12px;
}
.footer__title{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: rgba(245,246,242,.82);
  margin-bottom: 10px;
}
.footer__links{
  list-style:none; margin:0; padding:0;
  display:grid; gap: 8px;
}
.footer__links a{
  color: rgba(245,246,242,.72);
  font-size: 13px;
}
.footer__links a:hover{ color: var(--ivory); }
.footer__bottom{
  margin-top: 24px;
  text-align:center;
  color: rgba(245,246,242,.55);
  font-size: 12px;
}

/* ====== Contact form ====== */
.form{
  max-width: 820px;
}
.field{
  display:grid;
  gap: 8px;
  margin-bottom: 14px;
}
label{
  font-size: 13px;
  color: rgba(245,246,242,.78);
}
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(201,162,77,.18);
  background: rgba(245,246,242,.03);
  color: var(--ivory);
  outline: none;
}
textarea{ min-height: 140px; resize: vertical; }
small.help{
  display:block;
  color: rgba(245,246,242,.55);
  line-height: 1.5;
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .grid--4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .nav{ display:none; }
  .nav__toggle{ display:block; }
}
@media (max-width: 520px){
  .grid--2{ grid-template-columns: 1fr; }
  .hero__wrap{ border-radius: 18px; }
}

/* ======================================================
   Custom Select Dropdown — Cross-Browser Safe
   (Fixes unreadable native <select> issue)
====================================================== */

.mpg-select{
  position: relative;
  width: 100%;
}

.mpg-select__btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(201,162,77,.22);
  background: rgba(245,246,242,.03);
  color: rgba(245,246,242,.92);
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.mpg-select__btn:hover{
  border-color: rgba(201,162,77,.45);
}

.mpg-select__btn:focus{
  border-color: rgba(201,162,77,.65);
  box-shadow: 0 0 0 4px rgba(201,162,77,.12);
}

.mpg-select__value{
  font-size: 14.5px;
}

.mpg-select__chev{
  font-size: 14px;
  color: rgba(245,246,242,.75);
}

/* Dropdown panel */
.mpg-select__list{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;

  margin: 0;
  padding: 8px;
  list-style: none;

  border-radius: 16px;
  border: 1px solid rgba(201,162,77,.18);
  background: rgba(11,28,45,.98);
  box-shadow: var(--shadow);

  max-height: 260px;
  overflow-y: auto;

  display: none;
}

.mpg-select.is-open .mpg-select__list{
  display: block;
}

/* Option */
.mpg-select__opt{
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;

  font-size: 14px;
  color: rgba(245,246,242,.86);
}

.mpg-select__opt:hover{
  background: rgba(201,162,77,.12);
  color: var(--ivory);
}

.mpg-select__opt.is-selected{
  background: rgba(201,162,77,.18);
  border: 1px solid rgba(201,162,77,.22);
}
