/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --primary: #1a5c8a;
  --primary-dark: #0e3d5e;
  --primary-light: #2980b9;
  --accent: #e67e22;
  --accent-dark: #d35400;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-bg: #eef3f9;
  --gray: #ecf0f1;
  --border: #d4e0ee;
  --text-dark: #1a2332;
  --text-body: #4a5568;
  --text-muted: #718096;
  --success: #27ae60;
  --error: #e74c3c;
  --shadow: 0 4px 24px rgba(14, 61, 94, 0.10);
  --shadow-hover: 0 10px 36px rgba(14, 61, 94, 0.20);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.28s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  line-height: 1.75;
  background: var(--white);
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 88px 0; }

.section-label {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 52px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.38);
}

.btn-blue {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-blue:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 92, 138, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ===========================
   TOP BAR
=========================== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.88);
  padding: 9px 0;
  font-size: 0.875rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left { display: flex; align-items: center; gap: 6px; }

.top-bar-right {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar a {
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--accent); }

/* ===========================
   HEADER
=========================== */
header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(14,61,94,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.logo em {
  font-style: normal;
  color: var(--primary-light);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav ul li a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-dark);
  transition: var(--transition);
}
nav ul li a:hover, nav ul li a.active {
  color: var(--primary);
  background: var(--light-bg);
}
nav ul li a.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 50px;
}
nav ul li a.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

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

/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.12rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: 0.82rem;
  opacity: 0.78;
  display: block;
  margin-top: 4px;
}

/* Hero visual panel */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex-shrink: 0;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.hero-card-icon { font-size: 2rem; margin-bottom: 8px; }
.hero-card span { font-size: 0.88rem; font-weight: 600; display: block; }
.hero-card.featured {
  grid-column: 1 / -1;
  background: rgba(230,126,34,0.75);
  border-color: rgba(230,126,34,0.5);
}

