/* ============================================
   DeepClean Hârlău — Dark Luxury Redesign
   Loaded last to override theme.css / styles.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-0: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #181818;
  --bg-3: #1f1f1f;
  --line: #2a2a2a;
  --line-2: #3a3a3a;
  --fg-0: #ffffff;
  --fg-1: #e5e5e5;
  --fg-2: #a3a3a3;
  --fg-3: #6b6b6b;
  --accent: #e8222b;
  --accent-dim: #b91d24;
  --accent-bright: #ff3a43;
  --accent-glow: rgba(232, 34, 43, 0.18);
  --danger: #ff3b3b;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  scroll-behavior: smooth;
}

html, body {
  background: var(--bg-0) !important;
  color: var(--fg-1) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

/* Prevent any direct child of body from causing horizontal scroll */
body > * {
  max-width: 100vw;
  overflow-x: clip;
}

/* All sections and main should contain their content */
main,
section,
header,
footer,
.wt-section {
  max-width: 100vw;
  overflow-x: clip;
}

/* Images must never overflow their containers */
img,
iframe {
  max-width: 100%;
  height: auto;
}

/* High-quality rendering on photo images */
img.img-fluid,
.about-img-wrap img,
.service-icon {
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Skeleton color while images load */
.hero-img,
.about-img-wrap,
#portfolio .hovereffect {
  background-color: var(--bg-2);
}

::selection {
  background: var(--accent);
  color: var(--bg-0);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Inter', sans-serif !important;
  color: var(--fg-0) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  text-transform: none;
}

p, .lead {
  color: var(--fg-2) !important;
  line-height: 1.6;
  font-weight: 400 !important;
}

.text-muted {
  color: var(--fg-3) !important;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
a:hover {
  color: var(--accent);
  opacity: 0.7;
  text-decoration: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 4rem 0;
}

/* ==================== NAVBAR ==================== */

#mainNav,
.navbar {
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0 !important;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

#mainNav.navbar-bg-onscroll {
  background: rgba(10, 10, 10, 0.96) !important;
  padding: 0.6rem 0 !important;
}

.navbar-brand img {
  height: 38px !important;
  width: auto !important;
  filter: brightness(1.1);
}

.navbar .navbar-nav .nav-item .nav-link {
  color: #ffffff !important;
  background: transparent !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  border-radius: 0 !important;
  position: relative;
  transition: color 0.2s var(--ease);
  opacity: 1 !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar .navbar-nav .nav-item .nav-link:hover {
  color: var(--accent-bright) !important;
  background: transparent !important;
}

.navbar .navbar-nav .nav-item .nav-link:focus,
.navbar .navbar-nav .nav-item .nav-link:active,
.navbar .navbar-nav .nav-item .nav-link.active {
  color: #ffffff !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar .navbar-nav .nav-item .nav-link:focus:hover {
  color: var(--accent-bright) !important;
}

.navbar .navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.navbar .navbar-nav .nav-item .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.7rem 1.4rem !important;
  background: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #ffffff !important;
  color: var(--bg-0) !important;
  opacity: 1 !important;
}
.nav-cta:focus,
.nav-cta:active {
  background: var(--accent) !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}
.nav-cta:focus:hover {
  background: #ffffff !important;
  color: var(--bg-0) !important;
}

/* Force visible on all widths below lg, overriding any Bootstrap rule */
.navbar .navbar-toggler,
#mainNav .navbar-toggler,
.navbar-expand-lg .navbar-toggler {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 1100;
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--accent) !important;
  background: rgba(232, 34, 43, 0.15) !important;
}

/* Hide only at lg and above */
@media (min-width: 992px) {
  .navbar .navbar-toggler,
  #mainNav .navbar-toggler,
  .navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
}

