/* ================================================================
   template.css — Shared stylesheet for iLove Invoice template pages
   Design system mirrors index.html exactly
   ================================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --ink: #1a1714;
  --muted: #7a746e;
  --accent: #c84b2f;
  --accent-light: #fdf0ec;
  --border: #e2ddd8;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
}
html[data-theme="dark"] {
  --bg: #1a1714;
  --surface: #2a2622;
  --ink: #f5f3ef;
  --muted: #a09a94;
  --accent-light: #3d2b24;
  --border: #3d3935;
  --shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.hamburger {
  display: none;
  order: 1;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
}
.logo {
  font-family: 'DM Serif Display', serif;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 2rem;
}
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-text .name { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.nav-center {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; margin-right: 2rem; }
.toggle-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-menu { display: none; }
.nav-menu.open { display: block; }

@media (max-width: 768px) {
  nav { flex-wrap: nowrap; }
  .hamburger { display: flex; }
  .logo { order: 2; margin-left: 0.5rem; }
  .logo-text { display: none; }
  .logo-img { height: 32px; }
  .nav-center { display: none; }
  .nav-right { order: 3; margin-right: 0; }
  .nav-menu {
    display: none !important;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-menu.open { display: block !important; }
  .nav-menu .nav-links { flex-direction: column; gap: 0; }
  .nav-menu .nav-links a {
    display: block;
    padding: 13px 1.25rem;
    border-bottom: 1px solid var(--border);
  }
}

/* ── CONTENT WRAPPER ── */
.t-wrap { max-width: 960px; margin: 0 auto; padding: 0 1.25rem 4rem; }

/* ── BREADCRUMB ── */
.t-breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 1.25rem 0 0;
  margin-bottom: -1rem;
}
.t-breadcrumb a { color: var(--accent); }
.t-breadcrumb a:hover { text-decoration: underline; }
.t-breadcrumb span { margin: 0 0.35rem; }

/* ── HERO ── */
.t-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
}
.t-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.18;
  max-width: 700px;
  margin: 0 auto 1rem;
  color: var(--ink);
}
.t-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 1.75rem;
  font-weight: 300;
}
.t-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.t-cta:hover { opacity: 0.88; }

@media (max-width: 768px) {
  .t-hero { padding: 2rem 1rem 1.75rem; }
  .t-hero h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
}

/* ── SECTION ── */
.t-section { margin: 3rem 0; }
.t-section > h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.65rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
@media (max-width: 768px) {
  .t-section > h2 { font-size: 1.35rem; }
}

/* ── FEATURE CARDS (same seo-grid/seo-card as homepage) ── */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}
.seo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.seo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.11);
}
.seo-card .icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.seo-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.seo-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 560px) {
  .seo-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .seo-card { padding: 1rem; }
  .seo-card h3 { font-size: 0.9rem; }
  .seo-card p { font-size: 0.82rem; }
  .seo-card .icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
}

/* ── NUMBERED STEPS ── */
.t-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.t-steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.t-steps li::before {
  content: counter(step);
  background: var(--accent);
  color: #fff;
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.t-steps li strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.t-steps li p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ── COLLAPSIBLE SEO DETAILS ── */
.t-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.t-details summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  color: var(--ink);
  user-select: none;
  gap: 1rem;
}
.t-details summary::-webkit-details-marker { display: none; }
.t-details summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.t-details[open] summary::after { content: '−'; }
.t-details[open] summary { border-bottom: 1px solid var(--border); }
.t-details .detail-body {
  padding: 1.25rem 1.5rem;
  background: var(--bg);
}
.t-details .detail-body p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}
.t-details .detail-body p:last-child { margin-bottom: 0; }
.t-details .detail-body h4 {
  font-size: 0.97rem;
  font-weight: 600;
  margin: 1.1rem 0 0.45rem;
  color: var(--ink);
}
.t-details .detail-body h4:first-child { margin-top: 0; }
.t-details .detail-body ul {
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

/* ── FAQ ACCORDION ── */
.t-faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}
.t-faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.t-faq details[open] summary::after { content: '−'; }
.t-faq details p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.75;
}

