/*
 * BUILT BY DRISKILL DESIGNS
 * Acadian Notary — site styles
 * Organized in page order, with responsive adjustments at the end.
 * Bootstrap's base styles load first; these rules define the site design.
 */

@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@400;700&display=swap');

/* Brand tokens */
:root {
  --driskill-accent: #c52d40;
  --red: var(--driskill-accent);
  --ink: #25262a;
  --muted: #64666d;
}

/* Base styles */
* {
  box-sizing: border-box;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font: 16px/1.8 Oxygen,Arial,sans-serif;
  color: var(--muted);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: var(--red);
}

a:focus-visible,button:focus-visible {
  outline: 3px solid #e23e4e;
  outline-offset: 5px;
}

.container {
  max-width: 1200px;
  padding-inline: 24px;
}

h1,h2,h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 42px;
  letter-spacing: -1.5px;
  margin-bottom: 25px;
}

h3 {
  font-size: 21px;
}

/* Demo notice and contact bar */
.demo-bar {
  padding: 5px 24px;
  background: #ededee;
  color: #56565a;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.demo-bar span {
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 15px;
}

.contact-bar {
  background: #222327;
  color: #ddd;
  font-size: 14px;
  padding: 10px 0;
}

.contact-bar .container {
  display: flex;
  justify-content: space-between;
}

.contact-bar b {
  color: #e23e4e;
  margin: 0 15px;
}

/* Header and navigation */
header {
  background: #fff;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 109px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #26262a;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
}

.brand .icon {
  font-size: 42px;
  color: var(--red);
}

.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 2.6px;
  margin-top: 9px;
}

#navigation {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

#navigation a:first-child {
  color: var(--red);
}

.header-phone {
  font-size: 21px;
  color: #29292c;
  font-weight: 700;
  border-left: 1px solid #ddd;
  padding-left: 26px;
  line-height: 1.6;
}

.header-phone small {
  display: block;
  font-size: 12px;
  color: #727277;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  background: #292a2c url('../signing.png') center 55%/cover;
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  color: #eee;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(17,18,20,.62),rgba(17,18,20,.02) 90%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 70px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}

.eyebrow.dark {
  color: var(--red);
}

h1 {
  color: #fff;
  font-size: 58px;
  letter-spacing: -1.9px;
  line-height: 1.14;
  max-width: 730px;
  margin-bottom: 25px;
}

.hero-text {
  font-size: 17px;
  color: #ececef;
  margin-bottom: 32px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--red);
  color: white;
  padding: 16px 25px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary:hover {
  background: #a92132;
  color: #fff;
}

.text-link {
  display: inline-block;
  color: white;
  font-size: 14px;
  margin-left: 25px;
  border-bottom: 1px solid #999;
}

/* Service highlights */
.service-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding-block: 30px;
  border-bottom: 1px solid #e5e5e7;
}

.service-strip>div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 27px;
  border-right: 1px solid #ddd;
}

.service-strip>div:first-child {
  padding-left: 0;
}

.service-strip>div:last-child {
  border: 0;
}

.service-strip .icon {
  font-size: 40px;
  color: var(--red);
}

.service-strip strong {
  font-size: 16px;
  color: var(--ink);
  display: block;
}

.service-strip small {
  font-size: 14px;
}

/* Section spacing and about */
.section {
  padding: 90px 0;
}

.about-intro {
  border-left: 3px solid var(--red);
  padding-left: 22px;
  margin-top: 30px;
  font-weight: 700;
  font-style: italic;
  max-width: 390px;
}

.about-copy {
  padding-top: 36px;
  padding-left: 40px;
}

.about-copy p {
  margin-bottom: 22px;
}

