/* ================================================================
   AQUA CARE RO — BLOG & BLOG INDEX CSS  (blog/blog.css)
   Covers: blog.php index page + all individual article pages
   ================================================================ */

/* ── Blog Index: Hero ─────────────────────────────────────────── */
.blogi-hero {
  background: linear-gradient(150deg, #0a1f44 0%, #1565c0 55%, #1a78d4 100%);
  padding: 110px 5% 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blogi-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(0,184,217,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 20%, rgba(255,255,255,.05) 0%, transparent 45%);
}
.blogi-hero > * { position: relative; z-index: 1; }
.blogi-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 900; color: #fff;
  letter-spacing: -.5px; line-height: 1.15; margin-bottom: 14px;
}
.blogi-hero p {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255,255,255,.68);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}
.blogi-hero-stats { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.blogi-hero-stat  { text-align: center; }
.blogi-hero-stat .val {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900; color: #00e5ff; display: block; line-height: 1;
}
.blogi-hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,.48); margin-top: 4px; }

/* ── Filter Tabs ─────────────────────────────────────────────── */
.blogi-filters {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 90;
  padding: 0 5%;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.blogi-filters-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.blogi-filters-inner::-webkit-scrollbar { display: none; }
.blogi-tab {
  padding: 15px 22px;
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--muted); background: transparent; border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap; outline: none;
  transition: color .2s, border-color .2s;
}
.blogi-tab:hover { color: var(--navy); }
.blogi-tab.active { color: var(--blue); border-bottom-color: var(--cyan); }

/* ── Section Layout ──────────────────────────────────────────── */
.blogi-section { padding: 52px 5%; }
.blogi-section-alt { background: var(--off); }
.blogi-section-inner { max-width: 1100px; margin: 0 auto; }
.blogi-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 19px; font-weight: 800; color: var(--navy);
  margin-bottom: 26px; padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}

/* ── Card Grid — fixed 3 cols so no orphaned left-floated cards ─ */
.blogi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── Individual Card ─────────────────────────────────────────── */
.blogi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  text-decoration: none; color: inherit;
}
.blogi-card:hover {
  box-shadow: 0 12px 44px rgba(21,101,192,.12);
  transform: translateY(-4px);
  border-color: rgba(21,101,192,.20);
}

