@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ========================================
   ROOT & TYPOGRAPHY
   ======================================== */
:root {
  --primary-dark: #0f172a;
  --secondary-dark: #1e293b;
  --tertiary-dark: #334155;
  --text-light: #f8fafc;
  --text-muted: #cbd5e1;
  --text-gray: #94a3b8;
  --accent-orange: #f59e0b;
  --accent-orange-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --border-color: #1e293b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 4.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   NAVBAR
   ======================================== */
nav {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid var(--tertiary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-orange);
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Desktop menu */
@media (min-width: 768px) {
  nav .desktop-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
}

/* Mobile menu */
#mobile-menu {
  background-color: var(--primary-dark);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.5);
}

#mobile-menu.active {
  transform: translateX(0);
}

#mobile-menu-overlay.active {
  display: block;
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

#hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

#hero .impact-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

#hero .impact-bullet {
  background-color: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--tertiary-dark);
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 1rem;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
  scroll-margin-top: 5rem;
}

section.bg-alt {
  background-color: rgba(30, 41, 59, 0.3);
}

/* ========================================
   BUTTONS & CTA
   ======================================== */
.btn,
button,
input[type="submit"] {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
}

.btn-secondary:hover {
  background-color: rgba(245, 158, 11, 0.1);
}


.btn-outline-secondary {
    color: var(--accent-orange);
    background-color: transparent;
    border: 2px solid var(--accent-orange);
}

.btn-outline-secondary:hover  {
    color: #f8fafc;
    background-color: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--accent-orange-dark);
}

#cta-secondary {
  margin-top: 50px;
}

/* ========================================
   TABLES
   ======================================== */
table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--tertiary-dark);
}

th,
td {
  padding: 1rem;
  text-align: left;
}

tbody tr {
  border-bottom: 1px solid var(--tertiary-dark);
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: rgba(30, 41, 59, 0.2);
}

/* ========================================
   ACCORDIONS (FAQ)
   ======================================== */
.faq-item {
  border: 1px solid var(--tertiary-dark);
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-header {
  width: 100%;
  padding: 1.5rem;
  background-color: rgba(30, 41, 59, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  font-weight: 600;
}

.faq-header:hover {
  background-color: rgba(30, 41, 59, 0.5);
}

.faq-header svg {
  transition: transform 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-header svg {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--tertiary-dark);
}

.faq-item[aria-expanded="true"] .faq-content {
  max-height: 500px;
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: var(--secondary-dark);
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-close:hover {
  color: var(--accent-orange);
}

/* ========================================
   FORMS
   ======================================== */
input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--primary-dark);
  border: 1px solid var(--tertiary-dark);
  border-radius: 0.5rem;
  color: var(--text-light);
  font-family: inherit;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-section {
  text-align: center;
}


.footer-section h3,
.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
  /*space-y: 0.5rem;*/
}

.footer-section a {
  color: var(--text-muted);
}

.footer-section a:hover {
  color: var(--accent-orange);
}


/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  bottom: 5rem !important;
}

.whatsapp-button:hover {
  background-color: #20ba5d;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  body {
    padding-top: 3.5rem;
  }

  #hero h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  @media (max-width: 767px) {
    section {
      padding-top: 2rem !important;
      padding-bottom: 2rem !important;
    }
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 1rem;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.no-underline {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

.mt-auto {
  margin-top: auto;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

@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;
  }
}


nav .text-2xl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f59e0b;
}

@media (max-width: 767px) {
  nav .text-2xl {
    font-size: 1.2rem;
  }
}

nav .hidden {
  display: none;
}

@media (min-width: 768px) {
  nav .hidden {
    display: flex;
  }
}

/* Mobile: hide desktop menu, show hamburger */
@media (max-width: 940px) {
  nav .hidden {
    display: none !important;
  }

  #hamburger-menu {
    display: block !important;
  }
}

nav .md\:flex {
  display: flex;
  gap: 1.5rem;
}

/* Hide hamburger wrapper on desktop */
.md\:hidden {
  display: none;
}

