/* ============================================================
   DESIGN SYSTEM — [AGENCY_NAME] (PHP version)
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --color-orange:        #C45E1A;
  --color-orange-light:  #E07830;
  --color-orange-dark:   #9E4A12;
  --color-orange-dim:    rgba(196, 94, 26, 0.15);
  --color-orange-glow:   rgba(196, 94, 26, 0.35);

  --color-navy:          #0A1628;
  --color-navy-mid:      #0F2040;
  --color-navy-card:     #111D33;
  --color-navy-card2:    #152238;
  --color-navy-border:   #1A2E4A;
  --color-navy-border2:  #243855;

  --color-text:          #F0F4FF;
  --color-text-muted:    #8899BB;
  --color-text-subtle:   #4A6080;

  --font-display:        'Clash Display', sans-serif;
  --font-body:           'DM Sans', sans-serif;

  --text-xs:    clamp(0.75rem,  1.5vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 1.8vw, 1rem);
  --text-base:  clamp(1rem,     2vw,   1.125rem);
  --text-lg:    clamp(1.125rem, 2.2vw, 1.375rem);
  --text-xl:    clamp(1.25rem,  2.5vw, 1.625rem);
  --text-2xl:   clamp(1.5rem,   3vw,   2rem);
  --text-3xl:   clamp(2rem,     4vw,   2.75rem);
  --text-hero:  clamp(2.4rem,   6.5vw, 4.8rem);

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  7rem;

  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:     180ms;
  --dur-mid:      350ms;
  --dur-slow:     600ms;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.25);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.35);
  --shadow-orange: 0 8px 32px rgba(196,94,26,0.4);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 100px;

  --nav-h: 72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--color-navy);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
ul[role="list"] { list-style: none; }
::selection { background: var(--color-orange); color: #fff; }

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.section { padding-block: var(--space-2xl); }
.desktop-br { display: none; }
@media (min-width: 1024px) { .desktop-br { display: block; } }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--text-hero); font-weight: 700; }
h2 { font-size: var(--text-3xl); font-weight: 600; }
h3 { font-size: var(--text-xl); font-weight: 600; }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { color: var(--color-text-muted); font-size: var(--text-lg); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: transform var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast),
              color var(--dur-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: var(--color-orange);
  color: #fff;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 500ms var(--ease-smooth);
}
.btn-primary:hover { box-shadow: var(--shadow-orange); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-navy-border2);
}
.btn-ghost:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }
.btn .btn-loading { display: none; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* === NAV LOGO === */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.nav-logo-mark { line-height: 0; }
.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* === NAV === */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur-mid), border-color var(--dur-mid), backdrop-filter var(--dur-mid);
}
#site-nav.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-navy-border);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
  padding: 0;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--color-text); }

