/* ══════════════════════════════════════════════════
   contact.css  –  Styles for contact.html only
   Depends on main.css for CSS custom properties,
   resets, .container, .btn-primary / .btn-outline,
   .section-label / .section-title / .section-sub,
   topbar, header, nav, footer, and .faq-* base tokens.
   All selectors here are scoped so they do not clash
   with existing main.css rules.
   ══════════════════════════════════════════════════ */

/* ══ CONTACT HERO ══ */
.contact-hero {
  background: 
 linear-gradient(
      135deg,
      rgba(10, 37, 64, 0.45) 0%,
      rgba(1, 31, 149, 0.45) 100%
    ),
    url('2149732780.jpg') center 80% / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  /* min-height keeps the section tall even if content is short */
  min-height: 520px;

  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 40%, rgba(0,115,173,.22) 0%, transparent 60%),
    radial-gradient(ellipse 45% 50% at 15% 85%, rgba(26,122,74,.12) 0%, transparent 55%);
  pointer-events: none;
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin-bottom: 2rem;
  font-size: .8rem;
}

.breadcrumb li {
  color: rgba(255,255,255,.45);
}

.breadcrumb li a {
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

.breadcrumb li a:hover { color: var(--yellow); }

.breadcrumb li[aria-current="page"] { color: var(--yellow); }

.breadcrumb svg { color: rgba(255,255,255,.3); }

/* Hero inner layout */
.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--gray-200);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.contact-hero-content .hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.contact-hero-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-hero-content h1 em {
  font-style: italic;
  color: var(--yellow);
}

.contact-hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 460px;
  line-height: 1.72;
  margin-bottom: 2rem;
}

.contact-hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

/* Decorative column */
.contact-hero-deco {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 280px;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
}

.deco-ring-1 { width: 260px; height: 260px; }
.deco-ring-2 { width: 190px; height: 190px; border-color: rgba(245,166,35,.12); }
.deco-ring-3 { width: 120px; height: 120px; background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); }

.deco-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 500;
  padding: .55rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.deco-pill svg { color: var(--yellow); flex-shrink: 0; }

.deco-pill-1 { top: 20px;  left: 10px;  animation: floatA 6s ease-in-out infinite; }
.deco-pill-2 { top: 50%;   right: 0px;  transform: translateY(-50%); animation: floatB 7s ease-in-out infinite; }
.deco-pill-3 { bottom: 20px; left: 20px; animation: floatC 8s ease-in-out infinite; }

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}


/* ══ CONTACT CARDS SECTION ══ */
.contact-cards-section {
  padding: 5rem 0 4rem;
  background: var(--off-white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.contact-card--phone::before  { background: var(--azure-blue); }
.contact-card--email::before  { background: var(--green); }
.contact-card--address::before { background: var(--yellow); }
.contact-card--fax::before    { background: var(--red); }

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(0,115,173,.18);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.contact-card--phone  .contact-card-icon { background: rgba(0,116,175,.1);  color: var(--azure-blue); }
.contact-card--email  .contact-card-icon { background: rgba(26,122,74,.1);  color: var(--green); }
.contact-card--address .contact-card-icon { background: rgba(245,166,35,.12); color: #a07000; }
.contact-card--fax    .contact-card-icon { background: rgba(192,57,43,.1);  color: var(--red); }

.contact-card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .35rem;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-card-detail {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-bottom: .65rem;
}

.contact-card-detail a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy-light);
  transition: color .2s;
}

.contact-card-detail a:hover { color: var(--green); text-decoration: underline; }

.detail-note {
  font-size: .73rem;
  color: var(--gray-400);
}

.address-block address {
  font-style: normal;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.contact-card-note {
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.55;
  margin-top: .5rem;
  border-top: 1px solid var(--gray-100);
  padding-top: .75rem;
}

/* Office hours strip */
.office-hours-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
  padding: 1.5rem 2.5rem;
  gap: 2rem;
}

.office-hours-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 1;
  color: rgba(255,255,255,.85);
}

