/* ======================================================
   CONTACT PAGE STYLES
   ====================================================== */

/* ======================================================
   1. HERO SECTION
   ====================================================== */

.contact-hero {
  position: relative;
  height: 400px;
  background-image: url('images/hero-registan.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for better text readability */
.contact-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.60) 100%);
  z-index: 1;
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

.contact-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.contact-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* ======================================================
   2. CONTACT SECTION
   ====================================================== */

.contact-section {
  padding: 80px 0 40px 0;
  background: #fff;
}

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

/* ======================================================
   3. CONTACT FORM (LEFT COLUMN)
   ====================================================== */

.contact-form-wrapper {
  background: #fff;
}

.contact-form__title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.contact-form__intro {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 24px 0;
}

/* Form Benefits */
.form-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-benefit:hover {
  background: #e0f2fe;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.form-benefit i {
  font-size: 18px;
  color: #0284c7;
  min-width: 18px;
}

.form-benefit span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0c4a6e;
  line-height: 1.4;
}

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

/* Form Row (for side-by-side inputs) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.required {
  color: #e74c3c;
}

/* Form Inputs */
.form-input,
.form-textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input:hover,
.form-textarea:hover {
  border-color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0d47a1;
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
  outline: 0;
}

.form-input.error,
.form-textarea.error {
  border-color: #e74c3c;
  background: #fef2f2;
}

