/* ==========================================================================
   AssureShield Insurance — Premium HTML Template
   Palette: deep navy + warm gold on clean white
   Type: Cormorant Garamond (display) + Inter (body)
   Framework-free: custom properties, Grid, Flexbox, clamp()
   ========================================================================== */

/* ----------------------------------------- */
/* 1. Design tokens                          */
/* ----------------------------------------- */
:root {
  /* Ground */
  --clr-ink: #0d1f3c;
  --clr-navy: #132a4f;
  --clr-navy-soft: #1b355f;
  --clr-paper: #ffffff;
  --clr-mist: #f6f4ef;

  /* Primary — gold */
  --clr-gold: #c9993d;
  --clr-gold-bright: #e2b04e;
  --clr-gold-deep: #a87d2c;
  --clr-gold-soft: #f7ecd2;

  /* Surface */
  --clr-card: #ffffff;
  --clr-line: #e4e2dc;
  --clr-line-soft: #efece4;

  /* Text */
  --clr-heading: #0d1f3c;
  --clr-text: #46535f;
  --clr-muted: #77848f;

  /* On-dark */
  --clr-on-dark: #f2f5fa;

  /* Type */
  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Metrics */
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 24px rgba(13, 31, 60, 0.08);
  --shadow-md: 0 14px 40px rgba(13, 31, 60, 0.12);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------- */
/* 2. Reset & base                           */
/* ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--clr-gold-deep);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-gold);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 92px 0;
}

.section--tint {
  background: var(--clr-mist);
}

.section--dark {
  background: var(--clr-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold-deep);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
}

.eyebrow--center {
  justify-content: center;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-heading);
  margin-bottom: 14px;
}

.section-title em {
  font-style: italic;
  color: var(--clr-gold-deep);
}

.section-sub {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--clr-muted);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head .section-sub {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.btn--gold {
  background: var(--clr-gold);
  color: #fff;
}

.btn--gold:hover {
  background: var(--clr-gold-bright);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--navy {
  background: var(--clr-ink);
  color: #fff;
}

.btn--navy:hover {
  background: var(--clr-navy-soft);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--ghost:hover {
  border-color: var(--clr-gold-bright);
  color: var(--clr-gold-bright);
}

.btn--outline {
  background: transparent;
  border-color: var(--clr-gold);
  color: var(--clr-gold-deep);
}

.btn--outline:hover {
  background: var(--clr-gold);
  color: #fff;
}

/* ----------------------------------------- */
/* 3. Topbar                                 */
/* ----------------------------------------- */
.topbar {
  background: var(--clr-ink);
  color: rgba(242, 245, 250, 0.75);
  font-size: 13.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--clr-gold);
  flex: 0 0 auto;
}

.topbar-item a {
  color: rgba(242, 245, 250, 0.75);
}

.topbar-item a:hover {
  color: var(--clr-gold-bright);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(242, 245, 250, 0.75);
  transition: all var(--transition);
}

.topbar-socials a:hover {
  background: var(--clr-gold);
  color: #fff;
}

.topbar-socials svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ----------------------------------------- */
/* 4. Header / nav                           */
/* ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-line-soft);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-bright) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(201, 153, 61, 0.35);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--ff-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--clr-heading);
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-heading);
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-gold);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--clr-gold-deep);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--clr-gold-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--clr-line);
  border-radius: 10px;
  background: transparent;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--clr-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------- */
