/* ================================================================
   Powala — Industrial design system
   ================================================================ */

:root {
  /* Color — graphite, steel & welding spark orange */
  --bg:           #0a0a0a;
  --bg-elevated:  #141414;
  --surface:      #1c1c1c;
  --surface-2:    #222831;
  --border:       rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text:         #fafafa;
  --text-secondary: #a0a0a0;
  --text-muted:   #8a8a8a;
  --accent:       #fd7014;
  --accent-hover: #ff8533;
  --accent-muted: rgba(253, 112, 20, 0.18);
  --accent-subtle: rgba(253, 112, 20, 0.08);
  --focus:        var(--accent);
  --success:      #86efac;
  --error:        #fca5a5;

  /* Section bands — alternating backgrounds */
  --section-band: var(--bg);
  --section-band-alt: var(--bg-elevated);

  /* Type scale (1.25 ratio) */
  --font-display: 'Rajdhani', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.563rem;
  --text-3xl:  1.953rem;
  --text-4xl:  2.441rem;
  --text-5xl:  3.052rem;

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --header-bar: 8rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-h: calc(var(--header-bar) + var(--safe-top));
  --max-w:    76rem;
  --page-padding: var(--space-6);
  --radius:   0.625rem;
  --radius-lg: 1rem;
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.45s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--safe-bottom);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

/* Shared page container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: max(var(--page-padding), env(safe-area-inset-left, 0px)) max(var(--page-padding), env(safe-area-inset-right, 0px));
}

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

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--accent-hover);
}

address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-5);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-4);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Typography utilities */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.text-accent {
  color: var(--accent);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

/* ================================================================
   O nas
   ================================================================ */
.section--about {
  background: var(--section-band-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--offer {
  background: var(--section-band);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: var(--header-h);
}

.about__intro {
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-20));
  max-width: 28rem;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}

.about__frame {
  position: relative;
  overflow: hidden;
}

.about__frame::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 0.2rem;
  height: 100%;
  background: var(--accent);
  z-index: 2;
}

.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-2);
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.2vw, var(--text-2xl));
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.4;
}

.about__text {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 38rem;
}

.about__text strong {
  color: var(--text);
  font-weight: 600;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.about__fact dt {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.about__fact dd {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.35;
}

.about__scope {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
}

.about__scope-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 26rem;
}

.about__scope-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
}

.about__scope-lead {
  color: var(--text-secondary);
  line-height: 1.65;
}

.about__scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.about__scope-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.25s;
}

.about__scope-item:hover {
  border-bottom-color: var(--accent-muted);
}

.about__scope-item:hover .about__scope-name {
  color: var(--accent);
}

.about__scope-index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-top: 0.2em;
}

.about__scope-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.about__scope-name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 1.8vw, var(--text-xl));
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.25s;
}

.about__scope-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 36rem;
}

.gallery__lead {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 28rem;
}

.contact__value {
  display: block;
  color: var(--text);
  font-style: normal;
}

/* ================================================================
   Header
   ================================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  padding-top: var(--safe-top);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: var(--header-bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  height: 6.75rem;
  width: auto;
  max-width: 32rem;
  object-fit: contain;
  object-position: left center;
}

.brand--sm .brand__logo {
  height: 5.25rem;
  max-width: 24rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--accent-muted);
  border-radius: 100px;
  background: var(--accent-subtle);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.header-phone svg {
  color: var(--accent);
  flex-shrink: 0;
}

.header-phone:hover {
  background: var(--accent-muted);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 1200px) {
  .site-nav {
    gap: var(--space-8);
  }
}

.site-nav__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s;
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.active { color: #ffffff; }

.site-nav__link.active { color: var(--accent-hover); }

.site-nav__link:hover::after,
.site-nav__link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  border-color: rgba(253, 112, 20, 0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 4px 24px var(--accent-muted);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 32px rgba(253, 112, 20, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn--full { width: 100%; }

/* ================================================================
   Hero — cinematic full-bleed
   ================================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  overflow: hidden;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.97) 0%, rgba(10, 10, 10, 0.88) 40%, rgba(10, 10, 10, 0.72) 70%, rgba(10, 10, 10, 0.85) 100%),
    linear-gradient(to top, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.4) 35%, transparent 55%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: clamp(var(--space-16), 10vh, var(--space-32));
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 42rem;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}

.hero__title-main {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw + 1rem, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 8px 32px rgba(0, 0, 0, 0.6);
}

.hero__title-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hover);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero__lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.95);
  max-width: 36rem;
  margin: 0;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.hero__trust {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero__trust-icon {
  flex-shrink: 0;
  color: var(--accent-hover);
}

.hero__ticker {
  position: relative;
  z-index: 1;
  width: 100%;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: var(--space-5) 0;
}

.hero__ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-shrink: 0;
  padding-right: var(--space-8);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   Sections — shared
   ================================================================ */
