/* =========================
   CONTACTO PAGE
========================= */
.contact-page {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.04) 1.2px, transparent 2px),
    linear-gradient(180deg, #0f1320 0%, #090d17 100%);
  background-size:
    22px 22px,
    cover;
  color: #fff;
}

/* =========================
   HERO CONTACTO
========================= */
.contact-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(6, 10, 20, 0.96) 0%,
      rgba(5, 10, 22, 0.94) 44%,
      rgba(7, 12, 24, 0.74) 72%,
      rgba(8, 12, 22, 0.45) 100%
    ),
    linear-gradient(180deg, #080c16 0%, #050913 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0 18%, transparent 18% 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1.2px, transparent 2px);
  background-size:
    auto,
    auto,
    cover,
    22px 22px;
  opacity: 0.95;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.14),
      transparent 18%,
      transparent 82%,
      rgba(0, 0, 0, 0.18)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025),
      transparent 28%,
      transparent 72%,
      rgba(0, 0, 0, 0.12)
    );
}

.contact-hero-container {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.contact-hero-text {
  position: relative;
  z-index: 3;
  max-width: 560px;
  color: #fff;
  padding: 24px 0;
}

.contact-hero-text h1 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.94;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #f5f5f5;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.contact-hero-text p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
}

.contact-hero-text p strong {
  font-weight: 900;
  color: #ffffff;
}

.contact-hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

.contact-hero-media img {
  width: min(100%, 520px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
  display: block;
}

.contact-green-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #ff2028, #d90f18);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.contact-green-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.contact-green-btn i {
  font-size: 18px;
  color: #25d366;
}

/* =========================
   MAIN CONTACTO
========================= */
.contact-main {
  position: relative;
  padding: 30px 0 42px;
  background: linear-gradient(180deg, #0f1321 0%, #090d17 100%);
}

.contact-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.028) 1.1px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.45;
}

/* =========================
   CARDS SUPERIORES
========================= */
.contact-info-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-card {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(20, 24, 37, 0.98), rgba(10, 14, 24, 0.98));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
  pointer-events: none;
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
  color: #fff;
}

.contact-card-hint {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-info-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.whatsapp-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.08);
}

.instagram-icon {
  color: #ff4b8f;
  background: rgba(255, 75, 143, 0.08);
}

.mail-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   CONTACT ACTIONS
========================= */
.contact-action-card {
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.contact-action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 27, 34, 0.25);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.contact-action-card:focus-visible {
  outline: 2px solid rgba(225, 27, 34, 0.85);
  outline-offset: 3px;
}

/* =========================
   GRID PRINCIPAL
========================= */
.contact-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-left-column,
.contact-right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(18, 22, 34, 0.98), rgba(8, 12, 21, 0.98));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 26%);
  pointer-events: none;
}

.form-panel {
  border-color: rgba(225, 27, 34, 0.12);
}

/* =========================
   ENVÍOS / ATENCIÓN ONLINE
========================= */
.shipping-panel {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(225, 27, 34, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(18, 22, 34, 0.98), rgba(8, 12, 21, 0.98));
  border-color: rgba(225, 27, 34, 0.14);
}

.shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(12, 17, 28, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  margin-bottom: 18px;
}

.shipping-badge i {
  color: #ff2028;
  font-size: 15px;
}

.shipping-content h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
}

.shipping-content p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.shipping-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.shipping-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
    rgba(9, 13, 22, 0.9);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
}

.shipping-item i {
  color: #25d366;
  margin-top: 2px;
  flex-shrink: 0;
}

.shipping-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #12172c, #0b1022);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.shipping-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

.shipping-btn i {
  color: #25d366;
}

/* =========================
   HORARIOS
========================= */
.schedule-panel h3,
.faq-panel h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 22px;
  text-transform: uppercase;
  color: #fff;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.schedule-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.schedule-row span:first-child {
  font-weight: 800;
  color: #fff;
}