.nav-badge {
  font-size: var(--text-xs) !important;
  font-weight: 600 !important;
  background: var(--color-orange-dim);
  color: var(--color-orange) !important;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-orange-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.02em;
}
.nav-badge:hover { background: var(--color-orange) !important; color: #fff !important; }

.nav-cta { margin-left: var(--space-md); display: none; }

.nav-hamburger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-smooth), opacity var(--dur-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-navy-border);
  padding: var(--space-md);
  gap: var(--space-sm);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-smooth);
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
}
.nav-mobile.open { max-height: 400px; }
.nav-mobile ul { padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.nav-mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-navy-border);
  color: var(--color-text-muted);
}
.nav-mobile li:last-child a { border: none; }
.nav-mobile a:hover { color: var(--color-text); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
  .nav-mobile { display: none !important; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  gap: var(--space-xl);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196,94,26,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(15,32,64,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: var(--space-md);
}
.hero-title { margin-bottom: var(--space-md); overflow: visible; }
.hero-title .word {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0;
  transform: translateY(24px);
}
.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.hero-visual {
  position: relative;
  height: 320px;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,94,26,0.3) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%);
  animation: orb-float 6s ease-in-out infinite;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(15,32,64,0.8) 0%, transparent 70%);
  bottom: 0; right: 0;
  animation: orb-float 8s ease-in-out 2s infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-20px); }
}
.hero-card {
  position: absolute;
  background: rgba(17,29,51,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.hero-card-dot {
  width: 8px; height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero-card-1 { top: 15%; left: 5%; animation: card-float 7s ease-in-out infinite; }
.hero-card-2 { top: 45%; right: 2%; animation: card-float 5s ease-in-out 1.5s infinite reverse; }
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@media (min-width: 1024px) {
  .hero { grid-template-columns: 55% 1fr; }
  .hero-visual { height: 460px; }
}

/* === SERVICES === */
.services { background: var(--color-navy-mid); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.service-card {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--dur-mid) var(--ease-smooth), border-left-color var(--dur-mid), box-shadow var(--dur-mid);
}
.service-card:hover {
  transform: translateY(-8px);
  border-left-color: var(--color-orange);
  box-shadow: var(--shadow-card), -4px 0 16px rgba(196,94,26,0.2);
}
.service-card-icon {
  width: 48px; height: 48px;
  background: var(--color-orange-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: background var(--dur-mid), transform var(--dur-mid) var(--ease-bounce);
}
.service-card-icon svg { width: 22px; height: 22px; stroke: var(--color-orange); }
.service-card:hover .service-card-icon { background: var(--color-orange); transform: scale(1.1); }
.service-card:hover .service-card-icon svg { stroke: #fff; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.7; }

@media (min-width: 768px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* === PORTFOLIO === */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.portfolio-card { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg,
    hsl(var(--hue, 210), 35%, 18%) 0%,
    hsl(var(--hue, 210), 25%, 12%) 100%
  );
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(196,94,26,0.15) 0%, transparent 60%);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  transform: translateY(calc(100% - 80px));
  transition: transform var(--dur-mid) var(--ease-smooth);
}
.portfolio-card:hover .portfolio-overlay { transform: translateY(0); }
.portfolio-cat {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 0.25rem;
}
.portfolio-overlay h3 { margin-bottom: 0.75rem; font-size: var(--text-lg); }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: var(--text-xs);
  background: var(--color-orange-dim);
  color: var(--color-text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196,94,26,0.2);
}

@media (min-width: 768px)  { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid .portfolio-card:nth-child(1) { grid-column: span 2; }
  .portfolio-grid .portfolio-card:nth-child(4) { grid-column: span 2; }
}

/* === ABOUT === */
.about { background: var(--color-navy-mid); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about-content .section-eyebrow { margin-bottom: var(--space-sm); }
.about-content h2 { margin-bottom: var(--space-md); }
.about-content p { color: var(--color-text-muted); margin-bottom: var(--space-md); line-height: 1.7; }
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  position: relative;
}
.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
}
.stat-label { font-size: var(--text-sm); color: var(--color-text-muted); }
.about-grid-pattern {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: var(--space-lg);
}
.about-grid-cell {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  transition: background var(--dur-mid), transform var(--dur-mid) var(--ease-bounce);
}
.about-grid-cell:hover { background: var(--color-orange-dim); border-color: var(--color-orange); transform: scale(1.15); }

@media (min-width: 1024px) { .about-grid { grid-template-columns: 55% 1fr; } }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact-info .section-eyebrow { margin-bottom: var(--space-sm); }
.contact-info h2 { margin-bottom: var(--space-md); }
.contact-info > p { color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.contact-details li svg { width: 18px; height: 18px; stroke: var(--color-orange); flex-shrink: 0; }
.contact-details a:hover { color: var(--color-orange); }

.contact-form-wrap {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.form-row { display: grid; gap: var(--space-sm); margin-bottom: var(--space-sm); }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--space-sm); }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-navy-mid);
  border: 1px solid var(--color-navy-border2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-subtle); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px var(--color-orange-dim);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238899BB' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}
.form-group select option { background: var(--color-navy-mid); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: var(--text-xs);
  color: #f87171;
  min-height: 1.2em;
}
.form-feedback {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
}
.form-feedback.error {
  display: block;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  color: #f87171;
}
#contact-submit { margin-top: var(--space-sm); }

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 40% 1fr; } }

