/* ============================================================
   Roam — Forms + Corporate page styles
   ============================================================ */

/* ---- Corporate hero ---- */
.corp-hero {
  padding: 130px 32px 16px; position: relative; overflow: hidden;
}
.corp-hero__layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.corp-hero__inner { max-width: 560px; position: relative; z-index: 2; }
.corp-hero__phones {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 0 20px;
}
.corp-hero__tag {
  display: inline-flex; align-items: center;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); color: var(--muted);
  font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.corp-hero__title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.08; margin-bottom: 18px;
}
.corp-hero__sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 520px; margin-bottom: 32px; }

@media (max-width: 900px) {
  .corp-hero__layout { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .corp-hero__inner { margin: 0 auto; }
  .corp-hero__sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .corp-hero { padding: 100px 16px 32px; }
  /* Pill left-aligned on mobile (overrides centered hero layout) */
  .corp-hero__tag {
    display: flex;
    width: fit-content;
    max-width: 100%;
  }
}
.corp-btn {
  display: inline-block; background: var(--coral); color: #fff;
  font-size: 15px; font-weight: 600; padding: 13px 30px; border-radius: 50px;
  box-shadow: 0 6px 20px rgba(196,97,74,0.30);
  transition: transform var(--trans), box-shadow var(--trans);
}
.corp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(196,97,74,0.36); }

/* ---- Corporate sections ---- */
.corp-section { padding: 48px 32px; }
@media (max-width: 600px) { .corp-section { padding: 32px 16px; } }

/* Why cards — glass style matching main site */
.corp-why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 28px; }
.corp-why-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.corp-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* SVG icon replacing emojis */
.corp-why-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--coral-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.corp-why-icon svg {
  width: 22px; height: 22px; stroke: var(--coral); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.corp-why-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.corp-why-card p { font-size: 14px; line-height: 1.7; }

/* Features checklist */
.corp-features-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  margin-top: 28px;
  background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow);
}
.corp-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px 28px; border-bottom: 1px solid var(--line);
  transition: background var(--trans);
}
.corp-feature:hover { background: rgba(255,255,255,0.18); }
.corp-feature:nth-child(odd) { border-right: 1px solid var(--line); }
.corp-feature:nth-last-child(1),
.corp-feature:nth-last-child(2) { border-bottom: none; }
.corp-feature__check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral-light); color: var(--coral);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.corp-feature strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.corp-feature p { font-size: 13px; margin: 0; }

/* Stats trust strip */
.corp-trust {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin-top: 28px;
  background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow);
}
.corp-trust__stat { padding: 40px 20px; text-align: center; position: relative; }
.corp-trust__stat + .corp-trust__stat { border-left: 1px solid var(--line); }
.corp-trust__num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--coral); line-height: 1; margin-bottom: 6px; }
.corp-trust__label { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Quote form layout */
.corp-form-section { padding: 72px 32px; }
.corp-form-wrap {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.corp-form-assurances { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.corp-assurance { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.corp-assurance span { color: var(--coral); font-weight: 700; }

/* ---- Form card ---- */
.form-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
  padding: 36px; box-shadow: var(--shadow-xl);
}
.form-row { margin-bottom: 18px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text); }
.req { color: var(--coral); }

/* Visible borders — dark, not white */
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font); font-size: 14px; color: var(--text);
  background: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(0,0,0,0.16);
  border-radius: var(--radius); padding: 10px 14px;
  outline: none; width: 100%; -webkit-appearance: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(196,97,74,0.12);
  background: rgba(255,255,255,0.95);
}
.form-field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6359' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 34px; cursor: pointer;
}

.form-btn {
  width: 100%; background: var(--coral); color: #fff;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 13px; border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(196,97,74,0.28); margin-top: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.form-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(196,97,74,0.34); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-fine { font-size: 12px; color: var(--dim); margin-top: 12px; line-height: 1.5; text-align: center; }
.form-fine a { color: var(--coral); }
.form-error {
  background: rgba(196,97,74,0.08); border: 1px solid rgba(196,97,74,0.25);
  color: var(--coral); font-size: 13px;
  padding: 10px 14px; border-radius: var(--radius); margin-bottom: 14px;
}
.form-success { text-align: center; padding: 20px 0; }
.form-success__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(196,97,74,0.10); color: var(--coral);
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.form-success h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 800px) {
  .corp-why-grid { grid-template-columns: 1fr; }
  .corp-features-grid { grid-template-columns: 1fr; }
  .corp-feature:nth-child(odd) { border-right: none; }
  .corp-feature:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .corp-trust { grid-template-columns: 1fr 1fr; }
  .corp-trust__stat + .corp-trust__stat { border-left: none; }
  .corp-trust__stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .corp-trust__stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .corp-form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row--2 { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .form-card { padding: 24px 18px; }
  .corp-section { padding: 56px 16px; }
  .corp-form-section { padding: 56px 16px; }
}