/* 5. Hero                                   */
/* ----------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--clr-ink) 0%, var(--clr-navy) 55%, var(--clr-navy-soft) 100%);
  color: var(--clr-on-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 82% 18%, rgba(226, 176, 78, 0.16) 0%, transparent 65%),
    radial-gradient(480px 300px at 12% 88%, rgba(226, 176, 78, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  min-height: 600px;
  padding: 90px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(226, 176, 78, 0.12);
  border: 1px solid rgba(226, 176, 78, 0.35);
  color: var(--clr-gold-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-gold-bright);
  box-shadow: 0 0 0 4px rgba(226, 176, 78, 0.2);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5.2vw, 4.15rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 22px;
}

.hero-title span {
  display: block;
  font-style: italic;
  color: var(--clr-gold-bright);
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(242, 245, 250, 0.8);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

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

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: rgba(242, 245, 250, 0.85);
}

.hero-point svg {
  width: 18px;
  height: 18px;
  fill: var(--clr-gold);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
}

.hero-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(5, 12, 28, 0.55);
}

.hero-card {
  position: absolute;
  bottom: -30px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero-card-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--clr-gold-soft);
  color: var(--clr-gold-deep);
}

.hero-card-ico svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-card strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--clr-heading);
  line-height: 1.1;
}

.hero-card span {
  font-size: 12.5px;
  color: var(--clr-muted);
}

.hero-card-2 {
  position: absolute;
  top: 26px;
  right: -20px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-heading);
}

/* ----------------------------------------- */
/* 6. Trust ribbon / stats                   */
/* ----------------------------------------- */
.stats-band {
  background: var(--clr-ink);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  opacity: 0.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 58px 0;
}

.stat {
  position: relative;
  text-align: center;
  padding: 0 24px;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--clr-gold-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 245, 250, 0.65);
}

/* ----------------------------------------- */
/* 7. Service cards                          */
/* ----------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 30px;
  background: var(--clr-card);
  border: 1px solid var(--clr-line-soft);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-bright));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-ico {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--clr-gold-soft);
  color: var(--clr-gold-deep);
  margin-bottom: 22px;
  transition: all var(--transition);
}

.service-card:hover .service-ico {
  background: var(--clr-gold);
  color: #fff;
}

.service-ico svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--clr-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-gold-deep);
}

.service-more svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform var(--transition);
}

.service-card:hover .service-more svg {
  transform: translateX(4px);
}

/* ----------------------------------------- */
/* 8. About split                            */
/* ----------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-photo {
  position: relative;
}

.split-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split-photo::before {
  content: '';
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 2px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

.split-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  padding: 18px 22px;
  background: var(--clr-ink);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.split-badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--clr-gold-bright);
  line-height: 1;
  margin-bottom: 4px;
}

.split-badge span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 245, 250, 0.7);
}

.split-copy h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-heading);
  margin-bottom: 16px;
}

.split-copy h2 em {
  font-style: italic;
  color: var(--clr-gold-deep);
}

.split-copy > p {
  color: var(--clr-muted);
  margin-bottom: 24px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--clr-text);
}

.check-item svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-gold);
  flex: 0 0 auto;
  margin-top: 3px;
}

/* ----------------------------------------- */
/* 9. Feature panels (services page)         */
/* ----------------------------------------- */
.panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
  padding: 54px 0;
}

.panel + .panel {
  border-top: 1px solid var(--clr-line-soft);
}

.panel:nth-child(even) .panel-media {
  order: 2;
}

.panel-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--clr-gold-soft);
  color: var(--clr-gold-deep);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.panel-copy h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 12px;
}

.panel-copy > p {
  color: var(--clr-muted);
  margin-bottom: 18px;
}

.panel-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 26px;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--clr-text);
}

.panel-list svg {
  width: 15px;
  height: 15px;
  fill: var(--clr-gold);
  flex: 0 0 auto;
}

