/* Inner page styles — Michelle Maxwell Mobile Notary */

.page-hero {
  background: linear-gradient(90deg, #1F3A5F 0%, #0b315d 59%, #0c3159 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 52px 0 48px;
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mm-hero-pattern) center/cover no-repeat;
  opacity: .85;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-weight: var(--fw-semibold);
  line-height: var(--leading-tight);
  margin: 0 0 10px;
  max-width: 720px;
}
.page-hero p {
  margin: 0;
  max-width: 640px;
  color: #ecf2f8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .75);
}
.breadcrumb a {
  color: var(--gold);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  opacity: .6;
}

.page-content {
  padding: 56px 0 64px;
}
.page-content.alt-bg {
  background: #F5F7FA;
}
.page-section {
  margin-bottom: 48px;
}
.page-section:last-child {
  margin-bottom: 0;
}
.page-grid-2 {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: start;
}
.page-grid-2.reverse {
  grid-template-columns: 1fr 350px;
}
.page-photo {
  position: relative;
  padding-left: 0;
}
.page-photo:before {
  display: none;
}
.page-photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: 50% 25%;
}
.content-block p {
  color: #4d6074;
  margin: 12px 0;
}
.content-block .title {
  margin-bottom: 8px;
}
.disclaimer-box {
  background: #fff;
  border-left: 4px solid #C9A227;
  padding: 16px 20px;
  margin: 20px 0;
  color: #4d6074;
  box-shadow: 0 2px 8px rgba(31, 58, 95, .06);
  border-radius: 0 8px 8px 0;
}
.mission-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
  border: 1px solid #e7eaee;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(12, 45, 80, 0.05);
}
.mission-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #c9a227;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mission-callout p {
  margin: 0;
  color: #1f3a5f;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 500;
}

.about-credentials {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
  border-top: 1px solid #e7eaee;
}
.about-credentials .section-heading {
  margin-bottom: 2rem;
}
.about-credentials .subtitle {
  margin-top: 0.75rem;
  color: #5f6f80;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.credential-card {
  border: 1px solid #e7eaee;
  background: #fff;
  padding: 1.75rem 1.375rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(12, 45, 80, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 12px 28px rgba(12, 45, 80, 0.1);
}
.credential-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.875rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #2a4d78 0%, #1f3a5f 50%, #152a47 100%);
  box-shadow: 0 4px 12px rgba(21, 42, 71, 0.25);
}
.credential-icon .icon-img {
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
}
.credential-icon .icon-img[src*="navy-"] {
  filter: brightness(0) invert(1);
}
.credential-card h4 {
  margin: 0 0 0.5rem;
  color: #1F3A5F;
}
.credential-card p {
  margin: 0;
  color: #5f6f80;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.trust-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: #fff;
  border: 1px solid #e7eaee;
  border-left: 4px solid #c9a227;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(12, 45, 80, 0.06);
}
.trust-showcase-copy h3 {
  margin: 0 0 0.375rem;
  color: #1f3a5f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.trust-showcase-copy p {
  margin: 0;
  color: #5f6f80;
  font-size: 0.9375rem;
}
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0;
  flex-shrink: 0;
}
.trust-badges-row img {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(31, 58, 95, 0.12));
}

/* Services page */
.services-offerings {
  padding: 3.5rem 0 4rem;
  background: #fff;
}
.services-offerings .section-heading {
  margin-bottom: 2.25rem;
}
.services-offerings .subtitle {
  margin-top: 0.75rem;
  color: #5f6f80;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.service-detail-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(12, 45, 80, 0.08);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 14px 32px rgba(12, 45, 80, 0.12);
}
.service-card-header {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef1f5;
  margin-bottom: 0.25rem;
}
.service-detail-card .service-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #2a4d78 0%, #1f3a5f 50%, #152a47 100%);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(21, 42, 71, 0.25);
}
.service-detail-card .service-icon .icon-img {
  width: 1.9375rem;
  height: 1.9375rem;
}
.service-detail-card h3 {
  text-align: center;
  margin: 0 0 0.625rem;
  color: #1f3a5f;
}
.service-card-lead {
  margin: 0;
  text-align: center;
  color: #5f6f80;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.service-list-group {
  margin-top: 1.125rem;
}
.service-list-group h5 {
  margin: 0 0 0.5rem;
  color: #c9a227;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-detail-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.375rem 0;
  color: #333333;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.service-detail-card li:before {
  content: "✓";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #c9a227;
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 3px;
}

