/**
 * PROPRIETARY SOFTWARE NOTICE
 *
 * This website, source code, database structure, administrative system,
 * and all related components were developed by Pro Star CMS Development.
 *
 * This system is privately developed, maintained in-house, and contains
 * proprietary and confidential software, processes, and intellectual property.
 *
 * Access to this source code does not grant permission to copy, modify,
 * distribute, disclose, reverse engineer, reuse, or reproduce any portion
 * of this system without prior written authorization.
 *
 * Authorized technical personnel may review this code only as necessary
 * to perform approved hosting, maintenance, security, or support services.
 *
 * For questions, authorization, or technical information, contact:
 *
 * Chad Sanders
 * Pro Star CMS Development
 * Phone: 256-550-1988
 *
 * All rights reserved.
 */

/*
 * Rodney V. Melton & Associates: the site's own components. Colours come from
 * config.php theme (black #010101, charcoal #1b1d22 / #333, badge green
 * #54a17a, theme green #0b856a), the palette of the Mobirise site it replaces.
 */

/* Text in the accent colour on dark bands: the badge green, which reads at
   5.4:1 on the charcoal (the darker theme green is for buttons with white text). */
html .hero, html .page-hero, html .section--brand, html .util, html .trust,
html .site-footer, html .footer-base, html .splash, html [data-dark] {
  --accent-ink: var(--accent-bright);
}

/* ---- Home hero: the frosted charcoal card from the old home page ---- */
.mto-hero .hero-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.mto-hero .hero-copy { max-width: 40rem; }
.mto-hero .hero-scrim { background: linear-gradient(180deg, rgba(1, 1, 1, .35), rgba(1, 1, 1, .55)); }
.mto-hero .hero-media-still { object-position: 50% 60%; }
.mto-hero .tag { margin-inline: auto; }
.mto-hero-card {
  max-width: 40rem; margin-inline: auto; text-align: center;
  background: rgba(27, 29, 34, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 2.4rem);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.mto-hero-card .hero-actions, .mto-hero-card .btn-row { justify-content: center; }
.mto-hero-card h1 { font-size: clamp(1.7rem, 4.6vw, 2.7rem); line-height: 1.15; }
.mto-hero-card h1 .accent { display: block; }
.mto-badge {
  width: clamp(96px, 16vw, 132px); height: auto; margin: 0 auto 1rem; display: block;
  border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.mto-motto { font-size: 1.2rem; font-weight: 700; color: #fff; margin: .6rem 0 1.1rem; letter-spacing: .01em; }
.mto-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.mto-quick a {
  display: inline-block; padding: .5rem .95rem; border-radius: 10px;
  background: #333; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35); transition: background .2s, transform .2s;
}
.mto-quick a:hover, .mto-quick a:focus-visible { background: var(--accent); transform: translateY(-1px); }
.mto-atp {
  display: block; width: min(280px, 80%); height: auto; margin: 1.4rem auto 0;
  background: #fff; border-radius: 14px; padding: .35rem .6rem;
}

/* ---- Whole-team photo and the two columns under it ---- */
.mto-group { margin: 0 auto clamp(2rem, 4vw, 3rem); max-width: 1080px; }
.mto-group img { width: 100%; height: auto; display: block; border-radius: 16px; aspect-ratio: auto; }
.mto-split { align-items: start; }
@media (min-width: 900px) { .mto-split { grid-template-columns: 1.15fr 1fr; } }
.mto-phones { display: flex; flex-direction: column; gap: .5rem; font-size: 1.25rem; font-weight: 800; }
.mto-phones a { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent-ink); text-decoration: none; }
.mto-phones svg { width: 1.2em; height: 1.2em; }
.mto-phones small { font-weight: 500; font-size: .8rem; color: var(--muted); }

/* ---- Quick links (refunds, MAT, ALDOR) ---- */
.mto-links { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 1.5rem; }
.mto-link {
  display: flex; flex-direction: column; gap: .25rem; padding: 1.2rem 1.3rem;
  border-radius: 14px; background: var(--paper); border: 1px solid var(--line);
  border-left: 5px solid var(--accent); text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.mto-link strong { font-size: 1.08rem; }
.mto-link span { color: var(--muted); font-size: .93rem; }
.mto-link:hover, .mto-link:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }
.mto-links--big { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mto-link-card {
  padding: 1.5rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  border-top: 5px solid var(--accent); display: flex; flex-direction: column; gap: .75rem;
}
.mto-link-card h2 { font-size: 1.3rem; margin: 0; }
.mto-link-card p { margin: 0; flex: 1; text-indent: 0; }
.mto-link-card .btn { align-self: flex-start; }

/* ---- Our Team ---- */
.mto-team-sec { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.mto-team {
  display: grid; gap: clamp(1rem, 3vw, 2rem); justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(210px, 280px));
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.mto-person {
  margin: 0; background: var(--paper); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
  transition: transform .25s, box-shadow .25s;
}
.mto-person:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.mto-person img { width: 100%; height: auto; aspect-ratio: 341 / 426; object-fit: cover; display: block; background: #333; }
.mto-person figcaption { padding: .9rem 1rem 1.1rem; text-align: center; border-top: 4px solid var(--accent); }
.mto-person strong { display: block; font-size: 1.1rem; color: var(--ink); }
.mto-person span { display: block; color: var(--muted); font-size: .92rem; margin-top: .15rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.rm-respect .mto-person, .rm-respect .mto-link, .rm-respect .mto-quick a { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .rm-respect .mto-person:hover, .rm-respect .mto-link:hover { transform: none; }
}

/* ---- Header: the firm's name is long; let it shrink and wrap on phones ---- */
@media (max-width: 719.98px) {
  .brand { gap: .6rem; flex: 1 1 auto; min-width: 0; }
  .brand-words { min-width: 0; }
  .brand-name { font-size: 1rem; line-height: 1.1; white-space: normal; }
  .brand-sub { font-size: .7rem; letter-spacing: .18em; margin-top: .15rem; }
}
@media (max-width: 419.98px) {
  .brand-name { font-size: .88rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .14em; }
  .brand-mark { width: 40px; }
}