/* ----------------------------------------- */
/* 10. Team cards                            */
/* ----------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-role {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 12px;
  background: linear-gradient(transparent, rgba(13, 31, 60, 0.85));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-info {
  padding: 18px 16px 22px;
}

.team-info h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 2px;
}

.team-info span {
  font-size: 13px;
  color: var(--clr-gold-deep);
  font-weight: 600;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--clr-mist);
  color: var(--clr-muted);
  transition: all var(--transition);
}

.team-social a:hover {
  background: var(--clr-gold);
  color: #fff;
}

.team-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ----------------------------------------- */
/* 11. Value cards                           */
/* ----------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  padding: 38px 32px;
  background: var(--clr-card);
  border: 1px solid var(--clr-line-soft);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--clr-gold-soft);
  color: var(--clr-gold-deep);
  margin-bottom: 20px;
}

.value-ico svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.value-card h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--clr-muted);
}

/* ----------------------------------------- */
/* 12. Blog cards                            */
/* ----------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.07);
}

.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--clr-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.blog-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--clr-muted);
  margin-bottom: 12px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-meta svg {
  width: 13px;
  height: 13px;
  fill: var(--clr-gold);
}

.blog-body h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-heading);
  margin-bottom: 10px;
}

.blog-body h3 a {
  color: inherit;
}

.blog-body h3 a:hover {
  color: var(--clr-gold-deep);
}

.blog-body p {
  font-size: 14.5px;
  color: var(--clr-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

/* ----------------------------------------- */
/* 13. Testimonial                           */
/* ----------------------------------------- */
.tst-wrap {
  position: relative;
  background:
    linear-gradient(rgba(13, 31, 60, 0.93), rgba(13, 31, 60, 0.93)),
    url('../img/img-client-1.jpg') center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 74px 48px;
  text-align: center;
  color: var(--clr-on-dark);
  overflow: hidden;
}

.tst-wrap::before {
  content: '\201C';
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: 16rem;
  line-height: 1;
  color: rgba(226, 176, 78, 0.16);
  pointer-events: none;
}

.tst-quote {
  position: relative;
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto 30px;
}

.tst-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.tst-avatar img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-gold);
}

.tst-avatar strong {
  display: block;
  font-size: 15.5px;
  color: #fff;
  text-align: left;
}

.tst-avatar span {
  font-size: 13px;
  color: var(--clr-gold-bright);
}

/* ----------------------------------------- */
/* 14. Page banner (inner pages)             */
/* ----------------------------------------- */
.page-banner {
  position: relative;
  padding: 108px 0 96px;
  background:
    linear-gradient(rgba(13, 31, 60, 0.86), rgba(13, 31, 60, 0.86)),
    url('../img/img-hero.jpg') center 38% / cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  opacity: 0.7;
}

.page-banner h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(242, 245, 250, 0.7);
}

.crumb a {
  color: var(--clr-gold-bright);
}

.crumb a:hover {
  text-decoration: underline;
}

.crumb svg {
  width: 12px;
  height: 12px;
  fill: rgba(242, 245, 250, 0.5);
}

/* ----------------------------------------- */
/* 15. Contact                               */
/* ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--clr-card);
  border: 1px solid var(--clr-line-soft);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.info-ico {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--clr-gold-soft);
  color: var(--clr-gold-deep);
}

.info-ico svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.info-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 3px;
}

.info-item p,
.info-item a {
  font-size: 14px;
  color: var(--clr-muted);
}

.info-item a:hover {
  color: var(--clr-gold-deep);
}

.map-frame {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-line-soft);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: saturate(0.85);
}

/* ----------------------------------------- */
/* 16. Forms                                 */
/* ----------------------------------------- */
.form-wrap {
  background: var(--clr-card);
  border: 1px solid var(--clr-line-soft);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  box-shadow: var(--shadow-sm);
}

.form-wrap h3 {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 6px;
}

.form-wrap > p {
  font-size: 14.5px;
  color: var(--clr-muted);
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--clr-heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--clr-heading);
  background: var(--clr-mist);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a88' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 4px rgba(201, 153, 61, 0.16);
  background: #fff;
}

.form-msg {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.form-msg.show {
  display: flex;
}

.form-ok {
  background: #ecf9f1;
  color: #1c7c46;
  border: 1px solid #bde4cf;
}

.form-err {
  background: #fdf0f0;
  color: #b33636;
  border: 1px solid #f2cccc;
}

.form-msg svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* ----------------------------------------- */
/* 17. Newsletter                            */
/* ----------------------------------------- */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(242, 245, 250, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--clr-gold);
}

