/* ============================================
   ETORISOFT — FRONTEND STYLES
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary:    #0A3D62;
  --primary-dk: #051F33;
  --accent:     #00C9A7;
  --accent-dk:  #00A88A;
  --white:      #FFFFFF;
  --light:      #F0F6FF;
  --border:     #D6E4F0;
  --text:       #4A5E72;
  --dark:       #0D1B2A;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(10,61,98,.10);
  --shadow-lg:  0 12px 48px rgba(10,61,98,.18);
  --tr:         .25s ease;
}
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { color: var(--dark); font-weight: 700; line-height: 1.25; }
button { font-family: inherit; }

/* --- Page Loader (fast) --- */
#page-loader {
  position: fixed; inset: 0; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .25s, visibility .25s;
}
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spin {
  width: 44px; height: 44px;
  border: 4px solid rgba(255,255,255,.2); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .55s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Scroll animations --- */
[data-anim] { opacity: 0; transform: translateY(28px); transition: opacity .5s ease, transform .5s ease; }
[data-anim="left"] { transform: translateX(-28px); }
[data-anim="fade"] { transform: none; }
[data-anim].in-view { opacity: 1; transform: none; }

/* --- Helpers --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.section-badge::before, .section-badge::after { content: '—'; opacity: .5; }
.section-title { font-size: clamp(24px,3vw,40px); margin-bottom: 14px; color: var(--dark); }
.section-sub   { color: var(--text); font-size: 16px; line-height: 1.75; max-width: 600px; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--dark); font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 8px; border: none; cursor: pointer;
  transition: var(--tr); white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,164,0,.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white); font-weight: 700; font-size: 15px;
  padding: 12px 28px; border-radius: 8px; border: 2px solid rgba(255,255,255,.35);
  cursor: pointer; transition: var(--tr); white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white); font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 8px; border: none; cursor: pointer; transition: var(--tr);
}
.btn-dark:hover { background: var(--primary-dk); transform: translateY(-2px); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-dk); color: rgba(255,255,255,.7);
  font-size: 13px; padding: 9px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar-item { display: flex; align-items: center; gap: 7px; }
.top-bar-item i { color: var(--accent); }
.top-bar a { color: rgba(255,255,255,.7); }
.top-bar a:hover { color: var(--accent); }

/* ============================================
   HEADER
   ============================================ */
header {
  background: var(--white); position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 8px; background: var(--primary);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 19px;
}
.logo-text { font-size: 23px; font-weight: 800; color: var(--primary); }
.logo-text span { color: var(--accent); }

/* Nav */
nav ul { display: flex; gap: 2px; align-items: center; }
nav a {
  display: block; padding: 9px 16px; border-radius: 7px;
  font-weight: 600; font-size: 15px; color: var(--dark); transition: var(--tr);
}
nav a:hover, nav a.active { background: var(--primary); color: var(--white); }

/* Header phone — anchor wrapping the whole block */
.hdr-phone {
  display: flex; align-items: center; gap: 12px;
  background: var(--light); padding: 10px 16px; border-radius: 10px; flex-shrink: 0;
  text-decoration: none; transition: var(--tr);
}
.hdr-phone:hover { background: #e8edf5; }
.hdr-phone .ph-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 16px;
}
.hdr-phone .ph-lbl { font-size: 11px; color: var(--text); font-weight: 600; }
.hdr-phone .ph-num { font-weight: 800; font-size: 15px; color: var(--dark); }
/* Contact info clickable links */
.ci-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(0,0,0,.2); transition: var(--tr); }
.ci-link:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: var(--tr); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(130deg, var(--primary-dk) 0%, #1B4F8A 100%);
  padding: 80px 0 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(247,164,0,.08) 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: flex-end; position: relative; z-index: 1; }
.hero-content { padding-bottom: 64px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247,164,0,.15); border: 1px solid rgba(247,164,0,.35);
  color: var(--accent); padding: 8px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px,4vw,54px); color: var(--white); margin-bottom: 18px; }
