/* ==========================================================================
   RiegoInvernaderos.es — Atenix Electrónica y Automática
   Design System: Luxurious Corporate AgroTech (Almería, España)
   Palette: #0B4F32 (Emerald), #16A34A (Tech Green), #FFFFFF (White), #0F172A (Slate)
   ========================================================================== */

:root {
  --emerald-950: #063320;
  --emerald-900: #0B4F32;
  --emerald-800: #0F6642;
  --emerald-100: #DCFCE7;
  --emerald-50: #F0FDF4;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --green-700: #15803D;
  --slate-950: #020617;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --amber-500: #F59E0B;
  --red-600: #DC2626;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.14);
  --shadow-emerald: 0 12px 32px -6px rgba(11, 79, 50, 0.28);
  --container-max: 1240px;
  --header-height: 76px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--emerald-900);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section--alt {
  background-color: var(--slate-50);
}

.section--dark {
  background-color: var(--slate-900);
  color: var(--white);
}

.section--emerald {
  background: linear-gradient(135deg, var(--emerald-950) 0%, var(--emerald-900) 100%);
  color: var(--white);
}

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section--dark .eyebrow,
.section--emerald .eyebrow {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ADE80;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-bottom: 10px; }

.lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.section--dark .lead,
.section--emerald .lead {
  color: var(--slate-300);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.96875rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}
.btn--primary:hover {
  background-color: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.42);
}

.btn--emerald {
  background-color: var(--emerald-900);
  color: var(--white);
}
.btn--emerald:hover {
  background-color: var(--emerald-950);
  transform: translateY(-1px);
}

.btn--outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}
.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--emerald-900);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--emerald-900);
  border-color: var(--emerald-900);
}
.btn--outline-dark:hover {
  background-color: var(--emerald-900);
  color: var(--white);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--slate-900);
  color: var(--slate-200);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-bar__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar__item a:hover {
  color: #4ADE80;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--slate-300);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch button.is-active {
  background: var(--green-600);
  color: var(--white);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--slate-900);
}

.brand__logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--emerald-900);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-700);
  position: relative;
  padding: 6px 0;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--emerald-900);
}

.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-600);
  border-radius: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--slate-900);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 14px;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
}

.nav-mobile a:hover {
  background: var(--emerald-50);
  color: var(--emerald-900);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background-color: var(--slate-950);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(6, 51, 32, 0.92) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 72px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86EFAC;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--slate-200);
  margin-bottom: 32px;
  max-width: 680px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--slate-300);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Authority Metrics Bar */
.metrics-bar {
  background-color: var(--emerald-900);
  color: var(--white);
  padding: 36px 0;
  border-bottom: 4px solid var(--green-600);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  padding: 12px 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.metric-card:first-child {
  border-left: none;
  padding-left: 0;
}

.metric-card__value {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: #4ADE80;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-card__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.metric-card__desc {
  font-size: 0.8125rem;
  color: var(--slate-300);
  margin-top: 4px;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-600);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-100);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__list {
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Highlight Feature Box (Drainage / Big Data) */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 40px;
}

.feature-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* B2B Qualifier Form */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-benefits {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  outline: none;
}

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--slate-600);
}

.form-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green-600);
}

.form-status {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--emerald-50);
  border: 1px solid var(--green-600);
  color: var(--emerald-900);
}

.form-status.is-error {
  display: block;
  background: #FEF2F2;
  border: 1px solid var(--red-600);
  color: #991B1B;
}

/* Differentials */
.diff-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), background var(--transition);
}

.diff-card:hover {
  border-color: #4ADE80;
  background: rgba(255, 255, 255, 0.07);
}

.diff-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(22, 163, 74, 0.2);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Geographic Coverage */
.geo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.geo-zones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.geo-zone {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

.geo-zone h4 {
  color: var(--emerald-900);
  margin-bottom: 8px;
  font-size: 1rem;
}

.geo-zone p {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.geo-map-card {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

/* Technical Tables */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
}

.spec-table thead th {
  background: var(--emerald-900);
  color: var(--white);
  font-weight: 700;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--slate-50);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.badge-pro {
  display: inline-block;
  background: var(--emerald-100);
  color: var(--emerald-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--slate-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-600);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 24px 20px;
  color: var(--slate-600);
  font-size: 0.96875rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

/* Page Hero (Subpages) */
.page-hero {
  background: linear-gradient(135deg, var(--emerald-950) 0%, var(--slate-900) 100%);
  color: var(--white);
  padding: 64px 0;
  border-bottom: 4px solid var(--green-600);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--slate-300);
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: #4ADE80;
}

/* Article Typography & Hub */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.article-content {
  font-size: 1.0625rem;
  color: var(--slate-800);
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--emerald-900);
}

.article-content h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  color: var(--slate-900);
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0 24px 22px;
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
}

.callout-box {
  background: var(--emerald-50);
  border-left: 4px solid var(--green-600);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--emerald-900);
  color: var(--white);
  border-color: var(--emerald-900);
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #4ADE80;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--slate-400);
}

/* Floating Action Buttons (WhatsApp + Call) */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fab:hover {
  transform: scale(1.08);
}

.fab--whatsapp {
  background-color: #16A34A;
}

.fab--call {
  background-color: var(--emerald-900);
}

/* GDPR / Consent Mode v2 Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 460px;
  background: var(--slate-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.cookie-banner__text {
  font-size: 0.8125rem;
  color: var(--slate-300);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(3) { border-left: none; padding-left: 0; }
  .form-wrapper { grid-template-columns: 1fr; padding: 32px; }
  .feature-split { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-desktop, .header__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .geo-zones { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card { border-left: none; padding-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding-bottom: 16px; }
  .metric-card:last-child { border-bottom: none; padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; bottom: 88px; max-width: none; }
}
