/* =========================================================
   AVBELJ – davčno in računovodsko svetovanje
   Stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* brand (vzeto iz logotipa) */
  --navy-900: #0B1740;
  --navy: #172E73;
  --blue: #0061A9;
  --cyan: #009CDF;

  /* neutrals */
  --ink: #0F1830;
  --body: #4E5875;
  --muted: #7B8399;
  --line: #E3E9F3;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FC;

  --grad: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(23,46,115,.06), rgba(0,156,223,.10));

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --sh-sm: 0 1px 2px rgba(15,24,48,.05), 0 4px 14px rgba(15,24,48,.05);
  --sh: 0 10px 30px rgba(23,46,115,.08);
  --sh-lg: 0 24px 60px rgba(23,46,115,.14);

  --container: 1180px;
  --header-h: 78px;

  --t: .28s cubic-bezier(.22,.61,.36,1);

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); font-weight: 700; }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--navy); padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
  transition: top var(--t);
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}
.section-head p { margin-top: 14px; font-size: clamp(1rem, .96rem + .2vw, 1.09rem); }

.pill {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,97,169,.08);
  border: 1px solid rgba(0,97,169,.14);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Icons ---------- */
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ic-lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: .96rem; line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  min-height: 46px;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; min-height: 54px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 24px rgba(0,97,169,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,97,169,.34); background-position: 100% 0; }