/* === FOOTER === */
.site-footer {
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-navy-border);
  padding-top: var(--space-2xl);
}
.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.footer-brand p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }
.footer-piva { font-size: var(--text-xs) !important; color: var(--color-text-subtle) !important; }

.footer-nav-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.footer-nav ul, .footer-contact ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--color-orange); }

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-contact a:hover { color: var(--color-orange); }

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-navy-border2);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.footer-social a:hover { border-color: var(--color-orange); color: var(--color-orange); }

.footer-bottom {
  border-top: 1px solid var(--color-navy-border);
  padding-block: var(--space-md);
}
.footer-bottom .footer-bottom-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.footer-bottom p { font-size: var(--text-xs); color: var(--color-text-subtle); }
.footer-legal { display: flex; gap: var(--space-md); }
.footer-legal a { font-size: var(--text-xs); color: var(--color-text-subtle); transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--color-text-muted); }

/* === UI/UX PRO MAX PAGE === */
.uiux-hero {
  padding-top: calc(var(--nav-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(196,94,26,0.1) 0%, transparent 70%);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-orange-dim);
  color: var(--color-orange);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196,94,26,0.3);
  margin-bottom: var(--space-md);
}
.uiux-hero h1 { max-width: 760px; margin-inline: auto; margin-bottom: var(--space-md); }
.uiux-hero .hero-subtitle { max-width: 580px; margin-inline: auto; margin-bottom: var(--space-lg); }
.uiux-hero .hero-ctas { justify-content: center; }

.uiux-features { background: var(--color-navy-mid); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.feature-card-icon {
  width: 56px; height: 56px;
  background: var(--color-orange-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.feature-card-icon svg { width: 24px; height: 24px; stroke: var(--color-orange); }
.feature-card h3 { margin-bottom: 0.5rem; font-size: var(--text-lg); }
.feature-card p { color: var(--color-text-muted); font-size: var(--text-sm); }

.demos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .demos-grid { grid-template-columns: repeat(3, 1fr); } }

.demo-card {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid);
}
.demo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.demo-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.demo-thumb-label {
  position: absolute;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.03em;
  text-align: center;
  padding: var(--space-md);
}
.demo-body { padding: var(--space-md); }
.demo-body h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: 0.5rem; }
.demo-brief { font-size: var(--text-xs); color: var(--color-text-subtle); font-style: italic; margin-bottom: 0.75rem; line-height: 1.5; }
.demo-footer { margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-navy-border); }

.uiux-about { background: var(--color-navy-mid); }
.uiux-about-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.uiux-about h2 { margin-bottom: var(--space-md); }
.uiux-about p { color: var(--color-text-muted); margin-bottom: var(--space-md); line-height: 1.8; }

.uiux-cta-banner {
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-navy-border);
  border-bottom: 1px solid var(--color-navy-border);
  padding-block: var(--space-2xl);
  text-align: center;
}
.uiux-cta-banner h2 { margin-bottom: var(--space-sm); }
.uiux-cta-banner p { color: var(--color-text-muted); margin-bottom: var(--space-lg); }

/* === AOS OVERRIDES === */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  background: var(--color-orange);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  z-index: 999;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 1rem; }

/* === FOCUS STATES === */
.btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* === PREFERS-REDUCED-MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.testimonial-card {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: 0;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-orange);
  opacity: 0.22;
  font-family: var(--font-display);
  pointer-events: none;
}
.testimonial-text {
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  padding-top: 1.75rem;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--color-navy-border);
  padding-top: var(--space-sm);
}
.testimonial-card footer strong {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
}
.testimonial-card footer span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