/* Card banner / colour header */
.blogi-card-banner {
  padding: 24px 20px 20px;
  background: linear-gradient(135deg, #0a1f44, #1565c0);
  position: relative; min-height: 100px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.blogi-card-banner::after {
  content: '';
  position: absolute; bottom: -22px; right: -22px;
  width: 90px; height: 90px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
}
.blogi-card-banner.info {
  background: linear-gradient(135deg, #0b5e3e, #1a7a52);
}

.blogi-card-icon {
  font-size: 38px;
  position: absolute; top: 12px; right: 14px;
  opacity: .25; line-height: 1; user-select: none;
}
.blogi-card-badges { display: flex; gap: 6px; flex-wrap: wrap; position: relative; z-index: 1; }

.badge {
  padding: 4px 11px; border-radius: 100px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; line-height: 1;
}
.badge-en  { background: rgba(0,184,217,.28); color: #00e5ff; }
.badge-hi  { background: rgba(255,214,0,.22);  color: #ffd600; }
.badge-svc { background: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }
.badge-inf { background: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }

/* Card body */
.blogi-card-body {
  padding: 22px; flex: 1;
  display: flex; flex-direction: column;
}
.blogi-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 14.5px; font-weight: 800; color: var(--navy);
  line-height: 1.45; margin-bottom: 10px;
}
.blogi-card-excerpt {
  font-size: 13px; color: var(--muted);
  line-height: 1.68; flex: 1; margin-bottom: 14px;
}
.blogi-card-meta {
  font-size: 11.5px; color: var(--muted);
  margin-bottom: 14px; display: flex; gap: 10px; flex-wrap: wrap;
}
.blogi-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 9px;
  background: linear-gradient(135deg, #00b8d9, #1565c0);
  color: #fff; text-decoration: none;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12.5px;
  align-self: flex-start;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(21,101,192,.22);
}
.blogi-card-link:hover {
  opacity: .88; color: #fff; transform: translateX(2px);
  box-shadow: 0 4px 18px rgba(21,101,192,.32);
}

/* ── CTA Band ────────────────────────────────────────────────── */
.blogi-cta {
  background: linear-gradient(150deg, #0a1f44, #1565c0);
  padding: 68px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.blogi-cta::before {
  content: '';
  position: absolute; top: -50px; right: 10%;
  width: 250px; height: 250px; border-radius: 50%;
  border: 1px solid rgba(0,184,217,.10); pointer-events: none;
}
.blogi-cta h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3.2vw, 34px); font-weight: 900; color: #fff;
  margin-bottom: 12px; letter-spacing: -.3px; position: relative;
}
.blogi-cta p {
  font-size: 15px; color: rgba(255,255,255,.62);
  margin-bottom: 30px; line-height: 1.7; position: relative;
}
.blogi-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.blogi-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.blogi-cta-btn:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.blogi-cta-btn.primary { background: linear-gradient(135deg,#00b8d9,#1565c0); color: #fff; box-shadow: 0 4px 20px rgba(21,101,192,.28); }
.blogi-cta-btn.wa      { background: #25D366; color: #fff; box-shadow: 0 4px 18px rgba(37,211,102,.28); }
.blogi-cta-btn.ghost   { background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.22); color: #fff; }


/* ═══════════════════════════════════════════════════════════════
   INDIVIDUAL ARTICLE PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── Article layout ── */
.blog-main {
  max-width: 860px; margin: 0 auto; padding: 100px 5% 60px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted);
  margin-bottom: 28px; flex-wrap: wrap; line-height: 1;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--border); font-size: 11px; }

/* ── Blog meta bar ── */
.blog-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.blog-meta span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted);
  background: var(--off); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px; line-height: 1;
}

/* ── Article hero banner ── */
.blog-hero {
  width: 100%; min-height: 200px;
  background: linear-gradient(135deg, #0a1f44, #1565c0 55%, #1976d2);
  border-radius: 20px; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 36px 28px; margin-bottom: 42px;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(0,184,217,.2) 0%, transparent 55%);
}
.blog-hero > div { position: relative; z-index: 1; }
.blog-hero-icon { font-size: 52px; display: block; margin-bottom: 12px; line-height: 1; filter: drop-shadow(0 4px 14px rgba(0,0,0,.25)); }
.blog-hero-title { font-family: 'Sora', sans-serif; font-size: clamp(17px, 2.8vw, 27px); font-weight: 800; color: #fff; line-height: 1.3; max-width: 520px; margin: 0 auto; }

/* ── Article typography ── */
.blog-article h1 { font-family: 'Sora', sans-serif; font-size: clamp(24px, 3.8vw, 38px); font-weight: 900; color: var(--navy); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 22px; }
.blog-article h2 { font-family: 'Sora', sans-serif; font-size: clamp(17px, 2.4vw, 23px); font-weight: 800; color: var(--navy); margin: 46px 0 16px; padding-bottom: 11px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 10px; }
.blog-article h2::before { content: ''; display: inline-block; width: 4px; height: 20px; background: linear-gradient(180deg,var(--cyan),var(--blue)); border-radius: 3px; flex-shrink: 0; }
.blog-article h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.blog-article h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 18px 0 8px; }
.blog-article p  { font-size: 15.5px; line-height: 1.88; color: var(--muted); margin-bottom: 20px; }
.blog-article ul,.blog-article ol { padding-left: 24px; margin-bottom: 22px; }
.blog-article li { font-size: 15.5px; line-height: 1.8; color: var(--muted); margin-bottom: 9px; }
.blog-article strong { color: var(--text); font-weight: 700; }
.blog-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.blog-article a:hover { color: var(--cyan); }

/* ── Callout boxes ── */
.info-box,.tip-box,.warn-box { border-radius: 0 14px 14px 0; padding: 18px 24px; margin: 28px 0; }
.info-box { background: rgba(0,184,217,.07); border-left: 4px solid var(--cyan); }
.tip-box  { background: rgba(0,200,83,.07);  border-left: 4px solid var(--green); }
.warn-box { background: rgba(245,166,35,.09);border-left: 4px solid var(--gold); }
.info-box h4,.tip-box h4,.warn-box h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.info-box p,.tip-box p,.warn-box p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0 0 4px; }
.info-box ul,.tip-box ul,.warn-box ul { padding-left: 18px; margin: 8px 0 0; }

/* ── Article table ── */
.art-price-table { width: 100%; border-collapse: collapse; margin: 22px 0 30px; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.art-price-table thead th { background: var(--navy); color: #fff; padding: 13px 18px; text-align: left; font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.art-price-table thead th:last-child { text-align: right; }
.art-price-table tbody td { padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); vertical-align: middle; }
.art-price-table tbody td:last-child { text-align: right; font-weight: 700; font-family: 'Sora', sans-serif; color: var(--blue); white-space: nowrap; }
.art-price-table tbody tr:last-child td { border-bottom: none; }
.art-price-table tbody tr:nth-child(even) td { background: rgba(0,0,0,.018); }
.art-price-table tbody tr:hover td { background: rgba(21,101,192,.04); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; padding: 17px 22px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: none; text-align: left; transition: background .18s; user-select: none; line-height: 1.4; }
.faq-q:hover { background: var(--off); }
.faq-q::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--cyan); flex-shrink: 0; line-height: 1; }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; padding: 15px 22px 18px; font-size: 14.5px; line-height: 1.75; color: var(--muted); background: #fff; border-top: 1px solid var(--border); }
.faq-a.open { display: block; }

/* ── Area tags ── */
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 30px; }
.area-tag { padding: 6px 15px; background: rgba(21,101,192,.07); border: 1px solid rgba(21,101,192,.18); border-radius: 100px; font-size: 13px; color: var(--blue); font-weight: 600; }

