/* Contacto page */

.ft-contact-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(30rem, 62vh, 38rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0c1c38;
}

.ft-contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ft-contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: ft-contact-ken 26s ease-in-out infinite alternate;
}

.ft-contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(8, 18, 38, 0.93) 0%, rgba(12, 28, 56, 0.84) 42%, rgba(12, 28, 56, 0.55) 68%, rgba(12, 28, 56, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 18, 38, 0.25) 0%, transparent 30%, rgba(8, 18, 38, 0.5) 100%);
  pointer-events: none;
}

.ft-contact-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.25rem 0 3.85rem;
}

.ft-contact-hero-copy {
  max-width: 40rem;
  margin-bottom: 2.15rem;
}

.ft-contact-hero-title {
  margin: 0 0 0.9rem;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ft-contact-hero-title .ft-heart {
  color: var(--ft-red);
  margin-left: 0.35rem;
  font-size: 0.72em;
  vertical-align: middle;
  display: inline-flex;
  animation: ft-contact-pulse 2.4s ease-in-out infinite;
}

.ft-contact-hero-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.ft-contact-hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 1.35rem;
}

.ft-contact-hero-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  opacity: 0;
  transform: translateY(0.55rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ft-contact-hero-features li.is-visible {
  opacity: 1;
  transform: none;
}

.ft-contact-hero-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  line-height: 0;
  transition: transform 0.35s ease, background 0.35s ease;
}

.ft-contact-hero-features li:hover .ft-contact-hero-feature-icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.16);
}

.ft-contact-svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin: 0;
}

.ft-contact-hero-feature-icon .ft-contact-svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ft-contact-hero-features li[data-tone='coral'] { color: #ff8f7a; }
.ft-contact-hero-features li[data-tone='blue'] { color: #8eb6ff; }
.ft-contact-hero-features li[data-tone='green'] { color: #7dd9a8; }
.ft-contact-hero-features li[data-tone='violet'] { color: #b8a4ff; }

.ft-contact-hero-features strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #fff;
}

.ft-contact-hero-feature-copy {
  min-width: 0;
}

.ft-contact-hero-feature-copy span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.ft-contact-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  line-height: 0;
  color: #f4f6fa;
  pointer-events: none;
}

.ft-contact-hero-wave svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* Main */
.ft-contact-main {
  background: #f4f6fa;
  padding: 3rem 0 3.5rem;
}

.ft-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.ft-contact-info,
.ft-contact-form-panel {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ft-contact-info.is-visible,
.ft-contact-form-panel.is-visible {
  opacity: 1;
  transform: none;
}

.ft-contact-section-kicker {
  position: relative;
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--ft-navy);
  letter-spacing: -0.02em;
}

.ft-contact-section-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 3px;
  border-radius: 99px;
  background: var(--ft-red);
}

.ft-contact-info-lead {
  margin: 0 0 1.35rem;
  color: var(--ft-text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ft-contact-channels {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ft-contact-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.05rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(18, 38, 72, 0.05);
  box-shadow: 0 8px 22px rgba(18, 38, 72, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ft-contact-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 38, 72, 0.1);
}

.ft-contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 0;
}

.ft-contact-channel-icon .ft-contact-svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ft-contact-channel[data-tone='coral'] .ft-contact-channel-icon {
  background: #ffe8e4;
  color: #e2573b;
}
.ft-contact-channel[data-tone='blue'] .ft-contact-channel-icon {
  background: #e6efff;
  color: #3b6bb3;
}
.ft-contact-channel[data-tone='green'] .ft-contact-channel-icon {
  background: #e5f6ec;
  color: #2f9d63;
}
.ft-contact-channel[data-tone='gold'] .ft-contact-channel-icon {
  background: #fff3d8;
  color: #d4a017;
}

.ft-contact-channel-copy {
  min-width: 0;
}

.ft-contact-channel-copy strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ft-navy);
}

.ft-contact-channel-copy span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ft-text-soft);
}

