/* =====================================================
   contact.css — RgintanaVO Contact Page
   Depends on: base.css (CSS variables)
===================================================== */

/* ─────────────────────────────────────────
   1. HERO
───────────────────────────────────────── */
.cnt-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: var(--bvo-navy-deep);
  margin-top: calc(-1 * var(--bvo-nav-height));
  padding-top: var(--bvo-nav-height);
}

.cnt-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,20,55,.55) 0%, rgba(30,42,94,.35) 100%);
  pointer-events: none;
}
.cnt-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(79,195,247,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,247,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cnt-hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.cnt-hero__orb--1 {
  width: 380px; height: 380px;
  background: var(--bvo-blue); opacity: .12;
  top: -80px; right: -60px;
  animation: cntOrb 9s ease-in-out infinite alternate;
}
.cnt-hero__orb--2 {
  width: 260px; height: 260px;
  background: var(--bvo-electric); opacity: .09;
  bottom: -40px; left: 12%;
  animation: cntOrb 12s ease-in-out infinite alternate-reverse;
}
@keyframes cntOrb {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.18) translate(18px,-18px); }
}

.cnt-hero__inner {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto; padding: 4rem 2rem 3.5rem;
}

.cnt-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,195,247,.12);
  border: 1px solid rgba(79,195,247,.28);
  color: var(--bvo-electric);
  font-size: .78rem; font-weight: 700;
  padding: 6px 18px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 1.3rem;
}
.cnt-hero__dot { font-size: .45rem; animation: cntBlink 2s ease-in-out infinite; }
@keyframes cntBlink { 0%,100%{opacity:1;}50%{opacity:.2;} }

.cnt-hero__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--bvo-white); line-height: 1.1; margin-bottom: 1rem;
}
.cnt-hero__accent { color: var(--bvo-electric); }

.cnt-hero__desc {
  font-size: 1rem; color: rgba(255,255,255,.62);
  line-height: 1.8; margin-bottom: 2rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}

/* Quick chips */
.cnt-hero__chips {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
}
.cnt-hero__chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  font-size: .8rem; font-weight: 600;
  padding: 8px 18px; border-radius: 50px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(6px);
}
.cnt-hero__chip:hover {
  background: rgba(255,255,255,.2);
  color: var(--bvo-white);
  border-color: rgba(255,255,255,.4);
}
.cnt-hero__chip--plain { cursor: default; }
.cnt-hero__chip--plain:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.82); }
.cnt-hero__chip i { font-size: .85rem; }

/* ─────────────────────────────────────────
   2. MAIN SECTION
───────────────────────────────────────── */
.cnt-section {
  padding: 4rem 0 5rem;
  background: var(--bvo-bg);
}
.cnt-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}
.cnt-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ─────────────────────────────────────────
   3. SIDEBAR
───────────────────────────────────────── */
.cnt-sidebar {
  display: flex; flex-direction: column; gap: 1.2rem;
  position: sticky; top: calc(var(--bvo-nav-height) + 1.5rem);
}

/* Info block */
.cnt-info-block {
  background: var(--bvo-white);
  border: 1px solid rgba(30,42,94,.07);
  border-radius: 20px; padding: 1.6rem;
}
.cnt-info-block__title {
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem; font-weight: 700;
  color: var(--bvo-navy); text-transform: uppercase;
  letter-spacing: .8px; margin-bottom: 1.3rem;
}

.cnt-info-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(30,42,94,.06);
}
.cnt-info-item:last-child { border-bottom: none; padding-bottom: 0; }