.office-hours-item svg { color: var(--yellow); flex-shrink: 0; }

.office-hours-item div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.office-hours-item strong {
  font-size: .84rem;
  font-weight: 600;
  color: var(--white);
}

.office-hours-item span {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}

.hours-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}


/* ══ MAP SECTION ══ */
.map-section {
  padding: 5rem 0;
  background: var(--white);
}

.map-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.map-info .section-label { margin-bottom: .5rem; }

.map-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.map-info > p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 2rem;
}

.map-directions h3 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .85rem;
}

.directions-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.75rem;
}

.directions-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.directions-list li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: .1rem;
}

.map-address-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem 1.1rem;
  font-size: .83rem;
  color: var(--navy);
  font-weight: 500;
}

.map-address-chip svg { color: var(--azure-blue); flex-shrink: 0; }

.map-address-chip address { font-style: normal; }

.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
}

.map-embed-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  font-weight: 600;
  padding: .6rem 1rem;
}

.map-embed-label svg { color: var(--yellow); }

.map-embed-wrapper iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}


/* ══ COMPLAINT FORM SECTION ══ */
.complaint-section {
  padding: 5.5rem 0;
  background: var(--off-white);
}

.complaint-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left intro column */
.complaint-intro .section-label { margin-bottom: .5rem; }

.complaint-intro h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.complaint-intro > p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 2.25rem;
}

/* Steps */
.complaint-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-200);
  line-height: 1;
  min-width: 2.5rem;
  padding-top: .1rem;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.step-body strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}

.step-body span {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sector tags */
.complaint-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 99px;
}

.sector-telecom  { background: rgba(0,116,175,.1);  color: var(--azure-blue); }
.sector-internet { background: rgba(26,122,74,.1);  color: var(--green); }
.sector-broadcast { background: rgba(245,166,35,.12); color: #8a6000; }
.sector-postal   { background: rgba(192,57,43,.1);  color: var(--red); }

/* Right form column */
.complaint-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.form-card-header {
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1.75rem;
  color: var(--white);
}

.form-card-header svg { color: var(--yellow); flex-shrink: 0; }

.form-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.complaint-form-card form {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Form fields – reuse home.html's CSS classes where possible,
   but the variables needed (.form-row, .form-group, label, input, etc.)
   might be in main.css — the classes below are additive / override-safe */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}

.req { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: inherit;
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem .85rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--azure-blue);
  box-shadow: 0 0 0 3px rgba(0,116,175,.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group textarea { resize: vertical; min-height: 110px; }

.select-wrapper { position: relative; }

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gray-400);
}

.char-counter {
  font-size: .72rem;
  color: var(--gray-400);
  text-align: right;
  margin-top: .25rem;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  color: var(--red);
  font-size: .83rem;
  padding: .75rem 1rem;
}

.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  padding: .9rem 2rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  width: 100%;
  margin-top: .25rem;
}

.btn-submit-contact:hover {
  background: var(--azure-blue);
  border-color: var(--azure-blue);
  transform: translateY(-1px);
}

.btn-submit-contact:disabled {
  background: var(--green);
  border-color: var(--green);
  cursor: default;
  transform: none;
}

.form-privacy-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  color: var(--gray-400);
  margin-top: .25rem;
}

.form-privacy-note svg { flex-shrink: 0; }
.form-privacy-note a { color: var(--azure-blue); text-decoration: underline; }


/* ══ CONTACT FAQ ══ */
.contact-faq {
  padding: 5rem 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s;
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,116,175,.25);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background .15s;
}

.faq-q:hover { background: var(--gray-100); }
.faq-q[aria-expanded="true"] { background: var(--gray-100); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform .25s;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--azure-blue);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-panel.open {
  max-height: 400px;
}

.faq-panel p {
  padding: 0 1.5rem 1.25rem;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.72;
}


/* ══ CHATBOT (enhanced for contact page) ══ */
.chatbot-bubble {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-height: 520px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(10,37,64,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.chatbot-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.chatbot-header {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  flex-shrink: 0;
}

.chatbot-header-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}

.chatbot-header strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
}