/* Show hamburger wrapper on mobile */
@media (max-width: 940px) {
  .md\:hidden {
    display: block !important;
  }
}

/* Hide hamburger on desktop */
#hamburger-menu {
  display: none;
}

/* Show hamburger on mobile */
@media (max-width: 940px) {
  #hamburger-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #f8fafc;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
  }

  /* Hide desktop menu on mobile */
  nav .hidden {
    display: none !important;
  }
}

@media (min-width: 940px) {
  #hamburger-menu {
    display: none !important;
  }
}

nav button {
  background: none;
  border: none;
  cursor: pointer;
  color: #f8fafc;
}

/* Mobile Menu */
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 50;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
}

#mobile-menu-overlay.active {
  display: flex;
}

#mobile-menu-overlay nav {
  position: static;
  backdrop-filter: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  font-size: 1.25rem;
  min-height: 1000px;
}

/* Sections */
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  scroll-margin-top: 5rem;
}

#hero {
  background-color: #0f172a;
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 50px;
}

@media (max-width: 767px) {
  #hero {
    margin-top: 50px;
  }
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
}

@media (min-width: 768px) {
  p {
    font-size: 1.125rem;
  }
}

/* CTA Buttons */
.bg-\[\#f59e0b\] {
  background-color: #f59e0b;
}

.text-\[\#0f172a\] {
  color: #0f172a;
}

.hover\:bg-\[\#d97706\]:hover {
  background-color: #d97706;
}

a.bg-\[\#f59e0b\],
button.bg-\[\#f59e0b\] {
  display: inline-block;
  padding: 1rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 15px rgba(245, 158, 11, 0.2);
}

a.bg-\[\#f59e0b\]:hover,
button.bg-\[\#f59e0b\]:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(245, 158, 11, 0.3);
}

a.border {
  display: inline-block;
  border: 2px solid #f59e0b;
  color: #f59e0b;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px rgba(245, 158, 11, 0.1);
}

a.border:hover {
  background-color: #f59e0b;
  color: #0f172a;
  transform: translateY(-2px);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */

.mb-1 {
  margin-bottom: 0.5rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pr-6 {
  padding-right: 1.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.bg-\[\#1e293b\] {
  background-color: #1e293b;
}

.bg-\[\#0f172a\] {
  background-color: #0f172a;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intersection Observer Animation */
section {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

section.visible {
  opacity: 1;
}

/* FAQ Accordion */
.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-toggle:hover {
  color: #f59e0b;
}

.faq-toggle:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

.faq-toggle svg {
  transition: transform 0.3s ease;
}

.faq-toggle.active svg {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.faq-content.active {
  max-height: 500px;
}

/* Modal */
#modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.bg-modal-overlay {
  background-color: rgba(0, 0, 0, 0.92);
}

.bg-\[\#0f172a\]\/95 {
  background-color: rgba(15, 23, 42, 0.95);
}

#modal-overlay.hidden {
  display: none;
}

#modal-overlay.active {
  display: flex;
}

#modal-overlay>div {
  background-color: #1e293b;
  /*padding: 2rem;*/
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  max-width: 28rem;
  width: 100%;
  position: relative;
  /*max-height: 60vh;*/
  overflow-y: auto;
}

#close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #f8fafc;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

#close-modal:hover {
  color: #f59e0b;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  /*gap: 1rem;*/
}

label {
  display: block;
  color: #f8fafc;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.375rem;
  background-color: #0f172a;
  color: #f8fafc;
  border: 1px solid #f59e0b;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.4);
}

/* CAPTCHA */
#captcha-display {
  background-color: #0f172a;
  color: #f59e0b;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.1rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid #f59e0b;
}

#captcha-input {
  width: 9rem;

}

/* Flex */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-x-3>*+* {
  margin-left: 0.5rem;
}

.space-x-4>*+* {
  margin-left: 1rem;
}

.space-x-6>*+* {
  margin-left: 1.5rem;
}

/* ========================================
     MOBILE TOUCH TARGETS (44x44px min)
     ======================================== */
@media (max-width: 940px) {

  /* Hamburger menu button */
  #hamburger-menu {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }

  /* Mobile menu links */
  #mobile-menu-overlay nav a {
    min-height: 44px;
    padding: 0.75rem 1rem;
    display: inline-block;
  }

  /* CTA buttons on mobile */
  a.bg-\[\#f59e0b\],
  button.bg-\[\#f59e0b\],
  a.border {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* FAQ toggles */
  .faq-toggle {
    min-height: 44px;
    padding: 1rem;
  }

  /* Form submit button */
  button[type="submit"] {
    min-height: 44px;
    min-width: 100%;
  }

  /* Close buttons */
  #close-menu,
  #close-modal {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 23, 42, 0.95);
  }
}

/* ========================================
     FORM VALIDATION STYLES
     ======================================== */
/* Error state */
.form-error {
  border-color: #ef4444 !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.visible {
  display: block;
}

/* Success state */
.form-success {
  border-color: #22c55e !important;
}

/* Field wrapper for inline errors */
.form-field {
  position: relative;
}

/* CAPTCHA error */
#captcha-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: 0.375rem;
  display: none;
}

#captcha-error.visible {
  display: block;
}