.hamburger {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 22px;
  height: 16px;
  pointer-events: none;
}
.hamburger > span {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  background: #ffffff !important;
  border-radius: 1px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.navbar-toggler[aria-expanded="true"] .hamburger > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger > span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .hamburger > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Legacy ti-menu safety */
.navbar-toggler .ti-menu {
  color: #ffffff !important;
  font-size: 1.4rem;
}
.navbar-toggler .ti-menu::before {
  content: "≡";
  font-family: inherit;
}

/* ==================== HERO ==================== */

header#top {
  position: relative;
}

.hero {
  height: 100vh !important;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  background: var(--bg-0) !important;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}

.hero-img {
  position: relative;
  flex: 1 1 50%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: var(--bg-0);
  filter: grayscale(0.15) contrast(1.05) brightness(0.55);
  transform: scale(1);
  animation: heroZoom 24s ease-in-out infinite alternate;
}

.hero-img-left {
  background-position: center right !important;
}
.hero-img-right {
  background-position: center left !important;
  animation-direction: alternate-reverse;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 255, 0, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.7) 60%, var(--bg-0) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: left !important;
  width: 100%;
  margin: 0 !important;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1.hero-title {
  font-size: clamp(3rem, 9vw, 8.5rem) !important;
  font-weight: 900 !important;
  line-height: 0.92 !important;
  letter-spacing: -0.045em !important;
  color: var(--fg-0) !important;
  margin: 0 0 1.5rem !important;
  text-transform: none !important;
}

.hero h1.hero-title .accent {
  color: var(--accent-bright);
  font-style: italic;
  font-weight: 300;
}

.hero .hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem) !important;
  color: var(--fg-2) !important;
  max-width: 540px;
  margin: 0 0 2.5rem !important;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--fg-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}
.hero-meta .dot {
  color: var(--accent);
  margin: 0 0.6rem;
}

/* ==================== BUTTONS ==================== */

.btn,
.btn-lg,
.btn-outline-light,
.btn-primary {
  border-radius: 0 !important;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  padding: 1rem 1.8rem !important;
  border: 1px solid transparent !important;
  transition: all 0.25s var(--ease) !important;
  background-image: none !important;
  background-color: transparent !important;
  position: relative;
  overflow: hidden;
}

.btn-accent {
  background-color: var(--accent) !important;
  color: var(--bg-0) !important;
  border-color: var(--accent) !important;
}
.btn-accent:hover {
  background-color: var(--fg-0) !important;
  border-color: var(--fg-0) !important;
  color: var(--bg-0) !important;
}

.btn-ghost,
.btn-outline-light {
  color: var(--fg-0) !important;
  border-color: var(--line-2) !important;
  background: transparent !important;
}
.btn-ghost:hover,
.btn-outline-light:hover {
  border-color: var(--fg-0) !important;
  background: var(--fg-0) !important;
  color: var(--bg-0) !important;
}

.btn-arrow::after {
  content: ' →';
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ==================== SECTIONS ==================== */

.wt-section {
  padding: 8rem 0 !important;
  position: relative;
}

.bg-light,
section.bg-light {
  background: var(--bg-1) !important;
}

.bg-dark,
section.bg-dark {
  background: var(--bg-0) !important;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 1.5rem !important;
}

.section-lead {
  font-size: 1.05rem !important;
  color: var(--fg-2) !important;
  max-width: 620px;
  margin: 0 auto !important;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 5rem;
}

/* ==================== SERVICES ==================== */

#services {
  background: var(--bg-0) !important;
}

.service-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  height: 100%;
  text-align: left !important;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.service-card:hover {
  background: var(--bg-2);
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.service-card:hover::before {
  width: 100%;
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--fg-3);
  margin-bottom: 2rem;
}

.service-icon {
  width: 64px !important;
  height: 64px !important;
  margin: 0 0 1.5rem !important;
  filter: invert(1) hue-rotate(180deg) saturate(0.4) brightness(1.1);
  padding: 0 !important;
}

