/* =========================================================
   LUCIAL LIMITED — Construcții metalice
   Industrial dark theme · Orange flame accent
   ========================================================= */

:root {
  /* Core palette */
  --bg: #0b0b0d;
  --bg-2: #111114;
  --bg-3: #18181c;
  --panel: #16161a;
  --panel-2: #1d1d22;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f4f4f6;
  --text-dim: #a8a8b2;
  --text-faint: #6c6c78;

  /* Accent — welding flame */
  --accent: #ff6b1a;
  --accent-2: #ffb800;
  --accent-3: #fff5d6;
  --accent-glow: rgba(255, 107, 26, 0.45);

  /* Other */
  --success: #2dd47e;
  --whatsapp: #25d366;

  /* Effects */
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 12px 40px rgba(255, 107, 26, 0.3);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;

  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-head: "Oswald", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { color: var(--text); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--text-dim); }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   SPARKS BACKGROUND
   ========================================================= */
.sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.sparks span {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent);
  opacity: 0;
  animation: spark 6s linear infinite;
}
.sparks span:nth-child(1)  { left: 5%;  animation-delay: 0s;   animation-duration: 7s; }
.sparks span:nth-child(2)  { left: 18%; animation-delay: 1.2s; animation-duration: 9s; }
.sparks span:nth-child(3)  { left: 28%; animation-delay: 3s;   animation-duration: 6s; }
.sparks span:nth-child(4)  { left: 42%; animation-delay: .5s;  animation-duration: 8s; }
.sparks span:nth-child(5)  { left: 55%; animation-delay: 2s;   animation-duration: 10s; }
.sparks span:nth-child(6)  { left: 65%; animation-delay: 4s;   animation-duration: 7s; }
.sparks span:nth-child(7)  { left: 75%; animation-delay: 1.5s; animation-duration: 8s; }
.sparks span:nth-child(8)  { left: 82%; animation-delay: 3.5s; animation-duration: 9s; }
.sparks span:nth-child(9)  { left: 90%; animation-delay: .8s;  animation-duration: 7s; }
.sparks span:nth-child(10) { left: 96%; animation-delay: 2.8s; animation-duration: 8s; }

@keyframes spark {
  0%   { top: -20px; opacity: 0; transform: scale(.5); }
  10%  { opacity: 1; }
  90%  { opacity: .8; }
  100% { top: 110vh; opacity: 0; transform: scale(.3); }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  background: rgba(11, 11, 13, 0);
  backdrop-filter: blur(0);
  transition: background .3s, backdrop-filter .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 24px;
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-mark {
  display: inline-flex;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .12em;
  color: var(--text);
}
.logo-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--accent-2); color: #0b0b0d; }
.nav-links .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 50px rgba(255, 107, 26, .5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .04);
  border-color: var(--accent);
  color: var(--accent-2);
}
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(255, 107, 26, .12) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 184, 0, .06) 0%, transparent 50%),
    var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(60px);
  opacity: .4;
  animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .35; }
  50%      { transform: translate(-50%, -50%) scale(1.1); opacity: .55; }
}

.hero-content { position: relative; z-index: 2; max-width: 940px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 107, 26, .12);
  border: 1px solid rgba(255, 107, 26, .35);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--accent-2);
  margin-bottom: 28px;
  text-transform: uppercase;
  font-weight: 600;
  animation: fadeUp .8s .1s both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .6; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 92px);
  line-height: .98;
  letter-spacing: .01em;
  margin: 0 0 24px;
  font-weight: 400;
}
.hero-title .line {
  display: block;
  animation: fadeUp .9s .25s both;
}
.hero-title .line.accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation-delay: .4s;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 36px;
  animation: fadeUp 1s .6s both;
}
.hero-sub strong { color: var(--accent-2); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp 1.1s .8s both;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s 1s both;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 56px);
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  font-size: 13px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .15em;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 2px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: .005em;
  font-weight: 400;
}
.section-title .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  margin-top: 18px;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 26, .12), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 26, .4);
  box-shadow: var(--shadow-2);
  background: var(--panel-2);
}
.service:hover::before { opacity: 1; }

.service-icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 26, .1);
  border: 1px solid rgba(255, 107, 26, .25);
  border-radius: 14px;
  color: var(--accent-2);
  margin-bottom: 22px;
  transition: transform .3s, background .3s;
}
.service:hover .service-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.service h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: .01em;
}
.service p { font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }

.service-tags {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags li {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  text-transform: lowercase;
}

.service-highlight {
  background: linear-gradient(160deg, rgba(255, 107, 26, .15) 0%, var(--panel) 60%);
  border-color: rgba(255, 107, 26, .35);
}
.service-pill {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* =========================================================
   PAINT SECTION
   ========================================================= */
.section-paint {
  max-width: none;
  padding: 100px 24px;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 26, .04) 50%, transparent);
}
.paint-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}
.paint-text .section-title { text-align: left; }
.paint-text .eyebrow { margin-bottom: 18px; }
.paint-features {
  list-style: none;
  padding: 0; margin: 28px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.paint-features li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dim);
  font-size: 15px;
}
.paint-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.paint-features li strong { color: var(--text); font-weight: 600; }

.paint-visual {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.paint-visual::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 107, 26, .25), transparent, rgba(255, 184, 0, .2), transparent);
  animation: rotate 12s linear infinite;
  z-index: 0;
}
.paint-visual::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--panel);
  border-radius: calc(var(--radius-lg) - 1px);
}
.paint-visual > * { position: relative; z-index: 1; }
@keyframes rotate {
  to { transform: rotate(360deg); }
}

