/* ==========================================================
   Sarah Aqua Softro – visual polish layer
   Loaded after the theme CSS; only refines, never restructures.
   ========================================================== */

:root {
  --brand: #346bae;
  --brand-dark: #24508a;
  --accent: #f5a93f;
  --ink: #1f2a37;
  --muted: #5b6675;
  --surface: #ffffff;
  --soft: #f4f8fc;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(20, 45, 80, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 45, 80, 0.12);
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p, .text { line-height: 1.75; }

img { max-width: 100%; }

/* ---------- Header ---------- */
.main-header .header-upper {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.sticky-header.fixed-header {
  box-shadow: 0 6px 24px rgba(20, 45, 80, 0.10);
  backdrop-filter: saturate(160%) blur(6px);
}
.main-menu .navigation > li > a {
  transition: color 0.2s ease;
}

/* ---------- Buttons ---------- */
.theme-btn {
  border-radius: 999px !important;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(52, 107, 174, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(52, 107, 174, 0.35);
}

/* ---------- Section titles ---------- */
.sec-title h2 {
  letter-spacing: -0.01em;
}
.sec-title.text-center h2::after,
.sec-title.centred h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* ---------- Feature cards (home) ---------- */
.feature-block-one .inner-box {
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-block-one .inner-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ---------- Product cards ---------- */
.single-shop-block .inner-box {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.single-shop-block .inner-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.single-shop-block .image-box {
  background: var(--soft);
  margin: 0;
}
img.product-thumb {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.35s ease;
}
.single-shop-block .inner-box:hover img.product-thumb {
  transform: scale(1.04);
}
.single-shop-block h3 {
  min-height: 2.6em;
  line-height: 1.3;
}

/* Generic image cards used on listing pages (category/state/city/purpose/shop) */
.purpose-card, .category-card, .state-card, .city-card, .project-card, .product-card {
  border-radius: var(--radius) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.purpose-card:hover, .category-card:hover, .state-card:hover,
.city-card:hover, .project-card:hover, .product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

/* ---------- Video section ---------- */
.video-section iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ---------- Page title banners ---------- */
.page-title {
  position: relative;
}
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(23, 52, 92, 0.78), rgba(52, 107, 174, 0.55));
  pointer-events: none;
}
.page-title .auto-container { position: relative; z-index: 1; }

/* ---------- Clients ---------- */
img.client-logo {
  height: 96px;
  width: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
img.client-logo:hover { filter: none; opacity: 1; }

/* ---------- Blog cards ---------- */
.news-block-one .inner-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.news-block-one .inner-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  border-radius: 10px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(52, 107, 174, 0.15) !important;
  outline: none;
}

/* ---------- Footer ---------- */
.main-footer .footer-widget .list li a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.main-footer .footer-widget .list li a:hover {
  padding-left: 4px;
}

/* ---------- Floating contact buttons ---------- */
.float-contact {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-contact a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 26px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}
.float-contact a:hover { transform: scale(1.08); }
.float-contact .fc-whatsapp { background: #25d366; }
.float-contact .fc-call { background: var(--brand); font-size: 22px; }
.float-contact .fc-whatsapp::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: fc-pulse 2s infinite;
}
@keyframes fc-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  img.product-thumb { height: 220px; }
  .float-contact { left: 12px; bottom: 16px; }
  .float-contact a { width: 48px; height: 48px; font-size: 22px; }
  .float-contact .fc-whatsapp::after { width: 48px; height: 48px; }
  .video-section iframe[height="500"] { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Footer social icons (moved from inline style) ---------- */
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #f2f2f2; color: #333;
  border-radius: 50%; font-size: 18px;
  text-decoration: none; transition: all 0.3s ease;
}
.social-icons a:hover { background: var(--brand); color: #fff; }
.main-footer address { font-style: normal; margin: 0; }

/* ---------- FAQ ---------- */
.faq-section { padding: 90px 0 30px; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px; line-height: 26px; text-align: center;
  border-radius: 50%;
  background: var(--soft); color: var(--brand);
  font-size: 20px; font-weight: 700;
}
.faq-list details[open] summary::after { content: "–"; background: var(--brand); color: #fff; }
.faq-list details[open] summary { color: var(--brand); }
.faq-list details p, .faq-list details ul { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq-list details ul { padding-left: 42px; list-style: disc; }
.faq-list details li { margin-bottom: 6px; }
.faq-list a { color: var(--brand); text-decoration: underline; }

/* ---------- Blog byline / author ---------- */
.blog-byline { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.blog-byline a { color: var(--brand); }
.author-box {
  margin-top: 32px; padding: 20px 22px;
  background: var(--soft); border-left: 4px solid var(--brand);
  border-radius: 10px;
}
.author-box p { margin: 6px 0 0; color: var(--muted); }

.purpose-page-title { text-align: center; font-size: 40px; margin: 10px 0 6px; color: var(--ink); }
@media (max-width: 767px) { .purpose-page-title { font-size: 30px; } }