.section {
  padding-block: var(--space-32);
}

.section__intro {
  margin-bottom: var(--space-20);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-16);
  align-items: end;
}

.section__intro-text { max-width: 28rem; }

/* ================================================================
   Gallery — bento grid
   ================================================================ */
.section--gallery {
  background: var(--section-band-alt);
  border-bottom: 1px solid var(--border);
}

.gallery__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.gallery__header-left {
  display: flex;
  gap: var(--space-12);
  align-items: flex-end;
}

.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.chip {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.chip:hover {
  color: var(--accent-hover);
  border-color: var(--accent-muted);
}

.chip--active,
.chip.chip--active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.bento__item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.35s, transform 0.4s var(--ease);
  cursor: zoom-in;
}

.bento__item:hover {
  border-color: var(--border-hover);
  transform: scale(1.01);
}

.bento__item.hidden { display: none; }

.gallery__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

.gallery__pagination[hidden] {
  display: none !important;
}

.gallery__page-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, opacity 0.25s;
}

.gallery__page-btn:hover:not(:disabled) {
  color: var(--accent-hover);
  border-color: var(--accent-muted);
  background: var(--surface-2);
}

.gallery__page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery__page-status {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  min-width: 7rem;
  text-align: center;
}

.bento__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.bento__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.bento__item:hover .bento__img {
  transform: scale(1.04);
}

/* ================================================================
   Lightbox
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  padding-top: max(var(--space-6), var(--safe-top));
  padding-bottom: max(var(--space-6), var(--safe-bottom));
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__close {
  position: absolute;
  top: max(var(--space-4), var(--safe-top));
  right: max(var(--space-4), env(safe-area-inset-right, 0px));
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fafafa;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  z-index: 2;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fafafa;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, opacity 0.25s, visibility 0.25s;
}

.lightbox__nav:hover:not(:disabled) {
  background: rgba(253, 112, 20, 0.25);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.lightbox__nav:disabled,
.lightbox__nav[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox__nav--prev {
  left: max(var(--space-4), env(safe-area-inset-left, 0px));
}

.lightbox__nav--next {
  right: max(var(--space-4), env(safe-area-inset-right, 0px));
}

.lightbox__figure {
  max-width: min(90vw, 72rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .lightbox {
    padding-inline: var(--space-12);
  }

  .lightbox__nav {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ================================================================
   Contact
   ================================================================ */
.section--contact {
  background: var(--section-band);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact__title-split .text-accent {
  display: block;
  margin-top: var(--space-2);
}

.contact__phone {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text) !important;
  text-decoration: none !important;
}

.contact__phone:hover {
  color: var(--accent-hover) !important;
}

.contact__layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__intro {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-top: var(--space-6);
  max-width: 22rem;
}

.contact__details {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact__icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
  opacity: 0.85;
}

.contact__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.contact__row a {
  color: var(--text);
  transition: color 0.25s;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

.contact__row a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent);
}

/* Glass form */
.glass {
  background: rgba(24, 24, 27, 0.6);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.contact__form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.field { margin-bottom: var(--space-5); }

.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.field__optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(9,9,11,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.field input.error,
.field select.error,
.field textarea.error { border-color: var(--error); }

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field--check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-3);
}

