/* A&AL INSURANCES LLC — aalinsurances.com */

:root {
  --navy: #10233f;
  --navy-deep: #0b1a30;
  --navy-soft: #1c3a63;
  --accent: #c07a2d;
  --accent-dark: #a2621f;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --ink: #1f2733;
  --ink-soft: #4a5568;
  --line: #dde3ea;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}

.brand-sub {
  font-size: 0.8rem;
  color: #c8d3e2;
}

.header-phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-phone:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}

.hero h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
  max-width: 34ch;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #dbe4f0;
  max-width: 60ch;
}

.hero .cta {
  display: inline-block;
  margin-top: 1.75rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
}

.hero .cta:hover {
  background: var(--accent-dark);
}

/* Sections */

section {
  padding: 2.75rem 0;
}

section h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-alt {
  background: var(--off-white);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Business info */

.business-info dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.business-info .info-row {
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}

.business-info dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
}

.business-info dd {
  font-size: 1rem;
  color: var(--ink);
}

.business-info a {
  color: var(--navy);
}

/* Form */

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 640px;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  font-family: var(--font);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy-soft);
  outline-offset: 1px;
  border-color: var(--navy-soft);
}

.consent-group {
  margin: 1.4rem 0 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.consent-item input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.consent-item label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.consent-item a {
  color: var(--navy);
}

.consent-es {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: #8b94a3;
  line-height: 1.45;
}

.consent-es em {
  font-style: italic;
}

.consent-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.submit-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.submit-btn:hover {
  background: var(--navy-soft);
}

.form-links {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-links a {
  color: var(--navy);
}

/* Legal pages */

.legal-main {
  padding: 2.5rem 0 3rem;
}

.legal-main h1 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.legal-main h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.75rem 0 0.6rem;
}

.legal-main p,
.legal-main li {
  font-size: 0.97rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.legal-main ul {
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}

.legal-main a {
  color: var(--navy);
}

.clause-highlight {
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.1rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 0.75rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #c8d3e2;
  padding: 2rem 0;
  font-size: 0.87rem;
  line-height: 1.7;
}

.site-footer p {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-top: 0.75rem;
}

.footer-links a {
  text-decoration: underline;
}

/* Desktop */

@media (min-width: 700px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-info dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }

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