/* =========================================================
   CÄƒruntu Iulian â€” Hub pÄƒtrate + catalog SEO
   ========================================================= */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.field-label-wrap {
  display: block;
  width: 100%;
  margin-bottom: 14px;
}
.field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.field-label-wrap select {
  margin-bottom: 0;
  width: 100%;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f3faf3;
  --bg-band: #eaf6ea;
  --ink: #102418;
  --text: #1a2e20;
  --text-light: #334a3a;
  --accent: #1f6b1d;
  --accent-2: #175516;
  --accent-soft: #e6f4e6;
  --accent-gradient: linear-gradient(135deg, #1f6b1d, #2d8a2a);
  --link: #1a5c18;
  --tile: #eef8ee;
  --tile-border: #d4ebd4;
  --border: #dce9dc;
  --border-strong: #c5dbc5;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --container-bg: #ffffff;
  --container-bg-solid: #ffffff;
  --input: #ffffff;
  --glass-border: var(--border);
  --success: #2f9e44;
  --error: #e11d48;
  --car-color: #ea580c;
  --car-gradient: linear-gradient(135deg, #ea580c, #f97316);
  --overlay: rgba(16, 36, 24, 0.55);
  --focus-outline: 3px solid #f5c518;
  --shadow-sm: 0 1px 2px rgba(16, 36, 24, 0.05);
  --shadow-md: 0 12px 32px rgba(16, 36, 24, 0.08);
  --shadow-accent: 0 12px 28px rgba(61, 158, 58, 0.22);
  --card-shadow: var(--shadow-sm);
  --hover-shadow: var(--shadow-md);
  --accent-glow: none;
  --glass-shine: none;
  --glass-effect: transparent;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --max: 1120px;
  --header-h: 0px;
  --hub-size: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none !important;
  content: none !important;
}

body > * { position: relative; z-index: 1; }

a, button, input, textarea, select {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

*:focus-visible {
  outline: var(--focus-outline) !important;
  outline-offset: 3px !important;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4, .form-title, .logo-text,
.process-header h2, .faq-header h2, .portfolio-header h2, .cookie-header h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.skip-to-main {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 500;
}
.skip-to-main:focus { left: 12px; top: 12px; }

.shell {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* â€”â€” Floating WhatsApp â€”â€” */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10050;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.floating-btn i { font-size: 1.45rem; color: #fff; }
.floating-btn .wa-icon { display: block; }
.floating-whatsapp { border-color: transparent; }
.floating-btn:hover { transform: translateY(-3px); box-shadow: var(--hover-shadow); }

#userway-widget, .userway-widget, .uwy.userway_widget, .uwy.userway_widget_container {
  left: 18px !important;
  right: auto !important;
  bottom: 18px !important;
}

/* Header bar removed — navigation lives in .hub-grid */
.navbar { display: none !important; }

.flag-svg { width: 22px; height: auto; border-radius: 2px; }

.btn-ctrl,
.btn-project {
  background: #fff;
  border: 1px solid var(--border-strong);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-decoration: none;
  min-height: 42px;
}
.btn-ctrl:hover { border-color: var(--accent); color: var(--accent); }
.btn-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}
.btn-cta:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff !important;
}
.btn-review { background: #fff; }
.btn-project {
  background: var(--car-gradient);
  border: none;
  color: #fff;
}

.main-content {
  max-width: none;
  margin: 0;
  width: 100%;
}

/* —— HERO HUB (homepage only) —— */
body:not(.subpage-body) .hero {
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(61, 158, 58, 0.18), transparent 45%),
    linear-gradient(160deg, #f5fbf5 0%, #e3f4e4 100%);
}

body:not(.subpage-body) .hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
}

body:not(.subpage-body) .hero-base,
body:not(.subpage-body) .hero-tiles {
  position: absolute;
  inset: 0;
}

body:not(.subpage-body) .hero-base {
  z-index: 0;
  background: #102418;
}

body:not(.subpage-body) .hero-base picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

body:not(.subpage-body) .hero-lcp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

body:not(.subpage-body) .hero-tiles {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--cols, 10), 1fr);
  grid-template-rows: repeat(var(--rows, 6), 1fr);
  pointer-events: none;
}

body:not(.subpage-body) .hero-tile {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.38s ease;
  will-change: opacity;
}

body:not(.subpage-body) .hero-tile-bg {
  position: absolute;
  width: calc(var(--cols, 10) * 100%);
  height: calc(var(--rows, 6) * 100%);
  left: calc(var(--c, 0) * -100%);
  top: calc(var(--r, 0) * -100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body:not(.subpage-body) .hero-tiles.is-animating .hero-tile { opacity: 1; }

body:not(.subpage-body) .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(16, 36, 24, 0.22) 0%,
      rgba(16, 36, 24, 0.12) 45%,
      rgba(16, 36, 24, 0.28) 100%);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hubIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: none; }
}

