/* Component styles */

/* ── Utility bar ─────────────────────────── */
#utility-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 6px 0;
}
#utility-bar a {
  color: #6B7280; font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; transition: color 0.2s;
}
#utility-bar a:hover { color: #1530a0; }

/* ── Header ──────────────────────────────── */
#main-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E7EB;
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 80px; display: flex;
  align-items: center; justify-content: space-between;
}
@media (max-width: 767px) { .header-inner { padding: 0 16px; height: 64px; } }

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600;
  color: #111111;
  letter-spacing: -0.01em;
}

/* Desktop nav */
.desk-nav { display: none; }
@media (min-width: 1024px) { .desk-nav { display: flex; align-items: center; gap: 32px; } }

.desk-nav a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: #374151; text-decoration: none;
  transition: color 0.2s;
}
.desk-nav a:hover, .desk-nav a.active { color: #1530a0; }
.desk-nav a.active { border-bottom: 2px solid #1d40ab; padding-bottom: 2px; }

/* Services dropdown */
.services-dropdown-wrap { position: relative; }
.services-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: #374151; display: flex; align-items: center; gap: 4px;
  padding: 0; transition: color 0.2s;
}
.services-dropdown-btn:hover { color: #1530a0; }
.services-dropdown-btn.active { color: #1530a0; border-bottom: 2px solid #1d40ab; padding-bottom: 2px; }

.services-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: #FFFFFF; border: 1px solid #E5E7EB;
  border-radius: 16px; overflow: hidden;
  min-width: 240px; z-index: 100;
  box-shadow: 0 16px 40px -10px rgba(29,64,171,0.18);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.services-dropdown-wrap:hover .services-dropdown,
.services-dropdown-wrap:focus-within .services-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.services-dropdown a {
  display: block; padding: 12px 16px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em;
  color: #374151; text-decoration: none;
  border-bottom: 1px solid #E5E7EB; transition: background 0.15s, color 0.15s;
}
.services-dropdown a:last-child { border-bottom: none; }
.services-dropdown a:hover { background: #FFFFFF; color: #1530a0; }

/* Header CTA */
.desk-cta-wrap { align-items: center; gap: 20px; }

.header-cta {
  background: #1d40ab; color: #FFFFFF;
  padding: 11px 24px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid #1d40ab; border-radius: 9999px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.header-cta:hover { background: #1530a0; border-color: #1530a0; }

/* Mobile header */
.mobile-header-right { display: flex; align-items: center; gap: 12px; }

.mobile-call-btn {
  display: flex; align-items: center;
  color: #1530a0; text-decoration: none;
}
.mobile-call-btn .material-symbols-outlined { font-size: 22px; }

.hamburger-btn {
  background: none; border: none; cursor: pointer;
  color: #1530a0; padding: 4px; display: flex;
}
.hamburger-btn .material-symbols-outlined { font-size: 28px; }
@media (min-width: 1024px) {
  .mobile-header-right { display: none; }
  .hamburger-btn { display: none; }
}

/* ── Mobile drawer ───────────────────────── */
#mobile-drawer {
  position: fixed; top: 0; left: -100%; width: 300px; height: 100%;
  background: #FFFFFF; border-right: 1px solid #E5E7EB;
  z-index: 200; transition: left 0.3s ease;
  overflow-y: auto; display: flex; flex-direction: column;
}
#mobile-drawer.open { left: 0; }

#drawer-overlay {
  position: fixed; inset: 0; background: rgba(27,28,25,0.45);
  z-index: 199; display: none;
}
#drawer-overlay.open { display: block; }

.drawer-header {
  padding: 20px 20px 16px; border-bottom: 1px solid #E5E7EB;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-close {
  background: none; border: none; cursor: pointer;
  color: #1530a0; display: flex;
}
.drawer-close .material-symbols-outlined { font-size: 24px; }

.drawer-nav { flex: 1; padding: 16px 0; }
.drawer-nav a {
  display: block; padding: 14px 20px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: #374151; text-decoration: none;
  border-bottom: 1px solid #F8F9FC; transition: color 0.15s, background 0.15s;
}
.drawer-nav a:hover, .drawer-nav a.active { color: #1530a0; background: #FFFFFF; }

.drawer-services-toggle {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 14px 20px; text-align: left;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: #374151; display: flex; justify-content: space-between;
  align-items: center; border-bottom: 1px solid #F8F9FC;
  transition: color 0.15s;
}
.drawer-services-toggle:hover { color: #1530a0; background: #FFFFFF; }

.drawer-services-sub {
  display: none; background: #FFFFFF; padding: 8px 0;
}
.drawer-services-sub.open { display: block; }
.drawer-services-sub a {
  padding: 10px 32px; font-size: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.drawer-cta {
  padding: 20px; border-top: 1px solid #E5E7EB;
}
.drawer-cta button {
  width: 100%; background: #1d40ab; color: #FFFFFF;
  padding: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid #1d40ab; border-radius: 9999px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.drawer-cta button:hover { background: #1530a0; border-color: #1530a0; }
.drawer-cta a {
  display: block; text-align: center; margin-top: 10px;
  color: #6B7280; font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none; transition: color 0.2s;
}
.drawer-cta a:hover { color: #1530a0; }

/* ── Quote modal ─────────────────────────── */
#quote-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
#quote-modal.open { display: flex; }

#modal-overlay {
  position: absolute; inset: 0;
  background: rgba(27,28,25,0.45); backdrop-filter: blur(4px);
}

#modal-card {
  position: relative; background: #FFFFFF;
  border: 1px solid #E5E7EB; border-radius: 24px; width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto;
  padding: 36px; z-index: 1;
  box-shadow: 0 30px 80px -20px rgba(29,64,171,0.35);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: #6B7280; display: flex; transition: color 0.2s;
}
#modal-close:hover { color: #1530a0; }
#modal-close .material-symbols-outlined { font-size: 24px; }

#modal-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 600; color: #1530a0;
  margin-bottom: 6px;
}
#modal-card p.modal-sub {
  color: #6B7280; font-size: 14px; margin-bottom: 24px;
}

.modal-form .form-group { margin-bottom: 16px; }
.modal-form label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  color: #1530a0; margin-bottom: 6px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%; background: #FFFFFF;
  border: 1px solid #C3C8C0; border-radius: 10px; color: #111111;
  padding: 12px 14px; font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s; outline: none;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus { border-color: #1d40ab; }
.modal-form textarea { min-height: 100px; resize: vertical; }
.modal-form select option { background: #FFFFFF; }

.modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .modal-form .form-row { grid-template-columns: 1fr; } }


/* ── WhatsApp FAB ────────────────────────── */
.whatsapp-fab-wrap {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; align-items: center; gap: 10px;
  z-index: 900;
}
.whatsapp-fab-label {
  background: #FFFFFF;
  color: #374151;
  font-size: 14px; font-weight: 400;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
  pointer-events: none;
}
.whatsapp-fab-label strong { color: #111111; font-weight: 700; }

.whatsapp-fab {
  width: 56px; height: 56px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
@media (min-width: 768px) { .whatsapp-fab { width: 64px; height: 64px; } }
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #ffffff; }
@media (min-width: 768px) { .whatsapp-fab svg { width: 32px; height: 32px; } }

/* ── Quote FAB (left side) ───────────────── */
.quote-fab {
  position: fixed; bottom: 24px; left: 24px;
  display: flex; align-items: center; gap: 6px;
  background: #1d40ab; color: #FFFFFF;
  border: none; border-radius: 9999px;
  padding: 0 14px 0 11px; height: 34px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer; z-index: 900;
  box-shadow: 0 4px 14px rgba(29,64,171,0.35);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.quote-fab .material-symbols-outlined { font-size: 14px !important; }
.quote-fab:hover { background: #1530a0; transform: scale(1.05); }
@media (max-width: 767px) {
  .quote-fab { display: none; }
}

/* ── Modal submit ────────────────────────── */
.modal-submit {
  width: 100%; background: #1d40ab; color: #FFFFFF;
  padding: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid #1d40ab; border-radius: 9999px; cursor: pointer; margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
.modal-submit:hover { background: #1530a0; border-color: #1530a0; }

/* ── Footer ──────────────────────────────── */
#site-footer footer {
  background:
    linear-gradient(rgba(176,174,172,0.78), rgba(176,174,172,0.78)),
    url('/images/sydney-map.jpg') 10% center/cover no-repeat,
    #b0aeac;
  border-top: none;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 44px 24px 24px;
}
@media (max-width: 767px) { .footer-inner { padding: 28px 16px 18px; } }

.footer-emergency {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 40px;
  font-size: 22px; font-weight: 800; color: #111111; letter-spacing: -0.02em; line-height: 1.2; text-align: center;
}
.footer-emergency-icon {
  font-size: 28px; flex-shrink: 0; opacity: 0.9;
}
.footer-emergency-cta {
  flex-shrink: 0;
  font-size: 15px; font-weight: 700; color: #FFFFFF;
  background: #111111; border: 1px solid rgba(0,0,0,0.2);
  border-radius: 8px; padding: 8px 18px; text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.footer-emergency-cta:hover { background: #000000; }
@media (max-width: 767px) {
  .footer-emergency { font-size: 18px; padding: 16px 20px; }
  .footer-emergency-cta { margin-left: 0; }
}

.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-bottom: 28px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  letter-spacing: 0.02em;
  color: #111111; margin-bottom: 12px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,0.15);
}
.footer-col p {
  font-size: 15px; color: rgba(0,0,0,0.75); line-height: 1.6; margin-bottom: 10px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; color: rgba(0,0,0,0.7); }
.footer-services-more { display: none; }
@media (max-width: 767px) {
  .footer-service-extra { display: none; }
  .footer-services-more { display: block; margin-top: 4px; }
  .footer-services-more a { font-weight: 700; color: #111111; }
}
.footer-col ul li a {
  font-size: 14px; color: rgba(0,0,0,0.7);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: #111111; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #111111; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.5); }
.footer-social a .material-symbols-outlined { font-size: 18px; }

.footer-areas {
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.footer-areas span, .footer-areas a { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(0,0,0,0.6); text-decoration: none; }
.footer-areas span.sep { color: rgba(0,0,0,0.25); }
.footer-areas a:hover { color: #111111; text-decoration: none; }

.footer-bottom {
  display: flex; flex-direction: column;
  gap: 8px; align-items: center; text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: 13px; color: rgba(0,0,0,0.5); }

/* ── Section/page reusable styles ────────── */
.page-hero {
  background: #FFFFFF; padding: 48px 0 56px;
  border-bottom: 1px solid #E5E7EB;
}
.page-hero .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .page-hero .container { padding: 0 16px; } }

/* Hero with background image */
.page-hero--img {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 0 72px;
}
.page-hero--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.48) 50%, rgba(0,0,0,0.22) 100%);
}
.page-hero--img .container {
  position: relative;
  z-index: 1;
}
/* White text for all content inside image banners */
.page-hero--img h1,
.page-hero--img h1 * { color: #ffffff !important; }
.page-hero--img p { color: rgba(255,255,255,0.88) !important; }
.page-hero--img .material-symbols-outlined { color: rgba(255,255,255,0.9) !important; }
.page-hero--img .breadcrumb a { color: rgba(255,255,255,0.72); }
.page-hero--img .breadcrumb a:hover { color: #ffffff; }
.page-hero--img .breadcrumb span { color: rgba(255,255,255,0.45); }
.page-hero--img .breadcrumb .current { color: rgba(255,255,255,0.88); }

.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.breadcrumb a { font-size: 12px; color: #6B7280; text-decoration: none; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.breadcrumb a:hover { color: #1530a0; }
.breadcrumb span { font-size: 12px; color: #C3C8C0; }
.breadcrumb .current { font-size: 12px; color: #1530a0; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.cta-strip {
  background: #FFFFFF; padding: 64px 0;
  border-top: 1px solid #E5E7EB;
  text-align: center;
}
.cta-strip .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 600;
  color: #1530a0;
  letter-spacing: -0.01em; margin-bottom: 24px;
}
@media (max-width: 767px) { .cta-strip h2 { font-size: 24px; } }
.cta-strip .btn-group { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.btn-primary {
  background: #1d40ab; color: #FFFFFF;
  padding: 14px 32px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid #1d40ab; border-radius: 9999px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #1530a0; border-color: #1530a0; transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: #1530a0;
  padding: 14px 32px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid rgba(29,64,171,0.35); cursor: pointer;
  border-radius: 9999px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(77,97,80,0.08); border-color: #1d40ab; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid #E5E7EB; }
.faq-question {
  width: 100%; background: none; border: none;
  padding: 18px 0; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600; color: #111111;
  transition: color 0.2s;
}
.faq-question:hover { color: #1d40ab; }
.faq-question .material-symbols-outlined { font-size: 20px; color: #1d40ab; transition: transform 0.3s; }
.faq-question.open .material-symbols-outlined { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-answer.open { max-height: 500px; padding-bottom: 16px; }
.faq-answer p { font-size: 14px; color: #6B7280; line-height: 1.7; }

/* Review card */
.review-card {
  background: #F3F4F6;
  border: none;
  border-radius: 16px;
  padding: 24px;
  box-shadow: none;
}
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.review-verified {
  font-size: 11px;
  font-weight: 700;
  color: #188038;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: 3px;
}
.review-card .stars { display: flex; gap: 1px; margin-bottom: 12px; color: #E9C349; font-size: 16px; }
.review-card .review-text { font-family: 'Playfair Display', serif; font-size: 15px; color: #374151; line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.review-card .reviewer { font-size: 13px; font-weight: 700; color: #111111; }

/* Service card (shared template) */
.svc-card {
  background: #FFFFFF; border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -10px rgba(29,64,171,0.16); }
.svc-card .svc-icon { font-size: 36px; color: #1d40ab; margin-bottom: 16px; }
.svc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600;
  color: #1530a0; margin-bottom: 10px;
}
.svc-card p { font-size: 14px; color: #6B7280; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.svc-card a {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1d40ab; text-decoration: none; transition: color 0.2s;
}
.svc-card a:hover { color: #1530a0; }

/* ── Inner page box text bump ─────────────
   Index uses body.bg-background; all other pages don't.
   Inline-styled 13px body copy in boxes gets nudged to 15px. ── */
body:not(.bg-background) [style*="font-size:13px"] { font-size: 15px !important; }
body:not(.bg-background) [style*="font-size:14px"] { font-size: 16px !important; }
body:not(.bg-background) .faq-answer p { font-size: 15px; }
body:not(.bg-background) .svc-card p { font-size: 15px; }