.field--check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.field--check label {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.field__error {
  display: block;
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: var(--space-1);
  min-height: 1rem;
}

.field--captcha {
  margin-top: var(--space-2);
}

.field--captcha .h-captcha {
  min-height: 78px;
}

.form-success {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--success);
  border: 1px solid rgba(134, 239, 172, 0.2);
  border-radius: var(--radius);
  background: rgba(134, 239, 172, 0.06);
}

.form-error {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--error);
  border: 1px solid rgba(252, 165, 165, 0.2);
  border-radius: var(--radius);
  background: rgba(252, 165, 165, 0.06);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-10);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6) var(--space-8);
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.site-footer__copy {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.site-footer__credit {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.site-footer__credit a {
  color: var(--text-secondary);
  transition: color 0.25s;
}

.site-footer__credit a:hover {
  color: var(--accent-hover);
}

.site-footer__nav {
  display: flex;
  gap: var(--space-6);
  flex-shrink: 0;
}

.site-footer__nav a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color 0.25s;
}

.site-footer__nav a:hover { color: var(--accent-hover); }

.site-footer__nav a.text-link {
  color: var(--accent);
}

.site-footer__nav a.text-link:hover {
  color: var(--accent-hover);
}

/* ================================================================
   Phone FAB — mobile quick call
   ================================================================ */
.phone-fab {
  display: none;
  position: fixed;
  bottom: max(var(--space-6), var(--safe-bottom));
  right: max(var(--space-6), env(safe-area-inset-right, 0px));
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(253, 112, 20, 0.45);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.phone-fab:hover {
  background: var(--accent-hover);
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(253, 112, 20, 0.55);
}

.phone-fab:active {
  transform: scale(0.96);
}

/* ================================================================
   Scroll reveal
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

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

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

  .hero__ticker-inner { animation: none; }

  .btn, .bento__item, .bento__img {
    transition: none;
  }
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
  .about__layout,
  .about__scope {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .about__visual {
    max-width: none;
    width: 100%;
  }

  .about__img {
    aspect-ratio: 16 / 9;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

@media (max-width: 1179px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-32: 5rem;
    --page-padding: var(--space-5);
    --header-bar: 6.5rem;
  }

  .brand__logo {
    height: 5rem;
    max-width: 20rem;
  }

  .brand--sm .brand__logo {
    height: 4rem;
    max-width: 18rem;
  }

  .hero__layout {
    padding-block: var(--space-12);
    align-items: flex-end;
  }

  .hero__title-main {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .hero__title-sub {
    font-size: var(--text-sm);
    letter-spacing: 0.12em;
  }

  .hero__lead {
    font-size: var(--text-base);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .about__img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .section__title { font-size: var(--text-3xl); }

  .section__intro {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .about__facts {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) var(--space-4);
  }

  .about__scope-item {
    grid-template-columns: 2.75rem 1fr;
    gap: var(--space-3);
  }

  .nav-toggle { display: flex; }

  .header-phone {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-2);
    padding: var(--space-4);
    border-radius: var(--radius);
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4);
    padding-bottom: max(var(--space-4), var(--safe-bottom));
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__link {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .phone-fab {
    display: flex;
  }

  .gallery__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery__header-left {
    flex-direction: column;
    gap: var(--space-4);
  }

  .gallery__filters { justify-content: flex-start; }

  .gallery__pagination {
    gap: var(--space-4);
    margin-top: var(--space-8);
  }

  .gallery__page-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .gallery__page-btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .bento__item {
    aspect-ratio: 4 / 5;
  }

  .bento__item:hover {
    transform: none;
  }

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

  .glass { padding: var(--space-6); }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento__item {
    aspect-ratio: 16 / 10;
  }
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + var(--space-16)) var(--page-padding) var(--space-16);
}

.error-page__inner {
  text-align: center;
  max-width: 32rem;
}

.error-page__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--text);
  margin-bottom: var(--space-4);
}

.error-page__lead {
  margin-bottom: var(--space-8);
  color: var(--text-secondary);
}
