/* Contact page layout – Green Point Restoration */

/* 整体背景 */
.page-contact .contact-main {
  background: #fff;
}

/* 统一窄容器（不影响全站 .container） */
.section {
  width: 100%;
  box-sizing: border-box;
}


.container.narrow {
  width: 80%;
  margin-inline: auto;
  
}

/* =========================
   Hero 区：标题 + 文案 + Callout
   ========================= */
/* 面包屑 */
.page-breadcrumbs {
  padding: 8px 16px 8px;   /* 和 hero 一样的左右 16px，对齐 */
  font-size: 14px;
}
.breadcrumbs-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
/* 链接样式 */
.breadcrumbs-inner a {
  color: var(--brand-red);          /* 用你现在的主题红 */
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs-inner a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* 分隔符 › */
.crumb-separator {
  color: var(--muted);
  padding: 0 2px;
  margin:0 10px;
}
/* 当前页 */
.breadcrumbs-inner .current {
  color: var(--ink);
  font-weight: 600;
}


.contact-hero {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 32px;
  padding-bottom: 32px;
  width: 100%;
  box-sizing: border-box;
}


/* 标题区域 */
.contact-hero.the-head {
  background: var(--brand-blue);
  
}
.contact-hero-head {
  padding: 0 16px;
}
.contact-hero-head h1 {
  font-size: 48px;
  color: #ffffff;
}

/* 让 hero 里面的内容列有一个最大宽度，靠左对齐 */
.contact-hero-body {
  max-width: 760px;      /* 你可以按感觉调，比如 720/780 都可以 */
  text-align: left;
  margin: 0 auto;
}

.contact-hero-body h2 {
  text-align: center;
}


/* Contact hero 区 logo */

/* 如果你暂时用文字 logo */
.contact-hero-logo .logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: .5px;
}

/* Call now for 24/7 emergency service */

/* Call now for 24/7 emergency service 整块背景 */
.contact-hero.the-body {
  margin: 0;
  padding: 0 0;
  background: var(--bg);
}
.contact-hero.the-body .logo-img {
  height: 120px;
  width: auto;
}


/* 整个横条：Logo 在最左，中间内容真正居中，右侧用空位平衡 */
.contact-callout {
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;  /* 左：logo，中：内容，右：占位 */
  align-items: center;
  gap: 16px;
}

/* 左侧 Logo */
.callout-logo img {
  max-height: 52px;
  width: auto;
  display: block;
}

/* 中间内容区域：文字 + 电话 */
.callout-center {
  text-align: center;  /* 中间这块所有文字居中 */
}

.callout-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--brand-red) !important;  
}

.callout-phone {
  display: inline-block;
  margin-left: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-red);
  text-decoration: none;
}

.callout-phone:hover {
  text-decoration: underline;
}

/* 右侧占位：宽度和左侧 logo 差不多，用来“平衡”中间的几何中心 */
.callout-spacer {
  width: 52px;      /* 建议和 logo 的 max-height 差不多，看起来比较平衡 */
  height: 1px;      /* 仅占位，高度不用管 */
}

@media (max-width: 720px) {
  .contact-callout {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    font-size: 12px;
  }
  .callout-logo img {
    max-height: 40px;
  }
  .callout-phone {
    font-size: 16px;
  }
  .callout-spacer {
    display: none;   /* 小屏就不需要右侧占位了 */
  }
}



/* =========================
   Main form 区：Send Us a Message + 右侧 Get in Touch
   ========================= */

.contact-form-section {
  background: var(--bg);
  padding-top: 40px;
  padding-bottom: 48px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .field label {
    font-size: 12px !important;
  }
}



/* 左侧表单区域 */
.contact-form-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 15px;
}

.contact-form-wrapper h2 {
  font-size: 24px;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgb(201, 199, 199);
}

.contact-form-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

/* 小提示：必填说明 */
.required-hint {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.required-star {
  color: #bb0606;
}

/* 表单主体 */
.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-half {
  flex: 1 1 0;
  min-width: 0;
}

.field-full {
  flex: 1 1 100%;
}

.field label,
.field legend {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  background: #f9fafb;
}

.field input:focus,
.field textarea:focus {
  border-color: #bb0606;
  box-shadow: 0 0 0 1px rgba(187, 6, 6, 0.25);
  background: #ffffff;
}

.field textarea {
  resize: vertical;
}

/* checkbox & radio */
.field-checkbox {
  display: block; /* 覆盖 .field 中的 flex 布局 */
}

.field-checkbox label {
  display: block;
  position: relative;
  padding-left: 26px; 
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
}

.field-checkbox > label input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 3px;
  margin: 0;
}

.field-help {
  font-size: 14px;
  color: #6b7280;
  margin: 2px 26px 0;
}

/* radio group */
.field-radio-group {
  display: flex !important;       /* 关键：把 fieldset 变成 flex */
  flex-direction: row; 
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.8);
  border-radius: 10px;
  padding: 10px 12px;
  gap: 8px;
}

.field-radio-group legend {
  padding: 0 4px;
  flex: 1 1 100%;               /* ⬅ 占满一整行 */
  margin-bottom: 4px;
}

/* 让 New / Existing 之间有间距 */
.field-radio-group .radio-option {
  display: inline-flex !important;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  margin-right: 20px;    /* 两个选项之间的距离 */
  gap: 6px;              /* radio 和文字的距离 */
  white-space: nowrap;
}

.field-radio-group input[type="radio"] {
  margin: 0;         /* 取消浏览器默认 margin，交给 gap 控制 */
}

/* 提交按钮 */
.contact-submit-btn {
  margin-top: 4px;
  border: none !important;
  outline: none !important;
}

/* =========================
   右侧 side panel：Get in Touch
   ========================= */

.contact-side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  padding: 18px 18px 16px;
}
.left-side {
  width: 32px;     /* 固定图标宽度 */
  display: flex;
  justify-content: center;
  padding-top: 4px; /* 让图标与标题更平齐 */
}
/* SVG 图标统一风格 */
.left-side .icon {
  width: 28px;
  height: 28px;
  fill: var(--brand-red);   /* 品牌红色 */
}


.right-side h3 {
  margin: 0;
  font-size: 1.125rem;
}

.side-text,
.side-card p {
  color: #444;
  line-height: 1.6;
}

.side-phone {
  display: inline-block;
  font-weight: 900;
  color: var(--brand-red); 
  text-decoration: none;
  font-size: 1.125rem;
}

.side-phone:hover {
  text-decoration: underline;
}

.right-side .side-small {
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
  margin-top: 4px;
}

.side-note h4 {
  color: var(--brand-red); 
}

/* =========================
   底部 Why 区：沿用 homepage 的 why 样式
   这里只加一点点额外间距控制
   ========================= */

.contact-why {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 0;
}
