/* Contact Page Styles */
:root {
  --primary-color: #0f3460;
  --secondary-color: #e94560;
  --accent-color: #00d4ff;
  --bg-white: #ffffff;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #e8e8e8;
}

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d7a 100%);
  color: var(--bg-white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.contact-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* Contact Content Section */
.contact-content {
  padding: 80px 20px;
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-section,
.contact-info-section {
  position: relative;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.contact-form-section h2::after,
.contact-info-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  border-radius: 2px;
}

/* Form Styles */
.contact-form {
  margin-top: 40px;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #f9f9f9;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff6b7a 100%);
  color: white;
  border: none;
  padding: 14px 45px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(233, 69, 96, 0.4);
}

/* Contact Info Section */
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: #f9f9f9;
  border-radius: 10px;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: var(--bg-white);
  border-left-color: var(--accent-color);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff6b7a 100%);
  border-radius: 10px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 8px 0;
}

.info-content p {
  color: var(--text-light);
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

.info-content a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-weight: 600;
}

.social-btn.facebook {
  background: #3b5998;
}

.social-btn.instagram {
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d92e7f 50%, #9b36b7 75%, #515bd4 100%);
}

.social-btn.whatsapp {
  background: #25D366;
}

.social-btn.linkedin {
  background: #0077b5;
}

.social-btn.email {
  background: var(--text-light);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(233, 69, 96, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section .container {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.faq-section::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: rgba(233, 69, 96, 0.08);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
}

.faq-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.faq-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.faq-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.faq-header p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.8;
}

.faq-list {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 52, 96, 0.08);
  border: 1px solid rgba(15, 52, 96, 0.08);
  border-left: 5px solid var(--secondary-color);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 52, 96, 0.12);
  border-left-color: var(--accent-color);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 28px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 69, 96, 0.12);
  color: var(--secondary-color);
  font-size: 1.35rem;
  font-weight: 800;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
  background: rgba(0, 212, 255, 0.12);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 20px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.6rem;
  }

  .faq-section {
    padding: 60px 20px;
  }

  .faq-header h2 {
    font-size: 1.8rem;
  }

  .faq-item summary {
    padding: 22px 22px;
    font-size: 1.05rem;
  }

  .faq-answer {
    padding: 0 22px 22px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 50px 16px;
  }

  .contact-hero h1 {
    font-size: 1.6rem;
  }

  .contact-hero p {
    font-size: 0.95rem;
  }

  .contact-wrapper {
    gap: 30px;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 0;
  }

  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.4rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .submit-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .info-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .social-links {
    gap: 10px;
    justify-content: flex-start;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .faq-section {
    padding: 50px 16px;
  }

  .faq-header h2 {
    font-size: 1.4rem;
    margin-bottom: 40px;
  }

  .faq-item {
    border-radius: 12px;
  }

  .faq-item summary {
    padding: 18px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}