.newsletter-form .btn {
  padding: 12px 22px;
}

/* ----------------------------------------- */
/* 18. CTA section                           */
/* ----------------------------------------- */
.cta-section {
  position: relative;
  background: linear-gradient(120deg, var(--clr-ink) 0%, var(--clr-navy) 60%, var(--clr-navy-soft) 100%);
  color: #fff;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 300px at 88% 20%, rgba(226, 176, 78, 0.18) 0%, transparent 60%),
    radial-gradient(420px 260px at 8% 90%, rgba(226, 176, 78, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.cta-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 14px;
}

.cta-section h2 em {
  font-style: italic;
  color: var(--clr-gold-bright);
}

.cta-section p {
  color: rgba(242, 245, 250, 0.8);
  max-width: 520px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
}

.cta-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--clr-gold-bright);
}

.cta-phone small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 245, 250, 0.6);
}

/* ----------------------------------------- */
/* 19. Error page                            */
/* ----------------------------------------- */
.error-wrap {
  text-align: center;
  padding: 110px 0 120px;
}

.error-code {
  font-family: var(--ff-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-bright) 45%, var(--clr-navy) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 10px;
}

.error-wrap h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--clr-heading);
  margin-bottom: 12px;
}

.error-wrap p {
  color: var(--clr-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ----------------------------------------- */
/* 20. Footer                                */
/* ----------------------------------------- */
.site-footer {
  background: var(--clr-ink);
  color: rgba(242, 245, 250, 0.7);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-bright), var(--clr-gold));
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-tag {
  color: var(--clr-gold-bright);
}

.footer-brand p {
  font-size: 14.5px;
  margin-top: 18px;
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(242, 245, 250, 0.75);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--clr-gold);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-gold);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: rgba(242, 245, 250, 0.7);
}

.footer-links a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-gold);
  flex: 0 0 auto;
  transition: transform var(--transition);
}

.footer-links a:hover {
  color: var(--clr-gold-bright);
  padding-left: 3px;
}

.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--clr-gold);
  flex: 0 0 auto;
  margin-top: 4px;
}

.footer-contact a {
  color: rgba(242, 245, 250, 0.7);
}

.footer-contact a:hover {
  color: var(--clr-gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer-bottom a {
  color: var(--clr-gold-bright);
}

/* ----------------------------------------- */
/* 21. Back to top                           */
/* ----------------------------------------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--clr-gold);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--clr-gold-bright);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------- */
/* 22. Reveal animation                      */
/* ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ----------------------------------------- */
/* 23. Responsive                            */
/* ----------------------------------------- */
@media (max-width: 992px) {
  .section {
    padding: 72px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 0 96px;
    gap: 56px;
  }

  .hero-visual {
    max-width: 440px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
    padding: 48px 0;
  }

  .stat:nth-child(2)::after {
    display: none;
  }

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

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

  .split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .split-photo {
    max-width: 560px;
  }

  .panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 0;
  }

  .panel:nth-child(even) .panel-media {
    order: 0;
  }

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

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

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

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 36px 40px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(13, 31, 60, 0.18);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 110;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 10px 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .topbar-right {
    display: none;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-card {
    left: 12px;
    bottom: -20px;
  }

  .hero-card-2 {
    right: 8px;
    top: 16px;
  }

  .form-wrap {
    padding: 32px 24px;
  }

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

  .panel-list {
    grid-template-columns: 1fr;
  }

  .tst-wrap {
    padding: 56px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0 40px;
  }

  .page-banner {
    padding: 84px 0 76px;
  }
}

@media (max-width: 576px) {
  .service-grid,
  .team-grid,
  .value-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .split-badge {
    right: 12px;
    bottom: 20px;
    padding: 14px 16px;
  }

  .hero-visual img {
    height: 300px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}

/* ----------------------------------------- */
/* 24. Reduced motion                        */
/* ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
