@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
  --color-primary: #0a2540;
  --color-secondary: #00d4ff;
  --color-accent: #0077b6;
  --color-dark: #03045e;
  --color-light: #caf0f8;
  --color-white: #ffffff;
  --color-gray-100: #f8fafc;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', sans-serif;
  background-color: var(--color-gray-100);
  color: var(--color-gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

strong, p {
  color: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
  color: var(--color-gray-900);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-gray-600);
  margin-bottom: 48px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(10, 37, 64, 0.95);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 8px 0;
}

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

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

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-primary);
  padding: 80px 32px 32px;
  transition: right 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
  z-index: 1000;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 50%, #023e8a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 119, 182, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 30%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-secondary), #90e0ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.hero-image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 800px;
  z-index: 1;
  opacity: 0.9;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 24px;
  margin-top: 32px;
}

.floating-card-title {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 16px;
}

.floating-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.about-section {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--color-gray-900);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--color-gray-600);
  margin-bottom: 24px;
  font-size: 17px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gray-700);
  font-weight: 500;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 12px;
}

.services-section {
  background: var(--color-gray-100);
}

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

.service-card {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 220px;
  overflow: hidden;
}

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

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 32px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 22px;
  color: var(--color-gray-900);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--color-gray-600);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 12px;
}

.advantages-section {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 119, 182, 0.15) 0%, transparent 40%);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.advantage-title {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.process-section {
  background: var(--color-white);
}

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

.process-card {
  position: relative;
  text-align: center;
}

.process-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 auto 24px;
}

.process-title {
  font-size: 20px;
  color: var(--color-gray-900);
  margin-bottom: 12px;
}

.process-desc {
  font-size: 15px;
  color: var(--color-gray-600);
}

.process-connector {
  position: absolute;
  top: 32px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--color-gray-300);
}

.testimonials-section {
  background: var(--color-gray-100);
}

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

.testimonial-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 17px;
  color: var(--color-gray-900);
  margin-bottom: 4px;
}

.testimonial-info span {
  font-size: 14px;
  color: var(--color-gray-500);
}

.testimonial-text {
  color: var(--color-gray-600);
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-rating {
  margin-top: 16px;
  color: #ffc107;
  font-size: 18px;
}

.gallery-section {
  background: var(--color-white);
}

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

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
}

.blog-section {
  background: var(--color-gray-100);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-card {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 240px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 32px;
}

.blog-date {
  font-size: 13px;
  color: var(--color-gray-500);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 20px;
  color: var(--color-gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--color-gray-600);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-section {
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--color-gray-900);
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--color-gray-600);
  font-size: 17px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 119, 182, 0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-text h4 {
  font-size: 16px;
  color: var(--color-gray-900);
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 15px;
  color: var(--color-gray-600);
  margin: 0;
}

.contact-form {
  background: var(--color-gray-100);
  border-radius: 24px;
  padding: 48px;
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--color-gray-200);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--color-white);
  color: var(--color-gray-800);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

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

.form-submit {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.contact-map {
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-top: 20px;
  line-height: 1.7;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--color-white);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: block;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 12px;
}

.cookie-text {
  font-size: 14px;
  color: var(--color-gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-dark);
  border: none;
}

.cookie-accept:hover {
  transform: translateY(-2px);
}

.cookie-decline {
  background: var(--color-gray-200);
  color: var(--color-gray-700);
  border: none;
}

.cookie-decline:hover {
  background: var(--color-gray-300);
}

.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 50%, #023e8a 100%);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 119, 182, 0.15) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  list-style: none;
}

.breadcrumb li {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

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

.team-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.team-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-info {
  padding: 24px;
}

.team-name {
  font-size: 18px;
  color: var(--color-gray-900);
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: var(--color-gray-500);
}

.faq-section {
  background: var(--color-gray-100);
}

.faq-item {
  background: var(--color-white);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question h3 {
  font-size: 17px;
  color: var(--color-gray-900);
  font-weight: 600;
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: var(--color-gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  font-size: 20px;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--color-secondary);
  color: var(--color-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 0 28px 24px;
  color: var(--color-gray-600);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.thank-you-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  position: relative;
}

.thank-you-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.thank-you-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  padding: 48px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 32px;
}

.thank-you-title {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--color-white);
  margin-bottom: 16px;
}

.thank-you-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.legal-section {
  background: var(--color-white);
  padding: 100px 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 28px;
  color: var(--color-gray-900);
  margin: 40px 0 20px;
}

.legal-content h3 {
  font-size: 20px;
  color: var(--color-gray-800);
  margin: 32px 0 16px;
}

.legal-content p {
  color: var(--color-gray-600);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  color: var(--color-gray-600);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

@media (max-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-connector {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .floating-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}