.ft-contact-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  background: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ft-contact-channel[data-tone='coral'] .ft-contact-channel-btn { color: #e2573b; }
.ft-contact-channel[data-tone='blue'] .ft-contact-channel-btn { color: #3b6bb3; }
.ft-contact-channel[data-tone='green'] .ft-contact-channel-btn { color: #2f9d63; }

.ft-contact-channel-btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.ft-contact-channel[data-tone='coral'] .ft-contact-channel-btn:hover { background: #e2573b; }
.ft-contact-channel[data-tone='blue'] .ft-contact-channel-btn:hover { background: #3b6bb3; }
.ft-contact-channel[data-tone='green'] .ft-contact-channel-btn:hover { background: #2f9d63; }

.ft-contact-channel-btn .ft-contact-svg,
.ft-contact-channel-btn .ft-icon {
  width: 0.9rem;
  height: 0.9rem;
  font-size: 0.9rem;
}

.ft-contact-map-frame {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 38, 72, 0.08);
  border: 1px solid rgba(18, 38, 72, 0.06);
  background: #fff;
}

.ft-contact-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 240px;
  border: 0;
}

/* Form */
.ft-contact-form-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.6rem 1.45rem 1.5rem;
  box-shadow: 0 16px 40px rgba(18, 38, 72, 0.1);
  border: 1px solid rgba(18, 38, 72, 0.05);
}

.ft-contact-form-note {
  margin: 0 0 1.25rem;
  color: var(--ft-text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ft-contact-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
}

.ft-contact-alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ft-contact-alert--error {
  background: var(--ft-green-soft);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.ft-contact-form {
  display: grid;
  gap: 0.95rem;
}

.ft-contact-field {
  display: grid;
  gap: 0.35rem;
}

.ft-contact-field > span:first-child {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ft-navy);
}

.ft-contact-field-control {
  position: relative;
  display: block;
}

.ft-contact-field-control input,
.ft-contact-field-control select,
.ft-contact-field-control textarea {
  width: 100%;
  border: 1.5px solid rgba(18, 38, 72, 0.12);
  border-radius: 0.85rem;
  padding: 0.85rem 2.75rem 0.85rem 0.95rem;
  font: inherit;
  color: var(--ft-text);
  background: #fbfcfe;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ft-contact-field-control textarea {
  resize: vertical;
  min-height: 8rem;
  padding-right: 2.75rem;
}

.ft-contact-field-control select {
  appearance: none;
  cursor: pointer;
}

.ft-contact-field-control input:focus,
.ft-contact-field-control select:focus,
.ft-contact-field-control textarea:focus {
  outline: none;
  border-color: var(--ft-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(226, 87, 59, 0.15);
}

.ft-contact-field-icon {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(18, 38, 72, 0.35);
  pointer-events: none;
  line-height: 0;
}

.ft-contact-field-control--textarea .ft-contact-field-icon {
  top: 1.05rem;
  transform: none;
}

.ft-contact-field-icon .ft-contact-svg {
  width: 1.05rem;
  height: 1.05rem;
}

.ft-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0.25rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ft-text-soft);
  cursor: pointer;
}

.ft-contact-consent input {
  margin-top: 0.2rem;
  accent-color: var(--ft-red);
  flex-shrink: 0;
}

.ft-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--ft-red);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ft-contact-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(226, 87, 59, 0.35);
}

.ft-contact-submit .ft-contact-svg {
  width: 1.1rem;
  height: 1.1rem;
}

.ft-contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #eef2f7;
  color: var(--ft-navy);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.ft-contact-form-footer .ft-icon {
  color: var(--ft-red);
  width: auto;
  height: auto;
  font-size: 0.95rem;
}

@keyframes ft-contact-ken {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

@keyframes ft-contact-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 980px) {
  .ft-contact-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .ft-contact-hero-inner {
    padding: 4.5rem 0 3.25rem;
  }

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

  .ft-contact-channel {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      'icon copy'
      'icon btn';
  }

  .ft-contact-channel-icon { grid-area: icon; }
  .ft-contact-channel-copy { grid-area: copy; }
  .ft-contact-channel-btn {
    grid-area: btn;
    justify-self: start;
  }
}