.hero p  { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 32px; max-width: 490px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { align-self: flex-end; }
.hero-img img { max-height: 500px; object-fit: contain; margin: 0 auto; }

/* Steps bar */
.steps-bar { background: var(--accent); }
.steps-inner { display: flex; }
.step-item {
  flex: 1; display: flex; align-items: center; gap: 14px;
  padding: 20px 28px; position: relative; color: var(--dark);
}
.step-item:not(:last-child)::after {
  content: '›'; position: absolute; right: 0; font-size: 24px; opacity: .35;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.1);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.step-label { font-weight: 700; font-size: 15px; line-height: 1.2; }
.step-num   { font-size: 11px; font-weight: 600; opacity: .6; margin-bottom: 2px; text-transform: uppercase; }

/* ============================================
   SECTIONS
   ============================================ */
.sec { padding: 90px 0; }
.sec-light { background: var(--light); }
.sec-dark { background: linear-gradient(130deg, var(--primary-dk) 0%, var(--primary) 100%); }

/* --- About --- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.exp-badge {
  position: absolute; bottom: 28px; right: -20px;
  background: var(--accent); color: var(--dark); padding: 22px 26px;
  border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.exp-badge .num { font-size: 38px; font-weight: 800; line-height: 1; }
.exp-badge .lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text p { color: var(--text); }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.check-list li i { color: var(--accent); font-size: 18px; flex-shrink: 0; }

/* --- Services --- */
.svc-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 50px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: var(--tr);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card-body { padding: 28px; }
.svc-icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(27,63,110,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 24px; margin-bottom: 18px;
}
.svc-card h3 { font-size: 18px; margin-bottom: 10px; }
.svc-card p  { color: var(--text); font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 14px; transition: var(--tr);
}
.read-more:hover { color: var(--accent); gap: 10px; }

/* --- Stats --- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-card { text-align: center; color: var(--white); }
.stat-num  { font-size: 54px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-lbl  { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* --- Reviews --- */
/* ---- Review grid ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }

/* ---- Review card ---- */
.review-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(27,63,110,.08);
  border: 1px solid var(--border);
  padding: 0;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Top coloured stripe */
.review-card-top {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5ca8 100%);
  padding: 20px 24px 16px;
}
.review-stars { display: flex; gap: 3px; }

/* Quote icon */
.review-quote {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px; flex-shrink: 0;
}

/* Body */
.review-card-body {
  padding: 20px 24px;
  display: flex; flex-direction: column; flex: 1; gap: 0;
}

.review-text {
  color: var(--text); font-size: 14px; line-height: 1.75;
  font-style: italic; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-text::before { content: '\201C'; color: var(--accent); font-style: normal; font-weight: 800; font-size: 18px; }
.review-text::after  { content: '\201D'; color: var(--accent); font-style: normal; font-weight: 800; font-size: 18px; }

/* Reply box — shown only when there IS a reply */
.review-reply {
  margin: 14px 0 0;
  background: #f0f6ff;
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 13px; color: var(--text);
}
.review-reply strong {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--primary);
  text-transform: uppercase; letter-spacing: .6px;
  font-weight: 700; margin-bottom: 5px;
}
.review-reply p { margin: 0; line-height: 1.6; }

/* "No reply yet" placeholder — fills space so cards match height */
.review-no-reply {
  margin: 14px 0 0;
  border: 1.5px dashed var(--border);
  border-radius: 8px; padding: 10px 14px;
  font-size: 12px; color: #b0bec5;
  display: flex; align-items: center; gap: 6px;
}
.review-no-reply i { font-size: 13px; }

/* Divider */
.review-divider { height: 1px; background: var(--border); margin: 14px 0 0; }

/* Author row */
.review-author {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0 0;
}
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5ca8);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 16px;
  flex-shrink: 0; border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(27,63,110,.2);
}
.review-name { font-weight: 700; color: var(--dark); font-size: 14px; line-height: 1.2; }
.review-date { font-size: 11px; color: var(--text); margin-top: 2px; }

