/* 湖南鞋鱼家政 — 静态官网样式 */

:root {
  --color-bg: #f6f8f9;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-muted: #5c6b7a;
  --color-accent: #0d6b5c;
  --color-accent-hover: #095548;
  --color-border: #dce3e8;
  --color-hero: #0a3d35;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(10, 61, 53, 0.08);
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.container-narrow {
  width: min(560px, 92vw);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.nav a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s;
}

.nav-toggle::before {
  top: 14px;
  box-shadow: 0 6px 0 var(--color-text);
}

.nav-toggle::after {
  bottom: 14px;
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 19px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  opacity: 1;
  bottom: 19px;
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem 4vw 1.25rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }
}

/* Hero */

.hero {
  background: linear-gradient(145deg, var(--color-hero) 0%, #134d42 50%, #0d6b5c 100%);
  color: #e8f5f2;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.hero-inner {
  max-width: 720px;
}

.hero-tag {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-notice {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.6;
  border-left: 3px solid rgba(255, 255, 255, 0.35);
  padding-left: 0.85rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: #fff;
  color: var(--color-hero);
}

.btn-primary:hover {
  background: #e8f5f2;
  text-decoration: none;
}

.hero .btn-primary {
  background: #fff;
  color: var(--color-hero);
}

.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

section .btn-primary {
  background: var(--color-accent);
  color: #fff;
}

section .btn-primary:hover {
  background: var(--color-accent-hover);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-muted);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Sections */

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 2.5rem;
  max-width: 640px;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-accent);
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Services */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.service-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.service-icon {
  color: var(--color-accent);
  font-size: 0.75rem;
  line-height: 1.8;
  flex-shrink: 0;
}

.service-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.service-list span:last-child {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Form */

.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.req {
  color: #c43d3d;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 107, 92, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-check input {
  width: auto;
  margin-top: 0.35rem;
}

.form-check label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-row .field-error {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #c43d3d;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.contact-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: var(--color-accent);
}

.contact-card p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  background: var(--color-hero);
  color: #b8d4ce;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.35rem 0;
}

.footer-inner strong {
  color: #fff;
}

.footer-muted {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Modal */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.45);
}

.modal-panel {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: min(440px, 92vw);
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.modal-panel p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.modal-panel .btn {
  width: 100%;
}
