/* ============================================================
   CONTACT PAGE — contact.css
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.contact-hero {
  position: relative;
  background: linear-gradient(145deg, #00334a 0%, #004d6e 50%, #005f87 100%);
  overflow: hidden;
  padding: 140px 0 100px;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,135,180,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(0,95,135,.22) 0%, transparent 55%);
  animation: auroraShift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auroraShift {
  0%   { opacity: .7; transform: scale(1)   translateX(0); }
  50%  { opacity: 1;  transform: scale(1.06) translateX(10px); }
  100% { opacity: .8; transform: scale(.97) translateX(-8px); }
}

.contact-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  opacity: .22;
}
.contact-hero__orb--1 { width: 480px; height: 480px; background: radial-gradient(circle, #0087b4 0%, transparent 70%); top: -140px; left: -120px; animation: orbBreath1 8s ease-in-out infinite; }
.contact-hero__orb--2 { width: 380px; height: 380px; background: radial-gradient(circle, #00d2ff 0%, transparent 70%); bottom: -80px; right: -100px; animation: orbBreath2 10s ease-in-out infinite; }

@keyframes orbBreath1 { 0%,100%{transform:scale(1) translate(0,0);} 50%{transform:scale(1.12) translate(20px,15px);} }
@keyframes orbBreath2 { 0%,100%{transform:scale(1) translate(0,0);} 50%{transform:scale(1.08) translate(-15px,20px);} }

.contact-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.contact-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.contact-hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: contactPing 2s ease-in-out infinite;
}

@keyframes contactPing {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}

.contact-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7dd3fc, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto;
}

.contact-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.contact-hero__wave svg { width: 100%; height: 70px; display: block; }


/* ── Contact section ─────────────────────────────────────── */
.contact-section {
  background: #f8fafc;
  padding: 90px 0 100px;
}

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 60px;
  align-items: start;
}

/* ── Info column ─────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info__head {
  margin-bottom: 6px;
}
.contact-info__head .section-tag { margin-bottom: 14px; }
.contact-info__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0d1f2d;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -.02em;
}
.contact-info__head h2 em {
  font-style: normal;
  color: #0087b4;
}
.contact-info__head p {
  font-size: .97rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.contact-info__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: visible;
}

/* Handwriting annotation */
.contact-info__annot {
  position: absolute;
  top: -48px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
  user-select: none;
}

.contact-info__annot-txt {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0083af;
  line-height: 1;
  white-space: nowrap;
}

.contact-info__annot-arrow {
  margin-right: 10px;
  opacity: .85;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0087b4;
}

.contact-info__item-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 2px;
}
.contact-info__item-text a,
.contact-info__item-text span {
  font-size: .97rem;
  font-weight: 600;
  color: #0d1f2d;
  text-decoration: none;
  transition: color .2s;
}
.contact-info__item-text a:hover { color: #0087b4; }

.contact-info__divider {
  height: 1px;
  background: #f1f5f9;
  margin: 2px 0;
}

.contact-info__wa {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: #15803d;
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s, transform .2s;
}
.contact-info__wa:hover { background: #dcfce7; transform: translateY(-2px); }
.contact-info__wa svg { flex-shrink: 0; }

.contact-info__hours {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
}
.contact-info__hours h4 {
  font-size: .82rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 14px;
}
.contact-info__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  padding: 5px 0;
  color: #475569;
}
.contact-info__hours-row span:first-child { color: #0d1f2d; font-weight: 500; }
.contact-info__hours-row .status-open  { color: #16a34a; font-weight: 600; }
.contact-info__hours-row .status-closed { color: #94a3b8; }


/* ── Form column ─────────────────────────────────────────── */
.contact-form-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 4px 30px rgba(0,51,74,.06);
}

.contact-form-wrap__head {
  margin-bottom: 30px;
}
.contact-form-wrap__head h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0d1f2d;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.contact-form-wrap__head p {
  font-size: .9rem;
  color: #64748b;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__field label {
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: .01em;
}

.contact-form__field label .req {
  color: #0087b4;
  margin-left: 2px;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font-family: inherit;
  font-size: .93rem;
  color: #0d1f2d;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}

.contact-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* ── Custom select dropdown ──────────────────────────────── */
.cf-select {
  position: relative;
}
.cf-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: inherit;
  font-size: .93rem;
  color: #0d1f2d;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cf-select__trigger:focus,
.cf-select.open .cf-select__trigger {
  border-color: #0087b4;
  box-shadow: 0 0 0 3px rgba(0,135,180,.12);
  background: #fff;
}
.cf-select__value--placeholder { color: #b0bec5; }
.cf-select__chevron {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.cf-select.open .cf-select__chevron { transform: rotate(180deg); }

.cf-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.99);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.cf-select.open .cf-select__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.cf-select__option {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .88rem;
  color: #374151;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cf-select__option:hover   { background: #f0f7fc; color: #0083af; }
.cf-select__option.selected {
  background: #e8f4fb;
  color: #0083af;
  font-weight: 600;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: #0087b4;
  box-shadow: 0 0 0 3px rgba(0,135,180,.12);
  background: #fff;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #b0bec5;
}

.contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: #64748b;
  line-height: 1.5;
}

.contact-form__privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 1px;
  accent-color: #0087b4;
  cursor: pointer;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  padding: 0;
  box-shadow: none;
}

.contact-form__privacy a {
  color: #0087b4;
  text-decoration: none;
  font-weight: 600;
}
.contact-form__privacy a:hover { text-decoration: underline; }

.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #00334a 0%, #005f87 100%);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 20px rgba(0,51,74,.3);
  letter-spacing: .01em;
  margin-top: 4px;
}
.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,51,74,.38);
}
.contact-form__submit:active { transform: translateY(0); }

.contact-form__note {
  text-align: center;
  font-size: .82rem;
  color: #94a3b8;
  margin-top: 4px;
}
.contact-form__note svg {
  vertical-align: middle;
  margin-right: 3px;
  color: #16a34a;
}


/* ── Robien card ─────────────────────────────────────────── */
.contact-robien-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
}