.services-specialized {
  padding: 3.25rem 0;
  background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
  border-top: 1px solid #e7eaee;
  border-bottom: 1px solid #e7eaee;
}
.services-specialized .section-heading {
  margin-bottom: 1.75rem;
}
.services-specialized .subtitle {
  margin-top: 0.75rem;
  color: #5f6f80;
}
.specialized-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.specialized-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(12, 45, 80, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.specialized-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 10px 28px rgba(12, 45, 80, 0.1);
}
.specialized-link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f0f3f8 100%);
  border: 1px solid #e0e5ec;
}
.specialized-link-icon .icon-img {
  width: 1.5rem;
  height: 1.5rem;
}
.specialized-link-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}
.specialized-link-copy strong {
  color: #1f3a5f;
  font-size: 1.0625rem;
}
.specialized-link-copy span {
  color: #5f6f80;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.specialized-link-arrow {
  flex-shrink: 0;
  color: #c9a227;
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.specialized-link-card:hover .specialized-link-arrow {
  transform: translateX(4px);
}

.services-fees {
  padding: 3.5rem 0 4rem;
  background: #fff;
}
.fees-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}
.fees-copy-block {
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, #1f3a5f 0%, #152a47 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(21, 42, 71, 0.2);
}
.fees-copy-block .eyebrow {
  margin-bottom: 0.5rem;
}
.fees-copy-block h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
}
.fees-copy-block p {
  margin: 0 0 1.25rem;
  color: #ecf2f8;
  line-height: 1.6;
  max-width: 36rem;
}
.fees-info-card {
  padding: 2rem 1.75rem;
  background: #fafbfc;
  border: 1px solid #e7eaee;
  border-left: 4px solid #c9a227;
  border-radius: 12px;
}
.fees-info-card h4 {
  margin: 0 0 1rem;
  color: #1f3a5f;
}
.fees-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fees-info-card li {
  position: relative;
  padding-left: 1.25rem;
  margin: 0.625rem 0;
  color: #4d6074;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fees-info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a227;
}

.fees-box {
  background: #1F3A5F;
  color: #fff;
  padding: 32px 36px;
  text-align: center;
  margin-top: 40px;
  border-radius: 12px;
}
.fees-box h3 {
  margin: 0 0 10px;
  color: #C9A227;
}
.fees-box p {
  margin: 0;
  color: #ecf2f8;
  max-width: 680px;
  margin-inline: auto;
}

/* Attorney & Healthcare pages */
.specialty-page {
  padding: 3.5rem 0;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin: 1.75rem 0 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(12, 45, 80, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-item:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 8px 20px rgba(12, 45, 80, 0.08);
}
.feature-item-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f0f3f8 100%);
  border: 1px solid #e0e5ec;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.08);
}
.feature-item .icon-img {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}
.feature-item span:last-child {
  font-weight: var(--fw-semibold);
  color: #333333;
  line-height: 1.4;
}
.page-cta {
  text-align: center;
  padding: 40px 0 0;
}
.page-cta-banner {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, #1f3a5f 0%, #152a47 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.page-cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.page-cta-banner-copy h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 600;
}
.page-cta-banner-copy p {
  margin: 0;
  max-width: 36rem;
  color: #ecf2f8;
  line-height: 1.6;
}
.page-cta-banner .btn {
  flex-shrink: 0;
}
.highlight-banner {
  background: #f5f7fa;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  padding: 2.25rem 2.5rem;
  text-align: center;
  box-shadow: 0 6px 24px rgba(12, 45, 80, 0.06);
}
.highlight-banner h3 {
  margin: 0 0 10px;
  color: #1F3A5F;
}
.highlight-banner p {
  margin: 0 0 20px;
  color: #4d6074;
  max-width: 600px;
  margin-inline: auto;
}