body:not(.subpage-body) .hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 48px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

body:not(.subpage-body) .hero-copy {
  width: min(100%, 680px);
  margin: 0 auto 28px;
  padding: 32px 34px 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(16, 36, 24, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body:not(.subpage-body) .hero-copy #hero-desc {
  margin-bottom: 0;
}

body:not(.subpage-body) .hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
}

body:not(.subpage-body) .hero-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

body:not(.subpage-body) .hero-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(16, 36, 24, 0.25);
}

body:not(.subpage-body) .hero-dot.is-active::after {
  background: #c8f5b0;
  border-color: #c8f5b0;
  transform: translate(-50%, -50%) scale(1.2);
}

body:not(.subpage-body) .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 16px;
  animation: heroIn 0.6s ease both;
  text-shadow: none;
}
body:not(.subpage-body) .hero-brand span { color: var(--accent); font-weight: 400; }

body:not(.subpage-body) .hero h1 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 12px;
  max-width: 38ch;
  color: var(--ink);
  text-shadow: none;
}

body:not(.subpage-body) .hero h1 .hero-kicker,
body:not(.subpage-body) .hero h1 #hero-badge {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

body:not(.subpage-body) .hero h1 #hero-title {
  display: block;
  color: var(--ink);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: -0.015em;
}

body:not(.subpage-body) .hero p#hero-desc,
body:not(.subpage-body) .hero-inner > p#hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 48ch;
  margin: 0 auto 26px;
  line-height: 1.7;
  text-shadow: none;
}

body:not(.subpage-body) .hero-actions {
  display: none;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: none;
}

/* HUB — 2 rows × 4 tiles (homepage hero only) */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, var(--hub-size));
  gap: 12px;
  justify-content: center;
  width: auto;
  margin: 10px auto 0;
  list-style: none;
  padding: 0;
}

.hub-tile {
  width: var(--hub-size);
  height: var(--hub-size);
  max-width: none;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  animation: hubIn 0.45s ease both;
  font: inherit;
  cursor: pointer;
  padding: 8px 4px;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hub-tile:nth-child(1) { animation-delay: 0.03s; }
.hub-tile:nth-child(2) { animation-delay: 0.06s; }
.hub-tile:nth-child(3) { animation-delay: 0.09s; }
.hub-tile:nth-child(4) { animation-delay: 0.12s; }
.hub-tile:nth-child(5) { animation-delay: 0.15s; }
.hub-tile:nth-child(6) { animation-delay: 0.18s; }
.hub-tile:nth-child(7) { animation-delay: 0.21s; }
.hub-tile:nth-child(8) { animation-delay: 0.24s; }

.hub-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hub-tile:hover,
.hub-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
  border-color: transparent;
  color: #fff;
}

.hub-tile:hover::before,
.hub-tile:focus-visible::before { opacity: 1; }

.hub-tile i,
.hub-tile .hub-ico,
.hub-tile .hub-label,
.hub-tile .flag-svg,
.hub-tile #flag-container {
  position: relative;
  z-index: 1;
}

.hub-tile i,
.hub-tile .hub-ico {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
  transition: color 0.2s ease;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex-shrink: 0;
}