.chatbot-dot {
  width: 7px;
  height: 7px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  padding: .3rem;
  border-radius: 4px;
  transition: color .15s, background .15s;
  display: flex;
  align-items: center;
}

.chatbot-close-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.chat-msg {
  max-width: 88%;
  padding: .75rem 1rem;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.6;
}

.chat-msg--bot {
  background: var(--gray-100);
  color: var(--text);
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
}

.chat-msg--bot p + p { margin-top: .5rem; }

.chat-msg--user {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
}

/* Quick replies */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-self: flex-start;
}

.quick-reply-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 500;
  color: var(--navy);
  padding: .35rem .85rem;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}

.quick-reply-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .65rem .85rem;
  background: var(--gray-100);
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
  width: fit-content;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(1); opacity: .5; }
  40%           { transform: scale(1.3); opacity: 1; }
}

/* Input area */
.chatbot-input-area {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}

.chatbot-input {
  flex: 1;
  font-family: inherit;
  font-size: .85rem;
  color: var(--text);
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: .6rem .85rem;
  resize: none;
  line-height: 1.5;
  max-height: 100px;
  overflow-y: auto;
  transition: border-color .2s, background .2s;
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--azure-blue);
  background: var(--white);
}

.chatbot-send-btn {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}

.chatbot-send-btn:hover {
  background: var(--azure-blue);
  transform: scale(1.05);
}

.chatbot-send-btn:disabled {
  background: var(--gray-200);
  cursor: not-allowed;
  transform: none;
}

/* Floating button */
.chatbot-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 901;
  box-shadow: 0 4px 20px rgba(10,37,64,.3);
  transition: background .2s, transform .2s;
}

.chatbot-btn:hover {
  background: var(--azure-blue);
  transform: scale(1.08);
}

.chatbot-btn-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: var(--green-light);
  border-radius: 50%;
  border: 2px solid var(--white);
}


/* ══ SECTION HEADER (shared style) ══ */
.section-header.centered { text-align: center; }

.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azure-blue);
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.section-sub {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Btn-outline scoped override (hero context) */
.contact-hero .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: .88rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.35);
  transition: all .2s;
  cursor: pointer;
}

.contact-hero .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}


/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .map-section-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .complaint-section-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-hero-inner { grid-template-columns: 1fr; }
  .contact-hero-deco  { display: none; }
}

@media (max-width: 768px) {
  .contact-hero { padding: 3rem 0; }
  .contact-hero-content h1 { font-size: 2rem; }
  .contact-cards-grid  { grid-template-columns: 1fr; }
  .office-hours-strip  { flex-direction: column; padding: 1.5rem; gap: 1.25rem; }
  .hours-divider       { width: 100%; height: 1px; }
  .form-row            { grid-template-columns: 1fr; }
  .chatbot-bubble      { width: calc(100vw - 2rem); right: 1rem; bottom: 5rem; }

  .contact-hero-actions { flex-direction: column; }
  .contact-hero-actions a { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .contact-hero-content h1 { font-size: 1.7rem; }
  .map-section, .complaint-section, .contact-faq, .contact-cards-section { padding: 3.5rem 0; }
  .section-title { font-size: 1.65rem; }
}

/* ══ CHATBOT ADDITIONS ══ */

/* Wider, shorter dimensions */
.chatbot-bubble {
  width: 440px !important;
  max-height: 400px !important;
  bottom: 1.5rem !important;
}

/* Scrollable message area */
.chatbot-messages {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

/* Minimised state — hides messages and input, shows header only */
.chatbot-bubble.minimised .chatbot-messages,
.chatbot-bubble.minimised .chatbot-input-area {
  display: none;
}

/* Typing indicator (used by contact.js) */
.chat-msg--typing {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .65rem .85rem;
  background: var(--gray-100);
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
  width: fit-content;
}

@media (max-width: 480px) {
  .chatbot-bubble {
    width: calc(100vw - 2rem) !important;
    right: 1rem !important;
  }
}