/* Service areas */
.areas-page-section {
  padding: 3.5rem 0;
}
.areas-page-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.areas-map-card {
  padding: 0;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(12, 45, 80, 0.1);
  overflow: hidden;
}
.areas-map-card img {
  width: 100%;
  display: block;
  border-radius: 6px;
}
.areas-map img {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.cities-grid .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #d8dee6;
  background: #fff;
  border-radius: 999px;
  font-weight: var(--fw-semibold);
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(12, 45, 80, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cities-grid .chip:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 4px 12px rgba(12, 45, 80, 0.08);
}
.cities-grid .chip.chip-more {
  background: linear-gradient(180deg, #2a4d78 0%, #1f3a5f 50%, #152a47 100%);
  color: #fff;
  border-color: transparent;
}
.cities-grid .chip .icon-img {
  width: 14px;
  height: 14px;
}
.appointment-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #1f3a5f 0%, #152a47 100%);
  color: #fff;
  font-weight: var(--fw-semibold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 10px;
  border-left: 4px solid #c9a227;
  box-shadow: 0 8px 24px rgba(21, 42, 71, 0.2);
}
.appointment-note .icon-img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* FAQ page */
.faq-page {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}
.faq-page .section-heading {
  margin-bottom: 2rem;
}
.faq-page .subtitle {
  margin-top: 0.75rem;
  color: #5f6f80;
}
.faq-page .faq-grid {
  max-width: 960px;
  margin: 0 auto;
  gap: 0.875rem 1.25rem;
}
.faq-page .faq-item {
  border: 1px solid #e7eaee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(12, 45, 80, 0.05);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-page .faq-item:hover {
  border-color: rgba(201, 162, 39, 0.35);
}
.faq-page .faq-item.open {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 8px 24px rgba(12, 45, 80, 0.08);
}
.faq-page .faq-q {
  padding: 1.125rem 1.25rem;
  font-size: 1rem;
  border-radius: 10px;
}
.faq-page .faq-a {
  padding: 0 1.25rem 1.125rem;
  color: #4d6074;
  line-height: 1.6;
}

/* Contact page */
.contact-page {
  padding: 3.5rem 0 4rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}
.contact-info-card {
  background: linear-gradient(180deg, #243f63 0%, #1f3a5f 45%, #152a47 100%);
  color: #fff;
  padding: 2rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(21, 42, 71, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 7.5rem;
}
.contact-info-card h3 {
  margin: 0 0 1.25rem;
  color: #c9a227;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.contact-info-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-info-list .icon-img {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
}
.contact-info-list a {
  color: #fff;
  text-decoration: underline;
}
.contact-info-list a:hover {
  color: #c9a227;
}
.business-hours {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 1.25rem;
}
.business-hours h4 {
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: #C9A227;
  margin: 0 0 8px;
  font-size: 0.75rem;
}
.business-hours p {
  margin: 0;
  color: #ecf2f8;
  line-height: 1.6;
  font-size: 0.9375rem;
}
.bookings-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--gradient-gold);
  color: #fff;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--btn-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .28);
  text-shadow: 0 1px 1px rgba(31, 58, 95, .25);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}
.bookings-btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 42%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.bookings-btn > * { position: relative; z-index: 1; }
.bookings-btn:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-gold-hover), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.bookings-btn:active {
  transform: translateY(0);
}
.bookings-note {
  color: rgba(255, 255, 255, .7);
  margin-top: 8px;
}

.attorney-modal-btn {
  display: flex;
  width: 100%;
  margin-top: 0.75rem;
  justify-content: center;
}

.form-section {
  background: #fff;
  border: 1px solid #e7eaee;
  padding: 1.75rem 1.875rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(12, 45, 80, 0.06);
}
.form-section h3 {
  margin: 0 0 6px;
  color: #1F3A5F;
}
.form-section .form-desc {
  color: #5f6f80;
  margin: 0 0 20px;
}
.form-grid {
  display: grid;
  /* minmax(0, 1fr), not 1fr: Contact Form 7 emits <input size="40">, whose
     min-content width is wider than half the modal. With the default `auto`
     minimum the columns refused to shrink and the right-hand fields were
     clipped by the dialog edge. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-group label {
  color: #333333;
  text-transform: uppercase;
}
/* CF7 wraps each control in a span inside the label; make the whole chain
   block-level so the control fills the column instead of using its size="40"
   intrinsic width. */
.form-group label,
.form-group .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid #d8dee6;
  color: #333333;
  background: #fff;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid #C9A227;
  outline-offset: 1px;
  border-color: #C9A227;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-submit {
  margin-top: 18px;
}

.attorney-form-note {
  margin: 1.25rem 0 0;
  padding-top: 1.125rem;
  border-top: 1px solid #e7eaee;
  color: #5f6f80;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.text-link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: #1f3a5f;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.text-link-btn:hover {
  color: #c9a227;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 50, 0.62);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  animation: modal-in 0.3s ease;
}

.modal.is-closing .modal-dialog {
  animation: modal-out 0.22s ease forwards;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modal-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

.modal-form-section {
  margin-bottom: 0;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e7eaee;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-close .icon-img {
  width: 1rem;
  height: 1rem;
  transform: rotate(45deg);
}

.modal-close:hover {
  border-color: #c9a227;
  background: #f8f9fc;
}

body.modal-open {
  overflow: hidden;
}

.map-wrap {
  margin-top: 2.5rem;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(12, 45, 80, 0.08);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 1050px) {
  .page-grid-2, .page-grid-2.reverse { grid-template-columns: 300px 1fr; gap: 35px; }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .specialized-links-grid { grid-template-columns: 1fr; }
  .fees-split { grid-template-columns: 1fr; }
  .areas-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .page-hero { padding: 40px 0 36px; }
  .page-grid-2, .page-grid-2.reverse { grid-template-columns: 1fr; }
  .page-photo { max-width: 340px; margin: 0 auto; }
  .credential-grid { grid-template-columns: 1fr 1fr; }
  .trust-showcase { flex-direction: column; text-align: center; padding: 1.5rem; }
  .trust-badges-row { justify-content: center; }
  .feature-list { grid-template-columns: 1fr; }
  .page-cta-banner-inner { flex-direction: column; text-align: center; }
  .areas-page-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-content { padding: 40px 0 48px; }
  .about-credentials { padding: 2.5rem 0 3rem; }
  .services-offerings,
  .services-specialized,
  .services-fees { padding: 2.5rem 0; }
  .fees-copy-block,
  .fees-info-card { padding: 1.5rem 1.25rem; }
  .specialized-link-card { padding: 1.125rem 1.25rem; }
  .credential-grid { grid-template-columns: 1fr; }
  .trust-badges-row img { width: 5.5rem; height: 5.5rem; }
  .fees-box { padding: 24px 20px; }
  .form-section { padding: 22px 18px; }
  .highlight-banner { padding: 28px 20px; }
}

/* ---------------------------------------------------------------------------
 * Classic (non-Elementor) page content — Privacy Policy, Terms & Conditions.
 *
 * These are plain post content with no Elementor sections of their own, so the
 * template supplies the container and this supplies the reading styles. Without
 * them the legal text sat flush against both window edges at full window width.
 * ------------------------------------------------------------------------- */
.mm-prose-section {
  padding: clamp(40px, 5vw, 68px) 0 clamp(56px, 6vw, 84px);
  background: #fff;
}

.mm-prose {
  max-width: 820px;
  color: #40505f;
  font-size: 1.0125rem;
  line-height: 1.75;
}

.mm-prose > *:first-child {
  margin-top: 0;
}

.mm-prose h2,
.mm-prose h3,
.mm-prose h4 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  color: #1F3A5F;
  line-height: 1.25;
  margin: 2em 0 0.6em;
}

.mm-prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  padding-bottom: 0.35em;
  border-bottom: 1px solid rgba(31, 58, 95, 0.1);
}

.mm-prose h3 {
  font-size: 1.3rem;
}

.mm-prose h4 {
  font-size: 1.12rem;
}

.mm-prose p {
  margin: 0 0 1.1em;
}

.mm-prose strong {
  color: #1F3A5F;
}

.mm-prose ul,
.mm-prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.35em;
}