.hub-tile:hover i,
.hub-tile:focus-visible i,
.hub-tile:hover .hub-ico,
.hub-tile:focus-visible .hub-ico { color: #fff; }

.hub-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  padding: 0 2px;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hub-tile.is-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hub-tile.is-cta i,
.hub-tile.is-cta .hub-ico,
.hub-tile.is-cta .hub-label { color: #fff; }
.hub-tile.is-cta::before { opacity: 0; background: var(--accent-2); }
.hub-tile.is-cta:hover::before { opacity: 1; }

.hub-tile.is-lang #flag-container {
  display: flex;
  line-height: 0;
}

/* Stats band */
.stats-band {
  background: #fff;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.hero-stats {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-stat {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-stat i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
a.hero-stat { text-decoration: none; color: var(--text); }
a.hero-stat:hover { border-color: var(--accent); background: var(--accent-soft); }

/* City / SEO bands */
.city-list,
.seo-intro,
.seo-sitemap {
  width: min(100% - 40px, var(--max));
  margin: 24px auto;
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 18px;
}

.city-item {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-sm);
  color: var(--link);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.city-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.seo-intro {
  padding: 22px 24px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  text-align: left;
}
.seo-intro strong { color: var(--ink); }
.seo-intro a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.seo-intro a:hover { border-bottom-color: var(--link); color: var(--accent-2); }

.seo-sitemap { padding: 20px; }
.seo-sitemap h2 {
  font-size: 1rem;
  text-align: center;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.seo-sitemap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.seo-sitemap-grid a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--tile-border);
  background: #fff;
  color: var(--link);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.seo-sitemap-grid a:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Services */
.services-band {
  background: transparent;
  padding-bottom: 48px;
}

.services-title,
.process-header,
.faq-header,
.portfolio-header {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  text-align: center;
  padding: 56px 0 28px;
  scroll-margin-top: 90px;
}

.services-title h2,
.process-header h2,
.faq-header h2,
.portfolio-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.services-title p,
.process-header p,
.faq-header p,
.portfolio-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-inline: auto;
}

.services-grid {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  background: var(--accent-soft);
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.service-card:hover .service-icon { background: var(--accent); }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.service-card h3 span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--link);
  text-transform: uppercase;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-right: 14px;
  margin-bottom: 8px;
  border-bottom: 2px solid transparent;
}
.service-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.service-link i { font-size: 0.75rem; transition: transform 0.2s ease; }
.service-link:hover i { transform: translateX(3px); }

