/* Guidonix - Construction Tech Training Platform */
/* Design Concept: Stacked Paper with Editorial Layout */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #1e293b;
  --secondary: #f5f1e8;
  --accent: #f97316;
  --paper-white: #fefdfb;
  --text-dark: #0f172a;
  --text-medium: #475569;
  --text-light: #64748b;
  --shadow-paper: 0 -4px 12px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --spacing-xs: 1rem;
  --spacing-sm: 2rem;
  --spacing-md: 4rem;
  --spacing-lg: 6rem;
  --spacing-xl: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--paper-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link svg {
  width: 40px;
  height: 40px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

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

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-links a.active {
  color: var(--primary);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  border-radius: var(--radius-sm);
}

.lang-btn {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-medium);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--primary);
  background: rgba(249, 115, 22, 0.1);
}

.lang-btn.active {
  color: var(--accent);
  background: rgba(249, 115, 22, 0.15);
}

.lang-divider {
  color: var(--text-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--paper-white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  padding: 6rem 2rem 2rem;
  transition: right 0.4s ease;
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile .nav-links {
  flex-direction: column;
  gap: 0;
}

.nav-mobile .nav-links a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--secondary);
  font-size: 1.125rem;
}

.nav-mobile .lang-switcher {
  margin-top: 2rem;
  justify-content: center;
}

/* Hero Section - Large Number Accent */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--paper-white);
  overflow: hidden;
  padding-top: 80px;
}

.hero-background-number {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(15rem, 30vw, 35rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  opacity: 0.6;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-sm);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: #ea580c;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.btn-secondary:hover {
  background: #0f172a;
  box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s backwards;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Stacked Paper Sections */
.section-paper {
  position: relative;
  background: var(--paper-white);
  box-shadow: var(--shadow-paper);
  margin-top: 2rem;
}

.section-paper::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 0;
  right: 0;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, var(--secondary));
  pointer-events: none;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg) 2rem;
}

.section-container-sm {
  padding: var(--spacing-md) 2rem;
}

/* Off-Center Editorial Layout */
.layout-offset-left {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.layout-offset-right {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.content-block h2 {
  margin-bottom: 1.5rem;
}

.content-block h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.content-block p {
  color: var(--text-medium);
  margin-bottom: 1.25rem;
}

.content-block ul {
  list-style: none;
  margin: 1.5rem 0;
}

.content-block ul li {
  padding-left: 2rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--text-medium);
}

.content-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.image-block img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* About Preview Section */
.about-preview {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.about-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent);
  pointer-events: none;
}

.about-preview-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-preview h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.about-preview p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.about-preview .btn {
  margin-top: 1rem;
}

/* Gradient Fade Transition */
.gradient-transition {
  height: 8rem;
  background: linear-gradient(to bottom, var(--paper-white), var(--secondary));
  position: relative;
  margin-top: -1px;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 1.75rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* Zigzag Alternating Layout */
.zigzag-section {
  background: var(--secondary);
  padding: var(--spacing-lg) 0;
}

.zigzag-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  padding: 3rem;
  background: var(--paper-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

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

.zigzag-item:nth-child(even) .zigzag-content {
  order: 2;
}

.zigzag-item:nth-child(even) .zigzag-image {
  order: 1;
}

.zigzag-content h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.zigzag-content p {
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.zigzag-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Course Cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.course-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--secondary);
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-content {
  padding: 2rem;
}

.course-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.course-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.course-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--secondary);
  font-size: 0.875rem;
  color: var(--text-light);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Regulations Section */
.regulations-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.regulations-intro h2 {
  margin-bottom: 1.5rem;
}

.regulations-intro p {
  font-size: 1.125rem;
  color: var(--text-medium);
}

.regulations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.regulation-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.regulation-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.regulation-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.regulation-card p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.regulation-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
  transition: gap 0.3s ease;
}

.regulation-link:hover {
  gap: 0.75rem;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-medium);
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--primary);
}

.contact-item-content p {
  margin: 0;
  font-size: 0.9375rem;
}

.contact-item-content a {
  color: var(--text-medium);
  transition: color 0.3s ease;
}

.contact-item-content a:hover {
  color: var(--accent);
}

/* Form Styles */
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: var(--paper-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

.iti {
  width: 100%;
}

#phone {
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.125rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

.form-group .btn {
  width: 100%;
  justify-content: center;
}

/* Map */
.map-container {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  position: relative;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper-white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  padding: 1.5rem 2rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  padding: 2rem;
  overflow-y: auto;
}

.cookie-settings-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background: var(--paper-white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}

.cookie-modal-content h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.cookie-category {
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--secondary);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category h4 {
  font-size: 1rem;
  color: var(--primary);
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #cbd5e1;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.cookie-toggle-slider::before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category p {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cookie-modal-buttons .btn {
  flex: 1;
}

/* Thanks Page */
.thanks-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.thanks-content {
  max-width: 600px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--accent);
  font-size: 2.5rem;
}

.thanks-content h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.thanks-content p {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Legal Pages */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.legal-container h1 {
  margin-bottom: 1rem;
}

.legal-updated {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.legal-container h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.legal-container h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-container p {
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.legal-container ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-container ul li {
  color: var(--text-medium);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-container a {
  color: var(--accent);
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --spacing-lg: 4rem;
    --spacing-xl: 5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-background-number {
    font-size: 20rem;
    opacity: 0.4;
  }

  .layout-offset-left,
  .layout-offset-right {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .layout-offset-right .content-block {
    order: 1;
  }

  .layout-offset-right .image-block {
    order: 2;
  }

  .zigzag-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zigzag-item:nth-child(even) .zigzag-content,
  .zigzag-item:nth-child(even) .zigzag-image {
    order: unset;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 3rem;
  }

  .header-container {
    padding: 1rem 1.5rem;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
  }

  .hero-container {
    padding: 3rem 1.5rem;
  }

  .hero-background-number {
    font-size: 12rem;
    right: -20%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section-container {
    padding: var(--spacing-md) 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .regulations-grid {
    grid-template-columns: 1fr;
  }

  .zigzag-item {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 1.5rem;
    gap: 2rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons .btn {
    flex: 1;
  }

  .cookie-modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .cookie-modal-buttons {
    flex-direction: column;
  }

  .legal-container {
    padding: 4rem 1.5rem 3rem;
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .hero-background-number {
    font-size: 8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .zigzag-item {
    padding: 1.5rem;
  }
}