.inline-link {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

/* Service cards */
.services {
  background: #f5f5f6;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading>p {
  font-size: 15px;
  margin-bottom: 0;
}

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

.service-grid article {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-top: 3px solid var(--red);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.service-grid .icon {
  font-size: 45px;
  color: var(--red);
  margin-bottom: 24px;
}

.service-grid h3 {
  font-size: 20px;
}

.service-grid p {
  font-size: 16px;
  margin: 16px 0 24px;
}

.service-grid a {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.service-grid a span {
  color: var(--red);
  margin-left: 12px;
}

/* Appointment process */
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 45px;
  margin-top: 45px;
}

.steps article {
  position: relative;
  padding-left: 55px;
}

.steps span {
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

.steps h3 {
  font-size: 18px;
}

.steps p {
  font-size: 16px;
}

/* Contact panel */
.contact {
  background: #24262b;
  color: #c8c9ce;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}

.contact h2 {
  color: #fff;
  font-size: 46px;
}

.contact p {
  max-width: 470px;
}

.location {
  margin-top: 32px;
  color: #fff;
}

.contact-card {
  background: white;
  padding: 38px;
  color: var(--muted);
  min-width: 0;
}

.card-label {
  font-size: 12px;
  color: var(--red);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.contact-number {
  font-size: 33px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  line-height: 1.4;
}

.contact-email {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.contact-card hr {
  margin: 25px 0;
}

.contact-card p {
  font-size: 16px;
}

.contact-card strong {
  color: var(--ink);
}

.sample-note {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 20px;
}

/* Footer */
footer {
  background: #191a1e;
  padding: 38px 0;
  color: #aaa;
  font-size: 14px;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

footer .brand {
  color: #eee;
  font-size: 21px;
}

footer p {
  margin: 0;
}

footer p span {
  color: #92939b;
  font-size: 12px;
}

footer a:last-child {
  color: #ccc;
}

/* Tablet layout */
@media(max-width:991px) {
  .header-phone {
    display: none;
  }
  .about-copy {
    padding-left: 15px;
  }
  .contact-grid {
    gap: 40px;
  }
  .service-strip>div {
    padding-inline: 15px;
    gap: 12px;
  }
  .service-strip .icon {
    font-size: 30px;
  }
  .service-grid article {
    padding: 25px 22px;
  }
  h1 {
    font-size: 50px;
  }
}

/* Phone layout */
@media(max-width:700px) {
  .contact-bar .container>span:first-child {
    display: none;
  }
  .contact-bar .container {
    justify-content: center;
  }
  .demo-bar span {
    display: block;
    margin: 0;
  }
  nav {
    min-height: 90px;
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
  }
  .brand .icon {
    font-size: 34px;
  }
  .menu-toggle {
    display: block;
    border: 1px solid #ddd;
    background: #fff;
    padding: 7px 12px;
    font-size: 14px;
    color: #333;
  }
  #navigation {
    display: none;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid #eee;
    justify-content: space-between;
    gap: 12px;
  }
  #navigation.open {
    display: flex;
  }
  .hero {
    min-height: 530px;
    background-position: 64% center;
  }
  .hero:before {
    background: rgba(15,16,18,.65);
  }
  h1 {
    font-size: 41px;
    letter-spacing: -1.4px;
  }
  .hero-text {
    font-size: 16px;
  }
  .desktop {
    display: none;
  }
  .text-link {
    display: block;
    width: max-content;
    margin: 20px 0 0;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
  .service-strip {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }
  .service-strip>div,.service-strip>div:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  .service-strip .icon {
    font-size: 33px;
    width: 44px;
  }
  .section {
    padding: 62px 0;
  }
  h2 {
    font-size: 33px;
    letter-spacing: -1px;
  }
  .about-copy {
    padding-top: 12px;
  }
  .section-heading {
    display: block;
  }
  .section-heading>p {
    margin-top: 20px;
  }
  .service-grid,.steps,.contact-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    gap: 18px;
  }
  .steps {
    gap: 24px;
    margin-top: 30px;
  }
  .contact h2 {
    font-size: 37px;
  }
  .contact-card {
    padding: 26px;
  }
  .contact-number {
    font-size: 28px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* =========================================
   Service Text Stream Ticker
   ========================================= */
.text-stream-container {
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
  padding: 30px 0;
  display: flex;
  white-space: nowrap;
  user-select: none;
}

.text-stream-track {
  display: inline-flex;
  /* Adjust the '40s' value to make the stream move faster or slower */
  animation: stream-scroll 40s linear infinite;
  font-size: 20px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stream-dot {
  color: var(--red);
  margin: 0 25px;
}

/* Shifts exactly half the width of the track to create the infinite loop */
@keyframes stream-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pauses the scrolling animation when a user hovers over it */
.text-stream-container:hover .text-stream-track {
  animation-play-state: paused;
}

/* Mobile responsive adjustments */
@media (max-width: 700px) {
  .text-stream-container {
    padding: 20px 0;
  }
  .text-stream-track {
    font-size: 20px;
  }
  .stream-dot {
    margin: 0 15px;
  }
}

/* Respects user accessibility preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .text-stream-track {
    animation: none;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
/* =========================================
   Promotional Button & Modal Styles
   ========================================= */
.promo-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: var(--red);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(197, 45, 64, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.promo-button:hover {
  background: #a92132;
  transform: translateY(-3px);
}

/* Modal Container */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.promo-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.promo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 38, 43, 0.8);
  backdrop-filter: blur(4px);
}

/* Modal Content Box */
.promo-modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  z-index: 1001;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.promo-modal.open .promo-modal-content {
  transform: translateY(0);
}
.promo-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.promo-close:hover {
  color: var(--ink);
}

/* Modal Typography & Layout */
.promo-modal-body {
  padding: 40px;
}
.promo-intro {
  font-size: 16px;
  color: var(--ink);
  font-style: italic;
  border-bottom: 2px solid #f5f5f6;
  padding-bottom: 20px;
  margin-bottom: 25px;
}
.promo-modal-body h2 {
  font-size: 28px;
  margin-bottom: 5px;
}
.price-monthly {
  font-size: 42px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.price-monthly small {
  font-size: 18px;
  color: var(--muted);
  font-weight: 400;
}
.promo-desc {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 15px 0 25px;
}

/* Features Grid */
.promo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}
.feature-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.feature-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-group li {
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}
.feature-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 700;
}
.feature-group li small {
  line-height: 1.3;
  display: inline-block;
  margin-top: 4px;
}

/* Pricing Details */
.promo-pricing-details {
  background: #f5f5f6;
  padding: 20px 25px;
  border-left: 3px solid var(--red);
  margin-bottom: 30px;
}
.promo-pricing-details p {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink);
}
.promo-pricing-details .fine-print {
  margin-bottom: 0;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.promo-cta {
  width: 100%;
}

/* Mobile Adjustments */
@media(max-width: 700px) {
  .promo-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .promo-modal-body {
    padding: 30px 20px;
  }
  .promo-button {
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
  }
}