/* ============================================================
   LYTHIUM — CONTACTO PAGE  ·  css/contacto.css
   Extends main.css. All shared tokens, navbar, footer, buttons
   and scroll-reveal are defined in main.css.
   ============================================================ */


/* ══════════════════════════════════════════════════════════
   NAV — active state override for Contacto (nav-cta is active)
══════════════════════════════════════════════════════════ */
.nav-cta--active {
  opacity: 0.55;
  pointer-events: none;
}


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.con-hero {
  position: relative;
  padding-block-start: 88px;
  overflow: hidden;
}

.con-hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.con-hero__bg img {
  display: block;
  width: 100%; height: auto;
  object-fit: cover;
  object-position: top center;
  position: absolute; top: 0; left: 0;
}
.con-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,8,20,0.30) 0%, rgba(6,8,20,0) 25%),
    linear-gradient(to bottom, rgba(6,8,20,0) 60%, rgba(6,8,20,1) 100%);
}

.con-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block-start: 48px;
  padding-block-end: 120px;
}

.con-hero__badge {
  margin-block-end: 32px;
}

.con-hero__title {
  font-size: 70px; font-weight: 700;
  line-height: 78px; letter-spacing: -2.1px;
  max-width: 820px;
}


/* ══════════════════════════════════════════════════════════
   CONTACT FORM SECTION
══════════════════════════════════════════════════════════ */
.con-form-section {
  padding-block: 100px;
}

.con-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 100px;
  align-items: start;
}

/* Left column: info */
.con-form-info__heading {
  font-size: 40px; font-weight: 500;
  line-height: 48px; letter-spacing: -1.2px;
  margin-block-end: 28px;
}

.con-form-info__desc {
  font-size: 20px; font-weight: 300;
  line-height: 28px; letter-spacing: -0.4px;
  color: rgba(255,255,255,0.65);
  margin-block-end: 48px;
}

.con-form-info__contacts {
  display: flex; flex-direction: column; gap: 20px;
}

.con-form-info__contact {
  display: flex; align-items: center; gap: 14px;
}

.con-form-info__contact-icon {
  width: 20px; height: 20px;
  flex-shrink: 0; opacity: 0.6;
}

.con-form-info__contact-text {
  font-size: 17px; font-weight: 300;
  letter-spacing: -0.34px;
  color: rgba(255,255,255,0.75);
}

.con-form-info__contact-text a {
  color: inherit; text-decoration: none;
}
.con-form-info__contact-text a:hover {
  color: #94fffc;
}

/* Right column: form */
.con-form {
  display: flex; flex-direction: column; gap: 20px;
}

.con-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.con-form__field {
  display: flex; flex-direction: column; gap: 8px;
}

.con-form__label {
  font-size: 13px; font-weight: 500;
  letter-spacing: 1.3px; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.con-form__input,
.con-form__select,
.con-form__textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px 20px;
  color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 300;
  letter-spacing: -0.32px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%; box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.con-form__input:focus,
.con-form__select:focus,
.con-form__textarea:focus {
  border-color: rgba(148,255,252,0.5);
  background: rgba(255,255,255,0.08);
}

.con-form__input::placeholder,
.con-form__textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.con-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.con-form__select option {
  background: #060814;
  color: #fff;
}

.con-form__textarea {
  resize: vertical;
  min-height: 130px;
}

.con-form__submit {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  background: #94fffc;
  color: #060814;
  font-family: inherit; font-size: 14px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  border: none; border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  align-self: flex-start;
}

.con-form__submit:hover {
  background: #b8fffd;
  transform: translateY(-2px);
}

.con-form__submit:active {
  transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════
   ██████████████████  RESPONSIVE  ██████████████████████
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤1200px) ────────────────────────────────── */
@media (max-width: 1200px) {

  .con-hero__title { font-size: 52px; line-height: 60px; }

  .con-form-section { padding-block: 80px; }
  .con-form-section__inner {
    grid-template-columns: 1fr 460px;
    gap: 60px;
  }
  .con-form-info__heading { font-size: 32px; line-height: 40px; }
}


/* ── Mobile (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {

  .con-hero { padding-block-start: 68px; }
  .con-hero__inner {
    padding-block-start: 32px;
    padding-block-end: 60px;
  }
  .con-hero__badge { margin-block-end: 20px; }
  .con-hero__title {
    font-size: 35px; line-height: 40px;
    letter-spacing: -1.05px;
  }

  .con-form-section { padding-block: 60px; }
  .con-form-section__inner {
    grid-template-columns: 1fr; gap: 48px;
  }
  .con-form-info__heading { font-size: 26px; line-height: 32px; }
  .con-form-info__desc    { font-size: 17px; line-height: 25px; margin-block-end: 32px; }

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

  .con-form__submit { align-self: stretch; }
}


/* ── Very small (≤390px) ─────────────────────────────── */
@media (max-width: 390px) {
  .con-hero__title { font-size: 30px; line-height: 36px; }
}


/* ══════════════════════════════════════════════════════════
   PERFORMANCE — defer off-screen sections
══════════════════════════════════════════════════════════ */
.con-form-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}