.ral-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.ral-grid span {
  aspect-ratio: 1;
  border-radius: 10px;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 12px rgba(0, 0, 0, .3);
  transition: transform .3s;
}
.ral-grid span:hover { transform: scale(1.08); }
.ral-label {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--accent-2);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 26, .4);
  box-shadow: var(--shadow-2);
}
.gallery-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(255, 107, 26, .05) 14px, rgba(255, 107, 26, .05) 16px),
    linear-gradient(135deg, var(--bg-3) 0%, var(--panel-2) 100%);
  color: var(--text-faint);
  transition: color .3s;
  position: relative;
}
.gallery-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.gallery-item:hover .gallery-placeholder { color: var(--accent-2); }
.gallery-item figcaption {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  font-weight: 500;
}

/* TikTok block */
.tiktok-block {
  margin-top: 70px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(254, 44, 85, .08), rgba(37, 244, 238, .06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.tiktok-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tiktok-head h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin: 0;
}
.tiktok-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-dim);
}
.tiktok-cta { margin-left: auto; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-text .section-title { text-align: left; }
.about-text > p {
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-points {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}
.point {
  display: flex;
  gap: 20px;
  align-items: start;
}
.point-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  min-width: 50px;
}
.point h4 {
  font-family: var(--font-head);
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--text);
}
.point p { margin: 0; font-size: 14.5px; }

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: sticky;
  top: 100px;
}
.about-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 22px;
}
.about-card ul {
  list-style: none;
  padding: 0; margin: 0 0 26px;
  display: grid;
  gap: 12px;
}
.about-card ul li {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--text-dim);
}
.about-card ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 107, 26, .15);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: transform .25s, border-color .25s, background .25s;
  position: relative;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 26, .4);
  background: var(--panel-2);
  color: var(--text);
}
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin: 0 0 4px;
  letter-spacing: .02em;
}
.contact-card p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.contact-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 26, .1);
  border: 1px solid rgba(255, 107, 26, .25);
  border-radius: 12px;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.contact-cta {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-card-wa { background: linear-gradient(135deg, rgba(37, 211, 102, .15), var(--panel)); border-color: rgba(37, 211, 102, .35); }
.contact-card-wa .contact-icon { background: rgba(37, 211, 102, .15); border-color: rgba(37, 211, 102, .4); color: var(--whatsapp); }
.contact-card-wa .contact-cta { color: var(--whatsapp); }
.contact-card-info p { font-weight: 400; color: var(--text-dim); font-size: 14px; }

/* Form */
.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 22px;
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--bg-3);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.checkbox {
  display: flex !important;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  margin: 18px 0 22px !important;
}
.checkbox input { width: auto !important; margin-top: 3px; flex-shrink: 0; }
.checkbox span { margin: 0 !important; }

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}
.form-success {
  margin-top: 16px;
  padding: 14px;
  background: rgba(45, 212, 126, .12);
  border: 1px solid rgba(45, 212, 126, .4);
  border-radius: 10px;
  color: var(--success);
  text-align: center;
  font-weight: 500;
  display: none;
}
.form-success.show { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.logo-footer { margin-bottom: 16px; }
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col ul li, .footer-col ul li a {
  font-size: 14px;
  color: var(--text-dim);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--container);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom p { margin: 0; }
.footer-anpc a { color: var(--text-dim); }
.footer-anpc a:hover { color: var(--accent); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  z-index: 99;
  transition: transform .2s;
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.08);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 100px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-2);
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-banner h4 { font-size: 16px; margin: 0 0 8px; }
.cookie-banner p { font-size: 13px; margin: 0 0 14px; color: var(--text-dim); }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions .btn { font-size: 13px; padding: 8px 14px; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-page {
  max-width: 820px;
  margin: 120px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 30px;
}
.legal-back:hover { color: var(--accent); }
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: .01em;
  font-weight: 400;
  margin-bottom: 8px;
}
.legal-updated {
  display: block;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 30px;
}
.legal-page h2 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--accent-2);
}
.legal-page h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin-top: 22px;
  margin-bottom: 10px;
}
.legal-page p,
.legal-page li {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}
.legal-page ul {
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--text); font-weight: 600; }
.placeholder { color: var(--text-faint); font-style: italic; font-size: 13px; }

.anpc-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.anpc-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: border-color .2s;
}
.anpc-widget:hover { border-color: var(--accent); color: var(--text); }
.anpc-widget-icon { font-size: 28px; }
.anpc-widget-text strong { display: block; font-size: 15px; }
.anpc-widget-text span { display: block; font-size: 12px; color: var(--text-dim); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .35s;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .paint-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { position: static; }
  .about-text .section-title,
  .paint-text .section-title { text-align: center; }
  .paint-text { text-align: center; }
  .paint-features { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; text-align: left; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 18px; }
  .hero { padding: 120px 18px 60px; min-height: auto; }
  .hero-stats { gap: 30px; }
  .stat strong { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .tiktok-block { padding: 24px 18px; }
  .tiktok-cta { margin-left: 0; width: 100%; }
  .tiktok-head { flex-direction: column; align-items: flex-start; }

  .contact-form { padding: 24px; }
  .anpc-widgets { grid-template-columns: 1fr; }

  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 80px; padding: 18px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
