/* Sarasota Supply Co  -  draft marketing site
   Palette: cream/sand, charcoal ink, coral #EE755A from the logo
*/

:root {
  --cream: #F6F0E6;
  --sand: #EBE3D4;
  --paper: #FBF7F0;
  --ink: #1C1916;
  --slate: #3A342E;
  --grey: #5C564E;
  --line: #DDD4C6;
  --coral: #EE755A;
  --coral-dark: #D45E45;
  --header: #1A1E20;
  --hero-ink: #F6F0E6;
  --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --max: 1140px;
  --header-h: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

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

a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.nowrap { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 14px;
  font-size: 0.85rem;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header);
  border-bottom: 3px solid var(--coral);
}

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

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 58px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.site-nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #E8E2D8;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; }

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--coral);
}

.nav-phone {
  color: #fff !important;
  font-weight: 700;
}

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.62rem 0.95rem;
  box-shadow: none !important;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--coral-dark); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: #fff;
  width: 100%;
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.35rem;
  border: 2px solid var(--coral);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */

.hero {
  position: relative;
  min-height: calc(72vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 72px 0 80px;
  background:
    linear-gradient(105deg, rgba(20, 18, 16, 0.78) 0%, rgba(20, 18, 16, 0.52) 52%, rgba(20, 18, 16, 0.32) 100%),
    url("../images/hero.jpg") center 40% / cover no-repeat;
  color: var(--hero-ink);
}

.hero-copy { max-width: 680px; }

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero p {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #EDE6DA;
  max-width: 36em;
}

/* Sections */

.section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-paper { background: var(--paper); }

.section-head { margin: 0 0 40px; }
.section-head.center { text-align: center; }

.section-head h2,
.page-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--grey);
  font-size: 1.08rem;
  max-width: 42em;
}
.section-head.center p { margin-inline: auto; }

/* Supply tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tile {
  background: var(--paper);
  border-top: 3px solid var(--coral);
  padding: 28px 24px 32px;
}

.tile-num {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--coral);
  letter-spacing: 0.06em;
}

.tile h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.25rem;
}

.tile p { margin: 0; color: var(--grey); font-size: 1rem; }

/* Featured hardware band */

.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-band img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 40%;
}

.feature-band h2 { margin-top: 0; }
.band-cta { margin-top: 22px; }
.file-input { margin-top: 8px; }

/* Product cards */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product:hover {
  box-shadow: 0 8px 24px rgba(28, 25, 22, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.product-photo {
  aspect-ratio: 1 / 1;
  background: #f3f1ec;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body { padding: 16px 16px 18px; }
.product-vendor {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.product-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.product-price {
  margin: 0;
  font-weight: 600;
  color: var(--slate);
}

/* Legacy controls */

.legacy {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: stretch;
}

.legacy-photo {
  min-height: 360px;
  background:
    linear-gradient(0deg, rgba(26, 30, 32, 0.15), rgba(26, 30, 32, 0.15)),
    url("../images/plant.jpg") center / cover no-repeat;
}

.legacy-copy {
  background: var(--header);
  color: #EDE6DA;
  padding: 56px 48px;
}

.legacy-copy h2 { color: #fff; margin: 0 0 16px; }
.legacy-copy p { margin: 0 0 18px; color: #E0D8CC; }
.legacy-copy ul {
  margin: 0 0 28px;
  padding: 0 0 0 1.15em;
  color: #E0D8CC;
}
.legacy-copy li { margin: 0 0 8px; }

/* Who we work with */

.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience li {
  list-style: none;
  background: var(--paper);
  border-left: 3px solid var(--coral);
  padding: 22px 20px;
  margin: 0;
  color: var(--slate);
}

.audience { padding: 0; margin: 0; }

/* Closing CTA */

.cta-block {
  text-align: center;
  padding: 4px 0;
}
.cta-block h2 { margin: 0 0 12px; }
.cta-block p { margin: 0 auto 24px; }

/* About */

.page-hero {
  padding: 56px 0 28px;
}
.page-hero.photo {
  background:
    linear-gradient(105deg, rgba(20, 18, 16, 0.72) 0%, rgba(20, 18, 16, 0.45) 100%),
    url("../images/plant.jpg") center / cover no-repeat;
  color: #fff;
  padding: 72px 0;
}
.page-hero.photo .page-title,
.page-hero.photo .lead { color: #fff; }

.about-body { max-width: 720px; }
.about-body p { color: var(--grey); font-size: 1.08rem; }
.about-body ul { color: var(--grey); padding-left: 1.15em; }
.about-body li { margin: 0 0 6px; }
.provenance-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--coral);
  background: var(--paper);
  color: var(--grey);
  font-size: 1rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.value {
  background: var(--paper);
  padding: 24px 22px;
  border-top: 3px solid var(--coral);
}
.value p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.35; text-wrap: balance; }

/* Quote */

.quote-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 88px;
}

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.req { color: var(--coral-dark); }
.hint { font-weight: 400; color: var(--grey); }

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #C9BFB0;
  padding: 10px 12px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--coral);
  outline-offset: 0;
  border-color: var(--coral);
}

.contact-card {
  background: var(--header);
  color: #EDE6DA;
  padding: 32px 28px;
}
.contact-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: #fff;
}
.contact-card p { margin: 0 0 8px; }
.contact-card a { color: #fff; text-decoration: none; }
.contact-card a:hover { color: var(--coral); }
.fine-print { margin: 14px 0 0; color: var(--grey); font-size: 0.95rem; }

/* Footer */

.site-footer {
  background: var(--header);
  color: #C9C2B6;
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 12px; }
.footer-meta, .footer-meta a {
  margin: 0 0 4px;
  color: #C9C2B6;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-meta a:hover { color: #fff; }
.footer-copy {
  margin: 18px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Responsive */

@media (max-width: 960px) {
  .tiles, .products, .audience, .values { grid-template-columns: 1fr 1fr; }
  .feature-band, .legacy, .quote-layout { grid-template-columns: 1fr; }
  .legacy-photo { min-height: 240px; }
  .legacy-copy { padding: 40px 28px; }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header);
    border-bottom: 3px solid var(--coral);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 24px; }
  .site-nav .nav-cta { margin: 8px 24px 4px; text-align: center; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .tiles, .products, .audience, .values, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .brand img { height: 48px; }
  .feature-band img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