.form-input.success,
.form-textarea.success {
  border-color: #10b981;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Error Messages */
.form-error {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #e74c3c;
  margin: 0;
  min-height: 18px;
  display: block;
}

.form-error:empty {
  display: none;
}

/* Checkbox */
.form-group--checkbox {
  margin-top: 8px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.form-checkbox__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form-checkbox__checkmark {
  position: relative;
  min-width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-checkbox__checkmark::after {
  content: '';
  position: absolute;
  display: none;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 2px;
}

.form-checkbox__input:checked ~ .form-checkbox__checkmark {
  background: #ff6b35;
  border-color: #ff6b35;
}

.form-checkbox__input:checked ~ .form-checkbox__checkmark::after {
  display: block;
}

.form-checkbox__label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

/* Submit Button */
.form-submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

.form-submit:disabled,
.form-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Success and Error Messages */
.form-success,
.form-error-message {
  padding: 16px 20px;
  border-radius: 8px;
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.form-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-success i {
  font-size: 20px;
}

.form-error-message {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-error-message i {
  font-size: 20px;
}

.form-success.show,
.form-error-message.show {
  display: flex;
}

.form-success p,
.form-error-message p {
  margin: 0;
}

/* ======================================================
   4. CONTACT INFO (RIGHT COLUMN)
   ====================================================== */

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

.contact-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.contact-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card__title-icon {
  font-size: 20px;
  color: #ff6b35;
}

.contact-card__description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 24px 0;
}

/* Trust Badge */
.trust-badge {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.trust-badge__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.trust-badge__rating .fa-google {
  font-size: 28px;
  color: #4285F4;
}

.trust-badge__score {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}

.trust-badge__stars {
  display: flex;
  gap: 3px;
}

.trust-badge__stars i {
  font-size: 18px;
  color: #FFA500;
}

.trust-badge__text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.contact-card__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-card__item:last-child {
  margin-bottom: 0;
}

.contact-card__icon {
  font-size: 20px;
  color: #ff6b35;
  min-width: 24px;
  margin-top: 2px;
}

.contact-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card__label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card__link {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card__link:hover {
  color: #ff6b35;
  text-decoration: underline;
}

/* Opening Hours */
.hours-block {
  margin-bottom: 20px;
}

.hours-block:last-child {
  margin-bottom: 0;
}

.hours-block__season {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.hours-block__time {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 4px 0;
}

/* Timezone Note */
.contact-card__timezone {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  margin: 20px 0 0 0;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card__timezone i {
  font-size: 12px;
  color: #9ca3af;
}

/* Address */
.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 20px;
}

.contact-card__map-btn {
  width: 100%;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

/* Testimonial Card */
.contact-card--testimonial {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
  position: relative;
  margin-top: 32px;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.testimonial-quote {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote i {
  font-size: 18px;
  color: #f59e0b;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.testimonial-stars i {
  font-size: 14px;
  color: #f59e0b;
}

.testimonial-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #78350f;
  font-style: italic;
  margin: 0 0 20px 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author__avatar {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author__avatar i {
  font-size: 20px;
  color: #92400e;
}

.testimonial-author__info {
  flex: 1;
}

.testimonial-author__name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #78350f;
  margin: 0 0 2px 0;
}

.testimonial-author__location {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #92400e;
  margin: 0;
}

/* ======================================================
   5. PERSONALITY SECTION
   ====================================================== */

/* Section container */
#contact-personality.contact-personality {
  background: #fafaf8;
  padding: 80px 0;
}

/* Grid layout */
.contact-personality .cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Media styles */
.contact-personality .cp-media {
  margin: 0;
}

.contact-personality .cp-media__img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  display: block;
}

/* Typography */
.contact-personality .cp-title {
  margin: 0 0 16px 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 1.2rem + 1vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a202c;
}

.contact-personality .cp-sub {
  margin: 0 0 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #4a5568;
}

.contact-personality .cp-body {
  margin: 0 0 24px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
}

.contact-personality .cp-cta.btn.btn--outline {
  min-height: 48px;
  padding: 12px 32px;
}

/* Section spacing integration */
section.contact-section + #contact-personality {
  margin-top: 0;
}

#contact-personality + section.faq-section {
  margin-top: 0;
}

/* ======================================================
   6. FAQ SECTION
   ====================================================== */

.faq-section {
  padding: 60px 0 80px 0;
  background: #f9fafb;
}

.faq-section__title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.faq-section__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #6b7280;
  text-align: center;
  margin: 0 0 48px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* FAQ Item */
.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: #ff6b35;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
}

.faq-item__question {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  user-select: none;
  transition: all 0.3s ease;
}

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

.faq-item__question:hover {
  color: #ff6b35;
}

.faq-item__icon {
  font-size: 14px;
  color: #6b7280;
  transition: transform 0.3s ease;
  min-width: 14px;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  color: #ff6b35;
}

.faq-item__answer {
  padding: 0 28px 24px 28px;
  animation: fadeIn 0.3s ease;
}

.faq-item__answer p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Help Link */
.faq-help {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.faq-help__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 16px 0;
}

.faq-help__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ff6b35;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid #ff6b35;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq-help__link:hover {
  background: #ff6b35;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.faq-help__link i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.faq-help__link:hover i {
  transform: translateX(4px);
}
/* ======================================================
   6. RESPONSIVE DESIGN
   ====================================================== */

/* Large Desktops (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
  .contact-hero {
    height: 350px;
  }

  .contact-hero__title {
    font-size: 48px;
  }

  .contact-hero__subtitle {
    font-size: 16px;
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-section {
    padding: 60px 0;
  }

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

  .faq-section__title {
    font-size: 36px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .contact-hero {
    height: 300px;
    margin-top: 100px;
  }

  .contact-hero__title {
    font-size: 36px;
  }

  .contact-hero__subtitle {
    font-size: 15px;
  }

  .contact-hero__subtitle br {
    display: none;
  }

  .contact-section {
    padding: 48px 0;
  }

  .contact-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .contact-form__title {
    font-size: 28px;
  }

  /* Stack benefits vertically on mobile */
  .form-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .form-benefit {
    padding: 10px 14px;
  }

  .form-benefit i {
    font-size: 16px;
  }

  .form-benefit span {
    font-size: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Personality section responsive */
  #contact-personality.contact-personality {
    padding: 48px 0;
  }

  #contact-personality .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-personality .cp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-personality .cp-media {
    order: -1;
  }

  .contact-personality .cp-title {
    font-size: 28px;
    text-align: center;
  }

  .contact-personality .cp-sub {
    font-size: 16px;
    text-align: center;
  }

  .contact-personality .cp-body {
    font-size: 15px;
    text-align: center;
  }

  .contact-personality .cp-cta {
    margin: 0 auto;
    display: block;
    width: fit-content;
  }

  .faq-section {
    padding: 48px 0;
  }

  .faq-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-section__title {
    font-size: 32px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card__title {
    font-size: 20px;
  }

  .contact-card--testimonial {
    margin-top: 24px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  /* Show mobile CTA bar on tablets and below */
  .mobile-cta-bar {
    display: flex;
  }

  /* Hide WhatsApp float on mobile (use CTA bar instead) */
  .whatsapp-float {
    display: none;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .contact-hero {
    height: 250px;
  }

  .contact-hero__title {
    font-size: 28px;
  }

  .contact-hero__subtitle {
    font-size: 14px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .contact-form__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .contact-form__intro {
    font-size: 14px;
  }

  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 12px 14px;
  }

  .form-submit {
    padding: 14px 24px;
    font-size: 15px;
  }

  .alternative-contact {
    margin-top: 32px;
    padding-top: 24px;
  }

  .alt-contact-title {
    font-size: 15px;
  }

  .alt-contact-link {
    padding: 12px 14px;
    font-size: 13px;
  }

  .alt-contact-link i {
    font-size: 16px;
  }

  #contact-personality.contact-personality {
    padding: 40px 0;
  }

  #contact-personality .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .contact-personality .cp-title {
    font-size: 24px;
  }

  .contact-personality .cp-sub {
    font-size: 15px;
  }

  .contact-personality .cp-body {
    font-size: 14px;
  }

  .faq-section {
    padding: 40px 0;
  }

  .faq-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .faq-section__title {
    font-size: 26px;
  }

  .faq-item__question {
    font-size: 15px;
    padding: 18px 16px;
  }

  .faq-item__answer {
    padding: 0 16px 18px 16px;
  }

  .faq-item__answer p {
    font-size: 14px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card__title {
    font-size: 18px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Smaller WhatsApp button on mobile */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }

  .whatsapp-float__tooltip {
    display: none; /* Hide tooltip on mobile */
  }
}

/* ======================================================
   5C. MOBILE STICKY CTA BAR
   ====================================================== */

.mobile-cta-bar {
  display: none; /* Hidden by default, shown on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 998;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom)); /* iOS safe area */
  gap: 12px;
}

.mobile-cta-bar__button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-cta-bar__button i {
  font-size: 20px;
}

.mobile-cta-bar__button span {
  font-size: 12px;
}

/* Call Button */
.mobile-cta-bar__button--call {
  background: #4285F4;
  color: #fff;
}

.mobile-cta-bar__button--call:hover,
.mobile-cta-bar__button--call:active {
  background: #3367d6;
  transform: scale(0.98);
}

/* WhatsApp Button */
.mobile-cta-bar__button--whatsapp {
  background: #25D366;
  color: #fff;
}

.mobile-cta-bar__button--whatsapp:hover,
.mobile-cta-bar__button--whatsapp:active {
  background: #128C7E;
  transform: scale(0.98);
}

/* Email Button */
.mobile-cta-bar__button--email {
  background: #EA4335;
  color: #fff;
}

.mobile-cta-bar__button--email:hover,
.mobile-cta-bar__button--email:active {
  background: #c5221f;
  transform: scale(0.98);
}

/* ======================================================
   6B. SCROLL ANIMATIONS
   ====================================================== */

/* Elements that will fade in on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for multiple items */
.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.5s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.6s;
}

/* ======================================================
   7. ACCESSIBILITY ENHANCEMENTS
   ====================================================== */

/* Focus Styles */
.form-input:focus-visible,
.form-textarea:focus-visible,
.btn:focus-visible,
.form-checkbox__input:focus-visible ~ .form-checkbox__checkmark,
.faq-item__question:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .contact-card {
    border: 2px solid #1a1a1a;
  }

  .faq-item {
    border: 2px solid #1a1a1a;
  }

  .form-input,
  .form-textarea {
    border: 2px solid #1a1a1a;
  }
}

/* ======================================================
   8. PRINT STYLES
   ====================================================== */

@media print {
  .site-header,
  .footer,
  .form-submit,
  .contact-card__map-btn {
    display: none;
  }

  .contact-hero {
    height: auto;
    padding: 40px 0;
    background: none;
  }

  .contact-hero__overlay {
    display: none;
  }

  .contact-hero__title,
  .contact-hero__subtitle {
    color: #1a1a1a;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   ACCESSIBILITY UTILITIES
   ==================================== */

/* Visually hide content but keep it accessible to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* ======================================================
   FORM ENHANCEMENTS - AJAX & VALIDATION
   ====================================================== */

/* Error State for Form Inputs */
.form-input--error,
.form-textarea--error {
  border-color: #e74c3c !important;
  background: #fef2f2;
}

/* Optional Label Styling */
.form-label .optional {
  font-size: 13px;
  font-weight: 400;
  color: #9ca3af;
  font-style: italic;
}

/* Trust Signal Below Form */
.form-trust-signal {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.form-trust-signal i {
  color: #10b981;
  font-size: 14px;
}

/* Alternative Contact Methods Section */
.alternative-contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid #e5e7eb;
}

.alt-contact-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  text-align: center;
}

.alt-contact-methods {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  max-width: 600px;
  justify-content: center;
  margin: 0 auto;
}

.alt-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 250px;
  justify-content: center;

.alt-contact-link:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateX(4px);
}
}

.alt-contact-link i {
  font-size: 18px;
  color: #1a5490;
  min-width: 20px;
}

.alternative-contact__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  text-align: center;
}

