:root {
  --primary: #0c4a6e;
  --primary-light: #0369a1;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --teal: #14b8a6;
  --gold: #fbbf24;
  --light: #f0f9ff;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo img {
  width: 48px;
  height: 48px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}

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

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.mobile-toggle span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/pexels-leorossatti-2646097.jpg') center/cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  padding: 40px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

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

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

section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

.service-card-content {
  padding: 24px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.why-us {
  background: var(--light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

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

.why-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 1.5rem;
}

.why-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.why-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.lead-form-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.lead-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lead-form-container h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 8px;
}

.lead-form-container .form-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.consent-group label {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.consent-group a {
  color: var(--secondary);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

footer {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: 48px 24px 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-section p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-300);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
}

.legal-links a {
  color: var(--gray-400);
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--secondary);
}

.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 140px 24px 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.content-section h3 {
  color: var(--primary-light);
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.content-section p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.content-section ul {
  margin: 16px 0 24px 24px;
}

.content-section li {
  margin-bottom: 8px;
  color: var(--gray-700);
}

.content-section li::before {
  content: '•';
  color: var(--secondary);
  font-weight: bold;
  margin-right: 8px;
}

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

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray-600);
  margin: 0;
}

.map-container {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  height: 350px;
  object-fit: cover;
  width: 100%;
}

.service-detail-content h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

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

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tag {
  background: var(--light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-800);
  color: var(--white);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

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

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

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
}

.cookie-btn-accept {
  background: var(--secondary);
  color: var(--white);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-600);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--secondary);
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h3 {
  color: var(--primary);
  margin: 0;
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.cookie-option-info p {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.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-color: var(--gray-300);
  transition: var(--transition);
  border-radius: 26px;
}

.cookie-toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 50%;
}

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

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

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

.cookie-modal-footer {
  padding: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .service-detail img {
    height: 250px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .page-header {
    padding: 120px 24px 60px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .lead-form-container {
    padding: 24px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  nav {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }
}