/* Process / FAQ / Portfolio */
.process-section,
.faq-section,
.portfolio-section {
  width: 100%;
  margin: 0;
  padding: 0 0 56px;
  background: transparent;
}
.faq-section { background: #fff; }
.portfolio-section { scroll-margin-top: 90px; }
#faq { scroll-margin-top: 90px; }

.process-grid,
.faq-list,
.portfolio-grid {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-card {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
}
.process-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.process-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.process-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-card p { color: var(--text-light); font-size: 0.92rem; }

.faq-item {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 500;
  font-family: var(--font-display);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-weight: 500;
}
.faq-item[open] summary::after { content: '-'; }
.faq-body {
  padding: 0 18px 16px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.portfolio-card {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.portfolio-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.portfolio-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlight-box {
  margin: 16px 0;
  padding: 16px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(61, 158, 58, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 600;
}

.portfolio-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portfolio-badge.soft { background: var(--accent); color: #fff; }

.portfolio-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}
.portfolio-meta { color: var(--text-light); font-size: 0.92rem; }
.portfolio-cta {
  margin-top: auto;
  color: var(--link);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.portfolio-actions {
  width: min(100% - 40px, var(--max));
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Tech */
.tech-stack {
  width: 100%;
  margin: 0;
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
}
.tech-stack h3 {
  width: min(100% - 40px, var(--max));
  margin: 0 auto 22px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.tech-grid {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-sm);
  background: var(--tile);
  font-weight: 500;
  font-size: 0.88rem;
}
.tech-item i { color: var(--accent); }

/* Contact */
.contact-section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  scroll-margin-top: 90px;
}

.form-container,
.info-container {
  background: var(--tile);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: none;
}

.form-title {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.form-subtitle {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1rem;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 158, 58, 0.16);
  outline: none;
}
textarea { min-height: 130px; resize: vertical; }

.phone-input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}
.country-select { width: 140px; flex-shrink: 0; }
.country-select select {
  width: 100%;
  margin-bottom: 0;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d9e3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}
.phone-number { flex: 1; position: relative; }
.phone-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--link);
  font-weight: 600;
  border-right: 1px solid var(--border);
  padding-right: 10px;
  z-index: 2;
  font-size: 0.92rem;
}
.phone-number input { width: 100%; padding-left: 78px; margin-bottom: 0; }

.gdpr-container {
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--tile-border);
}
.gdpr-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.gdpr-container label {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}
.gdpr-container a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
}

.captcha-container {
  margin: 18px 0;
  display: flex;
  justify-content: center;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  width: 100%;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
}
.btn-submit:hover {
  background: var(--accent-2);
  box-shadow: var(--shadow-accent);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.info-item {
  margin-bottom: 12px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--tile-border);
}
.info-item label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--link);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.info-item p {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-item i { font-size: 1.15rem; }

.hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(61, 158, 58, 0.22);
  color: var(--text);
  font-weight: 500;
}
.hours-pill i { color: var(--accent); }

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(31, 107, 29, 0.28);
  color: var(--link);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.location-badge {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.socials a {
  color: var(--text);
  background: #fff;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 1.2rem;
}
.socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.info-card i { font-size: 1.5rem; color: var(--accent); margin-bottom: 8px; }
.info-card h4 { margin: 8px 0; }
.info-card p { color: var(--text-light); font-size: 0.88rem; }

.message-alert {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-weight: 600;
  display: none;
  text-align: center;
}
.message-alert.success {
  display: block;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}
.message-alert.error {
  display: block;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid var(--error);
  color: var(--error);
}

/* Footer */
.footer {
  text-align: center;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}
.footer-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 16px;
  justify-items: center;
}
.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.92rem;
}
.footer-links .sep { opacity: 0.45; }
.footer a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.footer a:hover::after { width: 100%; }
.footer p { line-height: 1.7; max-width: 900px; }
.footer-sal {
  margin: 0;
  max-width: 42rem;
  font-size: 0.82rem;
  line-height: 1.5;
}
.footer-sal + .footer-sal { margin-top: 2px; }

