:root {
  --color-primary: #1a1a1a;
  --color-secondary: #3a3a3a;
  --color-accent: #e8620a;
  --color-accent-light: #ff7a2a;
  --color-rock: #6b6b6b;
  --color-rock-light: #9ca3af;
  --color-bg: #f5f5f0;
  --color-white: #ffffff;
  --color-bg-alt: #ecece4;
  --font-main: 'Barlow', 'Oswald', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 6px 20px rgba(232, 98, 10, 0.35);
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: #2a2a2a;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(232, 98, 10, 0.35);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary);
  padding: 2px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}



.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
  margin-right: 20px;
}

.logo-img {
  height: 100px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-img {
    height: 60px;
  }
}

.nav-overlay {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  transition: transform var(--transition);
}

.nav-toggle:hover {
  transform: scale(1.1);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

.nav-menu a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    url('../img/hero-cantiere.jpg') center top / cover no-repeat;
  filter: brightness(0.35) saturate(0.8);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(232, 98, 10, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  z-index: 1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10px, 10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero-text {
  color: var(--color-rock-light);
  font-size: 1.25rem;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta .btn-primary {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(232, 98, 10, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(232, 98, 10, 0.6); }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
  text-align: center;
  cursor: pointer;
}



.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.hero-stat:hover .hero-stat-number {
  transform: scale(1.1);
}

.hero-stat-label {
  color: var(--color-rock-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--color-rock);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 25px auto 0;
}

.section-alt {
  background: var(--color-white);
}

.section + .section {
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Service Card */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border-left: 3px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  border-left-color: var(--color-accent);
}

.card:focus-within {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.08);
}

.card-icon svg {
  width: 35px;
  height: 35px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--color-primary);
}

.card p {
  color: var(--color-rock);
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.card-link svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.card-link:hover {
  color: var(--color-accent-light);
}

.card-link:hover svg {
  transform: translateX(6px);
}

.card-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.15;
  transition: opacity var(--transition);
}

.about-image:hover::before {
  opacity: 0.25;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content .highlight {
  color: var(--color-accent);
  font-weight: 700;
}

.about-features {
  display: grid;
  gap: 15px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* Target Section */
.target-section {
  background: var(--color-primary);
  color: var(--color-white);
}

.target-section h2 {
  color: var(--color-white);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.target-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.target-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.target-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(232, 98, 10, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.target-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.target-card:hover::before {
  opacity: 1;
}

.target-card:hover::after {
  opacity: 1;
}

.target-card:hover .target-card-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(232, 98, 10, 0.4);
}

.target-card-icon {
  transition: transform var(--transition), box-shadow var(--transition);
}

.target-card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.target-card-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-white);
}

.target-card h3 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.target-card p {
  color: var(--color-rock-light);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-section .btn {
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-section .btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--color-rock-light);
  margin-top: 15px;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-rock-light);
  transition: color var(--transition);
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-rock-light);
  margin-bottom: 12px;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--color-rock-light);
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
}

.footer-credits {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-credits:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Page Header */
.page-header {
  background: var(--color-primary);
  padding: 150px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 15px;
  animation: fadeInUp 0.6s ease both;
}

.page-header p {
  color: var(--color-rock-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Services Page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail h3 {
  margin-bottom: 15px;
}

.service-detail p {
  color: var(--color-rock);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 4 / 3;
}

.service-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
  transition: opacity var(--transition);
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(232, 98, 10, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
  border-radius: var(--radius-lg);
}

.service-image:hover::before {
  opacity: 1;
}

.service-image img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-image:hover img {
  transform: scale(1.08);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  padding: 15px;
  border-radius: var(--radius);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.contact-item:hover {
  background: rgba(232, 98, 10, 0.04);
  border-left-color: var(--color-accent);
  transform: translateX(5px);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.contact-item:hover svg {
  transform: scale(1.15);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  transition: color var(--transition);
}

.contact-item:hover h4 {
  color: var(--color-accent);
}

.contact-item p {
  color: var(--color-rock);
  margin: 0;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  background: var(--color-white);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #ccc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(232, 98, 10, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
.form-group textarea:focus {
  min-height: 200px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  background: var(--color-rock-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.map-container:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* DPI Page */
.dpi-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.dpi-feature {
  text-align: center;
  padding: 30px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}

.dpi-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--color-accent);
}

.dpi-feature-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition), background var(--transition);
}

.dpi-feature:hover .dpi-feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-accent);
}

.dpi-feature-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-accent);
  transition: stroke var(--transition);
}

.dpi-feature:hover .dpi-feature-icon svg {
  stroke: var(--color-white);
}

