.contact-hero {
  text-align: center;
  padding: calc(var(--header-height) + 60px) 20px 80px;
  background: var(--gradient-hero);
  color: white;
}

.contact-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
  animation: fadeInDown 0.8s ease;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease;
}

.contact-wrapper {
  max-width: 1200px;
  margin: -50px auto 100px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.contact-info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.info-block {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-block:hover {
  transform: translateY(-10px);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-gold);
}

.info-block h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.info-block p {
  color: var(--text-main);
  line-height: 1.6;
}

/* Contact Main Section (Form & Map) */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

@media (max-width: 992px) {
  .contact-main {
    grid-template-columns: 1fr;
  }
}

/* Map Area */
.contact-map-container {
  min-height: 500px;
  position: relative;
}

.contact-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Area */
.contact-form-area {
  padding: 50px;
}

.contact-form-area h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-form-area > p {
  color: var(--text-main);
  margin-bottom: 30px;
}

.styled-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.styled-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  background: white;
}

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

.submit-btn {
  grid-column: span 2;
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-question svg {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-main);
  line-height: 1.7;
}

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

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-hero h1 { font-size: 2.5rem; }
  .styled-form { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .submit-btn { grid-column: span 1; }
}

@media (max-width: 640px) {
  /* Hero Section */
  .contact-hero { padding: calc(var(--header-height) + 30px) 15px 40px; }
  .contact-hero h1 { font-size: 1.8rem; margin-bottom: 15px; }
  .contact-hero p { font-size: 0.9rem; }
  
  /* Info Blocks */
  .contact-wrapper { margin: -30px auto 60px; }
  .info-block { padding: 25px 20px; }
  .info-icon { width: 50px; height: 50px; margin-bottom: 15px; }
  .info-icon svg { width: 24px; height: 24px; }
  .info-block h3 { font-size: 1.1rem; margin-bottom: 10px; }
  .info-block p { font-size: 0.85rem; line-height: 1.5; }
  
  /* Contact Form Area */
  .contact-form-area { padding: 30px 20px; }
  .contact-form-area h2 { font-size: 1.5rem; margin-bottom: 10px; }
  .contact-form-area > p { font-size: 0.85rem; margin-bottom: 20px; }
  
  /* Form Inputs */
  .styled-form label { font-size: 0.85rem; }
  .styled-form input, .styled-form select, .styled-form textarea { padding: 12px 15px; font-size: 0.9rem; }
  .submit-btn { padding: 12px 16px; font-size: 0.95rem; }
  
  /* Map */
  .contact-map-container { min-height: 300px; }
  
  /* FAQ Section */
  .faq-section { padding: 50px 15px; }
  .faq-header { margin-bottom: 30px; }
  .faq-header h2 { font-size: 1.5rem; }
  .faq-question { padding: 15px 20px; font-size: 0.95rem; }
  .faq-item.active .faq-answer { padding: 15px 20px; }
  .faq-answer { font-size: 0.85rem; }
}
