/* ═══════════════════════════════════════════════════════════════
   LEANDIGI DESIGN SYSTEM — CONTACT PAGE STYLES
   Matches visual reference: Warm light background, centered header,
   2-column split (Gold icon badges + Elegant underline form card).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #fafafa;
  --white: #ffffff;
  --ink: #17130b;
  --muted: #665f55;
  --gold: #efc334;
  --gold-dark: #d99f16;
  --gold-badge: #faecc1;
  --gold-glow: rgba(239, 195, 52, 0.28);
  --line: rgba(23, 19, 11, .14);
  --container: 1280px;
  --pad: clamp(20px, 3vw, 32px);
  --font-main: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

html {
  font-family: var(--font-main);
  background-color: #fdfbf7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fdfbf7;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   BACKGROUND & DECORATIVE GRAPHICS
   ═══════════════════════════════════════════════════════════════ */
.contact-page-wrap {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(106px + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(60px, 8vw, 100px);
  background: 
    radial-gradient(circle at 85% 18%, rgba(246, 230, 185, 0.45) 0%, rgba(253, 251, 247, 0) 55%),
    radial-gradient(circle at 10% 80%, rgba(248, 237, 203, 0.3) 0%, rgba(253, 251, 247, 0) 45%),
    #fdfbf7;
  overflow: hidden;
}

/* Concentric circular watermark arcs in top-right corner */
.bg-decorative-arcs {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
}

.arc-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 195, 52, 0.22);
}

.arc-ring-1 {
  width: 320px;
  height: 320px;
  top: 140px;
  right: 140px;
}

.arc-ring-2 {
  width: 480px;
  height: 480px;
  top: 60px;
  right: 60px;
  border-color: rgba(239, 195, 52, 0.16);
}

.arc-ring-3 {
  width: 640px;
  height: 640px;
  top: -20px;
  right: -20px;
  border-color: rgba(239, 195, 52, 0.1);
}

/* Main Container */
.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER BLOCK (TITLE & SUBTITLE)
   ═══════════════════════════════════════════════════════════════ */
.contact-header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.contact-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.15;
}

.contact-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   2-COLUMN GRID
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  max-width: 1140px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════
   LEFT COLUMN: CONTACT INFO LIST
   ═══════════════════════════════════════════════════════════════ */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 42px);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 22px;
}

.contact-icon-badge {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  background: var(--gold-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(239, 195, 52, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-item:hover .contact-icon-badge {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 195, 52, 0.35);
}

.contact-icon-badge svg {
  width: 26px;
  height: 26px;
  color: var(--gold-dark);
  fill: currentColor;
  display: block;
}

.contact-item-text {
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.65;
  color: #38342f;
}

.contact-item-text strong {
  font-weight: 700;
  color: var(--ink);
}

.contact-item-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item-text a:hover {
  color: var(--gold-dark);
}

/* ═══════════════════════════════════════════════════════════════
   RIGHT COLUMN: CONTACT FORM CARD
   ═══════════════════════════════════════════════════════════════ */
.contact-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(34px, 4.5vw, 54px);
  box-shadow: 0 20px 50px rgba(23, 19, 11, 0.06), 0 2px 6px rgba(23, 19, 11, 0.02);
  border: 1px solid rgba(23, 19, 11, 0.04);
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(23, 19, 11, 0.75);
  padding: 14px 0 10px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--ink);
  outline: none;
  transition: border-bottom-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}

.form-input::placeholder {
  color: #3b3630;
  font-weight: 500;
  font-size: 1.02rem;
  opacity: 0.9;
}

.form-input:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 2px 0 var(--gold);
}

textarea.form-input {
  min-height: 80px;
  max-height: 240px;
  line-height: 1.6;
}

/* Submit Button matching image & Leandigi token system */
.form-submit-wrap {
  margin-top: 4px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 12px 0 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(239, 195, 52, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  background: #f4ca3b;
  box-shadow: 0 8px 24px rgba(239, 195, 52, 0.45);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit .arrow-circle {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-submit:hover .arrow-circle {
  transform: translateX(3px);
}

/* Status feedback */
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 640px;
  }

  .contact-info-list {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .contact-page-wrap {
    padding-top: calc(88px + 28px);
    padding-bottom: 50px;
  }

  .contact-header {
    margin-bottom: 34px;
  }

  .contact-form-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .contact-info-item {
    gap: 16px;
  }

  .contact-icon-badge {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .contact-icon-badge svg {
    width: 22px;
    height: 22px;
  }

  .contact-item-text {
    font-size: 0.95rem;
  }

  .form-input {
    font-size: 0.98rem;
    padding: 10px 0 8px;
  }

  .form-input::placeholder {
    font-size: 0.95rem;
  }
}