/* ===========================
   INSURANCE TYPE CARDS
=========================== */
.ins-cards { padding: 88px 0; background: var(--light-bg); }

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ins-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ins-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.ins-card-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}
.img-health { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.img-life   { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.img-travel { background: linear-gradient(135deg, #fff8e1, #ffecb3); }
.img-home   { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.img-auto   { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.img-biz    { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }
.img-liab   { background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.img-umbrella { background: linear-gradient(135deg, #fffde7, #fff9c4); }

.ins-card-body { padding: 26px; }
.ins-card-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.ins-card-body p { font-size: 0.94rem; color: var(--text-body); }

/* ===========================
   WELCOME SECTION
=========================== */
.welcome { padding: 88px 0; background: var(--white); }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.welcome-visual {
  position: relative;
}
.welcome-img-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--radius);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: white;
  box-shadow: var(--shadow-hover);
}
.welcome-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--accent);
  color: white;
  padding: 18px 24px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(230,126,34,0.35);
}
.welcome-badge strong { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1; }
.welcome-badge span { font-size: 0.82rem; font-weight: 600; opacity: 0.9; }

.welcome-content .section-title { margin-bottom: 18px; }
.welcome-content > p { margin-bottom: 14px; }
.welcome-content > p:last-of-type { margin-bottom: 32px; }

.feat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feat-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--light-bg);
  border-radius: 12px;
  padding: 18px 16px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.feat-box:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.feat-box:hover h4, .feat-box:hover p { color: var(--white); }

.feat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow);
}
.feat-box:hover .feat-icon { background: rgba(255,255,255,0.18); }
.feat-text h4 { font-size: 0.93rem; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.feat-text p { font-size: 0.83rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ===========================
   QUOTE CTA BANNER
=========================== */
.quote-banner {
  background: linear-gradient(135deg, #c0392b 0%, var(--accent) 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}
.quote-banner h2 { font-size: 2.4rem; font-weight: 900; margin-bottom: 14px; }
.quote-banner p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.quote-banner .btn-primary { background: var(--white); color: var(--accent); border-color: var(--white); }
.quote-banner .btn-primary:hover { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }

/* ===========================
   PRODUCTS SECTION
=========================== */
.products { padding: 88px 0; background: var(--off-white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.product-thumb {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-body { padding: 24px; flex: 1; }
.product-body h3 { font-size: 1.18rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.product-body p { font-size: 0.92rem; color: var(--text-body); margin-bottom: 14px; }
.product-phone {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===========================
   8 SERVICES SECTION
=========================== */
.best-services { padding: 88px 0; background: var(--white); }

.services-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.svc-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: default;
}
.svc-box:hover {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.svc-icon { font-size: 2.6rem; margin-bottom: 14px; display: block; }
.svc-box h4 { font-size: 0.98rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.svc-box p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials { padding: 88px 0; background: var(--light-bg); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.07;
  font-family: Georgia, serif;
  line-height: 1;
}

.stars { color: #f39c12; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card p {
  font-size: 0.93rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.t-info strong { display: block; font-size: 0.95rem; color: var(--text-dark); font-weight: 700; }
.t-info span { font-size: 0.82rem; color: var(--text-muted); }

/* ===========================
   PARTNERS
=========================== */
.partners { padding: 64px 0; background: var(--white); }

.partners-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}

.partner-tile {
  background: var(--light-bg);
  border-radius: 10px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  border: 2px solid transparent;
}
.partner-tile:hover { border-color: var(--primary); color: var(--primary); background: var(--white); }

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.82);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  margin-bottom: 52px;
}

.footer-brand .logo { color: var(--white); font-size: 1.65rem; display: block; margin-bottom: 16px; }
.footer-brand > p { font-size: 0.91rem; line-height: 1.85; margin-bottom: 22px; }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 0.91rem;
}
.footer-contact-row a { color: rgba(255,255,255,0.82); transition: color 0.2s; }
.footer-contact-row a:hover { color: var(--accent); }

footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.91rem;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}
.footer-links a::before { content: '›'; font-size: 1.2rem; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.agent-box {
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
}
.agent-box p { font-size: 0.88rem; margin-bottom: 8px; line-height: 1.6; }
.agent-box strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 68px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 560px; margin: 0 auto 18px; }
.breadcrumb { font-size: 0.9rem; opacity: 0.7; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { margin: 0 8px; }

/* ===========================
   ABOUT PAGE
=========================== */
.about-intro { padding: 88px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrap { position: relative; }
.about-img-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: var(--radius);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  color: var(--white);
  box-shadow: var(--shadow-hover);
}
.about-stamp {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(230,126,34,0.35);
}
.about-stamp strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-stamp span { font-size: 0.8rem; font-weight: 600; }

.about-text .section-title { margin-bottom: 18px; }
.about-text p { margin-bottom: 14px; font-size: 0.97rem; }

.mission-section { padding: 88px 0; background: var(--light-bg); }

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.mission-card-icon { font-size: 3rem; display: block; margin-bottom: 18px; }
.mission-card h3 { font-size: 1.18rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.mission-card p { font-size: 0.93rem; color: var(--text-body); }

.why-choose { padding: 88px 0; background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 18px;
  padding: 26px 22px;
  background: var(--light-bg);
  border-radius: 12px;
  transition: var(--transition);
  align-items: flex-start;
}
.why-item:hover { background: var(--primary); color: var(--white); transform: translateX(4px); }
.why-item:hover h4, .why-item:hover p { color: var(--white); }

.why-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  min-width: 52px;
  flex-shrink: 0;
}
.why-item:hover .why-num { color: var(--white); opacity: 0.18; }
.why-body h4 { font-size: 1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.why-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===========================
   SERVICES PAGE
=========================== */
.services-page { padding: 88px 0; }

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.svc-page-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  transition: var(--transition);
  border-left: 5px solid transparent;
  align-items: flex-start;
}
.svc-page-card:hover { border-left-color: var(--primary); transform: translateX(5px); box-shadow: var(--shadow-hover); }

.svc-page-icon { font-size: 2.8rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.svc-page-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.svc-page-body p { font-size: 0.93rem; color: var(--text-body); line-height: 1.7; }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-section { padding: 88px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 52px;
  align-items: start;
}

.contact-info h2 { font-size: 1.9rem; font-weight: 900; color: var(--text-dark); margin-bottom: 14px; }
.contact-info > p { margin-bottom: 36px; font-size: 0.97rem; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
}
.c-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.c-detail strong { display: block; color: var(--text-dark); font-weight: 700; margin-bottom: 3px; }
.c-detail a { color: var(--primary); font-weight: 600; }
.c-detail a:hover { color: var(--accent); }
.c-detail p { font-size: 0.93rem; margin: 0; }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.contact-form-box h3 { font-size: 1.5rem; font-weight: 900; color: var(--primary); margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 7px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  font-family: inherit;
  transition: var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,92,138,0.1);
}
.form-group textarea { height: 135px; resize: vertical; }

.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 14px;
}
.form-success { background: #d4edda; color: #155724; }
.form-error   { background: #f8d7da; color: #721c24; }

/* ===========================
   LEGAL PAGES
=========================== */
.legal { padding: 80px 0; }
.legal .container { max-width: 920px; }

.legal-updated {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 44px;
}

.legal h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  margin: 40px 0 14px;
}
.legal h3 { font-size: 1.12rem; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.legal p { margin-bottom: 16px; font-size: 0.96rem; line-height: 1.8; color: var(--text-body); }
.legal ul { list-style: disc; padding-left: 26px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 8px; font-size: 0.96rem; line-height: 1.75; }
.legal a { color: var(--primary); font-weight: 600; }
.legal a:hover { color: var(--accent); }

/* ===========================
   SCROLL-IN ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ===========================
   RESPONSIVE — 1024px
=========================== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-inner { grid-template-columns: 1fr; }

  .services-8 { grid-template-columns: repeat(3, 1fr); }
  .partners-row { grid-template-columns: repeat(4, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ===========================
   RESPONSIVE — 768px
=========================== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    z-index: 998;
    gap: 4px;
  }
  nav ul.open { display: flex; }
  nav ul li a { width: 100%; padding: 12px 16px; }
  nav ul li a.nav-cta { text-align: center; border-radius: var(--radius-sm); }

  .top-bar-inner { flex-direction: column; gap: 6px; text-align: center; }
  .top-bar-right { gap: 14px; flex-wrap: wrap; justify-content: center; }

  .hero { padding: 60px 0; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-stats { gap: 20px; }

  .cards-row { grid-template-columns: 1fr; }

  .welcome-grid { grid-template-columns: 1fr; gap: 36px; }
  .welcome-img-box { height: 260px; font-size: 4rem; }
  .welcome-badge { position: static; display: inline-block; margin-top: 18px; }
  .feat-boxes { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .product-thumb { width: 100%; height: 130px; }

  .services-8 { grid-template-columns: repeat(2, 1fr); }

  .testi-grid { grid-template-columns: 1fr; }

  .partners-row { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-box { height: 260px; font-size: 4rem; }
  .about-stamp { position: static; display: inline-block; margin-top: 18px; }

  .mission-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .services-page-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
}

/* ===========================
   RESPONSIVE — 480px
=========================== */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.75rem; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }

  .services-8 { grid-template-columns: 1fr 1fr; }
  .partners-row { grid-template-columns: repeat(2, 1fr); }

  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .quote-banner h2 { font-size: 1.8rem; }
}

/* ===========================
   IMAGE SUPPORT (real photos)
=========================== */
.ins-card-img { font-size:0; overflow:hidden; }
.ins-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.ins-card:hover .ins-card-img img { transform:scale(1.06); }

.welcome-img-box { font-size:0; overflow:hidden; padding:0; }
.welcome-img-box img { width:100%; height:100%; object-fit:cover; display:block; }

.product-thumb { font-size:0; overflow:hidden; }
.product-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

.about-img-box { font-size:0; overflow:hidden; padding:0; }
.about-img-box img { width:100%; height:100%; object-fit:cover; display:block; }

.hero-img-panel { flex-shrink:0; position:relative; z-index:1; align-self:center; }
.hero-img-panel img {
  width:480px; height:480px;
  object-fit:cover; border-radius:24px;
  box-shadow:0 24px 64px rgba(0,0,0,.38);
  display:block;
}

.page-hero {
  background:
    linear-gradient(135deg,rgba(14,61,94,.93) 0%,rgba(26,92,138,.86) 100%),
    url('assets/page-hero-bg.jpg')
    center/cover no-repeat !important;
}

/* Service page cards — column layout with top image */
.svc-page-card { padding:0; flex-direction:column; overflow:hidden; border-left:none; border-top:4px solid transparent; }
.svc-page-card:hover { border-left-color:transparent; border-top-color:var(--primary); transform:translateY(-5px); }
.svc-card-img { height:190px; overflow:hidden; width:100%; flex-shrink:0; }
.svc-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.svc-page-card:hover .svc-card-img img { transform:scale(1.05); }
.svc-page-card > .svc-page-icon { padding:20px 24px 0; }
.svc-page-card > .svc-page-body  { padding:8px 24px 24px; }

@media (max-width:1024px) { .hero-img-panel { display:none; } }
@media (max-width:768px)  { .hero-img-panel { display:none; } }