.service-card h4 {
  font-size: 1.4rem !important;
  margin-bottom: 0.75rem !important;
  color: var(--fg-0) !important;
}

.service-card p {
  color: var(--fg-2) !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .preturi-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto !important;
  padding: 0 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  border: 0 !important;
  border-bottom: 1px solid var(--accent) !important;
  border-radius: 0 !important;
  color: var(--accent) !important;
  background: transparent !important;
  padding-bottom: 4px !important;
  width: fit-content;
  transition: gap 0.3s var(--ease);
}
.service-card .preturi-link:hover {
  background: transparent !important;
  gap: 0.8rem;
}
.service-card .preturi-link::after {
  content: '→';
  font-family: 'Inter', sans-serif;
}

/* Kill old border-hover */
.border-hover,
.border-hover:hover {
  border: 0 !important;
  border-radius: 0 !important;
}

/* ==================== ABOUT ==================== */

#about {
  background: var(--bg-1) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  filter: grayscale(0.15);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.about-img-wrap:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-2);
  pointer-events: none;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.about-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.about-stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ==================== GALLERY ==================== */

#portfolio {
  background: var(--bg-0) !important;
}

.portfolio-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  border: 1px solid var(--line);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-menu ul li {
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 0.85rem 1.4rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: var(--fg-2) !important;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  margin: 0 !important;
}
.portfolio-menu ul li:last-child {
  border-right: 0 !important;
}
.portfolio-menu ul li:hover {
  color: var(--fg-0) !important;
  background: var(--bg-2) !important;
}
.portfolio-menu ul li.active {
  background: var(--accent) !important;
  color: var(--bg-0) !important;
}

#portfolio .hovereffect {
  height: 280px !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--bg-2);
  position: relative;
}

#portfolio .hovereffect img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: grayscale(0.25);
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}

#portfolio .hovereffect:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

#portfolio .hovereffect .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 50%, rgba(10, 10, 10, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
}
#portfolio .hovereffect:hover .overlay {
  opacity: 1;
}
#portfolio .hovereffect .overlay a {
  color: var(--accent) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  text-decoration: none !important;
}

.item {
  padding: 0.4rem !important;
  margin-bottom: 0 !important;
}

/* ==================== PRICING ==================== */

#price {
  background: var(--bg-1) !important;
  border-top: 1px solid var(--line);
}

#id-preturi-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
}

.fix-mobile-row-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  width: 100%;
  align-items: stretch !important;
  flex-direction: row !important;
}

.preturi-elem-item {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 2rem 1.5rem !important;
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}

.preturi-elem-item:hover {
  border-color: var(--accent) !important;
  background: var(--bg-3) !important;
  transform: translateY(-4px);
}

.preturi-elem-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.preturi-elem-item:hover::before {
  transform: scaleX(1);
}

.preturi-elem-item-title {
  height: auto !important;
  justify-content: flex-start !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--fg-3) !important;
  margin-bottom: 1rem !important;
}