.contact-robien-card__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.contact-robien-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #e0f2fe;
}

.contact-robien-card__dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
}

.contact-robien-card__right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-robien-card__right strong {
  font-size: .97rem;
  font-weight: 700;
  color: #0d1f2d;
}

.contact-robien-card__right span {
  font-size: .8rem;
  color: #94a3b8;
  font-weight: 500;
}

.contact-robien-card__right p {
  font-size: .88rem;
  color: #64748b;
  margin: 6px 0 0;
  line-height: 1.5;
}


/* ── FAQ overrides for contact page ─────────────────────── */
.contact-faq .faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.contact-faq .faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,51,74,.07);
}

.contact-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
}

.contact-faq .faq-item summary::-webkit-details-marker { display: none; }
.contact-faq .faq-item summary::marker { display: none; }

.contact-faq .faq-item summary:hover {
  background: #f8fafc;
  opacity: 1;
}

.contact-faq .faq-item__num {
  font-size: .72rem;
  font-weight: 700;
  color: #0087b4;
  letter-spacing: .06em;
  min-width: 24px;
  opacity: .7;
}

.contact-faq .faq-item__q {
  flex: 1;
  font-size: .97rem;
  font-weight: 600;
  color: #0d1f2d;
  line-height: 1.4;
}

.contact-faq .faq-item__icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: background .2s, color .2s;
}

.contact-faq .faq-item[open] .faq-item__icon {
  background: #e0f2fe;
  color: #0087b4;
}

.contact-faq .faq-item .faq-plus  { display: block; }
.contact-faq .faq-item .faq-minus { display: none; }
.contact-faq .faq-item[open] .faq-plus  { display: none; }
.contact-faq .faq-item[open] .faq-minus { display: block; }

.contact-faq .faq-item__body {
  padding: 0 22px 20px 60px;
}

.contact-faq .faq-item__body p {
  font-size: .92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.contact-faq .faq-item__body a {
  color: #0087b4;
  font-weight: 600;
  text-decoration: none;
}
.contact-faq .faq-item__body a:hover { text-decoration: underline; }


/* ── FAQ ─────────────────────────────────────────────────── */
.contact-faq {
  background: #fff;
  padding: 100px 0;
  border-top: 1px solid #f1f5f9;
}

.contact-faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

/* Left */
.contact-faq__left .section-tag {
  margin-bottom: 14px;
}

.contact-faq__left h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0d1f2d;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}

.contact-faq__left p {
  font-size: .95rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 28px;
}

.contact-faq__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0087b4;
  font-size: .9rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.contact-faq__cta:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}

/* Right — new accordion */
.contact-faq__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfaq-item {
  border-bottom: 1px solid #f1f5f9;
}
.cfaq-item:first-child {
  border-top: 1px solid #f1f5f9;
}

.cfaq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: opacity .15s;
}
.cfaq-item__btn:hover { opacity: .75; }

.cfaq-item__q {
  font-size: 1rem;
  font-weight: 600;
  color: #0d1f2d;
  line-height: 1.4;
  flex: 1;
}

.cfaq-item__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: background .2s, color .2s, transform .25s;
}

.cfaq-item--open .cfaq-item__icon {
  background: #0087b4;
  color: #fff;
  transform: rotate(45deg);
}

.cfaq-item__body {
  overflow: hidden;
  height: 0;
  transition: height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.cfaq-item__body p {
  padding: 0 4px 22px;
  font-size: .93rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}
.cfaq-item__body a {
  color: #0087b4;
  font-weight: 600;
  text-decoration: none;
}
.cfaq-item__body a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .contact-faq__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ── CTA section ─────────────────────────────────────────── */
/* reuses global .cta-section from style.css */


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrap {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .contact-hero { padding: 120px 0 80px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-trust__sep { display: none; }
  .contact-trust__inner { gap: 20px; }
  .contact-form-wrap { padding: 26px 18px; }
}

/* ============================================================
   MOBILE FIXES — 390px (iPhone 14)
   ============================================================ */

@media (max-width: 480px) {
  /* Contact hero */
  .contact-hero { padding: 100px 0 72px; }
  .contact-hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .contact-hero__sub { font-size: 0.95rem; }

  /* Contact section */
  .contact-section { padding: 56px 0 72px; }
  .contact-section .container { grid-template-columns: 1fr; gap: 32px; }

  /* Info annot — hide on small screens (overflows) */
  .contact-info__annot { display: none; }

  /* Form */
  .contact-form-wrap { padding: 22px 16px; }
  .contact-form-wrap__head h3 { font-size: 1.25rem; }
  .contact-form__row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form__submit { padding: 14px 20px; font-size: 0.95rem; }

  /* Robien card */
  .contact-robien-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }

  /* FAQ */
  .contact-faq { padding: 64px 0 72px; }
  .contact-faq__inner { gap: 32px; }
  .cfaq-item__q { font-size: 0.92rem; }

  /* Hours */
  .contact-info__hours { padding: 18px 16px; }
  .contact-info__hours-row { font-size: 0.85rem; }

  /* Info card */
  .contact-info__card { padding: 20px 16px; }
}
