/* Yevoli Enterprises Inc. — local recreation of the Squarespace site
   Palette: black hero, white sections, navy #253551 accent
   Type: Acumin Pro (headings, w/ fallbacks), Poppins (body/UI) */

:root {
  --navy: #253551;
  --black: #000;
  --white: #fff;
  --text: #000;
  --heading-font: "acumin-pro", "Acumin Pro", "Helvetica Neue", Poppins, Arial, sans-serif;
  --body-font: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--body-font);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

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

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.23;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.96rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.78rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.19rem); }

p { font-size: clamp(1rem, 1.4vw, 1.2rem); }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1.26em 2.1em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn--solid  { background: var(--white); color: var(--black); }
.btn--dark   { background: var(--black); color: var(--white); }
.btn--light  { background: var(--white); color: var(--navy); }
.btn--small  { padding: 0.9em 1.6em; }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); opacity: 1; }

/* Header (transparent, over hero) */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 3vw;
  z-index: 10;
}
.site-title {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
}
.site-nav a:not(.btn):hover { opacity: 0.7; }
.site-nav .btn--outline { padding: 0.9em 1.8em; }

/* Light header variant for interior pages (white bg, dark text, in normal flow) */
.site-header--light {
  position: static;
  background: var(--white);
}
.site-header--light .site-title,
.site-header--light .site-nav a { color: var(--text); }
.site-header--light .btn--outline {
  color: var(--text);
  border-color: var(--text);
}
.site-header--light .btn--outline:hover { background: var(--black); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("images/hero.jpg") center / cover no-repeat;
  color: var(--white);
}
.hero-content {
  max-width: 820px;
  padding: 10rem 6vw 6rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-content p {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  margin-bottom: 2.5rem;
}

/* Generic section spacing */
.section { padding: 6rem 0; }

/* Two-column layouts */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.col-text h2 { margin-bottom: 1.5rem; }
.col-text p { margin-bottom: 1.4rem; }
.col-text .btn { margin-top: 1rem; }

/* Services */
.section-label {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.service-card h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 0.5rem;
}
.service-card p { margin-bottom: 1.25rem; }
.service-name {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.audit-band {
  margin-top: 4rem;
  padding: 2.5rem 3rem;
  background: #f4f2ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.audit-band p { margin: 0; flex: 1 1 420px; }
.audit-band .btn { white-space: nowrap; }

/* About */
.about .col-text h1 { margin-bottom: 0.5rem; }
.about p strong { font-weight: 500; }

/* Trusted by */
.trusted { text-align: center; }
.trusted h1 { margin-bottom: 3.5rem; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
.logo-strip img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.logo-item figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

/* Contact */
.contact {
  background: var(--navy);
  color: var(--white);
  min-height: 528px;
  display: flex;
  align-items: center;
}
.contact-inner {
  width: 100%;
  text-align: center;
}
.contact h3 { margin-bottom: 1.25rem; }
.contact-sub {
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1 1 220px;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  padding: 1.1em 1.2em;
  border: none;
  background: var(--white);
  color: var(--text);
}
.signup-form input:focus { outline: 2px solid rgba(255, 255, 255, 0.6); }

/* Interior pages */
.page-content { padding: 5rem 0 6rem; }
.container.narrow { max-width: 900px; }
.page-title { margin-bottom: 2rem; }
.page-content p { margin-bottom: 1.4rem; }

/* Blog list */
.blog-list { display: flex; flex-direction: column; gap: 4rem; }
.blog-item time { font-size: 0.95rem; opacity: 0.7; }
.blog-item h2 { margin: 0.4rem 0 0.75rem; }
.blog-item h2 a { color: var(--text); text-decoration: none; }
.blog-item h2 a:hover { opacity: 0.7; }
.blog-item p { margin-bottom: 0.75rem; }
.read-more {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.read-more:hover { opacity: 0.7; }

/* Contact form */
.contact-form { margin-top: 3rem; max-width: 720px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { margin-bottom: 1.5rem; }
.form-field label, .form-field legend {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.form-field .req { opacity: 0.6; font-size: 0.85rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field textarea {
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.85em 1em;
  border: 1px solid #ccc;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--navy); }
fieldset.form-field { border: none; }
.form-field .check {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.form-field .check input { margin-right: 0.6em; }

/* Footer */
.site-footer {
  padding: 5rem 0 3rem;
  text-align: center;
}
.site-footer h3 { margin-bottom: 1.5rem; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}
.footer-nav a:hover { opacity: 0.7; }
.footer-credit { font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .two-col, .service-grid { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; gap: 1rem; }
  .hero-content { padding-top: 14rem; }
  .hero { min-height: 640px; }
  .logo-strip { gap: 2.5rem; }
  .logo-strip img { max-height: 50px; }
}
