/*
Styles for the modules in /modules. Loaded after style.css and reuses its
custom properties, .inner, .headline, .btn, .wysiwyg and the slant utilities.
*/

/* Shared */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}
.btn {
  border: 2px solid var(--color-red);
  line-height: 1.2;
  text-align: center;
}
.btn:hover {
  border-color: #000;
}
.btn:focus-visible,
.faq-section summary:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}
.btn.btn-outline {
  background: transparent;
  color: var(--color-red);
}
.btn.btn-outline:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}
.btn.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--color-red);
}
.btn.btn-light:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.module-intro,
.module-outro,
.module-note {
  margin: 0 auto 40px;
  max-width: 800px;
  text-align: center;
}
.module-intro > p,
.module-outro > p,
p.module-intro {
  line-height: 1.85em;
}
.module-outro,
.module-note {
  margin: 40px auto 0;
}
p.module-note {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6em;
}
.services-grid .headline,
.option-cards .headline,
.module-steps .headline,
.pricing-details .headline,
.comparison-table .headline,
.module-profiles .headline,
.faq-section .headline {
  margin-bottom: 40px;
}
.option-cards .buttons,
.module-steps .buttons,
.pricing-details .buttons,
.comparison-table .buttons,
.cta-band .buttons {
  margin-top: 40px;
  text-align: center;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.option-cards .buttons,
.module-steps .buttons,
.pricing-details .buttons,
.comparison-table .buttons,
.cta-band .buttons {
  justify-content: center;
}

/* Header Reservation Button */
.main-header .main-nav .header-reserve {
  align-self: center;
  font-size: 12px;
  margin: 0 15px;
  padding: 10px 20px;
}
@media (min-width: 1025px) and (max-width: 1459px) {
  .main-header .main-nav > ul > li > a {
    font-size: 12px;
    margin: 0 9px 10px;
  }
  .main-header .main-nav .header-reserve {
    font-size: 11px;
    margin: 0 10px;
    padding: 8px 14px;
  }
}
@media (min-width: 1025px) and (max-width: 1259px) {
  .main-header .main-nav .header-reserve {
    display: none;
  }
}
@media (max-width: 1024px) {
  .main-header .main-nav .header-reserve {
    margin: 10px 0 10px auto;
    order: -1;
  }
  .main-header .main-nav > ul {
    order: 1;
  }
}
@media (max-width: 600px) {
  .main-header .main-nav .header-reserve {
    display: none;
  }
}

/* Reservation Dialog */
.reserve-dialog {
  background: #fff;
  border: 0;
  border-top: 6px solid var(--color-red);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: #000;
  flex-direction: column;
  height: min(860px, calc(100vh - 32px));
  margin: auto;
  max-height: none;
  max-width: none;
  padding: 0;
  width: min(760px, calc(100vw - 32px));
}
.reserve-dialog[open] {
  animation: reserve-in 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
  display: flex;
}
.reserve-dialog::backdrop {
  backdrop-filter: blur(3px);
  background: rgba(20, 14, 14, 0.6);
}
@keyframes reserve-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reserve-dialog-head {
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 24px 24px 20px 32px;
}
.quick-reserve-eyebrow {
  color: var(--color-red);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.25em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.quick-reserve-title {
  color: #000;
  font-family: var(--font-headline);
  font-size: 34px;
  font-weight: bold;
  line-height: 1.1;
}
.reserve-dialog-close {
  color: #555;
  flex: 0 0 44px;
  font-size: 32px;
  height: 44px;
  line-height: 1;
}
.reserve-dialog-close:hover {
  color: var(--color-red);
}
.reserve-dialog-body {
  flex: 1;
  position: relative;
}
.reserve-dialog-body iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
/* Shown until the form has loaded. */
.reserve-dialog.is-loading .reserve-dialog-body::after {
  animation: reserve-spin 0.8s linear infinite;
  border: 3px solid #eee;
  border-radius: 50%;
  border-top-color: var(--color-red);
  content: "";
  height: 36px;
  left: calc(50% - 18px);
  position: absolute;
  top: 80px;
  width: 36px;
}
@keyframes reserve-spin {
  to {
    transform: rotate(360deg);
  }
}
.quick-reserve-phone {
  border-top: 1px solid #eee;
  color: #444;
  font-size: 14px;
  padding: 14px 24px;
  text-align: center;
}
.quick-reserve-phone a {
  color: var(--color-red);
  font-weight: bold;
}
@media (max-width: 600px) {
  .reserve-dialog {
    height: calc(100vh - 24px);
    width: calc(100vw - 24px);
  }
  .reserve-dialog-head {
    padding: 18px 16px 14px 20px;
  }
  .quick-reserve-title {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reserve-dialog[open] {
    animation: none;
  }
}

/* Service Hero */
.service-hero {
  background: var(--color-gray);
  padding: 80px 0 150px;
}
.service-hero .inner {
  align-items: center;
  display: flex;
  gap: 50px;
}
.service-hero .service-hero-copy {
  flex: 1 1 50%;
}
.service-hero .service-hero-image {
  flex: 1 1 50%;
  position: relative;
}
.service-hero .service-hero-image img {
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
  display: block;
  object-fit: cover;
  width: 100%;
}
.service-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.service-hero .service-hero-title {
  color: var(--color-red);
  font-family: var(--font-headline);
  font-size: 54px;
  line-height: 1.1em;
  margin-bottom: 25px;
}
.service-hero .wysiwyg > * {
  margin-bottom: 1em;
}
.service-hero .buttons {
  margin-top: 30px;
}
@media (max-width: 900px) {
  .service-hero {
    padding: 50px 0 100px;
  }
  .service-hero .inner {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .service-hero .service-hero-title {
    font-size: 40px;
  }
}

/* Services Grid */
.services-grid {
  background: #fff;
  padding: 150px 0;
}
.services-grid .services {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}
.services-grid .service {
  background: var(--color-gray);
  display: flex;
  flex-direction: column;
}
.services-grid .service .pic {
  padding-bottom: 66%;
  position: relative;
}
.services-grid .service .pic img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}
.services-grid .service .content {
  background: var(--color-gray);
  clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: -30px;
  padding: 50px 25px 25px;
  position: relative;
}
.services-grid .service h3 {
  color: var(--color-red);
  font-family: var(--font-headline);
  font-size: 28px;
  margin-bottom: 12px;
}
.services-grid .service p {
  font-size: 14px;
  line-height: 1.6em;
  margin-bottom: 20px;
}
.services-grid .service .buttons {
  margin-top: auto;
}
.services-grid .service .btn {
  flex: 1 1 auto;
  font-size: 12px;
  padding: 10px 14px;
}
@media (max-width: 1024px) {
  .services-grid .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-grid .services {
    grid-template-columns: 1fr;
  }
}

/* Option Cards */
.option-cards {
  background: #fff;
  padding: 150px 0;
}
.option-cards.bg-gray {
  background: var(--color-gray);
}
.option-cards .cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.option-cards .cards.col-2 {
  grid-template-columns: repeat(2, 1fr);
}
.option-cards .cards.col-4 {
  grid-template-columns: repeat(4, 1fr);
}
.option-cards .card {
  background: #f7f7f7;
  border-top: 4px solid var(--color-red);
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.option-cards.bg-gray .card {
  background: #fff;
}
.option-cards .card h3 {
  color: var(--color-red);
  font-family: var(--font-headline);
  font-size: 28px;
  line-height: 1.1em;
  margin-bottom: 10px;
}
.option-cards .card .meta {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5em;
  margin-bottom: 15px;
}
.option-cards .card .wysiwyg > * {
  margin-bottom: 1em;
}
.option-cards .card .wysiwyg p,
.option-cards .card .wysiwyg li {
  font-size: 14px;
  line-height: 1.7em;
}
.option-cards .card .arrow {
  color: var(--color-red);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 10px;
  text-transform: uppercase;
}
.option-cards .card .arrow::after {
  content: " →";
}
@media (max-width: 1024px) {
  .option-cards .cards,
  .option-cards .cards.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .option-cards .cards,
  .option-cards .cards.col-2,
  .option-cards .cards.col-4 {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.module-steps {
  background: var(--color-gray);
  padding: 150px 0;
}
.module-steps .steps {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  list-style: none;
  margin-top: 20px;
}
.module-steps .step {
  padding: 0 18px;
  position: relative;
  text-align: center;
}
/* The line that joins the markers runs behind them, edge to edge. */
.module-steps .step::before {
  background: rgba(164, 46, 46, 0.3);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 31px;
}
.module-steps .step:first-child::before {
  left: 50%;
}
.module-steps .step:last-child::before {
  right: 50%;
}
.module-steps .step:only-child::before {
  display: none;
}
.module-steps .marker {
  align-items: center;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--color-gray);
  color: #fff;
  display: flex;
  font-family: var(--font-headline);
  font-size: 30px;
  font-weight: bold;
  height: 64px;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  width: 64px;
}
.module-steps .label {
  color: var(--color-red);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.module-steps .step h3 {
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 12px;
}
.module-steps .description {
  color: #333;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 260px;
}
@media (max-width: 900px) {
  .module-steps .steps {
    grid-auto-flow: row;
    max-width: 560px;
    margin: 20px auto 0;
  }
  .module-steps .step {
    display: grid;
    gap: 0 24px;
    grid-template-columns: 64px 1fr;
    padding: 0 0 36px;
    text-align: left;
  }
  .module-steps .step::before {
    bottom: 0;
    height: auto;
    left: 31px;
    right: auto;
    top: 0;
    width: 2px;
  }
  .module-steps .step:first-child::before {
    left: 31px;
    top: 32px;
  }
  .module-steps .step:last-child::before {
    bottom: auto;
    height: 32px;
    right: auto;
  }
  .module-steps .marker {
    margin: 0;
  }
  .module-steps .description {
    margin: 0;
    max-width: none;
  }
}

/* Pricing Details + Comparison Table */
.pricing-details,
.comparison-table {
  background: #fff;
  padding: 150px 0;
}
.comparison-table {
  background: var(--color-gray);
}
.table-scroll {
  margin: 0 auto;
  max-width: 900px;
  overflow-x: auto;
}
.pricing-details table,
.comparison-table table {
  border-collapse: collapse;
  width: 100%;
}
.pricing-details th,
.pricing-details td,
.comparison-table th,
.comparison-table td {
  line-height: 1.5em;
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
}
.pricing-details thead th,
.comparison-table thead th {
  background: var(--color-red);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pricing-details tbody tr:nth-child(odd),
.comparison-table tbody tr:nth-child(odd) {
  background: #f7f7f7;
}
.comparison-table tbody tr:nth-child(odd) {
  background: #fff;
}
.pricing-details tbody th,
.comparison-table tbody th {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: bold;
}
.pricing-details td {
  font-size: 14px;
}
.pricing-details td.price {
  color: var(--color-red);
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
}
.comparison-table td {
  font-size: 15px;
}
@media (max-width: 600px) {
  .pricing-details th,
  .pricing-details td,
  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }
  .pricing-details td.price {
    white-space: normal;
  }
}

/* Image + Text */
.image-text {
  background: #fff;
  padding: 150px 0;
}
.image-text.bg-gray {
  background: var(--color-gray);
}
.image-text .wrapper {
  align-items: center;
  display: flex;
  gap: 60px;
}
.image-text .wrapper.image-right {
  flex-direction: row-reverse;
}
.image-text .pic {
  flex: 0 0 45%;
}
.image-text .pic img {
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px));
  display: block;
  object-fit: cover;
  width: 100%;
}
.image-text .content {
  flex: 1;
}
.image-text .headline {
  margin-bottom: 25px;
}
.image-text .buttons {
  margin-top: 25px;
}
@media (max-width: 900px) {
  .image-text .wrapper,
  .image-text .wrapper.image-right {
    flex-direction: column;
    gap: 30px;
  }
}

/* Why Choose */
.why-choose {
  background: var(--color-red);
  color: #fff;
  padding: 150px 0;
}
.why-choose .wrapper {
  align-items: center;
  display: flex;
  gap: 60px;
}
.why-choose .pic {
  flex: 0 0 45%;
}
.why-choose .pic img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}
.why-choose .content {
  flex: 1;
}
.why-choose .headline {
  margin-bottom: 25px;
}
.why-choose .wysiwyg a {
  color: #fff;
}
.why-choose .review {
  background: #fff;
  color: #000;
  margin-top: 30px;
  padding: 25px 30px;
}
.why-choose .review blockquote p {
  font-family: var(--font-headline);
  font-size: 22px;
  line-height: 1.4em;
}
.why-choose .review figcaption {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-top: 15px;
  text-transform: uppercase;
}
.why-choose .buttons {
  margin-top: 30px;
}
@media (max-width: 900px) {
  .why-choose .wrapper {
    flex-direction: column;
    gap: 30px;
  }
}

/* Profiles */
.module-profiles {
  background: #fff;
  padding: 150px 0;
}
.module-profiles .profile {
  display: flex;
  gap: 50px;
  margin-bottom: 60px;
}
.module-profiles .profile:last-child {
  margin-bottom: 0;
}
.module-profiles .profile .pic {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
  flex: 0 0 32%;
  margin: 0;
  padding: 0;
}
.module-profiles .profile .pic img {
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  width: 100%;
}
.module-profiles .profile h3 {
  color: var(--color-red);
  font-family: var(--font-headline);
  font-size: 42px;
  margin-bottom: 10px;
}
.module-profiles .profile .role {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.module-profiles .profile .wysiwyg > * {
  margin-bottom: 1em;
}
@media (max-width: 800px) {
  .module-profiles .profile {
    display: block;
  }
  .module-profiles .profile .pic {
    margin-bottom: 30px;
    max-width: 360px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}
.faq-section .faq-list {
  margin: 0 auto;
  max-width: 900px;
}
.faq-section .faq:nth-child(odd) {
  background: #f7f7f7;
}
.faq-section summary {
  align-items: center;
  color: var(--color-red);
  cursor: pointer;
  display: flex;
  font-family: var(--font-headline);
  font-size: 24px;
  gap: 20px;
  line-height: 1.3em;
  list-style: none;
  padding: 20px;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section summary::before {
  content: "+";
  flex: 0 0 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  text-align: center;
}
.faq-section details[open] summary::before {
  content: "−";
}
.faq-section .answer {
  padding: 0 20px 20px 60px;
}
.faq-section .answer > * {
  margin-bottom: 1em;
}

/* CTA Band */
.cta-band {
  background: var(--color-red);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta-band .bg-image {
  height: 100%;
  left: 0;
  object-fit: cover;
  opacity: 0.2;
  position: absolute;
  top: 0;
  width: 100%;
}
.cta-band .content {
  margin: 0 auto;
  max-width: 768px;
  padding: 80px 20px;
  position: relative;
  text-align: center;
}
.cta-band .headline {
  margin-bottom: 20px;
}
.cta-band p {
  font-size: 18px;
  line-height: 1.6em;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .wow {
    animation: none !important;
    visibility: visible !important;
  }
}