/* Review Submit Form */
.review-form-wrap {
  background: var(--primary); border-radius: var(--radius);
  padding: 40px; color: var(--white);
}
.review-form-wrap h3 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.review-form-wrap p  { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 4px; }
.star-picker input { display: none; }
.star-picker label {
  font-size: 30px; cursor: pointer; color: rgba(255,255,255,.3);
  transition: color .15s; line-height: 1;
}
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--accent); }
.star-picker { direction: rtl; }
.star-picker label:hover, .star-picker label:hover ~ label { color: var(--accent); }
.rf-group { margin-bottom: 16px; }
.rf-group label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.rf-group input, .rf-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(255,255,255,.2);
  border-radius: 8px; background: rgba(255,255,255,.1); color: var(--white);
  font-size: 14px; font-family: inherit; transition: border-color .2s;
}
.rf-group input::placeholder, .rf-group textarea::placeholder { color: rgba(255,255,255,.4); }
.rf-group input:focus, .rf-group textarea:focus { outline: none; border-color: var(--accent); }
.rf-group textarea { min-height: 110px; resize: vertical; }
.rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- Why Us --- */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.why-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--light); padding: 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--dark);
}
.why-item i { color: var(--accent); font-size: 20px; flex-shrink: 0; }
.why-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }

/* --- Contact --- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--light); padding: 20px; border-radius: var(--radius);
}
.ci-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; flex-shrink: 0;
}
.ci-item h4 { font-size: 12px; color: var(--text); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.ci-item p  { font-weight: 700; color: var(--dark); font-size: 15px; }

/* Contact Form */
.cf-wrap { background: var(--light); padding: 36px; border-radius: var(--radius); }
.cf-wrap h3 { font-size: 22px; margin-bottom: 24px; }
.cf-group { margin-bottom: 18px; }
.cf-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-group label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.cf-group input, .cf-group textarea, .cf-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--dark); background: var(--white);
  font-family: inherit; transition: border-color .2s;
}
.cf-group input:focus, .cf-group textarea:focus, .cf-group select:focus { outline: none; border-color: var(--primary); }
.cf-group textarea { min-height: 120px; resize: vertical; }
.cf-success {
  display: none; background: #d4edda; color: #155724;
  padding: 14px 18px; border-radius: 8px; margin-top: 12px; font-weight: 600;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(130deg, var(--primary-dk) 0%, var(--primary) 100%);
  padding: 64px 0; text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px,4vw,50px); margin-bottom: 14px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; align-items: center; color: rgba(255,255,255,.6); font-size: 14px; }
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb i { font-size: 10px; }

/* ============================================
   TEAM
   ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card {
  text-align: center; padding: 36px 24px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--tr);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-ava {
  width: 88px; height: 88px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--white); margin: 0 auto 18px;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--text); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(130deg, var(--accent) 0%, #FF8C00 100%);
  padding: 60px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text h2 { color: var(--dark); font-size: clamp(22px,3vw,36px); }
.cta-text p  { color: rgba(0,0,0,.65); margin-top: 8px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--primary-dk); color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 44px; margin-bottom: 50px; }
.footer-logo .logo-text { color: var(--white); font-size: 26px; }
.footer-logo p { margin-top: 14px; font-size: 14px; line-height: 1.8; }
.footer-col h4 {
  color: var(--white); font-size: 15px; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 8px; transition: var(--tr);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i { font-size: 11px; color: var(--accent); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.footer-contact-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; text-align: center; font-size: 13px;
}
.footer-bottom a { color: var(--accent); }

/* ============================================
   MAP
   ============================================ */