/* ── Booking section ── */
.art-booking { background: linear-gradient(150deg, #0a1f44, #0d2554 50%, #133066); padding: 68px 5%; position: relative; overflow: hidden; }
.art-booking::before { content: ''; position: absolute; top: -80px; right: -80px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(0,184,217,.07); pointer-events: none; }
.art-booking-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.art-booking-header { text-align: center; margin-bottom: 44px; }
.art-booking-header h2 { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.8vw, 32px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.art-booking-header p  { font-size: 15px; color: rgba(255,255,255,.55); }
.art-service-cards { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-bottom: 48px; }
.art-scard { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 20px 12px; text-align: center; transition: background .2s, transform .2s; display: flex; flex-direction: column; align-items: center; }
.art-scard:hover { background: rgba(0,184,217,.12); transform: translateY(-3px); }
.art-scard-icon { font-size: 32px; margin-bottom: 8px; line-height: 1; }
.art-scard-name { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.art-scard-price { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 900; color: #00e5ff; line-height: 1; }
.art-scard-note { font-size: 10px; color: rgba(255,255,255,.38); margin-top: 4px; line-height: 1.4; }
.art-scard-btn { margin-top: 12px; width: 100%; padding: 8px 4px; background: linear-gradient(135deg,#00b8d9,#1565c0); color: #fff; border: none; border-radius: 8px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 11px; cursor: pointer; transition: opacity .2s; }
.art-scard-btn:hover { opacity: .85; }
.art-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.art-form-box { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 14px 55px rgba(0,0,0,.18); }
.art-form-box h3 { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 900; color: var(--navy); margin-bottom: 5px; }
.art-form-box > p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.art-fg { margin-bottom: 13px; }
.art-fg label { display: block; font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.art-fg input, .art-fg select { width: 100%; padding: 11px 14px; border-radius: 9px; border: 1.5px solid var(--border); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--off); outline: none; transition: border-color .2s, box-shadow .2s; }
.art-fg input:focus, .art-fg select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,184,217,.10); }
.art-form-submit { width: 100%; padding: 13px; border-radius: 10px; background: linear-gradient(135deg,#00b8d9,#1565c0); color: #fff; border: none; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; transition: opacity .2s; margin-top: 6px; box-shadow: 0 4px 16px rgba(21,101,192,.28); }
.art-form-submit:hover { opacity: .9; }
.art-form-submit:disabled { opacity: .6; cursor: not-allowed; }
.art-contact-box { display: flex; flex-direction: column; gap: 13px; }
.art-contact-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 14px; padding: 18px 20px; }
.art-contact-card h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 7px; }
.art-contact-card p, .art-contact-card a { font-size: 14px; color: rgba(255,255,255,.72); text-decoration: none; display: block; line-height: 1.65; }
.art-contact-card a:hover { color: #00e5ff; }
.art-phone-big { font-family: 'Sora', sans-serif !important; font-size: 24px !important; font-weight: 900 !important; color: #00e5ff !important; }
.art-wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: #25D366; color: #fff; border-radius: 13px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; text-decoration: none; transition: opacity .2s; box-shadow: 0 4px 14px rgba(37,211,102,.28); }
.art-wa-btn:hover { opacity: .88; color: #fff; }
.art-call-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: rgba(0,184,217,.14); border: 1.5px solid rgba(0,184,217,.35); color: #fff; border-radius: 13px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s; }
.art-call-btn:hover { background: rgba(0,184,217,.24); color: #fff; }

/* ── Responsive ─────────────────────────────────────────────── */
@media(max-width:960px) {
  .blogi-grid { grid-template-columns: repeat(2,1fr); }
  .art-service-cards { grid-template-columns: repeat(3,1fr); }
  .art-bottom-row { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  .blogi-grid { grid-template-columns: 1fr; }
  .blogi-hero { padding: 90px 5% 48px; }
  .blog-main { padding: 72px 4% 40px; }
  .art-service-cards { grid-template-columns: repeat(2,1fr); }
}
