/* =============================================
   ACE INSURANCE — 2026 Redesign
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Variables --- */
:root {
  --navy:       #0f1d56;
  --navy-mid:   #1a2b6d;
  --navy-light: #243580;
  --sky:        #38b6e8;
  --sky-bright: #4ec9ff;
  --sky-glow:   rgba(56,182,232,0.35);
  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --border:     rgba(0,0,0,0.07);
  --border-light: rgba(255,255,255,0.1);
  --text:       #1a1f36;
  --text-2:     #4a5578;
  --text-3:     #8492b0;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 24px rgba(15,29,86,0.08);
  --shadow-lg:  0 16px 48px rgba(15,29,86,0.14);
  --shadow-glow:0 8px 32px rgba(56,182,232,0.25);
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: 'Inter', sans-serif; line-height: 1.2; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Layout --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }

/* --- Typography tokens --- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--sky);
  border-radius: 2px;
}
.heading-xl { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; }
.heading-lg { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; }
.heading-md { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 800; }
.subtext { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; max-width: 560px; }
.subtext.center { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  border: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-sky {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(56,182,232,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-sky:hover { background: #2aaad8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(56,182,232,0.45); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15,29,86,0.25);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,29,86,0.3); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline-navy:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

/* =============================================
   NAVBAR — Frosted Glass
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 16, 60, 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.35s var(--ease);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 64px; width: auto; }
.nav-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.nav-logo-text em { color: var(--sky); font-style: normal; }
.navbar.scrolled .nav-logo-text { color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-link { color: var(--text-2); }
.navbar.scrolled .nav-link:hover { color: var(--navy); background: var(--off-white); }
.nav-link.active { color: var(--sky); }
.navbar.scrolled .nav-link.active { color: var(--sky); }
.nav-cta { margin-left: 10px; }
.hamburger { display: none; background: none; border: none; padding: 6px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.navbar.scrolled .hamburger span { background: var(--navy); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 16px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 0.95rem; font-weight: 500; color: var(--text); padding: 10px 14px; border-radius: var(--radius-sm); transition: all 0.2s; }
.mobile-link:hover { background: var(--off-white); color: var(--sky); }
.mobile-cta { margin-top: 8px; }

/* =============================================
   HERO — Animated Mesh
   ============================================= */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(56,182,232,0.28), transparent 70%);
  top: -180px; left: -160px;
  animation: orbFloat1 14s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, rgba(99,130,255,0.2), transparent 70%);
  bottom: -100px; right: -80px;
  animation: orbFloat2 18s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle at center, rgba(56,182,232,0.18), transparent 70%);
  top: 50%; left: 55%;
  animation: orbFloat3 11s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px, 40px) scale(1.08); }
  66%      { transform: translate(-40px, 80px) scale(0.94); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-80px, -60px) scale(1.12); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%      { transform: translate(-50%,-50%) scale(1.3); opacity: 0.6; }
}
/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  max-width: 700px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,182,232,0.12);
  border: 1px solid rgba(56,182,232,0.3);
  color: var(--sky-bright);
  padding: 6px 14px 6px 8px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-pill-dot {
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(56,182,232,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(56,182,232,0.3); } 50% { box-shadow: 0 0 0 6px rgba(56,182,232,0.1); } }
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .sky { color: var(--sky); }
.hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.68);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Glass stats bar */
.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.hero-stat:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(56,182,232,0.4);
  transform: translateY(-3px);
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-num span { color: var(--sky); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 8px; line-height: 1.4; }
/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.scroll-mouse {
  width: 24px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--sky);
  border-radius: 2px;
  animation: mouseScroll 2s ease-in-out infinite;
}
@keyframes mouseScroll { 0%,100% { top: 5px; opacity: 1; } 60% { top: 18px; opacity: 0; } }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 140px 0 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-orb {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56,182,232,0.14), transparent 70%);
  pointer-events: none;
}
.page-hero-orb-2 {
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,130,255,0.1), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -0.03em; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-top: 12px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.breadcrumb a { color: var(--sky); }
.breadcrumb span { font-size: 0.7rem; }

/* =============================================
   SERVICES — Icon Grid
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-tile {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px 22px;
  text-align: center;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.service-tile:hover {
  border-color: var(--sky);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow);
}
.service-tile svg {
  width: 28px; height: 28px;
  color: var(--sky);
  stroke-width: 1.75;
}
.service-tile span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* =============================================
   WHY ACE — Dark Glass Cards
   ============================================= */
