body {
  background: #fff;
}

.contact-page {
  background: #fff;
  color: #171717;
}

.contact-hero {
  position: relative;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.62)),
    repeating-linear-gradient(
      -18deg,
      rgba(239, 146, 33, 0.07) 0 10px,
      transparent 10px 22px
    );
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  padding: 22px 0 26px;
}

.contact-hero .ink-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.3;
  width: 100%;
}

.contact-hero .ink-breadcrumb a {
  color: #f7d26f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.contact-hero .ink-breadcrumb a:hover {
  color: #fff0bf;
  border-color: currentColor;
}

.contact-hero .ink-breadcrumb span {
  color: #fff;
}

.contact-hero .ink-breadcrumb .sep {
  opacity: 0.95;
}

.contact-hero .ink-breadcrumb .sep-icon {
  display: inline-block;
  color: #ffd977;
  font-weight: 900;
  font-size: 14px;
  transform: translateY(-1px);
}

.contact-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
}

.contact-hero p {
  margin: 8px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.45;
}

.contact-main {
  padding: 26px 0 12px;
  background: #fff;
}

.contact-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.contact-office-panel {
  min-height: 640px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.office-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.58));
}

.office-inner {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 30px 28px;
}

.office-inner h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
}

.office-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.office-item .material-icons {
  font-size: 20px;
  color: var(--accent);
  margin-top: 1px;
}

.office-item small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.office-item strong {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.contact-form-wrap {
  background: #fff;
  padding: 30px 34px;
}

.contact-form-head {
  margin: -30px -34px 16px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #ffd15a;
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.contact-form-head-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #111;
  color: #ffd15a;
  font-size: 22px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.contact-form-head h2 {
  margin: 0;
  font-size: 34px;
  color: #171717;
  line-height: 1;
  text-align: center;
}

.contact-intro {
  margin: 8px 0 0;
  color: #2d2d2d;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.contact-form-notice {
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.contact-form-notice.is-success {
  background: #ecfff4;
  color: #145d34;
  border: 1px solid #9cdab7;
}

.contact-form-notice.is-error {
  background: #fff1f1;
  color: #872121;
  border: 1px solid #e8abab;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form label {
  display: block;
  color: #3b3b3b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #1b1b1b;
  border-radius: 2px;
  font-size: 14px;
  padding: 11px 12px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: rgba(239, 146, 33, 0.7);
  box-shadow: 0 0 0 2px rgba(239, 146, 33, 0.14);
}

.contact-form button {
  border: 0;
  border-radius: 2px;
  background: #ffd15a;
  color: #181818;
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 13px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  background: #f7c64f;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.contact-form button.is-loading,
.contact-form button:disabled {
  opacity: 0.82;
  cursor: wait;
}

.contact-form button.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.32);
  border-top-color: #111;
  border-radius: 50%;
  animation: inkSpinBtn 0.75s linear infinite;
}

@keyframes inkSpinBtn {
  to {
    transform: rotate(360deg);
  }
}

.contact-methods {
  padding: 22px 0 30px;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.contact-cards {
  width: min(1320px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-method-card {
  position: relative;
  background:
    linear-gradient(140deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.72)),
    var(--contact-card-bg, url('../img/agency/banner.jpg')) center/cover no-repeat;
  color: #fff;
  border: 1px solid rgba(239, 146, 33, 0.45);
  border-radius: 14px;
  padding: 22px 16px 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-method-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 0%, rgba(239, 146, 33, 0.2), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.36);
  border-color: rgba(246, 197, 107, 0.7);
}

.contact-method-card:hover::before {
  opacity: 1;
}

.contact-method-card .material-icons,
.contact-method-card h3,
.contact-method-card p,
.contact-method-card a {
  position: relative;
  z-index: 2;
}

.contact-method-card .material-icons {
  font-size: 28px;
  color: #efb15a;
}

.contact-method-card h3 {
  margin: 9px 0 4px;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.contact-method-card p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.35;
}

.contact-method-card a {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(239, 146, 33, 0.2);
  border: 1px solid rgba(239, 146, 33, 0.62);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.contact-method-card--whatsapp:hover {
  border-color: rgba(34, 208, 125, 0.85);
}

.contact-method-card--whatsapp:hover a {
  background: rgba(34, 208, 125, 0.2);
  border-color: rgba(34, 208, 125, 0.82);
}

.contact-method-card--tripadvisor:hover {
  border-color: rgba(34, 208, 125, 0.85);
}

.contact-method-card--tripadvisor:hover a {
  background: rgba(34, 208, 125, 0.2);
  border-color: rgba(34, 208, 125, 0.82);
}

.contact-method-card--correo:hover {
  border-color: rgba(67, 145, 255, 0.9);
}

.contact-method-card--correo:hover a {
  background: rgba(67, 145, 255, 0.2);
  border-color: rgba(67, 145, 255, 0.86);
}

.contact-map-section {
  padding: 10px 0 44px;
}

.contact-map-head {
  text-align: center;
  padding: 10px 0 14px;
}

.contact-map-head h3 {
  margin: 0;
  color: #1d1d1d;
  font-size: 32px;
  letter-spacing: 0.8px;
}

.contact-map-head p {
  margin: 6px 0 0;
  color: #505050;
  font-size: 14px;
}

.section-signs {
  margin: 6px 0 10px;
}

.services-signs {
  display: inline-flex;
  gap: 6px;
}

.services-mark {
  width: 14px;
  height: 10px;
  background: var(--accent);
  transform: skewX(-28deg);
  border-radius: 1px;
}

.map-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 2px solid rgba(239, 146, 33, 0.45);
  border-bottom: 2px solid rgba(239, 146, 33, 0.45);
}

.map-full iframe {
  width: 100%;
  height: 430px;
  border: 0;
}

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

  .contact-office-panel,
  .office-inner {
    min-height: 380px;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    min-height: 200px;
  }

  .contact-hero h1 {
    font-size: 40px;
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }

  .contact-form-head h2,
  .office-inner h3 {
    font-size: 34px;
  }

  .contact-form-head {
    margin: -22px -18px 14px;
  }

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

  .map-full iframe {
    height: 320px;
  }
}