.preturi-elem-item-price {
  justify-content: flex-start !important;
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: var(--fg-0) !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.preturi-elem-item-price span::after {
  content: '';
}

.preturi-elem-item-include {
  height: auto !important;
  justify-content: flex-start !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: var(--fg-3) !important;
  margin-bottom: 1rem !important;
}

.preturi-elem-item-values {
  min-height: 0 !important;
  padding: 0 !important;
  align-items: flex-start !important;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.preturi-elem-item-values p {
  text-align: left !important;
  font-size: 0.88rem !important;
  color: var(--fg-2) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.preturi-elem-item-values p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.preturi-elem-item-comanda {
  height: auto !important;
  justify-content: flex-start !important;
}

.preturi-elem-item-comanda a {
  display: inline-block;
  padding: 0.9rem 1.6rem !important;
  background: var(--accent) !important;
  color: var(--bg-0) !important;
  border: 1px solid var(--accent) !important;
  border-radius: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
}

.preturi-elem-item-comanda a:hover {
  background: var(--fg-0) !important;
  border-color: var(--fg-0) !important;
  color: var(--bg-0) !important;
  text-decoration: none;
}

/* ==================== CTA STRIP ==================== */

.cta-strip {
  background: var(--bg-0) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 !important;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.cta-strip p {
  font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: var(--fg-0) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}
.cta-strip .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}

/* ==================== CONTACT ==================== */

#contact {
  background: var(--bg-0) !important;
  border-top: 1px solid var(--line);
}

#contact .form-control,
#contact input,
#contact textarea {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line-2) !important;
  border-radius: 0 !important;
  color: var(--fg-0) !important;
  padding: 1rem 0 !important;
  font-size: 1rem !important;
  font-family: 'Inter', sans-serif !important;
  transition: border-color 0.2s var(--ease);
  box-shadow: none !important;
}

#contact .form-control::placeholder {
  color: var(--fg-3) !important;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

#contact .form-control:focus {
  border-bottom-color: var(--accent) !important;
  outline: none !important;
}

#contact .form-group {
  margin-bottom: 2rem !important;
}

#cevaceva,
#contact input[type="submit"] {
  background: var(--accent) !important;
  color: var(--bg-0) !important;
  border: 0 !important;
  padding: 1.1rem 2.2rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  margin-top: 1rem;
  border-radius: 0 !important;
}
#cevaceva:hover {
  background: var(--fg-0) !important;
  color: var(--bg-0) !important;
}

.contact-info .bg-white {
  background: var(--bg-1) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  transition: all 0.25s var(--ease);
}
.contact-info .bg-white:hover {
  border-color: var(--accent) !important;
  background: var(--bg-2) !important;
}

.contact-info i {
  color: var(--accent) !important;
  font-size: 1.1rem;
}

.contact-info h6,
.contact-info h3 {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  color: var(--fg-3) !important;
  margin-bottom: 0.5rem !important;
}

.contact-info p {
  color: var(--fg-0) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

#contact iframe {
  border: 1px solid var(--line) !important;
  filter: grayscale(1) invert(0.92) contrast(0.85);
  margin-top: 3rem;
}

/* ==================== FOOTER ==================== */

footer {
  background: var(--bg-0) !important;
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem !important;
}

footer .text-white,
footer small,
footer small a {
  color: var(--fg-3) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  line-height: 1.7 !important;
}

footer a.text-white {
  color: var(--fg-2) !important;
  text-decoration: none !important;
}

footer .list-inline-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2) !important;
  color: var(--fg-2) !important;
  transition: all 0.25s var(--ease);
}
footer .list-inline-item a:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--bg-0) !important;
}

/* Designed-by stamp */
.footer-stamp {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}
.footer-stamp a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-3) !important;
  text-decoration: none !important;
  transition: all 0.25s var(--ease);
  background: transparent;
}
.footer-stamp a:hover {
  border-color: var(--accent);
  color: var(--fg-0) !important;
  background: rgba(232, 34, 43, 0.06);
  opacity: 1 !important;
}
.footer-stamp .stamp-label {
  color: var(--fg-3);
}
.footer-stamp .stamp-brand {
  color: var(--fg-1);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s var(--ease);
}
.footer-stamp a:hover .stamp-brand {
  color: var(--accent-bright);
}
.footer-stamp .stamp-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease);
  display: inline-block;
}
.footer-stamp a:hover .stamp-arrow {
  transform: translate(2px, -2px);
}

/* ==================== LEGACY KILL SWITCHES ==================== */

.bg-primary {
  background: var(--bg-2) !important;
  color: var(--fg-0) !important;
}
.btn-primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--bg-0) !important;
}
.btn-pill {
  border-radius: 0 !important;
}
.text-primary {
  color: var(--accent) !important;
}
.rounded-md, .rounded {
  border-radius: 0 !important;
}

