/* ══════════════════════════════════════
   CONTACT PAGE — Modern Layout CSS
   ══════════════════════════════════════ */
body {
  background: #f0f2f7;
}

/* ── Hero ── */
.contact-hero {
  background: linear-gradient(135deg, #1a237e 0%, #4a90e2 55%, #27ae60 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.contact-hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.contact-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.contact-hero p {
  opacity: 0.88;
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.contact-hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btn-primary {
  background: #ffd700;
  color: #1a1a2e;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
  color: #1a1a2e;
}
.hero-btn-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background 0.2s;
}
.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ── Page wrapper ── */
.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ── Section labels ── */
.contact-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #4a90e2;
  margin-bottom: 0.4rem;
}
.contact-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 0.4rem;
}
.contact-section-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}
.contact-divider {
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, #4a90e2, #ffd700);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

/* ── Main grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* ── Left column ── */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #4a90e2;
}
.contact-card.green {
  border-left-color: #27ae60;
}
.contact-card.purple {
  border-left-color: #7c4dff;
}
.contact-card.orange {
  border-left-color: #f5a623;
}
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card.green .contact-card-icon {
  background: #e8f5e9;
}
.contact-card.purple .contact-card-icon {
  background: #f3e5f5;
}
.contact-card.orange .contact-card-icon {
  background: #fff3e0;
}
.contact-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a237e;
}
.contact-card-sub {
  font-size: 0.78rem;
  color: #888;
}
.contact-action-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    opacity 0.2s,
    transform 0.15s;
}
.contact-action-btn:hover {
  opacity: 0.88;
  transform: translateX(3px);
}
.btn-phone {
  background: #e3f2fd;
  color: #1565c0;
}
.btn-whatsapp {
  background: #e8f5e9;
  color: #2e7d32;
}
.btn-email {
  background: #f3e5f5;
  color: #6a1b9a;
}
.btn-maps {
  background: #fff3e0;
  color: #e65100;
}

/* Service areas */
.service-areas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
}
.service-row.local {
  background: #e3f2fd;
  color: #1565c0;
}
.service-row.regional {
  background: #f3e5f5;
  color: #6a1b9a;
}
.service-row.national {
  background: #fff8e1;
  color: #e65100;
}
.service-row.international {
  background: #e8f5e9;
  color: #1b5e20;
}
.service-row-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.service-row strong {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
}
.service-row span {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* ── Form ── */
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 32px rgba(74, 144, 226, 0.1);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.65rem 0.9rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
  background: #fafbff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
  background: #fff;
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
}
.form-checkbox input {
  margin-top: 2px;
  accent-color: #4a90e2;
  flex-shrink: 0;
}
.form-checkbox a {
  color: #4a90e2;
}
.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #4a90e2, #1a237e);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s,
    opacity 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}
.form-message.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #86efac;
  display: block;
}
.form-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  display: block;
}

/* ── Map ── */
.contact-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.5rem;
}
.contact-map-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ── Service detail cards ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.service-detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #4a90e2;
}
.service-detail-card.regional {
  border-top-color: #7c4dff;
}
.service-detail-card.national {
  border-top-color: #f5a623;
}
.service-detail-card.international {
  border-top-color: #27ae60;
}
.service-detail-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.6rem;
}
.service-detail-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.service-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.service-detail-card ul li {
  font-size: 0.82rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.service-detail-card ul li::before {
  content: "✓";
  color: #4a90e2;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a237e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}
.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: #4a90e2;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
}
.faq-a-inner a {
  color: #4a90e2;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .contact-page {
    padding: 1.5rem 1rem 3rem;
  }
  .contact-hero {
    padding: 2.5rem 1.25rem 2rem;
  }
}

/* -- Dark mode: protect colored hero text -- */
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .hero-description,
[data-theme="dark"] .hero-text h1,
[data-theme="dark"] .hero-text h2,
[data-theme="dark"] .hero-text h3,
[data-theme="dark"] .hero-text p {
  color: inherit !important;
}
