/* ==========================================================================
   Kaimila Water · English site
   Layered on top of style.css + inner.css: re-typesets the English pages and
   adds the components the English pages need (spec tables, FAQ, CTA band).
   ========================================================================== */

.en-body {
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.en-body .brand-text strong { font-size: 15.5px; letter-spacing: 0.01em; }
.en-body .brand-text em { font-size: 10px; letter-spacing: 0.14em; }
.en-body .nav a { font-size: 14px; }
.en-body .section-head h2,
.en-body .hero-title { letter-spacing: -0.025em; }
.en-body .footer-nav h4 { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

/* ---------- hero ---------- */
.en-hero {
  position: relative;
  padding: 56px 0 8px;
  overflow: hidden;
}
.en-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 40% -10%;
  background:
    radial-gradient(46% 52% at 18% 22%, rgba(86, 197, 150, 0.16), transparent 70%),
    radial-gradient(40% 46% at 82% 12%, rgba(46, 155, 214, 0.13), transparent 72%);
  pointer-events: none;
}
.en-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 44px;
}
.en-hero-copy .hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  margin: 16px 0 20px;
}
/* 主副标题三层结构：第一行最大最粗（hero-title 本体），
   第二行次之用品牌绿，第三行小字斜体做信任标语 */
.en-hero-copy .hero-title .hero-sub {
  display: inline-block;
  font-size: 0.56em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--green);
  margin-top: 8px;
}
.en-hero-copy .hero-title .hero-tag {
  display: inline-block;
  font-size: 0.34em;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  margin-top: 12px;
}
.en-hero-copy .hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 560px;
}
.en-hero-copy .hero-cta { margin-top: 28px; }
.en-hero-copy .hero-points { margin-top: 26px; }

.en-quick {
  padding: 26px 26px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  backdrop-filter: blur(8px);
}
.en-quick-head { margin-bottom: 16px; }
.en-quick-kicker {
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green);
}
.en-quick-head h2 { font-size: 21px; margin-top: 4px; letter-spacing: -0.02em; }
.en-quick-list { display: grid; gap: 0; }
.en-quick-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 13.5px;
}
.en-quick-list dt { color: var(--muted); }
.en-quick-list dd { color: var(--ink); font-weight: 600; text-align: right; }
.en-quick .daily-link { margin-top: 18px; }

/* ---------- section rhythm ---------- */
.en-section { padding: 64px 0; }
.en-section-tight { padding-top: 40px; }
.en-section-alt { background: var(--bg-2); }
.en-narrow { max-width: 880px; }
.en-h2 {
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.en-section .en-h2 + .en-p { margin-top: -4px; }
.en-p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.en-p:last-child { margin-bottom: 0; }
.en-list { display: grid; gap: 10px; margin-top: 4px; }
.en-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}
.en-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.55;
}
.en-note {
  margin-top: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--surface-alt);
  border-left: 3px solid var(--line-2);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

/* ---------- feature grid ---------- */
.en-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.en-feature {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.en-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.en-feature-no {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  opacity: 0.75;
  margin-bottom: 12px;
}
.en-feature h3 { font-size: 16.5px; line-height: 1.4; margin-bottom: 8px; }
.en-feature p { font-size: 13.5px; line-height: 1.75; color: var(--muted); }

/* ---------- applications ---------- */
.en-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.en-app {
  display: block;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.en-app:hover { border-color: rgba(18, 128, 92, 0.3); transform: translateY(-3px); }
.en-app h3 { font-size: 15px; line-height: 1.4; margin-bottom: 6px; color: var(--ink); }
.en-app p { font-size: 12.8px; line-height: 1.7; color: var(--muted); }

/* ---------- tables ---------- */
.en-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}
.en-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.en-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.en-table tbody td,
.en-table tbody th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.6;
  vertical-align: top;
}
.en-table tbody tr:last-child td,
.en-table tbody tr:last-child th { border-bottom: 0; }
.en-table tbody tr:hover { background: #FAFEFC; }
.en-table tbody td strong { color: var(--ink); font-weight: 600; }
.en-table-2 tbody th {
  width: 34%;
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-alt);
}