/* Override entry text size fixes */
.entry-text-size-fix,
.entry2-text-size-fix {
  font-size: inherit !important;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet & mobile (under lg / 992px) */
@media (max-width: 991px) {
  /* Navbar mobile collapsed menu */
  #mainNav .navbar-collapse {
    background: rgba(10, 10, 10, 0.97);
    margin-top: 0.75rem;
    padding: 1rem 1.25rem 1.5rem;
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  #mainNav .navbar-nav {
    align-items: flex-start !important;
    gap: 0.25rem;
  }
  #mainNav .navbar-nav .nav-item {
    width: 100%;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  #mainNav .navbar-nav .nav-item .nav-link::after {
    display: none !important;
  }
  #mainNav .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 1rem !important;
    padding: 0.9rem 1.4rem !important;
    text-align: center;
    width: 100%;
    border-bottom: 0 !important;
  }
  .navbar-brand img {
    height: 32px !important;
    width: auto !important;
  }

  /* Hero */
  .hero {
    min-height: 88vh;
    height: auto !important;
    padding-top: 100px;
    padding-bottom: 3rem;
  }
  .hero-meta {
    display: none;
  }
  /* Stack hero photos vertically on tablet/mobile so each gets full width */
  .hero-img-wrap {
    flex-direction: column;
  }
  .hero-img-left {
    background-position: center !important;
  }
  .hero-img-right {
    background-position: center !important;
  }

  /* Sections */
  .wt-section {
    padding: 5rem 0 !important;
  }
  .section-header {
    margin-bottom: 3rem;
  }
  /* Section headers with two-col layout — restore inline-flow spacing on mobile */
  .section-header .col-lg-5,
  .section-header .col-lg-7 {
    text-align: left;
  }
  .section-header .col-lg-5 {
    margin-top: 1.5rem;
  }
  .section-header.text-center .col-lg-5,
  .section-header.text-center .col-lg-7 {
    text-align: center;
  }

  /* Gallery filter pills — allow wrap, smaller padding */
  .portfolio-menu ul {
    width: 100%;
    flex-wrap: wrap;
    border-width: 0;
    gap: 0.4rem;
    justify-content: center;
  }
  .portfolio-menu ul li {
    border: 1px solid var(--line) !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.65rem !important;
    flex: 0 0 auto;
  }

  /* About */
  .about-img-wrap {
    margin-bottom: 2rem;
  }

  /* Contact info icons — keep horizontal layout but tighten spacing */
  .contact-info .bg-white {
    padding: 1.25rem !important;
  }
}

/* Mobile only (under md / 768px) */
@media (max-width: 767px) {
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .row > [class*="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Hero copy tightening */
  .hero {
    min-height: 80vh;
    padding-top: 90px;
  }
  .hero h1.hero-title {
    font-size: clamp(2.4rem, 11vw, 4rem) !important;
    line-height: 0.95 !important;
  }
  .hero .hero-sub {
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
  }
  .hero-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Section titles smaller */
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem) !important;
  }
  .section-eyebrow {
    font-size: 0.65rem;
  }

  /* About stats stack */
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .about-stat .num {
    font-size: 1.8rem;
  }

  /* Gallery items 2 per row on small phones */
  #portfolio .hovereffect {
    height: 180px !important;
  }
  .item {
    padding: 0.25rem !important;
  }

  /* Pricing — single column with tighter padding */
  .fix-mobile-row-items {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .preturi-elem-item {
    padding: 1.75rem 1.25rem !important;
  }
  .preturi-elem-item-price {
    font-size: 2.2rem !important;
  }

  /* CTA strip text smaller */
  .cta-strip {
    padding: 3rem 0 !important;
  }
  .cta-strip p {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
  }

  /* Contact form — full width inputs */
  #contact .form-control {
    font-size: 0.95rem !important;
  }
  #contact iframe {
    height: 280px !important;
    margin-top: 2rem;
  }

  /* Footer stack */
  footer {
    padding: 3rem 0 1.5rem !important;
    text-align: center;
  }
  footer .col-md-4 ul {
    text-align: center !important;
    margin-top: 1.5rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1.hero-title {
    font-size: 2.4rem !important;
  }
  .service-card {
    padding: 2rem 1.5rem;
  }
  #portfolio .hovereffect {
    height: 160px !important;
  }
}

