@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Crimson+Pro:wght@400;500;600&display=swap');

:root {
  --primary: #1f1f20ff;
  --secondary: rgb(2, 118, 185);
  --background: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --accent: rgb(29, 3, 145);
  
  --font-main: 'Lexend', sans-serif;
  --font-accent: 'Crimson Pro', serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.9rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.wide-container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-accent);
}

.logo img {
  display: inline-block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-md);
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.85rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-base);
}

nav a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  padding: 0.5rem;
}

.burger-menu span {
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-base);
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31,31,32,0.85) 0%, rgba(2,118,185,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
}

.hero h1 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero p {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  opacity: 0.95;
}

.showcase-floating {
  background: #eae9e6;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.showcase-floating-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: 420px;
}

.showcase-cards {
  position: relative;
  height: 380px;
}

.showcase-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card-large {
  width: 72%;
  max-width: 480px;
  height: 320px;
  top: 0;
  left: 0;
  z-index: 2;
}

.showcase-card-small {
  width: 52%;
  max-width: 320px;
  height: 240px;
  bottom: 0;
  right: 0;
  z-index: 1;
  transform: translate(15%, 20%);
}

.showcase-text {
  max-width: 420px;
  margin-left: auto;
}

.showcase-text h2 {
  font-family: var(--font-accent);
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}

.showcase-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

@media (max-width: 968px) {
  .showcase-floating-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: var(--space-lg);
  }
  
  .showcase-cards {
    height: 340px;
    order: 1;
  }
  
  .showcase-card-large {
    width: 70%;
    height: 280px;
    max-width: none;
  }
  
  .showcase-card-small {
    width: 50%;
    height: 200px;
    max-width: 260px;
    transform: translate(10%, 15%);
  }
  
  .showcase-text {
    margin-left: 0;
    order: 2;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .showcase-cards {
    height: 280px;
  }
  
  .showcase-card-large {
    height: 220px;
  }
  
  .showcase-card-small {
    height: 160px;
    transform: translate(5%, 10%);
  }
  
  .showcase-text h2 {
    font-size: 1.5rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.broken-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.broken-grid-item {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.broken-grid-item:nth-child(1) {
  grid-column: 1 / 7;
  grid-row: 1 / 2;
}

.broken-grid-item:nth-child(2) {
  grid-column: 7 / 13;
  grid-row: 1 / 3;
}

.broken-grid-item:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 2 / 3;
}

.broken-grid-item:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 3 / 4;
}

.broken-grid-item:nth-child(5) {
  grid-column: 9 / 13;
  grid-row: 3 / 4;
}

.broken-grid-item:nth-child(6) {
  grid-column: 1 / 13;
  grid-row: 4 / 5;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.85rem;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(2, 118, 185, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.error-message {
  color: #DC2626;
  font-size: 0.75rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #DC2626;
}

footer {
  background: var(--primary);
  color: white;
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.8rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  color: var(--secondary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateY(100%);
  transition: var(--transition-base);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.privacy-popup-text {
  flex: 1;
  font-size: 0.8rem;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.thank-you-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
}

.thank-you-content,
.error-content {
  max-width: 600px;
}

.thank-you-content h1,
.error-content h1 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.thank-you-content p,
.error-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.legal-page {
  padding: var(--space-xl) 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-content h1 {
  font-family: var(--font-accent);
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

@media (max-width: 968px) {
  .broken-grid {
    grid-template-columns: 1fr;
  }
  
  .broken-grid-item {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    padding: var(--space-xl) var(--space-md);
    z-index: 999;
  }
  
  nav.active {
    display: flex;
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  nav a {
    font-size: 1rem;
  }
  
  .burger-menu {
    display: flex;
    z-index: 1001;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .privacy-popup-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2.5rem;
    --space-lg: 1.75rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 0.85rem;
  }
  
  .container {
    width: 92%;
  }
  
  .hero h1 {
    font-size: 1.4rem;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
}
