/*=================================
   SEO content components
   Rodriguez Luxury Cars

   Styles the generated airport, route, borough and guide pages:
   rate tables, answer-first blocks, tables of contents and related
   link rails. Uses the existing brand tokens only — gold #C0A062,
   near-black #0C0F14, smoke #F4F1EB — so nothing new enters the
   palette.

   Generated by _seo/build.py — see that file before editing markup.
==================================*/

/*  NOTE: this file uses px, not rem.
    The theme sets html { font-size: 10px }, so a rem here resolves to
    10px and every value authored against the 16px default rendered at
    62.5% — body copy came out at 10.6px and the article measure at
    620px instead of 992px. Keep new values in px.  */

.seo-article {
  /* Long-form measure — keeps line length readable on wide screens. */
  max-width: 992px;
  margin-inline: auto;
}

.seo-article > h2 {
  margin-top: 52px;
  scroll-margin-top: 120px;
}

.seo-article > h2:first-of-type {
  margin-top: 32px;
}

/*---------------------------------
  Answer-first block
  The 40-60 word direct answer that featured snippets and AI
  Overviews quote. Kept visually distinct so it is never buried.
---------------------------------*/
.seo-answer {
  border-left: 3px solid var(--theme-color, #C0A062);
  background: var(--smoke-color, #F4F1EB);
  padding: 28px 28px 28px 32px;
  margin-bottom: 40px;
  border-radius: 0 6px 6px 0;
}

.seo-answer p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--title-color, #0C0F14);
  font-weight: 500;
}

/*---------------------------------
  Rate tables
---------------------------------*/
.seo-table-wrap {
  /* Wide tables scroll inside their own box — the page never scrolls
     horizontally on a phone. */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0 36px;
  border: 1px solid var(--border-color, #E3E1DC);
  border-radius: 8px;
}

.seo-table {
  width: 100%;
  min-width: 544px;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}

.seo-table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px 12px;
  font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
}

.seo-table thead th {
  background: var(--title-color, #0C0F14);
  color: #fff;
  font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
}

.seo-table tbody th,
.seo-table tbody td {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color, #E3E1DC);
  vertical-align: top;
  text-align: left;
  line-height: 1.6;
  /* The theme's body colour is a pale grey that left rate figures
     looking washed out against white. Set it explicitly. */
  color: #3E444E;
}

.seo-table tbody th {
  font-weight: 600;
  color: var(--title-color, #0C0F14);
  white-space: nowrap;
}

.seo-table tbody tr:nth-child(even) {
  background: #FBFAF7;
}

/* Money reads as data: tabular figures, near-black, medium weight, so a
   rate table scans down the column at a glance. */
.seo-table tbody td {
  font-variant-numeric: tabular-nums;
}

.seo-table tbody td.price,
.seo-table tbody td:not(:first-child) {
  color: var(--title-color, #0C0F14);
  font-weight: 500;
}

/*---------------------------------
  Lists
---------------------------------*/
.seo-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
}

.seo-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.7;
}

.seo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-color, #C0A062);
}

/*---------------------------------
  Table of contents
---------------------------------*/
.seo-toc {
  background: #fff;
  border: 1px solid var(--border-color, #E3E1DC);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.seo-toc h2 {
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 14px !important;
  font-weight: 600;
}

.seo-toc ol {
  margin: 0;
  padding-left: 18px;
}

.seo-toc li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.seo-toc a {
  color: var(--title-color, #0C0F14);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.seo-toc a:hover,
.seo-toc a:focus-visible {
  color: var(--theme-color, #C0A062);
  border-bottom-color: currentColor;
}

/*---------------------------------
  Call to action
---------------------------------*/
.seo-cta {
  background: var(--title-color, #0C0F14);
  color: #fff;
  border-radius: 10px;
  padding: 40px 36px;
  margin: 48px 0 40px;
  text-align: center;
}

.seo-cta h2 {
  color: #fff !important;
  margin: 0 0 12px !important;
  font-size: clamp(24px, 3vw, 32px);
}

.seo-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 544px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.seo-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
}

.seo-cta__tel {
  color: var(--theme-color, #C0A062);
  font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.seo-cta__tel:hover,
.seo-cta__tel:focus-visible {
  border-bottom-color: currentColor;
}

/*---------------------------------
  Related links rail
---------------------------------*/
.seo-related {
  border-top: 1px solid var(--border-color, #E3E1DC);
  padding-top: 32px;
  margin-top: 16px;
}

.seo-related h2 {
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 18px !important;
  font-weight: 600;
}

.seo-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 9px 28px;
}

.seo-related a {
  color: var(--title-color, #0C0F14);
  text-decoration: none;
  line-height: 1.6;
  border-bottom: 1px solid transparent;
}

.seo-related a:hover,
.seo-related a:focus-visible {
  color: var(--theme-color, #C0A062);
  border-bottom-color: currentColor;
}

/*---------------------------------
  Guides index
---------------------------------*/
.seo-guide-index {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(304px, 1fr));
  gap: 20px;
}

.seo-guide-index a {
  display: block;
  height: 100%;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--border-color, #E3E1DC);
  border-radius: 8px;
  text-decoration: none;
  color: var(--title-color, #0C0F14);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.seo-guide-index a:hover,
.seo-guide-index a:focus-visible {
  border-color: var(--theme-color, #C0A062);
  transform: translateY(-2px);
}

.seo-guide-index strong {
  display: block;
  font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.seo-guide-index span {
  display: block;
  color: #5b6472;
  font-size: 15px;
  line-height: 1.65;
}

/*---------------------------------
  Small screens
---------------------------------*/
@media (max-width: 575px) {
  .seo-answer { padding: 22px 22px 22px 24px; }
  .seo-cta { padding: 32px 22px; }
  .seo-table { font-size: 14px; }
  .seo-table thead th,
  .seo-table tbody th,
  .seo-table tbody td { padding: 12px 14px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .seo-guide-index a { transition: none; }
  .seo-guide-index a:hover { transform: none; }
}

/*---------------------------------
  Numbered process steps
---------------------------------*/
.seo-steps {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  counter-reset: seo-step;
}

.seo-steps li {
  counter-increment: seo-step;
  position: relative;
  padding-left: 52px;
  padding-bottom: 24px;
  border-left: 1px solid var(--border-color, #E3E1DC);
  margin-left: 18px;
}

.seo-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.seo-steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: -18px;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--theme-color, #C0A062);
  color: #fff;
  font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-steps strong {
  display: block;
  font-family: var(--title-font, "Plus Jakarta Sans", sans-serif);
  font-size: 17px;
  color: var(--title-color, #0C0F14);
  margin-bottom: 6px;
  padding-top: 4px;
}

.seo-steps span {
  display: block;
  line-height: 1.75;
}

@media (max-width: 575px) {
  .seo-steps li { padding-left: 40px; }
}

/*---------------------------------
  Hero H1 keyword line
  The rotating headline carries the brand feeling; this line carries
  what the page is actually about. Visible to users, not a crawler
  trick — see _seo/fix_h1s.py.
---------------------------------*/
.hero-title__kw {
  display: block;
  margin-top: 0.65em;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--body-font, "Poppins", sans-serif);
}

@media (max-width: 575px) {
  .hero-title__kw { font-size: 16px; margin-top: 0.75em; }
}