.alt-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.alt-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.alt-contact-item:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.alt-contact-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
}

.alt-contact-item--whatsapp .alt-contact-item__icon {
  background: #d1fae5;
  color: #059669;
}

.alt-contact-item--whatsapp:hover .alt-contact-item__icon {
  background: #059669;
  color: #fff;
}

.alt-contact-item--email .alt-contact-item__icon {
  background: #fee2e2;
  color: #dc2626;
}

.alt-contact-item--email:hover .alt-contact-item__icon {
  background: #dc2626;
  color: #fff;
}

.alt-contact-item--phone .alt-contact-item__icon {
  background: #dbeafe;
  color: #2563eb;
}

.alt-contact-item--phone:hover .alt-contact-item__icon {
  background: #2563eb;
  color: #fff;
}

.alt-contact-item__label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

/* ======================================================
   SUCCESS MODAL ENHANCEMENTS
   ====================================================== */

/* Modal Container Size Variant */
.modal-container--medium {
  max-width: 500px;
}

/* Large Success Icon */
.success-icon--large {
  width: 80px;
  height: 80px;
  font-size: 40px;
  margin-bottom: 24px;
}

/* ======================================================
   AUTO-EXPANDING TEXTAREA
   ====================================================== */

.form-textarea {
  overflow: hidden;
  resize: none;
}