.dpi-feature h4 {
  margin-bottom: 10px;
  transition: color var(--transition);
}

.dpi-feature:hover h4 {
  color: var(--color-accent);
}

.dpi-feature p {
  color: var(--color-rock);
  font-size: 0.95rem;
  margin: 0;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 20px 10px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
}

.process-step:hover {
  background: rgba(232, 98, 10, 0.03);
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -8px;
  width: 16px;
  height: 3px;
  background: var(--color-accent);
  opacity: 0.3;
}

.process-step:last-child::after {
  display: none;
}

.process-step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 15px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(232, 98, 10, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-step:hover .process-step-number {
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(232, 98, 10, 0.5);
}

.process-step h4 {
  transition: color var(--transition);
}

.process-step:hover h4 {
  color: var(--color-accent);
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.process-step p {
  color: var(--color-rock);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Skip to content */
.skip-link {
  position: fixed;
  top: -999px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  outline: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .about-grid,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail:nth-child(even) {
    direction: ltr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-step::after {
    display: none;
  }
  
  
  .hero-stats {
    gap: 30px;
  }
  
  .dpi-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  
  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: var(--color-primary);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 0;
    transition: right var(--transition);
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 4px 0;
  }

  .hero {
    min-height: 90vh;
    padding: 120px 0 60px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    gap: 20px;
    justify-content: center;
  }
  
  .hero-stat-number {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }
  
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header p {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 50px 0 25px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .process-step {
    padding: 15px 10px;
  }

  .dpi-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .dpi-feature {
    padding: 20px;
  }

  .dpi-feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  
  .hero-text {
    font-size: 1rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .page-header {
    padding: 120px 0 50px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .target-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .target-card {
    padding: 20px;
  }

  .about-grid {
    gap: 30px;
  }

  .about-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-features {
    gap: 12px;
  }
  
  .about-image::before {
    display: none;
  }

  .contact-grid {
    gap: 30px;
  }

  .contact-form {
    padding: 25px;
  }

  .contact-item {
    padding: 12px;
  }
  
  .service-detail {
    gap: 30px;
    margin-bottom: 40px;
  }

  .service-image {
    order: -1;
  }

  .service-image,
  .service-image img {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 3px 0;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
    padding: 90px 25px 25px;
  }

  .hero {
    min-height: 85vh;
    padding: 110px 0 40px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 12px 8px;
  }

  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .cards-grid {
    gap: 15px;
  }

  .card {
    padding: 20px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
  }

}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  .hero-cta .btn-primary {
    animation: none;
  }
}

/* ── Privacy checkbox ────────────────────────────────────────── */
.form-privacy {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-rock);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

.checkbox-label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--color-primary);
}

/* ── Cookie consent banner ───────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-white);
}

.cookie-btn-accept:hover {
  background: #d55a00;
}

.cookie-btn-decline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
  border-color: var(--color-white);
}

@media (max-width: 600px) {
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner p {
    min-width: 0;
  }
}

/* ── Back to top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(232,98,10,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232,98,10,0.45);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .back-to-top:active {
    transform: translateY(0) scale(0.92);
    background: var(--color-primary);
  }
}

/* ── Certifications grid ─────────────────────────────────────── */
.certs-grid {
  column-count: 2;
  column-gap: 28px;
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  break-inside: avoid;
  margin-bottom: 28px;
}

.cert-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.cert-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.9;
}

.cert-header h3 {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cert-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-white);
}

.cert-list {
  padding: 8px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cert-item:hover {
  background: rgba(232, 98, 10, 0.06);
}

.cert-item:active {
  background: rgba(232, 98, 10, 0.12);
  transform: scale(0.99);
}

.cert-item + .cert-item {
  border-top: 1px solid rgba(0,0,0,0.04);
}

.cert-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(232, 98, 10, 0.08);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cert-item:hover .cert-item-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.cert-item-icon svg {
  width: 18px;
  height: 18px;
}

.cert-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cert-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.cert-item:hover .cert-item-title {
  color: var(--color-accent);
}

.cert-item-meta {
  font-size: 0.78rem;
  color: var(--color-rock);
  font-weight: 500;
}

.cert-item-arrow {
  display: flex;
  align-items: center;
  color: var(--color-rock-light);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cert-item:hover .cert-item-arrow {
  color: var(--color-accent);
  transform: translate(3px, -3px);
}

.cert-item-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .certs-grid {
    column-count: 1;
  }
}

@media (max-width: 768px) {
  .cert-item {
    padding: 10px 12px;
  }

  .cert-header {
    padding: 16px 18px;
  }

  .cert-header h3 {
    font-size: 0.9rem;
  }
}