/* Fonts */
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-300-normal.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin-300-normal.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #0d0d0d;
  --text-color: #f0f0f0;
  --accent-color: #00ff9d;
  /* Neon Green */
  --secondary-color: #1a1a1a;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.1);
  --nav-height: 80px;
  --container-width: 1200px;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --spacing-section: clamp(4rem, 10vh, 8rem);
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 3rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  /* Hide default cursor for custom one */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  mix-blend-mode: exclusion;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  transition: transform 0.1s ease, width 0.3s, height 0.3s, background-color 0.3s;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 1rem 0;
  z-index: 10000;
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-banner .cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-banner .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
}

.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
}

.cookie-banner a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}


.cookie-banner a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Disable custom cursor elements on policy pages where we want default pointer */
body.policy-page .cursor-dot,
body.policy-page .cursor-outline {
  display: none;
}

/* Re-enable default cursor for policy page body */
body.policy-page {
  cursor: auto;
}

/* Cursor Interactions */
body:hover .cursor-outline,
body:hover .cursor-dot {
  opacity: 1;
}

a:hover~.cursor-outline,
button:hover~.cursor-outline,
.interactive:hover~.cursor-outline {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(0, 255, 157, 0.1);
  border-color: transparent;
}

@media (max-width: 768px),
(hover: none) {

  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }

  body {
    cursor: auto;
  }
}


/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-color);
  opacity: 0.5;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.section-title--sm {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 3rem;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.lead {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 300;
  max-width: 800px;
}


/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition-medium);
  cursor: pointer;
}

.btn--primary {
  background-color: var(--accent-color);
  color: var(--bg-color);
  border: 1px solid var(--accent-color);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--accent-color);
}


/* Header */
.header {
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-medium), backdrop-filter var(--transition-medium);
}

.header.scrolled {
  background-color: rgba(13, 13, 13, 0.85);
  /* Slightly darker bg on scroll */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  z-index: 1002;
}

.logo .accent {
  color: var(--accent-color);
}

/* Nav & Mobile Menu */
.nav__list {
  display: none;
  /* Mobile first */
}

@media (min-width: 900px) {
  .nav__list {
    display: flex;
    gap: 2rem;
  }

  .nav__list a {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.7;
    position: relative;
  }

  .nav__list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width var(--transition-fast);
  }

  .nav__list a:hover {
    opacity: 1;
    color: var(--accent-color);
  }

  .nav__list a:hover::after {
    width: 100%;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 2001;
  /* Must be higher than .mobile-nav */
  cursor: pointer;
  display: block;
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  position: absolute;
  left: 0;
  transition: var(--transition-medium);
}

.mobile-menu-btn span:first-child {
  top: 14px;
}

.mobile-menu-btn span:last-child {
  bottom: 14px;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg);
  top: 19px;
  background-color: var(--accent-color);
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg);
  bottom: 19px;
  background-color: var(--accent-color);
}

/* Mobile Fullscreen Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav ul {
  text-align: center;
}

.mobile-nav li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.mobile-nav.active li {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delay for items */
.mobile-nav.active li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav.active li:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav.active li:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav.active li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav a {
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}


/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-right: 1rem;
}

@media (max-width: 899px) {
  .lang-switch {
    position: absolute;
    right: 60px;
    /* Space for burger */
    top: 50%;
    transform: translateY(-50%);
  }
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-color);
  opacity: 0.5;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
  opacity: 1;
  color: var(--accent-color);
}

.divider {
  opacity: 0.3;
}


/* Based Badge */
.based-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-color);
  background-color: rgba(0, 255, 157, 0.1);
  border-radius: 50px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  backdrop-filter: blur(5px);
}

.flag-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transform: scale(1.1);
  /* Initial scale for parallax effect */
  animation: bgZoom 20s infinite alternate ease-in-out;
}

@keyframes bgZoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.2);
  }
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.3), var(--bg-color));
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero__subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero__subtitle {
    margin-bottom: 2rem;
  }
}


/* Intro / Services Section */
.section {
  padding: var(--spacing-section) 0;
}

.intro__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2rem;
  margin-top: 4rem;
}

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

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

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  /* border-radius: 8px; Removed for a brutalist/sharp tech look */
  transition: var(--transition-medium);
}

.service-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 157, 0.05);
}

.service-card__icon {
  font-family: 'Space Grotesk';
  font-size: 3rem;
  font-weight: 700;
  color: var(--border-color);
  /* Faded style */
  margin-bottom: 1.5rem;
  line-height: 1;
  -webkit-text-stroke: 1px var(--text-color);
  color: transparent;
  opacity: 0.3;
}

.service-card:hover .service-card__icon {
  -webkit-text-stroke: 1px var(--accent-color);
  opacity: 1;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Scenarios Section */
.scenarios {
  padding-bottom: 0;
}

.scenarios__header {
  margin-bottom: 4rem;
}

.scenarios__header p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 1.2rem;
}

.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 6rem;
}

.scenario-card {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 255, 157, 0.3);
}

.scenario-card:hover::before {
  opacity: 1;
}

.scenario-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.3s ease;
}

.scenario-card:hover .scenario-number {
  color: rgba(0, 255, 157, 0.1);
}