/* === GRAZIE PAGE === */
.grazie-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}
.grazie-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.grazie-icon {
  width: 72px;
  height: 72px;
  background: var(--color-orange-dim);
  border: 1px solid var(--color-orange-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-orange);
}
.grazie-icon svg { width: 32px; height: 32px; }
.grazie-inner h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin: var(--space-sm) 0;
}
.grazie-inner > p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}
.grazie-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
  margin-bottom: var(--space-xl);
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.grazie-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.grazie-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-orange-dim);
  border: 1px solid var(--color-orange-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-orange);
}
.grazie-step strong {
  display: block;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.grazie-step p { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }

/* === LANDING PAGE === */
.btn-sm { padding: 0.4rem 1rem; font-size: var(--text-sm); }

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-navy-border);
}
.landing-hero {
  padding-block: var(--space-xl);
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
}
.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .landing-hero-grid { grid-template-columns: 55% 1fr; align-items: start; }
}
.landing-hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin: var(--space-sm) 0 var(--space-md);
}
.landing-hero-copy > p { color: var(--color-text-muted); font-size: var(--text-lg); margin-bottom: var(--space-lg); }
.landing-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.landing-benefits li { display: flex; align-items: center; gap: 0.75rem; color: var(--color-text); font-size: var(--text-base); }
.landing-benefits li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-orange); }
.landing-form-card {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.landing-form-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-text); margin-bottom: 0.25rem; }
.landing-form-sub { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-md); }
.landing-form-disclaimer { text-align: center; color: var(--color-text-subtle); font-size: var(--text-xs); margin-top: var(--space-sm); }
.landing-trust {
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-navy-border);
  border-bottom: 1px solid var(--color-navy-border);
  padding-block: var(--space-lg);
}
.landing-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); text-align: center; }
@media (min-width: 640px) { .landing-stats { grid-template-columns: repeat(4, 1fr); } }
.landing-stat strong { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-orange); margin-bottom: 0.2rem; }
.landing-stat span { color: var(--color-text-muted); font-size: var(--text-sm); }
.landing-testimonials { padding-block: var(--space-2xl); }
.landing-testimonials h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-text); text-align: center; margin-bottom: var(--space-xl); }
.landing-footer { background: var(--color-navy-mid); border-top: 1px solid var(--color-navy-border); padding-block: var(--space-lg); }
.landing-footer-inner { display: flex; flex-direction: column; gap: var(--space-sm); align-items: center; text-align: center; }
@media (min-width: 640px) { .landing-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.landing-footer-inner > p { color: var(--color-text-subtle); font-size: var(--text-xs); }

/* === SERVICE CARDS — homepage link === */
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-orange);
  transition: gap var(--dur-fast);
}
.service-card-link:hover { gap: 0.65rem; }

/* === PORTFOLIO ENHANCEMENTS === */
.portfolio-desc {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.portfolio-visit-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-orange);
  background: var(--color-orange-dim);
  border: 1px solid var(--color-orange-glow);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.8rem;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.portfolio-visit-link:hover { background: var(--color-orange); color: #fff; border-color: var(--color-orange); }
.portfolio-card--soon .portfolio-thumb { opacity: 0.4; }
.portfolio-card--soon .portfolio-overlay {
  transform: translateY(0);
  background: linear-gradient(to top, rgba(10,22,40,0.7) 0%, transparent 100%);
}

/* === SERVICE PAGES === */
.service-hero {
  padding-top: calc(var(--nav-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% -10%, var(--color-orange-dim) 0%, transparent 65%);
  pointer-events: none;
}
.service-hero-inner {
  max-width: 740px;
  text-align: center;
  margin: 0 auto;
  position: relative;
}
.service-hero-icon {
  width: 80px; height: 80px;
  background: var(--color-orange-dim);
  border: 1px solid var(--color-orange-glow);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-orange);
}
.service-hero-icon svg { width: 36px; height: 36px; }
.service-hero-inner h1 { font-size: var(--text-3xl); font-weight: 700; color: var(--color-text); margin: var(--space-sm) 0; }
.service-hero-inner > p { color: var(--color-text-muted); font-size: var(--text-lg); line-height: 1.7; margin-bottom: var(--space-lg); }
.service-hero-ctas { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.service-feature {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--dur-mid);
}
.service-feature:hover { border-color: var(--color-orange-glow); }
.service-feature-icon {
  width: 48px; height: 48px;
  background: var(--color-orange-dim);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-orange);
  margin-bottom: var(--space-md);
}
.service-feature-icon svg { width: 22px; height: 22px; }
.service-feature h3 { font-size: var(--text-base); font-weight: 600; color: var(--color-text); margin-bottom: 0.5rem; }
.service-feature p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.7; }