.features-bg {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.features-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(56,182,232,0.1), transparent 70%);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,182,232,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(56,182,232,0.12);
  border: 1px solid rgba(56,182,232,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap svg { width: 24px; height: 24px; color: var(--sky); stroke-width: 1.75; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s var(--ease);
}
.review-card:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); }
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-stars svg { width: 16px; height: 16px; color: #f59e0b; fill: #f59e0b; }
.review-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 18px; }
.review-footer { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy-mid), var(--sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review-author { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.review-loc { font-size: 0.78rem; color: var(--text-3); }
.google-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.google-stars { display: flex; gap: 2px; }
.google-stars svg { width: 14px; height: 14px; color: #f59e0b; fill: #f59e0b; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--sky) 0%, #1a8dbf 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); letter-spacing: -0.03em; }
.cta-section p { color: rgba(255,255,255,0.82); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* =============================================
   PRODUCTS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--sky); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img {
  height: 176px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-icon { color: rgba(255,255,255,0.2); }
.product-img-icon svg { width: 64px; height: 64px; stroke-width: 1.25; }
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,29,86,0.6), transparent);
}
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-tag {
  display: inline-flex;
  align-items: center;
  background: var(--off-white);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}
.product-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.product-body p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; flex: 1; }
.product-footer { padding: 16px 22px; border-top: 1px solid var(--border); }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky);
  transition: gap 0.2s;
}
.product-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.product-link:hover { gap: 10px; }
.product-link:hover svg { transform: translateX(2px); }
.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.category-header svg { width: 22px; height: 22px; color: var(--sky); }
.category-header h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s var(--ease);
  text-align: center;
}
.team-card:hover { border-color: var(--sky); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo-wrap {
  height: 240px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-photo-icon { color: rgba(255,255,255,0.15); }
.team-photo-icon svg { width: 72px; height: 72px; stroke-width: 1; }
.team-info { padding: 22px 18px; }
.team-info h3 { font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.team-role {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 4px 0 12px;
}
.team-bio { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; }

/* =============================================
   ABOUT
   ============================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-stack { position: relative; }
.about-img-main { border-radius: var(--radius-xl); overflow: hidden; }
.about-img-main img { width: 100%; height: 440px; object-fit: cover; }
.about-float-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--sky);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.about-float-badge strong { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; }
.about-float-badge span { font-size: 0.8rem; opacity: 0.9; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-2); margin-bottom: 16px; line-height: 1.8; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s var(--ease);
}
.value-card:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); }
.value-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(56,182,232,0.1), rgba(56,182,232,0.05));
  border: 1px solid rgba(56,182,232,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-icon-wrap svg { width: 24px; height: 24px; color: var(--sky); stroke-width: 1.75; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.area-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s;
}
.area-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(56,182,232,0.4); transform: translateY(-2px); }
.area-card svg { width: 28px; height: 28px; color: var(--sky); margin: 0 auto 10px; stroke-width: 1.5; }
.area-card strong { display: block; font-size: 0.9rem; color: var(--white); font-weight: 700; margin-bottom: 4px; }
.area-card p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* =============================================
   CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s;
}
.contact-card:hover { border-color: var(--sky); transform: translateX(3px); }
.contact-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; color: var(--sky); stroke-width: 1.75; }
.contact-card-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.contact-card-value { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.contact-card-value a { color: var(--text); }
.contact-card-value a:hover { color: var(--sky); }
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--off-white);
  transition: all 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(56,182,232,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.map-wrap { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: none; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: auto; width: 200px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: rgba(255,255,255,0.5);
}
.footer-social-btn svg { width: 16px; height: 16px; }
.footer-social-btn:hover { background: var(--sky); border-color: var(--sky); color: var(--white); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: all 0.2s; }
.footer-col a:hover { color: var(--sky); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}

/* =============================================
   PHOTO STRIP
   ============================================= */
.photo-strip-section {
  padding: 56px 0 0;
  overflow: hidden;
}
.photo-strip-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.photo-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 40px 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip-item {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-strip-item:hover img { transform: scale(1.05); }
.photo-strip-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(8,20,55,0.75) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =============================================
   PRIDE BANNER
   ============================================= */
.pride-banner {
  position: relative;
  background: url('../ace-flag.jpg') center 40% / cover no-repeat;
  padding: 110px 0;
  overflow: hidden;
}
.pride-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,20,55,0.85) 0%, rgba(8,20,55,0.65) 100%);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-split { grid-template-columns: 1fr; gap: 44px; }
  .about-img-stack { max-width: 560px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 44px 0; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 48px; }

  /* Hero */
  .hero-content { padding-top: 100px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
  .hero-stat { padding: 18px 12px; }
  .stat-num { font-size: 1.6rem; }

  /* Page Hero */
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* Sections */
  .heading-lg { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .heading-md { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Area grid */
  .area-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Trust badges */
  .trust-logos img { height: 48px; }

  /* About */
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-text { order: 1; }
  .about-img-stack { order: 2; width: 100%; }
  .about-img-main img { height: 260px; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Buttons */
  .btn-lg { padding: 14px 24px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .service-tile { padding: 18px 10px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }

  /* Area grid */
  .area-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Hero stats */
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Hero pill */
  .hero-pill { font-size: 0.68rem; padding: 5px 10px 5px 7px; }

  /* Trust badges */
  .trust-logos { gap: 20px; }
  .trust-logos img { height: 40px; }

  /* Community photo grid */
  .about-split > div[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .about-split > div[style*="1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

  /* Footer */
  .footer-grid { gap: 28px; }

  /* Nav logo */
  .nav-logo img { height: 42px; }
}