/* ========================================
     ACCESSIBILITY - WCAG AA CONTRASTS
     ======================================== */
/* Ensure text on dark backgrounds meets 4.5:1 ratio */
body {
  background-color: #0f172a;
  color: #f8fafc;
}

/* Primary text on dark bg - contrast ratio ~13:1 */
.text-\[\#f8fafc\] {
  color: #f8fafc;
}

/* Secondary text - slightly dimmed but still accessible */
.text-\[\#94a3b8\] {
  color: #94a3b8;
}

/* Links on dark background */
a:hover {
  color: #f59e0b;
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #f59e0b;
  color: #0f172a;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  a.bg-\[\#f59e0b\],
  button.bg-\[\#f59e0b\] {
    border: 2px solid #f8fafc;
  }

  .text-\[\#f8fafc\] {
    color: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Text Alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Text Colors */
.text-\[\#f8fafc\] {
  color: #f8fafc;
}

.text-\[\#f59e0b\] {
  color: #f59e0b;
}

.text-\[\#0f172a\] {
  color: #0f172a;
}

.text-\[\#94a3b8\] {
  color: #94a3b8;
}

/* Font Sizes */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

/* Font Weight */
.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Margin */
.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left:1rem;
}

.ml-6 {
  margin-left:1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mr-6 {
  margin-right: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-auto {
  margin-top: auto;
}

/* Padding */
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-0 {
  padding-top: 0;
}

.pt-16 {
  padding-top: 4rem;
}

/* Max Width */
.max-w-md {
  max-width: 28rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

/* Width */
.w-full {
  width: 100%;
}

.w-6 {
  width: 1.5rem;
}

/* Height */
.h-6 {
  height: 1.5rem;
}

/* Display */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

/* Relative/Absolute */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.right-4 {
  right: 1rem;
}

.left-0 {
  left: 0;
}

.left-1\/2 {
  left: 50%;
}

.-top-4 {
  top: -1rem;
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

/* Transform */
.scale-105 {
  transform: scale(1.05);
}

.transform {
  transform: translateZ(0);
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 767px) {
  .md\:hidden {
    display: none;
  }

  .md\:flex {
    display: none;
  }

  .sm\:flex-row {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Accessibility */
a:focus,
button:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Contrast WCAG AA */
body {
  background-color: #0f172a;
  color: #f8fafc;
}

.bg-\[\#1e293b\] {
  background-color: #1e293b;
}

.bg-\[\#0f172a\] {
  background-color: #0f172a;
}

.text-\[\#f8fafc\] {
  color: #f8fafc;
}

.text-\[\#f59e0b\] {
  color: #f59e0b;
}

/* Smooth Scroll */
.smooth-scroll {
  scroll-behavior: smooth;
}

/* Badge */
.bg-red-600 {
  background-color: #dc2626;
}

.text-white {
  color: #ffffff;
}

/* Additional Utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.bg-\[\#0f172a\]\/95 {
  background-color: rgba(15, 23, 42, 0.95);
}

.focus\:outline-none:focus {
  outline: none;
}

.z-50 {
  z-index: 50;
}

.backdrop-blur-sm {
  backdrop-filter: blur(5px);
}

.leading-tight {
  line-height: 1.25;
}

.footer-copyright {
  border-top: 1px solid rgba(100, 116, 139, 0.3);
}

.footer-section-info {
  font-size: 0.875rem;
}

.footer-section-info p {
  margin: 0.25rem 0;
}

.footer-section-links {
  font-size: 0.875rem;
  text-align: right;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-section-left {
    text-align: left;
    grid-column: span 2;
    padding-right: 40px;
  }
}
.footer-section-center {
  text-align: left;
  margin: 0px auto !important;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #f59e0b;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }
}

.title-footer {
  color: #f59e0b !important;
}

@media (max-width: 768px) {

  .footer-section-center {
    text-align: center;
  }

  .footer-section-right {
    text-align: center;
  }
}

.footer-section-right {
  text-align: left;
  margin: 0px auto !important;
}

.footer-section-right a {
  color: white;
  text-decoration: none;
}

/* List styling with bullets */
ul li {
  margin-left: 0rem;
  list-style-type: none;
}

.cert ul li {
  margin-left: 1.5rem;
}

#problema ul li {
  margin-left: 3rem;
  list-style-type: square;
  margin-top: 0.5rem;
}

#faq ul li {
  margin-left: 3rem;
  list-style-type: square;
}

@media (max-width: 768px) {
  .footer-section-right {
    text-align: center;
    font-size: 0.675rem;
  }
  .footer-section-center  {
    text-align: center;
    font-size: 0.675rem;
  }
  .footer-section-left {
    text-align: center;
  }
}

/* ========================================
   CONTAINER — mobile-first, nessun conflitto
   ======================================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem; /* 20px laterali su tutti i tagli */
}

/* Tablet stretto: 640px+ */
@media (min-width: 640px) {
  .container {
    max-width: 600px;
  }
}

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* Desktop piccolo: 1024px+ */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

/* Desktop grande: 1280px+ */
@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
}


/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1fbb5a;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

.whatsapp-button:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

.whatsapp-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.point-step {
  min-width: 30px;
  min-height: 30px;
}

.most-used {
  text-align: center;
  position: relative;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 700;
  color: #0f172a;
  background-color: #f59e0b;
  top: -2rem;
  border-radius: 0.5rem;
}

.most-used-title {
  margin-top: -1.5rem;
}

.what-do-i-get {
  margin: 10px;
  text-align: center;
}

.link-cert a {
  color: white;
  text-decoration: none;
}

.link-cert a:hover {
  color: var(--accent-orange);
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Fix accessibilità banner iubenda */
#iubenda-cs-banner,
#iubenda-cs-banner .iubenda-cs-container,
#iubenda-cs-banner .iub-p {
  background-color: #1a1a1a !important; /* o il colore che usi */
  color: #ffffff !important;
}

#iubenda-cs-banner a,
#iubenda-cs-banner .iubenda-cs-brand-badge span {
  color: #ffffff !important;
  background-color: transparent !important;
}

#iubenda-cs-banner .iubenda-cs-brand-badge,
#iubenda-cs-banner .iubenda-cs-brand-badge span,
#iubenda-cs-banner .iubenda-cs-brand-badge span:nth-of-type(1) {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

#iubenda-cs-banner .iubenda-cs-brand-badge-outer {
  background-color: #1a1a1a !important;
}

div#iubenda-cs-banner div.iubenda-cs-container
div.iubenda-cs-brand-badge-outer:nth-of-type(2)
a.iubenda-cs-brand-badge span {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.border-card {
  border: 2px solid #f59e0b;

}