.scenario-content {
  position: relative;
  z-index: 1;
}

.scenario-card h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.scenario-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Sectors Section */
.sectors {
  background: linear-gradient(to bottom, var(--bg-color), var(--secondary-color));
}

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.sector-card {
  height: 200px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s ease;
  cursor: default;
}

.sector-card:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.sector-content {
  z-index: 2;
  padding: 1rem;
}

.sector-card h3 {
  font-size: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-color);
  margin: 0;
  transition: color 0.3s ease;
}

.sector-card:hover h3 {
  color: var(--accent-color);
}

.sector-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 157, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.sector-card:hover .sector-bg {
  opacity: 1;
}

/* Process Section */
.process {
  position: relative;
  background-color: var(--secondary-color);
  overflow: hidden;
}

.process__bg {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 60%;
  height: 100%;
  transform: translateY(-50%);
  opacity: 0.1;
  pointer-events: none;
}

.process__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent, var(--secondary-color));
}


.timeline {
  position: relative;
  margin-top: 4rem;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  /* aligns with border */
  width: 2px;
  height: 0%;
  background-color: var(--accent-color);
  transition: height 1s ease-out;
  /* animated via JS later */
}

/* Active class for JS interaction */
.timeline.active::before {
  height: 100%;
}


.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition-medium);
}

/* Visible when scrolled into view */
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  /* Adjust based on padding/border */
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 2px solid var(--border-color);
  z-index: 1;
  transition: var(--transition-fast);
}

.timeline-item:hover::before {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.step-number {
  display: block;
  font-family: 'Space Grotesk';
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  /* Reduced to prevent wrapping on Italian long text */
}

@media (min-width: 900px) {
  .timeline {
    display: flex;
    justify-content: space-between;
    border-left: none;
    border-top: 2px solid var(--border-color);
    padding-left: 0;
    padding-top: 3rem;
  }

  .timeline::before {
    top: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    transition: width 1s ease-out;
  }

  .timeline.active::before {
    width: 100%;
    height: 2px;
  }

  .timeline-item {
    margin-bottom: 0;
    flex: 1;
    padding-right: 2rem;
    transform: translateY(20px);
    /* Vertical transform instead */
  }

  .timeline-item.visible {
    transform: translateY(0);
  }

  .timeline-item::before {
    left: 0;
    top: -3.5rem;
  }
}


/* Why Us */
.why-us__wrapper {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .why-us__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.why-us__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-us__list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.why-us__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}


/* Clients / Ticker */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.client-item {
  padding: 2rem 1rem;
  border: 1px solid var(--border-color);
  text-align: center;
  font-family: 'Space Grotesk';
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: var(--transition-fast);
}

.client-item:hover {
  background-color: var(--card-bg);
  border-color: var(--accent-color);
}


/* Sectors Badges (Clean, no ticker) */
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.sector-badge {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
  color: var(--text-color);
  opacity: 0.8;
  transition: var(--transition-fast);
}

.sector-badge:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  opacity: 1;
}


/* Contact Form feedback */
.form-feedback {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
}
.form-feedback--success {
  background: rgba(0, 255, 157, 0.15);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}
.form-feedback--error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid #ff5050;
  color: #ff8080;
}
.form-feedback a {
  color: var(--accent-color);
}

/* Contact email (sostituisce form) */
.footer__contact-form {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-email-intro {
  margin: 0 0 1rem;
  color: var(--text-color);
  font-size: 1.1rem;
}
.contact-email-link {
  display: inline-block;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-color);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  transition: var(--transition-medium);
}
.contact-email-link:hover {
  background: rgba(0, 255, 157, 0.15);
  color: var(--accent-color);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 4px;
  /* Slightly architectural */
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-medium);
}

.form-control:focus {
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.owner-details {
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  text-align: left;
  /* Or center based on layout preference */
}

@media (min-width: 768px) {
  .footer__contact {
    align-items: flex-end;
    /* Right align contact info on desktop */
    text-align: right;
  }

  .owner-details {
    text-align: right;
  }
}

.owner-name {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.owner-title {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.owner-id {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  /* Ensure each ID starts on a new line */
  line-height: 1.4;
}

.owner-contact {
  font-size: 0.9rem;
  color: var(--text-color);
  display: block;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.owner-contact:hover {
  color: var(--accent-color);
}


/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background-color: var(--secondary-color);
  border-top: 1px solid var(--border-color);
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__left {
    flex: 1;
    max-width: 40%;
  }

  .footer__brand {
    margin-bottom: 2rem;
  }

  .footer__contact-form {
    flex: 1;
    max-width: 50%;
  }
}

.footer__tagline {
  opacity: 0.6;
  margin-top: 1rem;
  max-width: 300px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 1.25rem;
  font-weight: 500;
}

.footer__link:hover {
  color: var(--accent-color);
}

.owner-photo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border: 2px solid var(--accent-color);
  background-color: var(--card-bg);
}

@media (min-width: 768px) {
  .owner-photo {
    margin-left: auto;
    /* Align to right on desktop since owner-details is right aligned */
    margin-right: 0;
  }
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  opacity: 0.5;
  font-size: 0.85rem;
  text-align: center;
}

/* Animations */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}