/* ---------- FAQ ---------- */
.en-faq { display: grid; gap: 10px; }
.en-faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0 20px;
  box-shadow: var(--shadow-s);
  transition: border-color 0.25s var(--ease);
}
.en-faq details[open] { border-color: rgba(18, 128, 92, 0.28); }
.en-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  padding-right: 26px;
  position: relative;
}
.en-faq summary::-webkit-details-marker { display: none; }
.en-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.25s var(--ease);
}
.en-faq details[open] summary::after { content: "−"; }
.en-faq-body { padding: 0 0 18px; }
.en-faq-body p { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }

/* ---------- inner pages ---------- */
.en-page { padding: 8px 0 24px; }
.en-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding-top: 8px;
}
.en-page-main { min-width: 0; }
.en-page-main .list-head { max-width: 760px; }
.en-page-main .list-head h1 {
  font-size: clamp(27px, 3.2vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.en-page-main .list-intro { font-size: 16.5px; line-height: 1.8; }
.en-page-main .en-section:first-of-type { padding-top: 36px; }

.en-figure {
  margin: 28px 0 8px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}
.en-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.en-figure figcaption {
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.en-app-block {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.en-app-block:first-of-type { border-top: 0; padding-top: 12px; }
.en-app-block .en-h2 { font-size: 21px; margin-bottom: 8px; }

/* ---------- aside ---------- */
.en-aside { position: sticky; top: 92px; display: grid; gap: 14px; }
.en-aside-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.en-aside-kicker {
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 8px;
}
.en-aside-card h3 { font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.en-aside-card h4 { font-size: 14px; margin-bottom: 6px; }
.en-aside-card p { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }
.en-aside-tel,
.en-aside-mail {
  display: block;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
  word-break: break-word;
}
.en-aside-mail { font-size: 14px; }
.en-aside-card .btn { margin-top: 8px; width: 100%; justify-content: center; }
.en-aside-note { background: var(--surface-alt); box-shadow: none; }

/* ---------- CTA band ---------- */
.en-cta {
  padding: 12px 0 72px;
}
.en-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 42px;
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, #0F6B4E 0%, #12805C 55%, #1C9A6E 100%);
  box-shadow: var(--shadow-l);
}
.en-cta-inner h2 {
  font-size: clamp(21px, 2.4vw, 28px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.en-cta-inner p { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); max-width: 620px; }
.en-cta-inner .btn-primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
.en-cta-inner .btn-primary:hover { background: #F1FBF6; color: var(--green-dark); }

/* ---------- jar test strip ---------- */
.en-jar { margin-top: 52px; }
.en-body .jar-card figcaption { font-size: 13px; }
.en-body .jar-card figcaption strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--ink);
}
.en-jar-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---------- contact ---------- */
.en-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 8px;
}
.en-contact-card {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
}
.en-contact-card span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.en-contact-card a,
.en-contact-card strong {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-word;
}
.en-contact-card a:hover { color: var(--green-dark); }

.en-form {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.en-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.en-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.en-form input,
.en-form select,
.en-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xs);
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.en-form input:focus,
.en-form select:focus,
.en-form textarea:focus {
  border-color: var(--green);
  background: #fff;
}
.en-form input:user-invalid { border-color: #D9534F; }
.en-form textarea { resize: vertical; }
.en-form-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; line-height: 1.7; }
.en-form-status { margin-top: 12px; font-size: 13.5px; color: var(--green-dark); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .en-feature-grid,
  .en-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-page-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .en-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .en-hero { padding-top: 34px; }
  .en-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .en-hero-copy .hero-title { font-size: clamp(30px, 8vw, 42px); }
  .en-section { padding: 48px 0; }
  .en-cta-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .en-cta-inner .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .en-feature-grid,
  .en-app-grid,
  .en-contact-cards,
  .en-form-row,
  .en-aside { grid-template-columns: minmax(0, 1fr); }
  .en-section { padding: 40px 0; }
  .en-table { font-size: 13px; }
  .en-table thead th,
  .en-table tbody td,
  .en-table tbody th { padding: 11px 13px; }
  .en-form { padding: 20px; }
  .en-page-main .list-head h1 { font-size: 27px; }
}