.map-section { position: relative; }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-badge {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: 30px; padding: 10px 20px;
  display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18); white-space: nowrap; max-width: 90%;
  overflow: hidden; text-overflow: ellipsis;
}
.map-badge i { color: var(--accent); font-size: 18px; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .svc-grid  { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sec { padding: 56px 0; }
  .hero { padding: 56px 0 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-content { padding-bottom: 40px; }
  .about-wrap, .why-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .exp-badge { right: 0; }
  .why-img { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cf-row, .rf-row { grid-template-columns: 1fr; }
  .steps-inner { flex-direction: column; }
  .step-item::after { display: none; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column; padding: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,.1); }
  nav.open { display: flex; }
  nav ul { flex-direction: column; width: 100%; }
  nav a { padding: 12px 16px; display: block; }
  .hamburger { display: flex; }
  .hdr-phone { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   REVIEW SLIDER
   ============================================ */
.rv-slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.rv-slider { overflow: hidden; flex: 1; min-width: 0; }
.rv-track { display: flex; will-change: transform; }
/* .rv-slide widths are set by JS — do NOT set min-width % here */
.rv-slide { flex-shrink: 0; }
.rv-arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background var(--tr), transform var(--tr);
  box-shadow: 0 4px 16px rgba(27,63,110,.25); z-index: 2;
}
.rv-arrow:hover { background: var(--accent); color: var(--dark); transform: scale(1.08); }
.rv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.rv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background var(--tr), transform var(--tr); border: none; }
.rv-dot.active { background: var(--primary); transform: scale(1.3); }

/* Review photo */
.review-img-wrap { display: none; /* hidden — avatar shows instead */ }
.review-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-photo { margin: 12px 0; border-radius: var(--radius); overflow: hidden; max-height: 180px; }
.review-photo img { width: 100%; height: 180px; object-fit: cover; }

/* Photo upload area */
.photo-upload-area {
  border: 2px dashed rgba(255,255,255,.35); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: border-color var(--tr);
}
.photo-upload-area:hover { border-color: var(--accent); }

/* ============================================
   BLOG
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img { height: 200px; overflow: hidden; background: var(--primary); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img--placeholder { display: flex; align-items: center; justify-content: center; }
.blog-card-img--placeholder i { font-size: 48px; color: rgba(255,255,255,.3); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-cat { display: inline-block; background: rgba(27,63,110,.1); color: var(--primary); font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.blog-title { font-size: 18px; margin-bottom: 10px; line-height: 1.35; }
.blog-title a { color: var(--dark); }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: 14px; color: var(--text); flex: 1; margin-bottom: 16px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text); margin-bottom: 14px; }
.blog-meta i { color: var(--accent); margin-right: 4px; }

/* Single post */
.post-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.post-body { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.post-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.post-hero-img img { width: 100%; max-height: 400px; object-fit: cover; }
.post-meta-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; color: var(--text); }
.post-meta-bar i { color: var(--accent); margin-right: 4px; }
.post-title { font-size: 28px; margin-bottom: 24px; }
.post-content p { margin-bottom: 18px; line-height: 1.8; color: var(--text); }
.post-content strong { color: var(--dark); }
.post-footer { display: flex; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.post-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.sidebar-widget h4 { font-size: 16px; margin-bottom: 16px; color: var(--dark); }
.sidebar-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border: none; }
.sidebar-post img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sidebar-post-icon { width: 56px; height: 56px; border-radius: 8px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-post-icon i { color: rgba(255,255,255,.5); font-size: 20px; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; }
.sidebar-post-date { font-size: 12px; color: var(--text); margin-top: 3px; }
.sidebar-cta { background: var(--primary); color: rgba(255,255,255,.85); text-align: center; }
.sidebar-cta h4 { color: #fff; }
.sidebar-cta p { font-size: 13px; margin-bottom: 16px; }

/* review-reply defined above in card styles */

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .rv-slide { min-width: calc(50% - 12px); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-wrap { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .rv-slide { min-width: 100%; margin-right: 0; }
  .rv-slider-wrap { gap: 8px; }
  .rv-arrow { width: 38px; height: 38px; font-size: 13px; }
}