.schedule-row span:last-child {
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

/* =========================
   CTA IZQUIERDA
========================= */
.cta-panel {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(225, 27, 34, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(18, 21, 34, 0.98), rgba(8, 12, 20, 0.98));
}

.cta-panel h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cta-panel p {
  max-width: 420px;
  margin: 0 auto 22px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.small-btn {
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
}

/* =========================
   FORMULARIO
========================= */
.form-panel h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(10, 14, 24, 0.94);
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  outline: none;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.contact-field input {
  min-height: 52px;
}

.contact-field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(225, 27, 34, 0.45);
  box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(12, 16, 26, 0.98);
}

.form-btn {
  width: 100%;
  min-height: 56px;
  border: none;
}

.contact-form-note {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  line-height: 1.5;
}

/* =========================
   FAQ
========================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
    rgba(9, 13, 22, 0.9);
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.faq-item.active {
  border-color: rgba(225, 27, 34, 0.22);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.faq-question {
  width: 100%;
  min-height: 62px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question i {
  font-size: 16px;
  color: #ff2028;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    padding 0.22s ease;
  opacity: 0;
  padding: 0 18px;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  opacity: 1;
  padding: 0 18px 18px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1280px) {
  .contact-hero {
    min-height: 430px;
  }

  .contact-hero-container {
    min-height: 430px;
  }

  .contact-hero-media img {
    max-height: 390px;
  }
}

@media (max-width: 1100px) {
  .contact-hero {
    min-height: auto;
  }

  .contact-hero-container {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 72px;
    padding-bottom: 24px;
    text-align: center;
  }

  .contact-hero-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .contact-hero-media {
    justify-content: center;
  }

  .contact-hero-media img {
    max-height: 320px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-content-grid {
    grid-template-columns: 1fr;
  }

  .shipping-btn {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .contact-hero-container {
    padding-top: 78px;
    padding-bottom: 22px;
  }

  .contact-hero-text h1 {
    font-size: 42px;
    margin-bottom: 16px;
  }

  .contact-hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .contact-hero-media img {
    max-height: 260px;
  }

  .contact-info-card {
    min-height: 108px;
    padding: 18px;
    border-radius: 16px;
  }

  .contact-info-card h3 {
    font-size: 18px;
  }

  .contact-info-icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .contact-panel {
    padding: 20px;
    border-radius: 18px;
  }

  .shipping-content h3 {
    font-size: 24px;
  }

  .form-panel h2 {
    font-size: 24px;
  }

  .schedule-panel h3,
  .faq-panel h3,
  .cta-panel h3 {
    font-size: 19px;
  }

  .schedule-row {
    font-size: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .schedule-row span:last-child {
    text-align: left;
  }

  .faq-question {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .contact-hero-container {
    padding-top: 72px;
    padding-bottom: 20px;
  }

  .contact-hero-text h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .contact-hero-text p {
    font-size: 16px;
  }

  .contact-hero-media img {
    max-height: 220px;
  }

  .contact-green-btn {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    font-size: 14px;
  }

  .contact-info-card {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .contact-panel {
    padding: 18px;
  }

  .shipping-content h3 {
    font-size: 21px;
  }

  .shipping-content p,
  .shipping-item {
    font-size: 14px;
  }

  .shipping-badge {
    min-height: 38px;
    font-size: 11px;
    padding: 0 12px;
  }

  .form-panel h2 {
    font-size: 22px;
  }

  .contact-field input,
  .contact-field textarea {
    border-radius: 12px;
    font-size: 15px;
  }

  .faq-answer p,
  .cta-panel p {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .contact-hero-container {
    padding-top: 68px;
  }

  .contact-hero-text h1 {
    font-size: 30px;
  }

  .contact-hero-text p {
    font-size: 15px;
  }

  .contact-hero-media img {
    max-height: 190px;
  }

  .contact-info-card h3 {
    font-size: 17px;
  }

  .schedule-panel h3,
  .faq-panel h3,
  .cta-panel h3 {
    font-size: 18px;
  }

  .faq-question {
    padding: 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-action-card,
  .contact-green-btn,
  .shipping-btn,
  .contact-field input,
  .contact-field textarea,
  .faq-item,
  .faq-question i {
    transition: none !important;
  }
}
