/* ===========================
   File: css/contact.css
   Theme-safe add-on styles (inherits theme from style.css)
   Load AFTER css/style.css
   =========================== */

:root{
  --c-primary: var(--primary, #70bf44);
  --c-secondary: var(--secondary, #001064);
  --c-light: var(--light, #F6F7F8);
  --c-dark: var(--dark, #010A35);

  --c-border: rgba(0,0,0,.10);
  --c-shadow: 0 18px 45px rgba(0,0,0,.06);
  --c-shadow-lg: 0 26px 60px rgba(0,0,0,.12);

  --c-radius: 18px;
  --c-radius-sm: 14px;
}

/* ---------------------------
   Page Hero (same system as services)
--------------------------- */
.page-hero{
  position: relative;
  isolation: isolate;
  background: var(--page-hero) center/cover no-repeat;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.page-hero--compact{ min-height: 44vh; }

.page-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1,10,53,.88) 0%,
    rgba(0,16,100,.62) 50%,
    rgba(1,10,53,.18) 100%
  );
  z-index: 0;
}
.page-hero__grain{
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .18;
  mix-blend-mode: overlay;
  z-index: 0;
}
.page-hero__wrap{ position: relative; z-index: 1; max-width: 880px; }

.page-hero__kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: .78rem;
  opacity: .95;
}
.page-hero__kicker::before{
  content:"";
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: rgba(112,191,68,.95);
}
.page-hero__title{
  margin: 14px 0 10px;
  font-weight: 900;
  line-height: 1.06;
  font-size: clamp(2.0rem, 4vw, 3.2rem);
}
.page-hero__lead{
  margin: 0 0 16px;
  opacity: .90;
  line-height: 1.75;
  font-size: 1.05rem;
}
.page-hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.hero-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}
.hero-chip i{ color: var(--c-primary); }

.page-hero__crumbs{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  opacity: .95;
}
.page-hero__crumbs a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
.page-hero__crumbs a:hover{ text-decoration: underline; }
.page-hero__crumbs .dot{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.70);
  display: inline-block;
}

/* ---------------------------
   Section kicker for this page
--------------------------- */
.section-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: .78rem;
  opacity: .85;
  color: rgba(0,0,0,.72);
}
.section-kicker::before{
  content:"";
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: rgba(112,191,68,.85);
}
.section-title{
  font-weight: 900;
  line-height: 1.12;
  margin: 12px 0 8px;
  color: rgba(0,0,0,.88);
}
.section-subtitle{
  opacity: .84;
  line-height: 1.75;
  color: rgba(0,0,0,.62);
}

/* ---------------------------
   Highlight cards
--------------------------- */
.c-card{
  border-radius: var(--c-radius);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow);
  padding: 18px;
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.c-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--c-shadow-lg);
  border-color: rgba(0,0,0,.16);
}

.c-ic{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(112,191,68,.12);
  margin-bottom: 12px;
}
.c-ic i{ color: var(--c-secondary); opacity: .95; }

.c-title{
  font-weight: 900;
  margin-bottom: 6px;
  color: rgba(0,0,0,.86);
}
.c-text{
  font-weight: 700;
  color: rgba(0,0,0,.74);
}
.c-link{
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  color: rgba(0,0,0,.82);
}
.c-link:hover{ text-decoration: underline; }

.c-sub{
  margin-top: 8px;
  opacity: .78;
  color: rgba(0,0,0,.62);
  line-height: 1.55;
}

.c-social{
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.c-social-btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0,16,100,.06);
  border: 1px solid rgba(0,16,100,.10);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.c-social-btn i{ color: var(--c-secondary); }
.c-social-btn:hover{
  transform: translateY(-2px);
  background: rgba(112,191,68,.14);
  border-color: rgba(112,191,68,.22);
}

/* ---------------------------
   Contact main panels
--------------------------- */
.contact-panel,
.map-panel{
  border-radius: var(--c-radius);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--c-shadow);
  overflow: hidden;
}

.contact-panel__head{
  padding: 22px 22px 14px;
  background: linear-gradient(180deg, rgba(0,16,100,.05), rgba(0,0,0,0));
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.contact-form{
  padding: 18px 22px 22px;
}

.form-note{
  display: inline-block;
  opacity: .75;
  color: rgba(0,0,0,.60);
  line-height: 1.6;
}

/* Make form controls match premium feel without overriding theme */
.contact-form .form-control,
.contact-form .form-select{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus{
  border-color: rgba(112,191,68,.45);
  box-shadow: 0 0 0 .2rem rgba(112,191,68,.18);
}

/* ---------------------------
   Map panel
--------------------------- */
.map-panel__head{
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, rgba(112,191,68,.08), rgba(0,0,0,0));
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.map-title{
  font-weight: 900;
  color: rgba(0,0,0,.86);
}
.map-sub{
  margin-top: 4px;
  font-size: .92rem;
  opacity: .78;
  color: rgba(0,0,0,.62);
}

.map-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.map-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-notes{
  padding: 16px 18px 8px;
  display: grid;
  gap: 10px;
}
.note-item{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: var(--c-radius-sm);
  background: rgba(0,16,100,.04);
  border: 1px solid rgba(0,16,100,.10);
  color: rgba(0,0,0,.72);
  font-weight: 700;
}
.note-item i{
  margin-top: 3px;
  color: var(--c-primary);
}

/* ---------------------------
   Scroll offset for sticky navbar
--------------------------- */
:where(section[id], div[id], header[id]){
  scroll-margin-top: 120px;
}

/* ---------------------------
   Responsive
--------------------------- */
@media (max-width: 991.98px){
  .page-hero,
  .page-hero--compact{ min-height: 42vh; }
  .page-hero__lead{ font-size: 1rem; }
}
@media (max-width: 575.98px){
  .hero-chip{ font-size: .88rem; padding: 9px 10px; }
}