.btn-outline { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-ghost { color: var(--navy); background: rgba(23,46,115,.06); }
.btn-ghost:hover { background: rgba(23,46,115,.11); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background var(--t), box-shadow var(--t), height var(--t), backdrop-filter var(--t);
}
.site-header.scrolled {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(15,24,48,.07), 0 8px 30px rgba(15,24,48,.06);
  height: 66px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand-logo {
  width: auto; height: 46px;
  transition: height var(--t);
}
.brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo { height: 40px; }
.site-header.scrolled .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav-list { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 26px); }
.nav-list a {
  position: relative;
  color: rgba(255,255,255,.9);
  font-weight: 600; font-size: .95rem;
  padding: 8px 2px;
  transition: color var(--t);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.site-header.scrolled .nav-list a { color: var(--ink); }
.nav-list a:hover { color: #fff; }
.site-header.scrolled .nav-list a:hover { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-ghost { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.site-header.scrolled .nav-cta .btn-ghost { color: var(--navy); background: rgba(23,46,115,.06); border-color: transparent; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; border-radius: 12px;
  background: rgba(255,255,255,.14);
  cursor: pointer;
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background var(--t);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: #fff;
  transition: transform var(--t), opacity var(--t), background var(--t);
}
.site-header.scrolled .nav-toggle { background: rgba(23,46,115,.08); }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 9vw, 130px);
  background: linear-gradient(160deg, #0D1B4A 0%, var(--navy) 45%, #0A4F92 100%);
  color: rgba(255,255,255,.86);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 90px);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.06));
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow-1 { width: 620px; height: 620px; background: #0090DD; top: -220px; right: -180px; }
.glow-2 { width: 520px; height: 520px; background: #2D4FCF; bottom: -260px; left: -160px; opacity: .42; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 78%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl {
  background: linear-gradient(100deg, #7FD4FF, #009CDF 60%, #59C2FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #8FD6FF;
  background: rgba(0,156,223,.12);
  border: 1px solid rgba(143,214,255,.24);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero .lead {
  font-size: clamp(1.02rem, .97rem + .35vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px;
  font-size: .92rem; color: rgba(255,255,255,.66);
}
.hero-tags li { display: flex; align-items: center; gap: 9px; }
.hero-tags li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(0,156,223,.18);
}

/* hero card */
.hero-card {
  position: relative;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 30px 70px rgba(4,12,40,.4);
}
.hero-card-head {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700; color: #BFE8FF;
  padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  width: 100%;
}
.hero-card-head .ic { width: 19px; height: 19px; color: #8FD6FF; }
.check-list { display: grid; gap: 14px; }
.check-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  font-size: .96rem; color: rgba(255,255,255,.86);
}
.check-list li::before {
  content: "";
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,156,223,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394DBFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
  margin-top: 2px;
}
.hero-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.muted-sm { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.phone { display: block; font-size: 1.16rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.phone:hover { color: #8FD6FF; }
.icon-btn {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  transition: background var(--t), transform var(--t);
}
.icon-btn:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.hero-badge {
  position: absolute; right: -12px; top: -26px;
  background: var(--grad);
  color: #fff; font-size: .78rem; font-weight: 800; line-height: 1.3;
  text-align: center;
  padding: 12px 18px; border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0,97,169,.45);
  transform: rotate(-3deg);
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust { margin-top: clamp(-56px, -5vw, -40px); position: relative; z-index: 2; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.trust-item { background: #fff; padding: clamp(22px, 2.6vw, 32px); }
.trust-item .ic-lg { color: var(--blue); margin-bottom: 14px; }
.trust-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.trust-item p { font-size: .93rem; color: var(--muted); }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 32px);
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-ic {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--blue);
  margin-bottom: 20px;
  transition: background var(--t), color var(--t);
}
.card-ic svg { width: 28px; height: 28px; fill: currentColor; }
.card:hover .card-ic { background: var(--grad); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; margin-bottom: 20px; }
.card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 0;
  color: var(--blue); font-weight: 700; font-size: .93rem;
  cursor: pointer;
  align-self: flex-start;
}
.card-link .ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }
.card-link:hover .ic { transform: translateX(4px); }

/* =========================================================
   ACCORDION
   ========================================================= */
.accordion { display: grid; gap: 12px; max-width: 940px; margin-inline: auto; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.acc-item.open { box-shadow: var(--sh); border-color: rgba(0,97,169,.28); }
.acc-h { font-size: inherit; margin: 0; }
.acc-btn {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  background: none; border: 0;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 26px);
  text-align: left; cursor: pointer;
  transition: background var(--t);
}
.acc-btn:hover { background: rgba(0,97,169,.035); }
.acc-num {
  font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  color: var(--cyan); flex: none;
}
.acc-title {
  flex: 1;
  font-size: clamp(1.02rem, .98rem + .35vw, 1.22rem);
  font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.acc-icon {
  position: relative; width: 34px; height: 34px; flex: none;
  border-radius: 50%; background: rgba(0,97,169,.08);
  transition: background var(--t), transform var(--t);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 2px; border-radius: 2px; background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform var(--t), background var(--t);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .acc-icon { background: var(--grad); }
.acc-item.open .acc-icon::before,
.acc-item.open .acc-icon::after { background: #fff; }
.acc-item.open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.22,.61,.36,1);
}
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > .acc-inner { overflow: hidden; }
.acc-inner > * { margin-inline: clamp(16px, 2.2vw, 26px); }
.acc-inner > *:last-child { margin-bottom: clamp(20px, 2.4vw, 28px); }
.acc-inner p { margin-bottom: 16px; font-size: .97rem; }
.acc-inner p:first-child { margin-top: 2px; }

.bullets { display: grid; gap: 10px 30px; }
.bullets-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.bullets li {
  position: relative; padding-left: 27px;
  font-size: .95rem; color: var(--body);
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(0,156,223,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230061A9' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat;
  transform: translateY(-50%);
}
.subblock {
  margin-top: 24px; padding: 20px clamp(16px, 2vw, 24px);
  background: var(--bg-alt); border-radius: var(--r);
  border: 1px solid var(--line);
}
.subblock h4 {
  font-size: .95rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--navy); margin-bottom: 14px;
}

/* =========================================================
   WHY
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.why-copy h2 { margin-bottom: 16px; }
.why-copy > p { font-size: 1.05rem; }
.quote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--cyan);
  background: var(--grad-soft);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 1.02rem; font-weight: 600; color: var(--navy);
  font-style: italic;
}
.why-list { display: grid; gap: 14px; }
.why-list li {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px clamp(18px, 2vw, 26px);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.why-list li:hover { transform: translateX(5px); box-shadow: var(--sh); border-color: transparent; }
.why-num {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-weight: 800; font-size: 1.02rem;
  box-shadow: 0 10px 22px rgba(0,97,169,.24);
}
.why-list h3 { margin-bottom: 5px; }
.why-list p { font-size: .95rem; color: var(--muted); }

/* =========================================================
   STEPS
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: s;
}
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 32px);
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(0,97,169,.25);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -13px;
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: linear-gradient(140deg, var(--navy) 0%, #0A57A0 60%, #0089C8 100%);
  color: rgba(255,255,255,.82);
  padding: clamp(48px, 6vw, 76px) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.07); top: -240px; right: -120px;
}
.cta-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 48px); flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
.contact-side { display: grid; gap: 14px; }
.office {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 2.2vw, 26px);
  transition: box-shadow var(--t), border-color var(--t);
}
.office:hover { box-shadow: var(--sh); border-color: rgba(0,97,169,.22); }
.office h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.office h3 .ic { color: var(--cyan); }
.office-addr { font-size: .96rem; margin-bottom: 14px; }

.office-tel { display: grid; gap: 2px; margin-bottom: 12px; }
.office-tel a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 38px; padding: 4px 0;
  font-size: .95rem; font-weight: 600; color: var(--blue);
  transition: color var(--t);
}
.office-tel a:hover { color: var(--navy); }
.office-tel svg { width: 16px; height: 16px; fill: currentColor; flex: none; opacity: .5; }
.office-map { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--blue); padding: 4px 0; }
.office-map:hover { text-decoration: underline; }

.contact-quick {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 8px;
  display: grid; gap: 2px;
}
.quick-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: var(--r);
  color: var(--ink);
  transition: background var(--t);
}
a.quick-row:hover { background: #fff; }
.quick-ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: var(--blue);
  border: 1px solid var(--line);
}
.quick-ic svg { width: 19px; height: 19px; fill: currentColor; }
.quick-row small { display: block; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quick-row strong { font-size: .98rem; font-weight: 700; word-break: break-word; }

/* form */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--sh);
}
.contact-form-wrap h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 800; }
.form-sub { font-size: .94rem; color: var(--muted); margin: 6px 0 26px; }

.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .97rem;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5875' stroke-width='2.2' 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 14px center; background-size: 17px;
  padding-right: 42px;
}
.field input::placeholder, .field textarea::placeholder { color: #A6AEC1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,97,169,.12);
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #E0576B; box-shadow: 0 0 0 4px rgba(224,87,107,.1); }

.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 2px; }
.field-check input { width: 22px; height: 22px; accent-color: var(--blue); cursor: pointer; margin-top: 1px; }
.field-check label { font-size: .87rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.field-check.invalid label { color: #C93A4E; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-note.ok { color: #12855A; }
.form-note.err { color: #C93A4E; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.62);
  padding: clamp(48px, 6vw, 76px) 0 26px;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1.25fr;
  gap: clamp(28px, 3.5vw, 48px);
}
.footer-logo { height: 62px; width: auto; margin-bottom: 18px; }
.footer-name { color: #fff; font-weight: 800; font-size: .88rem; letter-spacing: .04em; line-height: 1.5; margin-bottom: 10px; }
.footer-sub { font-size: .9rem; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.62); transition: color var(--t); }
.footer-col a:hover { color: var(--cyan); }
.footer-data li { display: grid; gap: 1px; }
.footer-data span { font-size: .78rem; color: rgba(255,255,255,.42); }
.footer-data strong { color: rgba(255,255,255,.9); font-weight: 600; font-size: .9rem; }
.footer-data strong a { color: rgba(255,255,255,.9); white-space: nowrap; }
.footer-data strong a:hover { color: var(--cyan); }

.footer-bottom {
  margin-top: clamp(34px, 4vw, 52px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .86rem;
}
.to-top { color: rgba(255,255,255,.72); font-weight: 600; }
.to-top:hover { color: var(--cyan); }

/* =========================================================
   FAB (mobile call)
   ========================================================= */
.fab-call {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: #fff;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0,97,169,.45);
  animation: fab-in .4s .8s both;
}
.fab-call svg { width: 24px; height: 24px; fill: currentColor; }
@keyframes fab-in { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); }
.js .reveal { transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }

  /* burger nav */
  .nav-toggle { display: flex; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav {
    z-index: 1;
    position: fixed; inset: 0 0 auto 0;
    display: block;
    padding: calc(var(--header-h) + 16px) clamp(18px, 5vw, 32px) 32px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(15,24,48,.16);
    border-radius: 0 0 26px 26px;
    transform: translateY(-102%);
    transition: transform .38s cubic-bezier(.22,.61,.36,1);
    max-height: 100dvh; overflow-y: auto;
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav-list { display: grid; gap: 2px; }
  .nav-list a {
    display: block; color: var(--ink); font-size: 1.06rem; font-weight: 700;
    padding: 14px 4px; border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .nav-cta .btn { width: 100%; }
  .nav-cta .btn-ghost, .site-header.scrolled .nav-cta .btn-ghost {
    color: var(--navy); background: rgba(23,46,115,.06); border-color: transparent;
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-card { max-width: 560px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .trust { margin-top: -34px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .fab-call { display: grid; }
  .brand-logo { height: 38px; }
  .site-header.scrolled .brand-logo { height: 34px; }
  .hero-badge { right: -4px; top: -22px; font-size: .74rem; padding: 9px 13px; }
  .why-list li:hover { transform: none; }
  .card:hover, .step:hover { transform: none; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .btn-lg { padding: 14px 22px; }
  .acc-btn { gap: 12px; padding-inline: 16px; }
  .acc-num { display: none; }
  .quick-row strong { font-size: .92rem; }
  .office-tel a { min-height: 42px; }
  .contact-form-wrap { border-radius: var(--r-lg); }
}

/* landscape phones: shorter hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .fab-call, .cta-band, .hero-bg, .contact-form-wrap { display: none !important; }
  .hero { background: #fff; color: #000; padding-top: 20px; }
  .hero h1, .hero .lead { color: #000; }
  .acc-panel { grid-template-rows: 1fr !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 12pt; }
}
