/* ============================================================
   Plymouth Surface — Professional Wallpaper Installation
   Plymouth, MI
   Stylesheet: css/style.css
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cream: #FBF8F3;
  --cream-deep: #F3ECE1;
  --white: #FFFFFF;
  --ink: #16202C;
  --ink-soft: #4A5A6B;
  --ink-mute: #6E7C8B;
  --gold: #C8A24A;
  --gold-dark: #A9863A;
  --gold-soft: #E7D7B0;
  --beige: #EFE6D8;
  --line: #E6DFD3;
  --danger: #ff6b6b;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(22, 32, 44, 0.06);
  --shadow: 0 14px 34px rgba(22, 32, 44, 0.09);
  --shadow-lg: 0 26px 60px rgba(22, 32, 44, 0.14);

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.32rem); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  background-image: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #21190A;
  box-shadow: 0 10px 24px rgba(169, 134, 58, .28);
}
.btn-primary:hover {
  color: #21190A;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(169, 134, 58, .34);
}

.btn-outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .7);
  color: var(--white);
  backdrop-filter: blur(2px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover {
  background: #22303F;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
}
.brand-tagline {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-mute);
}
.brand:hover .brand-name { color: var(--gold-dark); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .22s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
  color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 30px; }

/* Mobile nav toggle (CSS only) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 780px);
  padding: 120px 0 96px;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 18, 26, .90) 0%, rgba(11, 18, 26, .74) 42%, rgba(11, 18, 26, .34) 78%, rgba(11, 18, 26, .48) 100%),
    linear-gradient(to top, rgba(11, 18, 26, .55) 0%, rgba(11, 18, 26, 0) 45%);
}

.hero-content { max-width: 780px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}
.hero .eyebrow { color: var(--gold-soft); }

.hero h1 {
  color: var(--white);
  margin-bottom: .45em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: rgba(255, 255, 255, .9);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 24px;
}
.hero-benefits li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, .92);
  font-size: .96rem;
  font-weight: 500;
}
.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-lead { font-size: 1.05rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-copy .btn { margin-top: 12px; }

.check-list { margin: 22px 0 26px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream-deep);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .5em; }
.card p { font-size: .97rem; }

/* ---------- Why us ---------- */
.why-us { background: var(--cream-deep); }
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
}
.benefit-list { display: grid; gap: 22px; margin-top: 8px; }
.benefit-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.benefit-list h3 { font-size: 1.08rem; margin-bottom: .3em; }
.benefit-list p { font-size: .95rem; margin: 0; }

.why-media { display: grid; gap: 22px; position: sticky; top: 110px; }
.why-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-grid figure:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 14px 18px 16px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: var(--white);
}

/* ---------- Service area ---------- */
.service-area { background: var(--cream-deep); }
.area-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.address-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 26px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  line-height: 1.9;
}
.address-block strong { color: var(--ink); }
.area-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.req { color: var(--gold-dark); }
.opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink-mute);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }

.field input::placeholder,
.field textarea::placeholder { color: #9AA6B2; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, .18);
}

.form-note {
  font-size: .84rem;
  color: var(--ink-mute);
  margin: 12px 0 0;
  text-align: center;
}

.error-message {
  color: var(--danger);
  margin-top: 5px;
  font-size: 14px;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-success {
  background: #F1F7F0;
  border: 1px solid #CFE3CB;
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.form-success h3 { color: #2F6B36; margin-bottom: .4em; }
.form-success p { color: #3D6B43; margin: 0; }

.contact-info {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}
.contact-info h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1em;
}
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin: 0;
  font-size: .97rem;
}
.contact-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.contact-info a { color: var(--white); }
.contact-info a:hover { color: var(--gold-soft); }
.contact-info .btn { margin-top: 22px; }
.contact-info .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.contact-info .btn-ghost:hover { color: var(--ink); background: var(--white); border-color: var(--white); }

.map-embed {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
}
.map-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-brand .brand-mark { background: var(--gold); color: #21190A; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--white);
  margin: 16px 0 8px;
}
.footer-desc { font-size: .95rem; color: rgba(255, 255, 255, .7); }

.footer-col h3 {
  color: var(--white);
  font-size: .84rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li { font-size: .93rem; color: rgba(255, 255, 255, .72); }
.footer-col a { color: rgba(255, 255, 255, .82); }
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .86rem;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid,
  .why-grid,
  .area-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-media { position: static; grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav-toggle-label { display: flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 520px; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 0;
  }
  .site-nav ul li { border-bottom: 1px solid var(--line); }
  .site-nav ul a { display: block; padding: 15px 0; font-size: 1rem; }
  .site-nav ul a::after { display: none; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px 24px 24px;
  }
  .nav-phone { text-align: center; padding: 6px 0; }
  .header-inner { position: relative; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 92px 0 72px; min-height: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-benefits { gap: 10px 20px; }
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .why-media { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form-wrap,
  .contact-info { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .brand-tagline { display: none; }
  .btn { padding: 14px 22px; font-size: 15px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-actions, .map-embed, .contact-info .btn { display: none; }
  body { background: #fff; }
}
