/* ======= American Ink Print Shop ======= */
:root {
  --navy: #1b2a4a;
  --navy-dark: #121d33;
  --red: #b02a30;
  --red-dark: #8e2125;
  --cream: #faf6ec;
  --cream-dark: #f1e9d6;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --border: #e3dcc8;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(27, 42, 74, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow { max-width: 760px; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
}

h2 { font-size: 2rem; margin-bottom: 0.5rem; text-align: center; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

/* ======= Header ======= */
.site-header { position: sticky; top: 0; z-index: 100; }

.topbar {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
  background: var(--cream);
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: var(--white);
}

.main-nav { display: flex; gap: 4px; }

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.phone-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  background: var(--red);
  padding: 8px 14px;
  border-radius: 6px;
}

.phone-link:hover { background: var(--red-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
}

/* ======= Hero ======= */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: var(--white);
  text-align: center;
  padding: 64px 0 72px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--cream);
  background: var(--cream);
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: #d9d2bd;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-contact { margin-top: 22px; color: #d9d2bd; }
.hero-contact a { color: var(--white); font-weight: 700; }

/* ======= Buttons ======= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.btn-block { display: block; text-align: center; margin-top: 16px; }
.btn-large { font-size: 1.1rem; padding: 14px 36px; }
.btn-disabled { opacity: 0.65; cursor: not-allowed; }

/* ======= Trust strip ======= */
.trust-strip { background: var(--red); color: var(--white); }

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { font-size: 0.9rem; opacity: 0.9; }

/* ======= Sections ======= */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ======= Product cards ======= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.section-alt .product-card { background: var(--cream); }

.product-card h3 {
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
}

.specs { list-style: none; margin: 12px 0 16px; font-size: 0.92rem; }
.specs li { margin-bottom: 4px; }
.specs strong { color: var(--navy); }

.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 4px; }
.price-table th, .price-table td { padding: 7px 10px; text-align: left; }
.price-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-table thead th:first-child { border-radius: 6px 0 0 0; }
.price-table thead th:last-child { border-radius: 0 6px 0 0; }
.price-table tbody tr:nth-child(even) { background: rgba(27,42,74,0.05); }
.price-table tbody td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }

.price-note { text-align: center; margin-top: 28px; color: var(--muted); }

/* ======= Catalog ======= */
.catalog-search { max-width: 520px; margin: 0 auto 28px; }

.catalog-search input {
  width: 100%;
  padding: 13px 18px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.catalog-search input:focus { outline: none; border-color: var(--navy); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.catalog-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.catalog-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.catalog-item p { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.catalog-item a { font-weight: 700; font-size: 0.9rem; }

.quote-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

.catalog-empty { text-align: center; color: var(--muted); margin-top: 20px; }

/* ======= Quote form ======= */
.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }

.form-field label { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }

.form-field .optional { font-weight: 400; color: var(--muted); }

.field-hint { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }

.hidden-field { display: none; }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form-hint {  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}

/* ======= Pay section ======= */
.pay-steps { margin: 0 auto 28px; max-width: 560px; font-size: 1.05rem; }
.pay-steps li { margin-bottom: 10px; }

.pay-box { text-align: center; }

.pay-note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ======= Contact ======= */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.contact-card:hover { border-color: var(--red); transform: translateY(-2px); }

.contact-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-value { font-size: 1.15rem; font-weight: 700; color: var(--navy); word-break: break-all; }

/* ======= Footer ======= */
.site-footer { background: var(--navy-dark); color: #cfc8b2; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
  background: var(--cream);
}

.footer-brand strong { color: var(--white); font-size: 1.2rem; font-family: Georgia, serif; }
.footer-brand p { font-size: 0.9rem; }

.footer-contact p { margin-bottom: 4px; text-align: right; }
.footer-contact a { color: #cfc8b2; text-decoration: none; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; padding-bottom: 20px; }
.footer-bottom p { font-size: 0.85rem; text-align: center; }

/* ======= Responsive ======= */
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-toggle { display: block; }
  .site-header { position: sticky; }
  .topbar-inner { position: relative; }
  .phone-link { font-size: 0.85rem; padding: 8px 10px; }
  .hero h1 { font-size: 2rem; }
  .trust-inner { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact p { text-align: center; }
  .quote-form { padding: 22px 18px; }
  .section { padding: 48px 0; }
}
