/* ══════════════════════════════════════════
   CONTACT PAGE — contact.css  v3 (redesigned)
   Companion to template-contact.php
══════════════════════════════════════════ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #f0f4fa;
  color: #1a2a44;
  -webkit-font-smoothing: antialiased;
}

/* ─── TOP BAR ─── */
.site-topbar { display: none !important; }

/* ─── HEADER ─── */
.site-header {
  background: #fff;
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 1px 0 #e5eaf3, 0 2px 12px rgba(5,42,101,.06);
}
.site-header .wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem,4vw,2.5rem); }
.hdr-row { height: 68px; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.brand-logo {
  display: block;
  width: clamp(170px, 17vw, 260px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}
.brand-mark {
  width: 54px; height: 42px; border-radius: 10px; background: #052A65;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: #DD5426; letter-spacing: .04em; flex-shrink: 0;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-size: .96rem; font-weight: 700; color: #052A65; letter-spacing: .2px; }
.brand-name span { font-size: .58rem; color: #6b7fa3; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; }
.hdr-tools { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.tool {
  display: flex; align-items: center; gap: .3rem;
  color: #1a2a44; font-size: .82rem; cursor: pointer;
  background: none; border: 1.5px solid #e0e8f5;
  border-radius: 50px; padding: .38rem .75rem; text-decoration: none;
  transition: border-color .18s;
}
.tool:hover { border-color: #052A65; }
.tool--cta {
  display: inline-flex; align-items: center; gap: .42rem;
  background: #dd5426; color: #fff !important;
  padding: .48rem 1.1rem; border-radius: 50px;
  font-weight: 600; font-size: .84rem; border: none; text-decoration: none;
  box-shadow: 0 2px 12px rgba(221,84,38,.3);
  transition: background .18s, box-shadow .18s;
}
.tool--cta:hover { background: #c4461e; box-shadow: 0 4px 18px rgba(221,84,38,.4); }
.menubtn {
  display: none; background: none; border: 1.5px solid #e0e8f5;
  border-radius: 8px; cursor: pointer; padding: 7px; color: #1a2a44;
}
@media (max-width: 860px) { .menubtn { display: flex; }
.tool--cta{
  padding: .48rem .1rem;
}
 }

/* Nav */
.nav { border-top: 1px solid #e5eaf3; }
.nav-inner {
  display: flex; align-items: center; justify-content: center;
  gap: .25rem; padding: .22rem 0;
}
.nav-inner > a {
  color: #3a4e70; text-decoration: none; font-size: .875rem; font-weight: 500;
  padding: .52rem .9rem; border-radius: 99px;
  transition: color .17s, background .17s; white-space: nowrap;
}
.nav-inner > a:hover,
.nav-inner > a.active { color: #052A65; background: #f4efe6 !important; }
.nav-item { position: relative; }
.nav-item__link {
  display: flex; align-items: center; gap: .22rem;
  color: #3a4e70; text-decoration: none; font-size: .875rem; font-weight: 500;
  padding: .52rem .9rem; border-radius: 6px;
  transition: color .17s, background .17s; white-space: nowrap; cursor: pointer;
}
.nav-item__link:hover { color: #052A65; background: #f4efe6; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 36px rgba(5,42,101,.14);
  min-width: 230px; padding: .45rem 0;
  /* border-top: 3px solid #dd5426; */
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 400;
}
.nav-item.has-submenu:hover .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub-menu__item {
  display: block; padding: .58rem 1.2rem; font-size: .83rem;
  color: #1a2a44; text-decoration: none; transition: background .14s, color .14s;
}
.sub-menu__item:hover { background: #f4f7fc; color: #052A65; }
@media (max-width: 860px) { .nav { display: none; } }

/* ════════════════════════════════════════
   HERO — full redesign
════════════════════════════════════════ */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #031a42 0%, #052A65 50%, #0a3d8f 100%);
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  text-align: left;
}

/* animated grid overlay */
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}

/* glow blobs */
.contact-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(221,84,38,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(200,146,42,.15) 0%, transparent 60%);
}

.contact-hero__inner {
  position: relative; z-index: 2;
  max-width: 680px;
}

/* breadcrumb inside hero */
.breadcrumb {
  background: transparent;
  padding: 0 0 1.6rem;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s; }
.breadcrumb a:hover { color: #dd5426; }
.breadcrumb span { margin: 0 .45rem; opacity: .3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(221,84,38,.15);
  border: 1px solid rgba(221,84,38,.35);
  color: #ff8c5a;
  font-size: .67rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: .32rem .9rem; border-radius: 50px;
  margin-bottom: 1.4rem;
  animation: fadeUp .6s ease both;
}

.contact-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1rem;
  font-weight: 700;
  animation: fadeUp .65s .1s ease both;
}
.contact-hero h1 em {
  font-style: italic;
  color: #dd5426;
  position: relative;
}

.contact-hero p {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,.6);
  line-height: 1.78;
  font-weight: 300;
  max-width: 480px;
  animation: fadeUp .7s .2s ease both;
}

/* hero decorative number */
.contact-hero__deco {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 700; font-style: italic;
  color: rgba(255,255,255,.03);
  line-height: 1; pointer-events: none; user-select: none;
  z-index: 1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   PAGE BODY
════════════════════════════════════════ */
.contact-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   FORM CARD
════════════════════════════════════════ */
.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(5,42,101,.1), 0 1px 3px rgba(5,42,101,.06);
  overflow: hidden;
  animation: fadeUp .5s .25s ease both;
}

.contact-card__head {
  background: linear-gradient(135deg, #052A65 0%, #0d4aa8 100%);
  padding: 1.8rem 2.2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #dd5426;
}
.contact-card__head::after {
  content: '✉';
  position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  font-size: 5rem; opacity: .06; line-height: 1;
}
.contact-card__head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: #fff; margin-bottom: .3rem;
}
.contact-card__head p { font-size: .8rem; color: rgba(255,255,255,.55); font-weight: 300; }

.contact-card__body { padding: 2rem 2.2rem 2.2rem; }
@media (max-width: 500px) { .contact-card__body { padding: 1.4rem 1.2rem; } }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.2rem; }

label {
  display: block; font-size: .74rem; font-weight: 600;
  color: #052A65; margin-bottom: .4rem; letter-spacing: .3px;
}
label span { color: #dd5426; margin-left: 2px; }

input, select, textarea {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: .875rem;
  padding: .72rem 1rem; border: 1.5px solid #dde5f2; border-radius: 10px;
  background: #f7f9fd; color: #1a2a44; outline: none;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: #b0bdd6; }
input:focus, select:focus, textarea:focus {
  border-color: #052A65;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(5,42,101,.07);
}
textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

.submit-btn {
  width: 100%; padding: .92rem 1.5rem;
  background: linear-gradient(135deg, #dd5426 0%, #e8612d 100%);
  color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 700;
  letter-spacing: .4px; border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 6px 24px rgba(221,84,38,.35);
  transition: transform .2s, box-shadow .2s;
  margin-top: .4rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(221,84,38,.45); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.success-msg {
  display: none; background: #edf7ee; border: 1.5px solid #a5d6a7; border-radius: 10px;
  padding: 1.1rem 1.4rem; color: #2e7d32; font-size: .875rem; margin-bottom: 1.3rem;
  font-weight: 500; line-height: 1.6;
}
.success-msg.show { display: block; }

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.contact-sidebar {
  display: flex; flex-direction: column; gap: 1.4rem;
  animation: fadeUp .5s .35s ease both;
}

.sidebar-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(5,42,101,.09);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.sidebar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 42px rgba(5,42,101,.14);
}

/* Card header strip */
.sidebar-card__head {
  display: flex; align-items: center; gap: .7rem;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, #052A65 0%, #0d4aa8 100%);
}
.sidebar-card__icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center; font-size: 1rem; flex-shrink: 0;
}
.sidebar-card__head h3 {
  font-size: .9rem; font-weight: 600; color: #fff; letter-spacing: .2px;
}

.sidebar-card__body { padding: 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; }

/* Contact rows inside sidebar */
.sidebar-contact-row {
  display: flex; align-items: center; gap: .9rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid #edf0f8;
}
.sidebar-contact-row:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-contact-row__badge {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
}
.sidebar-contact-row__badge--wa  { background: #e8faf0; }
.sidebar-contact-row__badge--em  { background: #fff3e0; }

.sidebar-contact-row__info { flex: 1; min-width: 0; }
.sidebar-contact-row__label {
  font-size: .68rem; color: #8a9bb8; font-weight: 500;
  display: block; margin-bottom: 2px; letter-spacing: .5px; text-transform: uppercase;
}
.sidebar-contact-row__link {
  display: block; font-size: .9rem; font-weight: 600;
  color: #1a2a44; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .18s;
}
.sidebar-contact-row__link:hover { color: #dd5426; }
.sidebar-contact-row__sub { font-size: .72rem; color: #a0b0cc; font-weight: 300; display: block; margin-top: 1px; }

/* Hours card */
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .48rem 0; font-size: .82rem;
  border-bottom: 1px solid #f0f3f9;
}
.hours-row:last-of-type { border-bottom: none; }
.hours-row .day { color: #7a8daa; }
.hours-row .time { font-weight: 600; color: #052A65; }

.open-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #e8f5e9; color: #2e7d32; font-size: .67rem; font-weight: 700;
  padding: .2rem .58rem; border-radius: 50px; margin-top: .85rem; letter-spacing: .4px;
}
.open-badge::before {
  content: ''; width: 6px; height: 6px; background: #4caf50;
  border-radius: 50%; animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.35); }
}

/* ════════════════════════════════════════
   CTA STRIP
════════════════════════════════════════ */
.cta-strip {
  background: linear-gradient(90deg, #052A65 0%, #0a3d8f 100%);
  padding: clamp(2.5rem,5vw,4rem) clamp(1.25rem,5vw,3rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-strip h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem,3vw,2rem); color: #fff; margin-bottom: .5rem;
  position: relative;
}
.cta-strip h2 em { font-style: italic; color: #fd7e14; }
.cta-strip p {
  color: rgba(255,255,255,.58); font-size: .9rem; font-weight: 300;
  max-width: 480px; margin: 0 auto 1.6rem; line-height: 1.75;
  position: relative;
}
.strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-green {
  display: inline-flex; align-items: center; gap: .45rem; background: #25D366;
  color: #fff; font-weight: 600; font-size: .875rem; padding: .72rem 1.5rem;
  border-radius: 9px; text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  transition: opacity .18s, transform .18s;
}
.btn-green:hover { opacity: .92; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem; background: transparent;
  color: #fff; font-weight: 600; font-size: .875rem; padding: .72rem 1.5rem;
  border-radius: 9px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: border-color .18s, background .18s;
}
.btn-ghost:hover { border-color: #dd5426; background: rgba(200,146,42,.1); }

/* ─── WhatsApp FAB ─── */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: #25D366; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  text-decoration: none; z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,.55); }
.wa-fab svg { width: 26px; height: 26px; fill: #fff; }

/* ─── MOBILE ─── */
@media (max-width: 600px) {
  .contact-hero { padding: 3.5rem 1.25rem; }
  .contact-hero__deco { display: none; }
  .contact-card__body { padding: 1.25rem; }
}
