/* ===== ARADO Būvfirma — nākotnes dizains ===== */
:root {
  --red: #b3221c;
  --red-hi: #e5452f;
  --red-deep: #7a130f;
  --ink: #111214;
  --ink-2: #1b1c20;
  --text: #2c2e33;
  --muted: #6b6f77;
  --line: #e6e5e1;
  --grey: #f2f2f0;
  --white: #ffffff;
  --r-lg: 28px;
  --r-md: 20px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--ink); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.red { color: var(--red); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ===== Pogas (kapsulas) ===== */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 .95rem var(--font); text-decoration: none; white-space: nowrap;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.pill:hover { transform: translateY(-2px); }
.pill-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.pill-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.pill-block { width: 100%; }
.pill-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(179,34,28,.6); }
.pill-red:hover { background: var(--red-hi); }
.pill-white { background: #fff; color: var(--red); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.pill-ghost { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.pill-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-weight: 600; font-size: .88rem; backdrop-filter: blur(8px);
}
.chip-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ping 2s infinite; }
.chip-dark .dot { background: var(--red-hi); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ===== Galvene ===== */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.hdr-in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.brand span { font: 700 1.05rem var(--display); letter-spacing: .06em; }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .93rem; padding: .5rem 1rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.16); }
.nav a.active { background: #fff; color: var(--red); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr .pill-red { background: #fff; color: var(--red); box-shadow: none; }

.hdr.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.hdr.scrolled .brand { color: var(--ink); }
.hdr.scrolled .brand img { box-shadow: none; }
.hdr.scrolled .nav { background: var(--grey); border-color: var(--line); }
.hdr.scrolled .nav a { color: var(--ink); }
.hdr.scrolled .nav a:hover { background: #fff; }
.hdr.scrolled .nav a.active { background: var(--red); color: #fff; }
.hdr.scrolled .pill-red { background: var(--red); color: #fff; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.16); padding: 0; }
.burger span { display: block; width: 18px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; transition: transform .3s; }
.hdr.scrolled .burger, .hdr.menu-open .burger { background: var(--grey); }
.hdr.scrolled .burger span, .hdr.menu-open .burger span { background: var(--ink); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .brand span { display: none; }
  .nav {
    position: fixed; top: calc(var(--hdr) + 4px); left: 12px; right: 12px;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a, .hdr.scrolled .nav a { color: var(--ink); font-size: 1.1rem; padding: .9rem 1.1rem; }
  .nav a.active, .hdr.scrolled .nav a.active { background: var(--grey); color: var(--red); }
  .hdr.menu-open { background: #fff; }
  .hdr.menu-open .brand img { box-shadow: none; }
  .hdr.menu-open .pill-red { background: var(--red); color: #fff; }
}

/* ===== Sākums ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--hdr) + 40px) 0 72px;
  background: radial-gradient(120% 90% at 15% 0%, #ea5236 0%, var(--red) 45%, var(--red-deep) 100%);
}
.hero-glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,160,120,.45), transparent 60%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-12vmax, 14vmax) scale(1.1); } }
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg); transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: gridmove 6s linear infinite;
}
@keyframes gridmove { to { background-position: 0 64px, 0 0; } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.035em; line-height: .98; margin: 22px 0 18px; }
.h1-sm { display: block; }
.slogan { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: .6em; }
.hero-lead { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 32em; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stack { position: relative; height: min(560px, 62vh); transform-style: preserve-3d; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.card-photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.c1 { inset: 8% 6% 18% 4%; transform: rotate(-3deg) translateZ(30px); }
.c2 { width: 38%; aspect-ratio: 3/4; right: -2%; bottom: 0; transform: rotate(6deg) translateZ(70px); }
.c3 { width: 30%; aspect-ratio: 3/4; left: -4%; bottom: 2%; transform: rotate(-8deg) translateZ(55px); }
.float-tag {
  position: absolute; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 18px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: bob 5s ease-in-out infinite;
}
.float-tag b { font-family: var(--display); font-size: 1.1rem; line-height: 1.2; }
.float-tag span { font-size: .8rem; opacity: .85; }
.t1 { top: 0; right: 4%; transform: translateZ(90px); }
.t2 { top: 42%; left: -6%; animation-delay: -2.5s; transform: translateZ(90px); }
.t2 b { font-size: 1.8rem; }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--hdr) + 32px); }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-stack { height: 420px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero-cta .pill { flex: 1 1 100%; }
  .hero-stack { height: 330px; }
  .t2 { left: 0; }
}

/* ===== Slīdošā josla ===== */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 clamp(1rem, 2vw, 1.35rem) var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: ""; width: 10px; height: 10px; background: var(--red-hi); transform: rotate(45deg); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sadaļas ===== */
.sec { padding: clamp(72px, 10vw, 130px) 0; }
.sec-grey { background: var(--grey); }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; }
.head-row .lead { margin: 0; }

/* Priekšrocības */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.perk { padding: 12px 24px; }
.ico3d { width: 72px; height: 72px; margin: 0 auto 18px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.18)); }
.perk h3 { font-size: 1.35rem; }
.perk p { color: var(--muted); margin: 0 auto; max-width: 22em; }
@media (max-width: 760px) { .perks { grid-template-columns: 1fr; gap: 40px; } }

/* Lielais skaitlis */
.statement { overflow: hidden; }
.statement-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chrome-wrap { position: relative; }
.chrome-wrap::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(229,69,47,.22), transparent 65%); filter: blur(30px); }
.chrome-house { position: relative; width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.ch-body { animation: float 6s ease-in-out infinite; }
.ch-shadow { animation: shadow 6s ease-in-out infinite; transform-origin: 200px 395px; }
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes shadow { 50% { transform: scale(.85); opacity: .7; } }
.mega { font: 700 clamp(7rem, 18vw, 15rem) var(--display); line-height: .85; letter-spacing: -.06em; color: var(--ink); margin-bottom: 12px; }
.statement-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.statement-copy .lead { max-width: 30em; margin-bottom: 2rem; }
@media (max-width: 860px) {
  .statement-in { grid-template-columns: 1fr; text-align: center; }
  .chrome-house { max-width: 340px; }
  .statement-copy .lead { margin-left: auto; margin-right: auto; }
}

/* Segmentētā izvēle */
.seg { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; gap: 4px; border-radius: 999px; background: var(--grey); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-left { margin-left: 0; }
.seg-btn { flex: none; font: 700 .95rem var(--font); color: var(--ink); background: transparent; border: 0; padding: .7rem 1.25rem; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg-btn:hover { background: rgba(255,255,255,.8); }
.seg-btn.active { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(179,34,28,.6); }
.sec-grey .seg { background: #fff; }
@media (max-width: 600px) {
  .seg { flex-wrap: wrap; justify-content: center; border-radius: 24px; overflow: visible; }
  .seg-left { margin-left: auto; }
  .seg-btn { padding: .6rem .95rem; font-size: .9rem; }
}

/* Pakalpojumu paneļi */
.panels { position: relative; }
.panel { display: none; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel.active { display: grid; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.panel-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.svc { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; }
.svc .n { font: 600 .95rem var(--display); color: var(--red); min-width: 34px; padding-top: 4px; }
.svc h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .25em; letter-spacing: -.02em; }
.svc p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } .panel-media { aspect-ratio: 16 / 10; } }

/* Darba gaita */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: #fff; border-radius: var(--r-md); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s var(--ease), box-shadow .3s; }
.steps li:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.3); }
.step-n { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 1.05rem var(--display); color: var(--ink); }
.steps li:hover .step-n { background: var(--red); border-color: var(--red); color: #fff; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { flex-direction: row; align-items: flex-start; } .step-n { flex: none; } }

/* Projekti — karuselis */
.car-nav { display: flex; gap: 8px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.round:hover { background: var(--red); border-color: var(--red); color: #fff; }
.carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(24px, calc((100vw - 1240px) / 2 + 24px)) 24px; scroll-padding-inline: max(24px, calc((100vw - 1240px) / 2 + 24px));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.pc { position: relative; flex: none; width: clamp(240px, 26vw, 330px); aspect-ratio: 3 / 4; margin: 0; border-radius: var(--r-md); overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: var(--grey); }
.pc[hidden] { display: none; }
.pc img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pc:hover img { transform: scale(1.06); }
.pc figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 14px;
  background: rgba(17,18,20,.55); backdrop-filter: blur(10px); color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.35;
}
.car-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.car-progress i { display: block; height: 100%; width: 20%; background: var(--red); border-radius: 3px; transition: width .2s, transform .2s; }
@media (max-width: 760px) { .car-nav { display: none; } .pc { width: 72vw; } }

/* Par mums */
.about { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; background: var(--ink); color: rgba(255,255,255,.75); border-radius: 36px; padding: clamp(28px, 5vw, 64px); }
.about-glow { position: absolute; width: 520px; height: 520px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(229,69,47,.5), transparent 65%); filter: blur(10px); }
.about-copy { position: relative; }
.about h2 { color: #fff; margin-top: 20px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: .5rem .95rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .9rem; font-weight: 600; }
.about-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-year { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 16px 20px; border-radius: 20px; background: rgba(179,34,28,.85); backdrop-filter: blur(10px); color: #fff; display: flex; align-items: baseline; gap: 12px; }
.mega-sm { font: 700 2.4rem var(--display); letter-spacing: -.04em; line-height: 1; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; border-radius: 28px; } .about-media { aspect-ratio: 4 / 3; } }

/* Kontakti */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.big-link { display: block; text-decoration: none; padding: 20px 0; border-bottom: 1px solid #dcdad5; font: 600 clamp(1.25rem, 2.4vw, 1.75rem) var(--font); color: var(--ink); letter-spacing: -.02em; transition: color .2s, padding-left .3s var(--ease); }
.big-link small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
a.big-link:hover { color: var(--red); padding-left: 8px; }
.big-link.static { font-size: clamp(1.05rem, 1.8vw, 1.25rem); border-bottom: 0; }

.contact-form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.25); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--font); color: var(--ink);
  padding: 1.45rem 1.1rem .55rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--grey);
  transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.field select { 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='%23111214' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 1.15rem; top: 1.05rem; color: var(--muted); font-weight: 500; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.up { top: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(179,34,28,.12); }
.field .invalid { border-color: var(--red); background: #fff5f4; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Kājene */
.ftr { background: var(--ink); color: rgba(255,255,255,.6); padding: 72px 0 28px; font-size: .92rem; }
.ftr-top { display: flex; align-items: center; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr-logo { width: 96px; height: 96px; border-radius: 18px; flex: none; }
.ftr-slogan { font: 700 clamp(1.5rem, 3.6vw, 2.8rem) var(--display); color: #fff; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.ftr-slogan span { color: var(--red-hi); }
.ftr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.ftr-grid small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; }
.ftr-bottom a { text-decoration: none; }
.ftr-bottom a:hover { color: #fff; }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ftr-top { flex-direction: column; align-items: flex-start; } .ftr-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,12,.94); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 64px 80px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 18px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255,255,255,.85); font-weight: 600; }
@media (max-width: 600px) { .lightbox { padding: 64px 12px 90px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-caption { bottom: 30px; padding: 0 76px; font-size: .9rem; } }

/* Ātrās saziņas josla (tikai telefonā) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
    display: flex; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(17,18,20,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .98rem; }
  .mbar-call { flex: 0 0 auto; padding: 0 20px; background: #fff; color: var(--red); }
  .mbar-req { flex: 1; padding: 0 16px; background: var(--red); color: #fff; white-space: nowrap; }
  .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Telefona pielāgojumi */
html { -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
.ftr-bottom a { display: inline-block; padding: 10px 0; }
@media (hover: none) {
  .pill:hover, .steps li:hover { transform: none; }
  .pc:hover img { transform: none; }
  .steps li:hover { box-shadow: none; }
}
@media (max-width: 760px) {
  .sec { padding: 64px 0; }
  .head { margin-bottom: 32px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pc { width: 78vw; }
  .pc figcaption { font-size: .85rem; }
  .carousel { gap: 12px; padding-inline: 16px; scroll-padding-inline: 16px; }
}
@media (max-width: 600px) {
  :root { --hdr: 64px; }
  .hdr.scrolled { background: rgba(255,255,255,.94); }
  .brand img { width: 40px; height: 40px; border-radius: 10px; }
  .burger { width: 42px; height: 42px; }
  .hdr .pill-sm { padding: .5rem .95rem; }
  .hero { padding: calc(var(--hdr) + 24px) 0 48px; }
  .hero h1 { margin-top: 16px; }
  .hero-lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-stack { height: 300px; }
  .c1 { inset: 6% 4% 16% 4%; }
  .c2 { right: 0; width: 34%; }
  .c3 { left: 0; width: 28%; }
  .t1 { right: 0; top: -4px; }
  .t1 b { font-size: .95rem; }
  .float-tag { padding: 10px 12px; border-radius: 14px; }
  .marquee { padding: 16px 0; }
  .marquee span { padding: 0 18px; gap: 36px; }
  .marquee span::after { margin-left: 18px; width: 8px; height: 8px; }
  .perk { padding: 0 8px; }
  .chrome-house { max-width: 280px; }
  .mega { font-size: 6.5rem; }
  /* Cilnes un filtri: kārtīgs 2×2 režģis */
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; }
  .seg-left { margin-left: 0; }
  .seg-btn { padding: .75rem .5rem; font-size: .9rem; min-height: 44px; border-radius: 16px; }
  .svc { gap: 14px; padding: 18px 0; }
  .svc .n { min-width: 28px; }
  .steps li { padding: 20px; gap: 16px; }
  .about { border-radius: 24px; padding: 28px 20px 20px; }
  .about-glow { width: 360px; height: 360px; left: -120px; bottom: -180px; }
  .tags li { font-size: .85rem; padding: .45rem .85rem; }
  .big-link { padding: 16px 0; font-size: 1.2rem; word-break: break-word; }
  .contact-form { padding: 22px 18px; border-radius: 22px; }
  .ftr { padding-top: 56px; }
  .ftr-logo { width: 72px; height: 72px; }
  .lb-caption { font-size: .85rem; }
}

/* Parādīšanās animācija */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-stack { transform: none !important; }
}