.cnt-info-item__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bvo-navy), var(--bvo-blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .85rem;
}
.cnt-info-item__icon--wa {
  background: linear-gradient(135deg, #25d366, #128c3c);
}

.cnt-info-item__label {
  font-size: .72rem; font-weight: 700;
  color: var(--bvo-text-muted); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 2px;
}
.cnt-info-item__val {
  font-size: .86rem; color: var(--bvo-text); line-height: 1.5;
}
a.cnt-info-item__val--link {
  color: var(--bvo-blue); text-decoration: none; font-weight: 600;
}
a.cnt-info-item__val--link:hover { color: var(--bvo-navy); text-decoration: underline; }

/* Map */
.cnt-map-wrap {
  background: var(--bvo-white);
  border: 1px solid rgba(30,42,94,.07);
  border-radius: 20px; overflow: hidden;
}
.cnt-map-label {
  padding: .9rem 1.2rem;
  font-size: .8rem; font-weight: 700;
  color: var(--bvo-navy); text-transform: uppercase;
  letter-spacing: .6px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(30,42,94,.07);
}
.cnt-map-label i { color: var(--bvo-blue); }
.cnt-map {
  height: 220px;
}
.cnt-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Socials */
.cnt-social-block {
  background: var(--bvo-white);
  border: 1px solid rgba(30,42,94,.07);
  border-radius: 20px; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.cnt-social-block__label {
  font-size: .78rem; font-weight: 700; color: var(--bvo-navy);
  text-transform: uppercase; letter-spacing: .6px; white-space: nowrap;
}
.cnt-socials { display: flex; gap: .5rem; }
.cnt-social {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; text-decoration: none; color: var(--bvo-navy);
  background: var(--bvo-bg); border: 1.5px solid rgba(30,42,94,.1);
  transition: background .22s, color .22s, transform .22s, border-color .22s;
}
.cnt-social:hover {
  background: var(--bvo-navy); color: white;
  border-color: transparent; transform: translateY(-2px);
}
.cnt-social--wa:hover { background: #25d366; }

/* ─────────────────────────────────────────
   4. FORM
───────────────────────────────────────── */
.cnt-form-wrap {
  background: var(--bvo-white);
  border: 1px solid rgba(30,42,94,.07);
  border-radius: 22px; padding: 2.5rem;
  box-shadow: var(--bvo-shadow);
}

/* Alert */
.cnt-alert {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.2rem; border-radius: 12px;
  font-size: .9rem; margin-bottom: 1.5rem;
}
.cnt-alert i { font-size: 1rem; flex-shrink: 0; }
.cnt-alert--success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); color: #15803d; }
.cnt-alert--error   { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.2);  color: #b91c1c; }

/* Form header */
.cnt-form-header { margin-bottom: 2rem; }
.cnt-form-title {
  font-size: 1.5rem; font-weight: 700; color: var(--bvo-navy); margin-bottom: .4rem;
}
.cnt-form-sub { font-size: .9rem; color: var(--bvo-text-muted); line-height: 1.7; }

/* Form layout */
.cnt-form { display: flex; flex-direction: column; gap: 1.1rem; }
.cnt-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.cnt-form__field { display: flex; flex-direction: column; gap: .45rem; }
.cnt-form__field--full { grid-column: 1 / -1; }

.cnt-form__label {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem; font-weight: 700;
  color: var(--bvo-navy); text-transform: uppercase; letter-spacing: .5px;
}
.cnt-form__label span { color: #ef4444; }

/* Input wrapper with icon */
.cnt-form__input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.cnt-form__input-wrap > i {
  position: absolute; left: 14px;
  color: var(--bvo-text-muted); font-size: .85rem; pointer-events: none;
  transition: color .2s;
}
.cnt-form__input-wrap:focus-within > i { color: var(--bvo-blue); }

.cnt-form__input-wrap input,
.cnt-form__input-wrap select,
.cnt-form__input-wrap textarea {
  width: 100%;
  padding: 11px 14px 11px 38px;
  background: var(--bvo-bg);
  border: 1.5px solid rgba(30,42,94,.1);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem; color: var(--bvo-text);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.cnt-form__input-wrap input::placeholder,
.cnt-form__input-wrap textarea::placeholder { color: rgba(30,42,94,.3); }

.cnt-form__input-wrap input:focus,
.cnt-form__input-wrap select:focus,
.cnt-form__input-wrap textarea:focus {
  border-color: var(--bvo-blue);
  box-shadow: 0 0 0 3px rgba(59,95,192,.1);
  background: var(--bvo-white);
}

/* Select arrow */
.cnt-form__input-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2329326d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Textarea */
.cnt-form__input-wrap--textarea { align-items: flex-start; }
.cnt-form__input-wrap--textarea > i { top: 13px; }
.cnt-form__input-wrap textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

/* Submit */
.cnt-submit {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--bvo-navy), var(--bvo-blue));
  color: var(--bvo-white);
  border: none; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(30,42,94,.28);
  transition: transform .22s, box-shadow .22s;
  margin-top: .5rem;
}
.cnt-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,42,94,.4);
}
.cnt-submit:active { transform: translateY(0); }

/* Alt contact nudge */
.cnt-form-alt {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  margin-top: 1.4rem;
  font-size: .84rem; color: var(--bvo-text-muted);
}
.cnt-form-alt__wa {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.2);
  color: #16a34a; font-weight: 700; font-size: .84rem;
  padding: 5px 14px; border-radius: 50px; text-decoration: none;
  transition: background .2s;
}
.cnt-form-alt__wa:hover { background: rgba(37,211,102,.18); color: #15803d; }
.cnt-form-alt__wa i { font-size: .9rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .cnt-grid { grid-template-columns: 1fr; }
  .cnt-sidebar { position: static; }
  .cnt-map { height: 240px; }
}

@media (max-width: 768px) {
  .cnt-hero { min-height: 48vh; }
  .cnt-hero__inner { padding: 3rem 1.5rem 2.5rem; }
  .cnt-hero__chips { gap: .4rem; }
  .cnt-section { padding: 2.5rem 0 4rem; }
  .cnt-inner { padding: 0 1rem; }
  .cnt-form-wrap { padding: 1.5rem; }
  .cnt-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cnt-hero__title { font-size: 1.8rem; }
  .cnt-social-block { flex-direction: column; align-items: flex-start; gap: .8rem; }
}