.mm-prose li {
  margin-bottom: 0.5em;
}

.mm-prose ul li::marker {
  color: #C9A227;
}

.mm-prose a {
  color: #1F3A5F;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(201, 162, 39, 0.6);
}

.mm-prose a:hover {
  color: #C9A227;
}

/* The effective-date line that opens both documents. */
.mm-prose > p:first-of-type {
  color: #1F3A5F;
  font-weight: 600;
  padding: 12px 16px;
  background: #F5F7FA;
  border-left: 3px solid #C9A227;
  border-radius: 0 6px 6px 0;
}

/* ---------------------------------------------------------------------------
 * Mobile touch and legibility refinements
 *
 * From a 390px audit of every page. The layout itself was sound — no
 * horizontal overflow anywhere — but a set of controls sat under a comfortable
 * tap size and a few labels were set small enough to strain on a phone.
 *
 * Deliberately NOT changed: the uppercase micro-labels used as eyebrows and
 * kickers. Those are a design decision, they are decorative rather than
 * load-bearing, and enlarging them would alter the approved look.
 * ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Hamburger was 36x35 — under the comfortable minimum and the single most
     important control on a phone. */
  .menu-toggle {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    margin-right: -8px;
  }

  /* Footer quick links were ~21px tall and stacked tightly together, which is
     where mis-taps happen. */
  .footer-col ul li {
    margin: 0;
  }

  .footer-col ul li a,
  .footer .contact-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer .contact-row {
    min-height: 44px;
  }

  /* Form labels were 11.5px. These are the words a signer reads while filling
     in the form, so they get a real size. */
  .form-group label {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }

  /* Breadcrumb was 10.6px and its links were 17px tall. */
  .breadcrumb {
    font-size: 0.75rem;
  }

  .breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  /* Social icons in the footer. */
  .socials .social {
    width: 44px;
    height: 44px;
  }
}