.anpc-badges {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.anpc-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.anpc-badges a::after { display: none; }
.anpc-badges img {
  width: auto;
  max-width: 200px;
  height: 40px;
  display: block;
  object-fit: contain;
}

/* Cookie + modals */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 960px;
  width: calc(100% - 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  display: none;
}
.cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-content { display: flex; flex-direction: column; gap: 16px; }
.cookie-header { display: flex; align-items: center; gap: 12px; }
.cookie-header i { font-size: 1.6rem; color: var(--accent); }
.cookie-header h3 { font-size: 1.2rem; color: var(--ink); }
.cookie-text { color: var(--text-light); line-height: 1.65; }
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text);
}
.cookie-btn.accept,
.cookie-btn.save {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.cookie-btn.refuse { background: #fff; }
.cookie-btn.settings { background: var(--bg-soft); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-content {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.modal-header,
.modal-body,
.modal-footer,
.modal-section { padding: 20px 22px; }
.modal-section h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-section ul {
  margin: 8px 0 0 18px;
  color: var(--text-light);
}
.modal-section p { color: var(--text-light); margin-bottom: 8px; }
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 1.2rem; }
.modal-close {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.cookie-settings { display: grid; gap: 12px; }
.cookie-option {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  accent-color: var(--accent);
}
.cookie-option-content h4 { margin-bottom: 6px; }
.cookie-option-content p { color: var(--text-light); font-size: 0.9rem; }
.always-active {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-tile { transition: none !important; }
}

/* â€”â€” Responsive â€”â€” */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .nav-container { flex-direction: column; align-items: stretch; }
  .nav-controls { width: 100%; justify-content: flex-start; }
  .phone-input-container { flex-direction: column; }
  .country-select { width: 100%; }
  .nav-menu-popover { left: 0; right: 0; min-width: 0; }
  :root { --hub-size: 88px; }

  .hub-grid {
    grid-template-columns: repeat(4, var(--hub-size));
    gap: 10px;
    width: auto;
    max-width: none;
    padding: 0;
    overflow: visible;
    justify-content: center;
  }
  .hub-tile {
    width: var(--hub-size);
    height: var(--hub-size);
    max-width: none;
    min-height: 0;
    flex: none;
  }
}

@media (max-width: 640px) {
  .shell, .nav-container, .hero-inner,
  .hero-stats, .city-list, .seo-intro, .seo-sitemap,
  .services-title, .services-grid, .process-header, .process-grid,
  .faq-header, .faq-list, .portfolio-header, .portfolio-grid,
  .portfolio-actions, .tech-stack h3, .tech-grid,
  .contact-section, .footer-inner {
    width: min(100% - 20px, var(--max));
  }

  body:not(.subpage-body) .hero { min-height: auto; }
  body:not(.subpage-body) .hero-inner { padding: 28px 0 56px; width: 100%; }
  body:not(.subpage-body) .hero-copy {
    width: min(100% - 20px, 680px);
    padding: 20px 16px 18px;
    margin-bottom: 16px;
  }
  body:not(.subpage-body) .hero-brand { font-size: 2.2rem; }
  body:not(.subpage-body) .hero h1 { font-size: 1.05rem; }
  body:not(.subpage-body) .hero p#hero-desc { font-size: 0.95rem; margin-bottom: 0; }
  body:not(.subpage-body) .hero-actions { flex-direction: column; align-items: stretch; }
  body:not(.subpage-body) .btn-hero-primary,
  body:not(.subpage-body) .btn-hero-secondary { width: 100%; }
  body:not(.subpage-body) .hero-dots { bottom: 10px; }

  .hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100% - 24px, 360px);
    gap: 8px;
    padding: 0;
    overflow: visible;
    justify-content: center;
  }
  .hub-grid::-webkit-scrollbar { display: none; }
  .hub-tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: none;
    min-height: 0;
    flex: none;
    border-radius: 12px;
  }
  .hub-tile i { font-size: 1.05rem; }
  .hub-label { font-size: 0.52rem; }

  .nav-controls { flex-direction: column; align-items: stretch; }
  .btn-ctrl, .btn-project, .nav-menu { width: 100%; }
  .nav-menu-trigger { width: 100%; justify-content: center; }

  .stats-band { padding: 18px 0; }
  .hero-stats { grid-template-columns: 1fr; gap: 8px; }
  .hero-stat { padding: 14px 12px; font-size: 0.88rem; }
  .services-title,
  .process-header,
  .faq-header,
  .portfolio-header { padding: 36px 0 18px; text-align: left; }
  .services-title h2,
  .process-header h2,
  .faq-header h2,
  .portfolio-header h2 { font-size: 1.45rem; }
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { padding: 20px 16px; }
  .process-grid,
  .portfolio-grid { grid-template-columns: 1fr; gap: 10px; }
  .form-container, .info-container { padding: 20px 14px; }
  input, textarea, select { font-size: 16px; min-height: 48px; }
  .btn-submit { min-height: 52px; }
  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 16px);
    padding: 14px;
  }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; justify-content: center; min-height: 44px; }
  .captcha-container {
    transform: scale(0.86);
    transform-origin: center left;
    max-width: 100%;
    overflow: hidden;
  }
  .gdpr-container { flex-direction: column; }
  .anpc-badges img { width: 100%; max-width: 260px; }
  .modal-footer { flex-direction: column; }
  .floating-btn { bottom: 14px; right: 14px; width: 52px; height: 52px; }
}