/* ── CTA BOX ── */
.t-cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: var(--shadow);
}
.t-cta-box h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.t-cta-box p {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .t-cta-box { padding: 1.75rem 1.25rem; }
  .t-cta-box h2 { font-size: 1.3rem; }
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--ink);
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: 0.82rem;
  margin-top: 2rem;
}
footer a { color: var(--accent); }
footer a:hover { text-decoration: underline; }
.footer-links {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1rem;
  font-size: 0.82rem;
}

/* ================================================================
   TOOL STYLES — used by template pages that embed the invoice tool
   Mirrors index.html inline styles exactly
   ================================================================ */

/* ── HERO (matches homepage .hero) ── */
.hero {
  text-align: center;
  padding: 3.5rem 1rem 2rem;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto 0.75rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  color: var(--muted);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 300;
}
@media (max-width: 768px) {
  .hero { padding: 2rem 1rem 1.5rem; }
  .hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
}

/* ── TOOL LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 860px) {
  .container { grid-template-columns: 1fr; padding: 1rem; gap: 1.5rem; }
  .preview-col { order: -1; }
}
@media (max-width: 560px) {
  .container { padding: 1rem 0.75rem 2rem; }
}

/* ── CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}
.card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card h2 .num {
  width: 22px; height: 22px; background: var(--accent); color: #fff;
  border-radius: 50%; font-size: 0.7rem; font-family: 'DM Sans', sans-serif;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
@media (max-width: 560px) {
  .card { padding: 1.25rem; }
  .card h2 { font-size: 1rem; margin-bottom: 0.75rem; }
}

/* ── FORM ROWS ── */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.row.trio { grid-template-columns: 1fr 1fr 1fr; }
.row.full { grid-template-columns: 1fr; }
label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
input, textarea, select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  background: var(--bg); color: var(--ink); transition: border 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); background: var(--surface); }
textarea { resize: vertical; min-height: 68px; }
@media (max-width: 560px) {
  .row, .row.trio { grid-template-columns: 1fr; }
  input, textarea, select { padding: 10px; font-size: 0.95rem; }
}

/* ── LOGO UPLOAD ── */
.logo-upload {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 1.25rem; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 0.75rem; position: relative;
}
.logo-upload:hover { border-color: var(--accent); background: var(--accent-light); }
.logo-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-upload p { font-size: 0.82rem; color: var(--muted); }
.logo-upload .icon { font-size: 1.6rem; margin-bottom: 4px; }
#logo-preview { max-height: 70px; margin: 0.5rem auto 0; display: none; }

