/* ============================================
   RIVANTA JEWELS — Contact Us
   Aesthetic: Luxury Refined | Gold & Cream
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --gold:        #9B8459;
  --gold-light:  #c4a96b;
  --gold-dark:   #7a6640;
  --cream:       #FEF9F3;
  --cream-deep:  #f5ede0;
  --white:       #ffffff;
  --text-dark:   #2c2417;
  --text-mid:    #6b5e47;
  --text-muted:  #a0917d;
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --shadow-soft: 0 8px 40px rgba(155, 132, 89, 0.12);
  --shadow-card: 0 20px 60px rgba(155, 132, 89, 0.18);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--cream);
  font-family: 'Jost', sans-serif;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.contact-hero {
  background: linear-gradient(135deg, #9B8459 0%, #7a6640 50%, #9B8459 100%);
  background-size: 200% 200%;
  animation: shimmerBg 6s ease infinite;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

@keyframes shimmerBg {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.contact-hero .hero-icon {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.7);
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: floatIcon 3s ease-in-out infinite;
  letter-spacing: 0;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.contact-hero h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
}

.contact-hero p {
  font-family: 'Jost', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  max-width: 640px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ════════════════════════════════════
   CONTACT SECTION WRAPPER
════════════════════════════════════ */
.contact-section {
  background-color: var(--cream);
  padding: 3.5rem 0 5rem;
}

/* ════════════════════════════════════
   FORM CARD
════════════════════════════════════ */
.form-cont {
  background: var(--white);
  border: 1px solid rgba(155, 132, 89, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.8rem 2.8rem 2.4rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 1.75rem;
  transition: var(--transition);
}

.form-cont::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  background-size: 200%;
  animation: shimmerBar 3s linear infinite;
}

@keyframes shimmerBar {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

/* Form header */
.form-header {
  margin-bottom: 1.75rem;
}

.form-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold-light);
  vertical-align: middle;
  margin-right: 6px;
}

.form-cont h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-dark);
  letter-spacing: 0.02em;
  margin-bottom: 0;
  position: relative;
}

.form-cont h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* Input label */
.input-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.input-group-wrap {
  margin-bottom: 1.1rem;
}

/* Input fields */
.contact-input {
  display: block;
  width: 100%;
  border: 1.5px solid rgba(155, 132, 89, 0.3);
  border-radius: var(--radius-sm);
  background-color: var(--cream);
  padding: 13px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.contact-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.contact-input:focus {
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(155, 132, 89, 0.1);
  transform: translateY(-1px);
}

.contact-input:hover:not(:focus) {
  border-color: rgba(155, 132, 89, 0.55);
  background-color: var(--white);
}

textarea.contact-input {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Two-column row for name + email */
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

/* Form footer: button + note */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Submit button */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  background-size: 200% auto;
  color: var(--white);
  border-radius: var(--radius-sm);
  border: none;
  padding: 13px 2rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155, 132, 89, 0.4);
}

.contact-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(155, 132, 89, 0.3);
}

/* Security note */
.form-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-note svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ════════════════════════════════════
   INFO STRIP — 4 cards below form
════════════════════════════════════ */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.icard {
  background: var(--white);
  border: 0.5px solid rgba(155, 132, 89, 0.25);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: var(--transition);
}

.icard:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.icard-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.icard-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #faf0dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.icard-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.icard-title {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
}

.icard-divider {
  height: 1px;
  background: rgba(155, 132, 89, 0.15);
}

.icard-body {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.icard-body a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

.icard-body a:hover {
  text-decoration: underline;
}

/* Open now badge */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fbf5;
  border: 0.5px solid #86d4a8;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.7rem;
  color: #1e7e4a;
  font-weight: 600;
  margin-top: 6px;
}

.open-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3aaa6e;
  flex-shrink: 0;
}

/* ════════════════════════════════════
   TRUST BAR
════════════════════════════════════ */
.trust-bar {
  background: var(--white);
  border: 0.5px solid rgba(155, 132, 89, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 500;
}

.trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 22px;
  background: rgba(155, 132, 89, 0.2);
}

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

/* Large desktop */
@media (min-width: 992px) {
  .contact-hero .container {
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
  }
}

/* Tablet landscape (≤ 991px) — collapse info strip to 2 cols */
@media (max-width: 991px) {
  .info-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-divider {
    display: none;
  }

  .trust-bar {
    justify-content: flex-start;
    gap: 1rem 1.5rem;
  }
}

/* Tablet portrait (≤ 768px) */
@media (max-width: 768px) {
  .form-cont {
    padding: 2rem 1.6rem 1.8rem;
    border-radius: var(--radius-md);
  }

  .input-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-hero::after {
    height: 28px;
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (≤ 575px) — single column info cards */
@media (max-width: 575px) {
  .contact-section {
    padding: 2rem 0 3.5rem;
  }

  .form-cont {
    padding: 1.6rem 1.2rem 1.4rem;
    border-radius: 18px;
    margin-bottom: 1.25rem;
  }

  .contact-input {
    font-size: 0.92rem;
    padding: 12px 15px;
  }

  .contact-btn {
    font-size: 0.88rem;
    padding: 12px 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .icard {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .icard-top {
    flex: 1 1 100%;
  }

  .icard-divider {
    flex: 1 1 100%;
  }

  .icard-body {
    flex: 1 1 100%;
  }

  .trust-bar {
    gap: 0.75rem 1rem;
  }

  .trust-item {
    font-size: 0.74rem;
  }
}

/* Very small screens (≤ 380px) */
@media (max-width: 380px) {
  .form-cont h2 {
    font-size: 1.4rem;
  }

  .icard-icon {
    width: 40px;
    height: 40px;
  }
}