/* ═══════════════════════════════════════════════════════════════════════════
   MCU S.R.L.S. — Service Pages Shared Stylesheet
   Design: Dark industrial + marble luxury
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  --c-bg:          #0d0b09;
  --c-surface:     #141210;
  --c-surface-2:   #1c1916;
  --c-border:      rgba(200,175,130,0.15);
  --c-border-hi:   rgba(200,175,130,0.35);

  --c-gold:        #c8af82;
  --c-gold-light:  #dfc9a0;
  --c-gold-dim:    rgba(200,175,130,0.12);
  --c-gold-glow:   rgba(200,175,130,0.08);

  --c-text:        #e8e0d4;
  --c-text-muted:  #9e9486;
  --c-text-dim:    #5c5550;

  --c-white:       #f5f0e8;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Barlow', system-ui, sans-serif;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-full: 999px;

  --shadow-card: 0 1px 0 0 var(--c-border), 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--c-gold-glow);

  --hdr-h: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ─── HEADER ──────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--hdr-h);
  background: rgba(13,11,9,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 20px;
  max-width: 1160px;
  margin-inline: auto;
  gap: 16px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  width: 38px; height: 38px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--c-border-hi);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-gold-light);
  letter-spacing: 0.08em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 6px 16px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.back-link:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
  background: var(--c-gold-dim);
}

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.sp-hero {
  position: relative;
  padding: calc(var(--hdr-h) + 64px) 20px 72px;
  text-align: center;
  overflow: hidden;
}
.sp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,175,130,0.07) 0%, transparent 70%),
    linear-gradient(180deg, #0d0b09 0%, #111009 60%, #0a0907 100%);
  pointer-events: none;
}
.sp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.sp-hero-content { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--c-border-hi);
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  background: var(--c-gold-dim);
  margin-bottom: 20px;
}
.sp-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

.sp-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: 20px;
}
.sp-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-gold) 50%, #a87d4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sp-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--c-text-muted);
  line-height: 1.75;
  max-width: 620px;
  margin-inline: auto;
}

/* gold rule beneath hero */
.sp-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin: 0;
}

/* ─── MAIN CONTENT ────────────────────────────────────────────────────────── */
.sp-body {
  padding-block: 72px 96px;
}

/* intro card */
.sp-intro {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.sp-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.sp-intro-text {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--c-text);
  line-height: 1.8;
}
.sp-intro-text + .sp-intro-text { margin-top: 16px; }

/* section label */
.sp-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 10px;
  padding: 4px 12px;
  border: 1px solid var(--c-border-hi);
  border-radius: var(--r-full);
  background: var(--c-gold-dim);
}
.sp-section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 32px;
}

/* features grid */
.sp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 60px;
}
@media (min-width: 560px) { .sp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .sp-features { grid-template-columns: repeat(3, 1fr); } }

.sp-feature {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.sp-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.sp-feature:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.sp-feature:hover::before { opacity: 1; }

.sp-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-gold-dim);
  border: 1px solid var(--c-border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  flex-shrink: 0;
}
.sp-feature-icon svg { width: 24px; height: 24px; }
.sp-feature-name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
}
.sp-feature-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* why-us section */
.sp-why {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.sp-why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.sp-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
@media (min-width: 700px) { .sp-why-grid { grid-template-columns: repeat(2, 1fr); } }

.sp-why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sp-why-num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-gold-dim);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  color: var(--c-gold);
  opacity: 0.35;
}
.sp-why-body {}
.sp-why-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 6px;
}
.sp-why-text {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* CTA section */
.sp-cta {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hi);
  border-radius: var(--r-xl);
  padding: 52px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.sp-cta-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 14px;
}
.sp-cta-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
}
.sp-cta .btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  min-width: 140px;
  touch-action: manipulation;
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-gold) 0%, #a87d4a 100%);
  color: #0d0b09;
  box-shadow: 0 4px 20px rgba(200,175,130,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,175,130,0.35);
  background: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-gold) 100%);
}
.btn--ghost {
  border: 1px solid var(--c-border-hi);
  color: var(--c-gold);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--c-gold-dim);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0) !important; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding-block: 48px 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--c-border-hi);
  flex-shrink: 0;
}
.footer-company {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-gold-light);
  letter-spacing: 0.06em;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--c-gold); }
.footer-legal {
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-legal p {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  line-height: 1.5;
}

/* ─── SCROLLBAR ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold-dim); }

/* ─── FOCUS ───────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --hdr-h: 72px; }
  .sp-intro { padding: 52px 48px; }
  .sp-why { padding: 56px 48px; }
  .sp-cta { padding: 64px 48px; }
  .footer-inner { flex-direction: row; align-items: flex-start; }
  .footer-brand { flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .footer-legal { border-top: none; padding-top: 0; margin-left: auto; text-align: right; }
}

/* ─── TOUCH ───────────────────────────────────────────────────────────────── */
@media (hover: none) {
  .sp-feature:hover { transform: none; }
  .btn--primary:hover { transform: none; }
  .btn--ghost:hover { transform: none; }
}

/* ─── Cookie icon hide ─────────────────────────────────────────────────────── */
#cookieMinimizeIcon { display: none !important; }
