/* =========================================================
   Avori Website - Layout Styles
   UI area affected: structural page layout.
   Purpose: controls header/nav placement, footer layout, and
   reusable grid rows used by sections such as workflows,
   value band, security, cloud environment, FAQ, and About.
   Load order: after base.css, before components.css.
========================================================= */

/* Header/navigation shell at the top of the hero section. */
.nav {
  position: relative;
  z-index: 2;
  padding: 24px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Header grid: logo on left, nav links center, Book Demo CTA right. */
.nav-row {
  display: grid;
  grid-template-columns: 265px 1fr auto;
  align-items: start;
  gap: 32px;
}

/* Logo image sizing for the header brand. */
.brand-img {
  width: 210px;
  height: auto;
  display: block;
  margin-top: -8px;
}

/* Desktop navigation link row. Hidden on smaller screens in responsive.css. */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 750;
  color: rgba(255,255,255,.92);
}

.nav-links a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

/* Header-specific sizing for the Book Demo button. */
.nav .btn {
  padding: 14px 26px;
  margin-top: 3px;
  font-size: 15px;
}

/* Three-column workflow cards layout in the “Use Cases” section. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Four-column value band layout: Save Hours, Improve Accuracy, etc. */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Two-column enterprise/security section: intro copy + security grid. */
.enterprise-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
}

/* Security feature grid layout. Individual cards are styled in sections/components. */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

/* “Works with your environment” layout: title left, provider logos right. */
.env-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  gap: 30px;
}

/* Four-column cloud/on-prem logo row. */
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

/* FAQ section layout: heading left, accordion list right. */
.faq-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 30px;
}

/* Footer band at the bottom of the page. */
footer {
  background: #03182d;
  color: #fff;
  padding: 18px 0 23px;
}

/* Footer grid: logo, footer links, legal text. */
.footer-row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 30px;
}

/* Footer-specific logo sizing. */
footer .brand-img {
  width: 174px;
  margin: -6px 0 -8px;
}

/* Footer navigation links. */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 44px;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

/* Footer copyright and policy text. */
.legal {
  text-align: right;
  color: rgba(255,255,255,.76);
  font-size: 12px;
}

.legal div:last-child {
  margin-top: 12px;
}

/* About Us section layout: copy/CTA left, Avco card right. */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}