.form-textarea[data-auto-expand="true"] {
  min-height: 120px;
  max-height: 400px;
  transition: height 0.2s ease;
}

/* ======================================================
   LOADING STATES & ANIMATIONS
   ====================================================== */

/* Button Loading State */
.btn--loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: button-spinner 0.6s linear infinite;
}

@keyframes button-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Spinner Icon Animation */
.fa-spinner.fa-spin {
  animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

/* ======================================================
   RESPONSIVE: ALTERNATIVE CONTACT METHODS
   ====================================================== */

@media (max-width: 768px) {
  .alt-contact-methods {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .alt-contact-item {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 16px;
  }

  .alt-contact-item__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .alt-contact-item__label {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .alternative-contact {
    margin-top: 32px;
    padding-top: 24px;
  }

  .alternative-contact__title {
    font-size: 18px;
  }
}

/* ======================================================
   MODAL STYLES
   ====================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-container {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}

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

.modal-container--medium {
  max-width: 550px;
}

.modal-header {
  padding: 40px 40px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 5;
  border-radius: 16px 16px 0 0;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #6b7280;
  font-size: 18px;
  z-index: 10;
}

.modal-close:hover {
  background: #e5e7eb;
  color: #374151;
  transform: rotate(90deg);
}

.success-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon--large svg {
  width: 80px;
  height: 80px;
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
}

.modal-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.modal-body {
  padding: 20px 40px 40px;
}

.success-message {
  margin-bottom: 24px;
}

.success-greeting {
  font-size: 18px;
  color: #374151;
  margin: 0;
  line-height: 1.6;
}

.confirmation-reference {
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.reference-label {
  display: block;
  font-size: 14px;
  color: #166534;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reference-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #15803d;
  font-family: 'Courier New', monospace;
}

.booking-summary {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.booking-summary h3 {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px;
}

.contact-email {
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
  margin: 0;
  word-break: break-all;
}

.next-steps {
  margin-bottom: 24px;
}

.next-steps h3 {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 16px;
}

.next-steps ol {
  margin: 0;
  padding-left: 20px;
  list-style: none;
  counter-reset: steps;
}

.next-steps li {
  counter-increment: steps;
  margin-bottom: 12px;
  padding-left: 12px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}

.next-steps li::before {
  content: counter(steps);
  position: absolute;
  left: -24px;
  width: 24px;
  height: 24px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.modal-alternative-contact {
  background: #fef3c7;
  border: 2px solid #fde047;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.modal-alt-title {
  font-size: 15px;
  font-weight: 600;
  color: #92400e;
  margin: 0 0 12px;
}

.modal-footer {
  padding: 20px 40px 40px;
  text-align: center;
}

.modal-footer .btn {
  min-width: 200px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0;
  }

  .modal-container {
    border-radius: 0;
    max-height: 100vh;
  }

  .modal-header {
    padding: 32px 24px 16px;
  }

  .modal-body {
    padding: 16px 24px 32px;
  }

  .modal-footer {
    padding: 16px 24px 32px;
  }

  .modal-title {
    font-size: 24px;
  }

  .reference-number {
    font-size: 20px;
  }

  .modal-footer .btn {
    min-width: 100%;
  }
}

/* Responsive: Stack contact methods on mobile */
@media (max-width: 640px) {
  .alt-contact-methods {
    flex-direction: column;
    max-width: 100%;
  }
  
  .alt-contact-link {
    width: 100%;
  }
}