.service-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 640px)  { .service-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-steps { grid-template-columns: repeat(4, 1fr); } }
.service-step {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.service-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.service-step h3 { font-size: var(--text-base); font-weight: 600; color: var(--color-text); margin-bottom: 0.4rem; }
.service-step p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.7; }

.service-cta-section {
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-navy-border);
  padding-block: var(--space-2xl);
  text-align: center;
}
.service-cta-section h2 { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
.service-cta-section > .container > p { color: var(--color-text-muted); font-size: var(--text-lg); margin-bottom: var(--space-lg); }
.service-cta-actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* === SERVICE PLANS (manutenzione) === */
.service-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) { .service-plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.service-plan {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}
.service-plan.featured {
  border-color: var(--color-orange);
  background: var(--color-navy-card2);
}
.service-plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-orange);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.2rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-plan-name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-text); margin-bottom: 0.2rem; }
.service-plan-price { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; color: var(--color-orange); margin-bottom: var(--space-sm); }
.service-plan-price span { font-size: var(--text-sm); color: var(--color-text-muted); font-family: var(--font-body); font-weight: 400; }
.service-plan-desc { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; margin-bottom: var(--space-md); }
.service-plan-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: var(--space-lg); padding: 0; }
.service-plan-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.service-plan-features li svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--color-orange); margin-top: 3px; }

/* === LEGAL PAGES (privacy, termini) === */
.legal-page { padding-top: calc(var(--nav-h) + var(--space-xl)); }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-inner h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}
.legal-updated { color: var(--color-text-subtle); font-size: var(--text-sm); margin-bottom: var(--space-xl); }
.legal-body { display: flex; flex-direction: column; gap: var(--space-lg); }
.legal-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-navy-border);
}
.legal-body p { color: var(--color-text-muted); line-height: 1.8; }
.legal-body ul { padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-body li { color: var(--color-text-muted); line-height: 1.7; }
.legal-body a { color: var(--color-orange); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-navy-border); }

/* === 404 PAGE === */
.error-page { padding-top: calc(var(--nav-h) + var(--space-xl)); min-height: 80svh; display: flex; align-items: center; }
.error-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}
.error-inner h1 { font-size: var(--text-2xl); font-weight: 700; color: var(--color-text); margin: var(--space-sm) 0; }
.error-inner > p { color: var(--color-text-muted); font-size: var(--text-lg); margin-bottom: var(--space-xl); }
.error-actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* === SITE TYPES SLIDESHOW === */
.site-types { background: var(--color-navy); overflow: hidden; }

.site-types-overflow { overflow: hidden; }

.site-types-track {
  display: flex;
  gap: var(--space-md);
  transition: transform var(--dur-slow) var(--ease-smooth);
  will-change: transform;
}

.site-type-card {
  flex-shrink: 0;
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid), border-color var(--dur-mid);
  text-decoration: none;
  color: inherit;
}
.site-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-navy-border2);
}