/* Very small phones (iPhone SE 1st gen, foldable covers) */
@media (max-width: 360px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero h1.hero-title {
    font-size: 2rem !important;
  }
  .hero .hero-sub {
    font-size: 0.9rem !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .navbar-brand img {
    height: 28px !important;
    width: auto !important;
  }
  .preturi-elem-item-price {
    font-size: 1.9rem !important;
  }
  #portfolio .hovereffect {
    height: 140px !important;
  }
  .service-card {
    padding: 1.5rem 1.25rem;
  }
  .preturi-elem-item {
    padding: 1.5rem 1.1rem !important;
  }
}

/* Landscape phones / short viewports */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh !important;
    height: auto !important;
    padding-top: 90px;
    padding-bottom: 2rem;
  }
  .hero h1.hero-title {
    font-size: clamp(2rem, 7vh, 3.5rem) !important;
  }
  .hero .hero-sub {
    margin-bottom: 1.25rem !important;
  }
  .hero-eyebrow {
    margin-bottom: 1rem;
  }
  .hero-img-wrap {
    flex-direction: row !important;
  }
}

/* Tablet portrait — keep pricing balanced (avoid orphan card) */
@media (min-width: 768px) and (max-width: 991px) {
  .fix-mobile-row-items {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .section-header .col-lg-7 + .col-lg-5 {
    margin-top: 1rem;
  }
  .hero h1.hero-title {
    font-size: clamp(3rem, 8vw, 5rem) !important;
  }
}

/* Large desktops — let container breathe */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px !important;
  }
  .hero h1.hero-title {
    font-size: clamp(6rem, 8.5vw, 9rem) !important;
  }
  .wt-section {
    padding: 10rem 0 !important;
  }
}

/* Ultra-wide / 4K — cap content width, keep typography sane */
@media (min-width: 1920px) {
  .container {
    max-width: 1440px !important;
  }
  .hero h1.hero-title {
    font-size: 10rem !important;
  }
  .hero .hero-sub {
    font-size: 1.4rem !important;
    max-width: 640px;
  }
  .section-title {
    font-size: 4.5rem !important;
  }
}

/* Touch devices — disable hover-triggered transforms that get "stuck" after tap */
@media (hover: none) {
  .service-card:hover,
  .preturi-elem-item:hover,
  .contact-info .bg-white:hover,
  .about-img-wrap:hover img {
    transform: none !important;
  }
  .service-card:hover {
    background: var(--bg-1) !important;
    border-color: var(--line) !important;
  }
  .service-card:hover::before {
    width: 0 !important;
  }
  .preturi-elem-item:hover {
    background: var(--bg-2) !important;
    border-color: var(--line) !important;
  }
  .preturi-elem-item:hover::before {
    transform: scaleX(0) !important;
  }
  .contact-info .bg-white:hover {
    background: var(--bg-1) !important;
    border-color: var(--line) !important;
  }
  #portfolio .hovereffect:hover img {
    filter: grayscale(0.25) !important;
    transform: none !important;
  }
  #portfolio .hovereffect .overlay {
    opacity: 1 !important;
    background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.75) 100%) !important;
  }
  .btn-arrow:hover::after {
    transform: none !important;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-img {
    animation: none !important;
    transform: none !important;
  }
}

/* High-DPI image crispness — already handled via object-fit: cover, but ensure no rendering blur */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-brand img,
  .service-icon {
    image-rendering: -webkit-optimize-contrast;
  }
}