/* ── LINE ITEMS ── */
.items-table { width: 100%; border-collapse: collapse; margin-bottom: 0.75rem; }
.items-table th {
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 8px; background: var(--bg); text-align: left;
  border-bottom: 1px solid var(--border);
}
.items-table td { padding: 4px 4px; vertical-align: middle; }
.items-table input { background: var(--bg); border: 1px solid transparent; padding: 7px 9px; }
.items-table input:focus { background: var(--surface); border-color: var(--accent); }
.items-table .del-btn {
  background: none; border: none; color: #ccc; cursor: pointer;
  font-size: 1rem; padding: 4px 6px; border-radius: 4px; transition: color 0.15s;
}
.items-table .del-btn:hover { color: var(--accent); }
.add-item-btn {
  background: none; border: 1px dashed var(--border); color: var(--muted);
  padding: 8px 16px; border-radius: 7px; cursor: pointer; font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s; width: 100%;
}
.add-item-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── TOTALS ── */
.totals { margin-top: 1rem; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.totals .row-t { display: flex; justify-content: space-between; width: 240px; font-size: 0.9rem; }
.totals .row-t span:last-child { font-weight: 500; }
.totals .grand { border-top: 2px solid var(--ink); padding-top: 8px; font-weight: 700; font-size: 1.05rem; }
.totals input[type=number] { width: 70px; text-align: right; padding: 4px 6px; font-size: 0.85rem; }

/* ── ACTIONS / BUTTONS ── */
.actions { display: flex; gap: 0.75rem; flex-direction: column; position: relative; z-index: 10; }
.btn-primary {
  background: var(--accent); color: #fff; border: none;
  padding: 13px 16px; border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: opacity 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  background: var(--bg); color: var(--ink); border: 1px solid var(--border);
  padding: 13px 16px; border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── PREVIEW WRAPPER ── */
.preview-wrapper { display: flex; flex-direction: row; gap: 1.5rem; align-items: flex-start; }
.preview-wrapper > .card { flex: 1; position: sticky; top: 75px; }
.preview-wrapper .actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
@media (max-width: 768px) {
  .preview-wrapper { flex-direction: column; gap: 1rem; }
  .preview-wrapper > .card { position: static !important; }
  .preview-wrapper .actions { width: 100%; flex-direction: column; margin-top: 1rem; gap: 0.75rem; }
  .btn-primary, .btn-secondary { font-size: 0.85rem; padding: 12px 16px; }
}
@media (max-width: 560px) {
  .btn-primary, .btn-secondary { font-size: 0.8rem; padding: 10px; }
}

/* ── INVOICE PREVIEW ── */
.invoice-preview {
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 1.5rem; font-size: 0.8rem; line-height: 1.5; min-height: 560px;
}
.inv-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.inv-logo { max-height: 55px; max-width: 130px; object-fit: contain; }
.inv-title { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--accent); }
.inv-meta { margin-bottom: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; }
.inv-meta-block p { margin-bottom: 2px; }
.inv-meta-block .label { font-weight: 600; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }
.inv-parties { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.inv-parties .label { font-weight: 600; font-size: 0.72rem; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.inv-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.inv-table th { background: var(--ink); color: #fff; padding: 6px 8px; text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.inv-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); font-size: 0.8rem; }
.inv-table tr:nth-child(even) td { background: var(--bg); }
.inv-totals { display: flex; justify-content: flex-end; }
.inv-totals table { min-width: 200px; }
.inv-totals td { padding: 3px 8px; font-size: 0.82rem; }
.inv-totals td:last-child { text-align: right; font-weight: 500; }
.inv-totals .grand-row td { font-weight: 700; font-size: 0.95rem; border-top: 2px solid var(--ink); padding-top: 6px; }
.inv-notes { margin-top: 1.2rem; padding-top: 0.8rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }

/* ================================================================
   SEO TEXT SECTIONS — collapsible "see more" layout
   ================================================================ */
.seo-content-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}
.seo-text-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}
.seo-text-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.section-intro {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 0;
}
.section-body {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.section-body.collapsed { display: none; }
.section-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 1.25rem 0 0.5rem;
}
.section-body h3:first-child { margin-top: 0.5rem; }
.section-body p { margin-bottom: 0.75rem; }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul, .section-body ol { padding-left: 1.35rem; margin-bottom: 0.75rem; }
.section-body li { margin-bottom: 0.4rem; }
.section-body strong { color: var(--ink); }
.see-more-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  padding: 0.45rem 0;
  font-size: 0.91rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'DM Sans', sans-serif;
  margin: 0.6rem 0 1.25rem;
  transition: opacity 0.15s;
}
.see-more-btn:hover { opacity: 0.7; }
.section-cta-bar {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .seo-text-section { padding: 1.25rem; }
  .seo-text-section h2 { font-size: 1.2rem; }
  .seo-content-wrap { padding: 0 0.75rem 3rem; }
}

/* ── LANGUAGE SELECT ── */
#language-select {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
}
html[data-theme="dark"] #language-select { background: var(--surface); color: var(--ink); }

/* ── TAGLINE-SMALL (hidden, for homepage parity) ── */
.logo-text .tagline-small { display: none; }

/* ── CTA BADGE ROW ── */
.cta-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.cta-badges span::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--accent-light);
  padding: 3rem 1.25rem;
  margin: 0;
}
.contact-container { max-width: 600px; margin: 0 auto; }
.contact-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--ink);
  text-align: center;
}
.contact-section > .contact-container > p {
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  background: var(--accent); color: #fff; border: none;
  padding: 14px 28px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s; width: 100%;
  font-family: 'DM Sans', sans-serif;
}
.contact-form button:hover { opacity: 0.88; }
.contact-success {
  display: none; text-align: center; color: #27ae60;
  padding: 1rem; background: #d5f4e6;
  border-radius: 8px; margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .contact-section { padding: 2rem 1rem; }
  .contact-section h2 { font-size: 1.4rem; }
  .contact-form button { font-size: 0.9rem; padding: 12px 20px; }
}
