/* ============================================
   INTERSERVICE - Website Styles
   Palette from Company Profile PDF
   ============================================ */

:root {
  --dark-green: #0f3121;
  --medium-green: #63ab81;
  --light-green: #97c975;
  --teal: #0bb6ae;
  --gold: #bf952c;
  --gold-accessible: #8b6c20;
  --orange: #f79642;
  --burgundy: #a91c36;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --light-gray: #e8e6e3;
  --text-dark: #231f20;
  --text-gray: #555754;
  --text-light: #787577;
  --success-green: #4b8162;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lora', serif;
  --shadow: 0 4px 24px rgba(15, 49, 33, 0.10);
  --shadow-lg: 0 8px 40px rgba(15, 49, 33, 0.15);
  --radius: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER / NAV ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 49, 33, 0.95);
  backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(15, 49, 33, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 49, 33, 0.88) 0%,
    rgba(15, 49, 33, 0.65) 50%,
    rgba(15, 49, 33, 0.75) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark-green);
  border-color: var(--gold);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-dark {
  background: var(--dark-green);
  color: var(--white);
  border-color: var(--dark-green);
}

.btn-dark:hover {
  background: var(--medium-green);
  border-color: var(--medium-green);
}

/* ---- SECTIONS ---- */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-accessible);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
}

/* ---- ABOUT ---- */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(15, 49, 33, 0.3));
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

/* ---- VALUES ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-green);
}

/* ---- SERVICES PREVIEW (HOME) ---- */
.services-preview { background: var(--dark-green); color: var(--white); }
.services-preview .section-title { color: var(--white); }
.services-preview .section-subtitle { color: rgba(255,255,255,0.7); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

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

/* ---- PRODUCTS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: default;
  aspect-ratio: 1;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(transparent, rgba(15, 49, 33, 0.9));
  color: var(--white);
}

.product-label h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.product-label span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ---- WORLD MAP ---- */
.markets { background: var(--off-white); }

.markets-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.markets-image { text-align: center; }

.markets-image img {
  max-width: 100%;
  opacity: 0.7;
}

.markets-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.market-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-green);
}

.market-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-accessible);
  flex-shrink: 0;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-green) 0%, #1a5438 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- SERVIZI PAGE ---- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--dark-green);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/vineyard.jpg') center/cover;
  opacity: 0.15;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Detailed service blocks */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child { border-bottom: none; }

.service-detail.reversed { direction: rtl; }
.service-detail.reversed > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-detail-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 16px;
}

.service-detail-text p {
  color: var(--text-gray);
  margin-bottom: 16px;
}

.service-detail-text ul {
  margin-top: 16px;
}

.service-detail-text ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-accessible);
}

/* All services grid on servizi page */
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.all-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 3px solid var(--gold-accessible);
}

.all-service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.all-service-item .svc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.all-service-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-green);
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item-text p,
.contact-item-text a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.contact-item-text a:hover { color: var(--gold-accessible); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--medium-green);
  box-shadow: 0 0 0 3px rgba(99, 171, 129, 0.15);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-group input:focus:not(:focus-visible),
.form-group select:focus:not(:focus-visible),
.form-group textarea:focus:not(:focus-visible) {
  border-color: var(--medium-green);
  box-shadow: 0 0 0 3px rgba(99, 171, 129, 0.15);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  text-align: right;
}

.form-message {
  display: none;
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.form-message.success {
  display: block;
  background: rgba(75, 129, 98, 0.1);
  color: var(--success-green);
  border: 1px solid var(--success-green);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-green);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo { margin-bottom: 16px; }

.footer-about p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--gold);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item span:first-child { flex-shrink: 0; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .about-grid,
  .markets-content,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail.reversed { direction: ltr; }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-green);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .nav-links.open { right: 0; }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-content { padding: 140px 20px 60px; }

  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.65rem; }

  .form-row { grid-template-columns: 1fr; }

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

  .contact-form-wrapper { padding: 24px; }

  .markets-list { grid-template-columns: 1fr; }

  section { padding: 64px 0; }

  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* ============================================
   EU COMPLIANCE — Accessibility & Legal
   ============================================ */

/* ---- SKIP NAVIGATION (WCAG 2.4.1) ---- */
.skip-nav {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 16px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---- FOCUS VISIBLE (WCAG 2.4.7 / 2.4.11) ---- */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ---- MINIMUM TARGET SIZE (WCAG 2.5.8) ---- */
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  min-height: 44px;
}

.footer-links a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

/* ---- COOKIE BANNER (GDPR / ePrivacy) ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark-green);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  padding: 24px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
  border: 2px solid var(--gold);
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--dark-green);
}

.cookie-btn-accept:hover {
  background: #d4a632;
  border-color: #d4a632;
}

.cookie-btn-reject {
  background: transparent;
  color: var(--gold);
}

.cookie-btn-reject:hover {
  background: rgba(191, 149, 44, 0.1);
  color: var(--white);
  border-color: var(--white);
}

/* ---- LEGAL PAGES (Privacy, Cookie Policy) ---- */
.legal-page {
  padding: 160px 0 80px;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 12px;
  line-height: 1.3;
}

.legal-page .legal-updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 40px;
  font-family: var(--font-heading);
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--light-gray);
}

.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-page ul,
.legal-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.legal-page ol {
  list-style: decimal;
}

.legal-page li {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.legal-page table th,
.legal-page table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--light-gray);
}

.legal-page table th {
  background: var(--off-white);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-green);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-page table td {
  color: var(--text-gray);
}

.legal-page a {
  color: var(--gold-accessible);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--dark-green);
}

/* ---- FOOTER LEGAL ROW ---- */
.footer-legal {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ---- FORM VALIDATION ERRORS (WCAG 3.3.1 / 3.3.3) ---- */
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(169, 28, 54, 0.12);
}

.field-error {
  color: var(--burgundy);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  margin-top: 4px;
  display: block;
}

/* ---- REDUCED MOTION (WCAG 2.3.1) ---- */
@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;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-tagline,
  .hero-title,
  .hero-subtitle,
  .hero-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .product-card:hover img { transform: none; }
  .value-card:hover { transform: none; }
  .service-card:hover { transform: none; }
  .all-service-item:hover { transform: none; }
}