.site-type-thumb {
  height: 110px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg,
    hsl(var(--hue, 220), 40%, 14%) 0%,
    hsl(var(--hue, 220), 30%, 10%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  position: relative;
  overflow: hidden;
}
.site-type-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(196,94,26,0.25) 0%, transparent 65%);
}
.site-type-thumb svg {
  width: 40px; height: 40px;
  stroke: var(--color-orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.site-type-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  background: var(--color-orange-dim);
  border: 1px solid rgba(196,94,26,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.1rem;
}

.site-type-card h3 { font-size: var(--text-xl); margin-bottom: 0.2rem; }
.site-type-card > p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; flex-grow: 1; }

.site-type-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-navy-border);
}
.site-type-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.site-type-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.site-type-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-orange);
  margin-top: var(--space-sm);
  transition: gap var(--dur-fast);
  text-decoration: none;
}
.site-type-link:hover { gap: 0.6rem; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border2);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
  flex-shrink: 0;
  cursor: pointer;
}
.slider-btn:hover:not(:disabled) {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  transform: scale(1.1);
}
.slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.slider-dots { display: flex; align-items: center; gap: 0.5rem; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-navy-border2);
  border: none;
  cursor: pointer;
  transition: background var(--dur-fast), width var(--dur-mid) var(--ease-smooth);
  padding: 0;
  flex-shrink: 0;
}
.slider-dot.active { background: var(--color-orange); width: 24px; }

.site-types-cta { text-align: center; margin-top: var(--space-xl); }

/* === TIPOLOGIE SITI PAGE === */
.tipologie-hero {
  padding-top: calc(var(--nav-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(196,94,26,0.08) 0%, transparent 70%);
}
.tipologie-hero h1 { max-width: 760px; margin-inline: auto; margin-bottom: var(--space-md); }
.tipologie-hero > .container > p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
}
.tipologie-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.tipologie-nav a {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
  text-decoration: none;
}
.tipologie-nav a:hover {
  background: var(--color-orange-dim);
  border-color: rgba(196,94,26,0.4);
  color: var(--color-orange);
}

.tipo-section {
  padding-block: var(--space-2xl);
  border-bottom: 1px solid var(--color-navy-border);
}
.tipo-section:nth-child(even) { background: var(--color-navy-mid); }

.tipo-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 1024px) {
  .tipo-inner { grid-template-columns: 1fr 1fr; }
  .tipo-section:nth-child(even) .tipo-inner { direction: rtl; }
  .tipo-section:nth-child(even) .tipo-inner > * { direction: ltr; }
}

.tipo-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); flex-wrap: wrap; }
.tipo-num {
  width: 40px; height: 40px;
  background: var(--color-orange-dim);
  border: 1px solid rgba(196,94,26,0.3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-orange);
  flex-shrink: 0;
}
.tipo-eyebrow { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-orange); }

.tipo-content h2 { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
.tipo-content > p { color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.8; margin-bottom: var(--space-md); }

.tipo-ideal {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-orange-dim);
  border: 1px solid rgba(196,94,26,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.tipo-ideal svg { width: 16px; height: 16px; stroke: var(--color-orange); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.tipo-ideal strong { color: var(--color-orange); }

.tipo-visual {
  background: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--nav-h) + var(--space-md));
}
.tipo-visual-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-md);
}

.componenti-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.componente-item {
  background: var(--color-navy-mid);
  border: 1px solid var(--color-navy-border);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--space-md);
  transition: border-left-color var(--dur-fast), background var(--dur-fast);
}
.componente-item:hover { background: var(--color-navy-card2); border-left-color: var(--color-orange-light); }
.componente-item h4 { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); margin-bottom: 0.2rem; }
.componente-item p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; margin: 0; }

.tipo-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-navy-border);
}
.tipo-tech-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  width: 100%;
  margin-bottom: 0.25rem;
}

.tipologie-cta {
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-navy-border);
  padding-block: var(--space-2xl);
  text-align: center;
}
.tipologie-cta h2 { margin-bottom: var(--space-sm); }
.tipologie-cta p { color: var(--color-text-muted); margin-bottom: var(--space-lg); font-size: var(--text-lg); }
