/* ══════════════════════════════════════
   CSS VARIABLES & RESET
══════════════════════════════════════ */
:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --surface-2: #f0efe9;
  --border: #e4e2da;
  --text-primary: #1a1917;
  --text-secondary: #6b6860;
  --text-muted: #9e9c96;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --green: #22c55e;
  --green-hover: #16a34a;
  --error: #ef4444;
  --error-bg: #fef2f2;
  --success: #22c55e;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Arial', sans-serif;
  --font-body: 'Arial', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════
   TYPOGRAPHY HELPERS
══════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.eyebrow.light {
  color: rgba(255,255,255,0.6);
}

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}

/* ══════════════════════════════════════
   CONTACT FORM SECTION
══════════════════════════════════════ */
.contact-section {
  padding: 72px 24px 80px;
  background: var(--bg);
}

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-heading {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto;
}

/* Form Card */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Field layout */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.field-group:last-of-type {
  margin-bottom: 28px;
}

/* Labels */
label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.field-icon {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  flex-shrink: 0;
}

.required-mark {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Inputs */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  border-color: #c8c6be;
  background: var(--surface);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

/* Select */
.select-wrapper {
  position: relative;
}

select {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

select:hover {
  border-color: #c8c6be;
  background: var(--surface);
}

select:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

select option[value=""][disabled] {
  color: var(--text-muted);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  pointer-events: none;
  transition: transform var(--transition);
}

/* Error States */
input.error,
textarea.error,
select.error {
  border-color: var(--error);
  background: var(--error-bg);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.error-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 5px;
  font-weight: 500;
}

.error-msg.visible {
  display: block;
  animation: slideDown 0.18s ease;
}

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

/* Submit Button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  letter-spacing: 0.01em;
}

.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.36);
}

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

.btn-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition);
}

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

/* Success Message */
.success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0;
  animation: fadeIn 0.4s ease;
}

.success-message.visible {
  display: flex;
}

#contactForm.hidden {
  display: none;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
}

.success-message h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.success-message p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.reset-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.reset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

/* ══════════════════════════════════════
   CTA HERO SECTION
══════════════════════════════════════ */
.cta-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-top: 30px;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 60%);
}

.cta-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 52px 56px;
  max-width: 460px;
  margin-right: 0;
  box-shadow: -20px 0 60px rgba(0,0,0,0.12);
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 320px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--green);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.cta-btn:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.36);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition);
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

/* ══════════════════════════════════════
   CONTACT INFO SECTION
══════════════════════════════════════ */
.info-section {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.info-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.info-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.info-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: #d4d2ca;
}

.info-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
}

.info-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--text-primary);
}

/* ══════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════ */
.faq-section {
  padding: 80px 24px 100px;
  background: var(--bg);
}

.faq-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: sticky;
  top: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question span {
  flex: 1;
  line-height: 1.45;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  transition: stroke var(--transition);
}

.faq-icon .plus-v {
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.faq-item.active .faq-icon {
  border-color: var(--accent);
  background: var(--accent);
}

.faq-item.active .faq-icon svg {
  stroke: #fff;
}

.faq-item.active .plus-v {
  transform: scaleY(0);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  padding-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* Form */
  .contact-section {
    padding: 48px 16px 60px;
  }

  .form-card {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

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

  /* CTA */
  .cta-section {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 520px;
  }

  .cta-card {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 36px 28px 40px;
    max-width: 100%;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
  }

  /* Info */
  .info-section {
    padding: 60px 16px;
  }

  .info-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* FAQ */
  .faq-section {
    padding: 60px 16px 80px;
  }

  .faq-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-title {
    position: static;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .info-wrapper,
  .faq-wrapper {
    gap: 40px;
  }
}