* {
  box-sizing: border-box;
}

:root {
  --orange: #e2640f;
  --ink: #171717;
  --paper: #fffaf5;
  --muted: #6f6862;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 7%;
  color: white;
  background: var(--ink);
}

.site-header h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.site-header p {
  margin: 6px 0 0;
  color: #f4eee9;
}

.site-header img {
  width: 110px;
  height: auto;
}

.header-right {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px;
  background: #f1e8df;
}

.site-nav a {
  color: var(--ink);
  font-weight: bold;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

main {
  width: 100%;
  margin: 0;
}

.intro {
  margin-bottom: 28px;
  text-align: center;
}

.intro h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.intro p {
  margin: 0;
  color: var(--muted);
}

.account-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid #eaded4;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  font-weight: bold;
}

.form-row input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc4bc;
  border-radius: 4px;
  font: inherit;
}

.form-row input:focus {
  outline: 3px solid rgba(226, 100, 15, 0.25);
  border-color: var(--orange);
}

.account-form button {
  padding: 13px 18px;
  border: 0;
  border-radius: 4px;
  color: white;
  background: var(--orange);
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

.account-form button:hover,
.account-form button:focus-visible {
  background: #b94e08;
}

.site-footer {
  width: 100%;
  padding: 42px 7% 150px;
  color: white;
  background: var(--ink);
  text-align: center;
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .site-header img {
    width: 72px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .account-form {
    padding: 20px;
  }

  .hero {
    min-height: 380px;
    padding: 48px 5%;
  }

  .content-section {
    padding: 48px 5%;
  }
}

.header-copy {
  display: grid;
  gap: 8px;
}

.header-copy a {
  color: #f4eee9;
}

.header-copy .website-link {
  color: var(--orange);
  font-weight: bold;
  text-decoration: none;
}

.header-right .account-link {
  color: var(--orange);
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.header-copy p {
  margin: 0;
}

.header-copy p a {
  color: white;
  font-size: 1.525rem;
  font-weight: bold;
  text-decoration: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
}

.hero {
  width: 100%;
  min-height: 480px;
  display: grid;
  align-items: center;
  padding: 72px 7%;
  color: white;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/chevrolet-suburban-black-suv-rental.jpeg") center / cover;
}

.hero-content {
  width: min(100%, 620px);
}

.about-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/Black-suv-3-in-row.png");
}

.contact-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/contact-page-hero-mycitycarrental.jpg");
}

.services-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/fleet-services-banner.png");
}

.account-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/contact-page-hero-mycitycarrental.jpg");
}

.tourism-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/cali-tours-guide.png");
}

.testimonials-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/fleet-showroom.png");
}

.hero h2 {
  margin: 0 0 14px;
  color: #ffb15e;
  font-size: clamp(2rem, calc(6vw - 10px), 4.175rem);
}

.hero p {
  margin: 0 0 28px;
  font-size: 1.25rem;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  color: white;
  background: var(--orange);
  font: inherit;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #b94e08;
}

.content-section {
  width: 100%;
  padding: 72px 7%;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  color: white;
  background: #090909;
}

.content-text h2,
.standards h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.content-text p,
.standards p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-text p {
  color: #e6ddd6;
}

.standards p {
  color: #3a302a;
}

.intro > img {
  width: 100%;
  border-radius: 6px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  color: white;
  background: #090909;
}

.about-intro .content-text p {
  margin: 0;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  color: white;
  background: #090909;
}

.services-intro > img {
  width: 100%;
  border-radius: 6px;
}

.about-intro > img,
.about-service > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.about-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  background: white;
}

.about-service:nth-of-type(even) {
  background: #f1e8df;
}

.contact-intro {
  background: #090909;
}

.contact-intro .section-heading {
  width: min(100%, 850px);
  margin: 0 auto 32px;
}

.contact-intro .section-heading h2,
.contact-intro .section-heading p {
  color: white;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-channel {
  padding: 28px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
  text-align: center;
}

.contact-channel img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.contact-channel h3 {
  margin: 14px 0 8px;
}

.contact-channel p {
  min-height: 54px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form-section {
  width: min(100%, 760px);
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid #eaded4;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
}

.contact-form textarea,
.contact-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc4bc;
  border-radius: 4px;
  font: inherit;
}

.contact-form textarea:focus,
.contact-form input:focus {
  outline: 3px solid rgba(226, 100, 15, 0.25);
  border-color: var(--orange);
}

.account-section {
  width: min(100%, 760px);
  margin: 0 auto;
}

.account-intro {
  margin-bottom: 28px;
  text-align: center;
}

.account-intro h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.account-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.account-form small {
  color: var(--muted);
  line-height: 1.4;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.account-actions .button {
  flex: 1 1 160px;
  text-align: center;
}

.booking-hero {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18)), url("Images/contact-page-hero-mycitycarrental.jpg");
}

.booking-intro {
  color: white;
  background: #090909;
}

.booking-intro-inner {
  width: min(100%, 850px);
  margin: 0 auto;
  text-align: center;
}

.booking-intro h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.booking-intro p {
  color: #e6ddd6;
  font-size: 1.05rem;
  line-height: 1.7;
}

.tourism-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  color: white;
  background: #090909;
}

.tourism-intro > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.tourism-form-section {
  width: min(100%, 900px);
  margin: 0 auto;
}

.tourism-form {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: white;
  border: 1px solid #eaded4;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
}

.tourism-form textarea,
.tourism-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc4bc;
  border-radius: 4px;
  font: inherit;
}

.tourism-form textarea:focus,
.tourism-form input:focus {
  outline: 3px solid rgba(226, 100, 15, 0.25);
  border-color: var(--orange);
}

.testimonials-intro {
  background: #090909;
}

.testimonials-intro .section-heading h2,
.testimonials-intro .section-heading p {
  color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 24px;
  background: white;
  border-radius: 8px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.testimonial-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-section {
  width: min(100%, 900px);
  margin: 0 auto;
}

.booking-form {
  display: grid;
  gap: 24px;
  padding: 28px;
  background: white;
  border: 1px solid #eaded4;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
}

.booking-form fieldset {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #eaded4;
  border-radius: 6px;
}

.booking-form legend {
  padding: 0 8px;
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: bold;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-form select,
.booking-form textarea,
.booking-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc4bc;
  border-radius: 4px;
  background: white;
  font: inherit;
}

.booking-form select:focus,
.booking-form textarea:focus,
.booking-form input:focus {
  outline: 3px solid rgba(226, 100, 15, 0.25);
  border-color: var(--orange);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stops-area {
  display: grid;
  gap: 14px;
}

.stops-container {
  display: grid;
  gap: 14px;
}

.booking-map-area {
  display: grid;
  gap: 8px;
}

.booking-map-area h3,
.booking-map-area p {
  margin: 0;
}

.booking-map-area p,
.map-status {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.booking-map {
  width: 100%;
  height: 360px;
  border: 1px solid #cfc4bc;
  border-radius: 6px;
  overflow: hidden;
}

.map-status {
  min-height: 1.5em;
}

.route-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fffaf5;
  border: 1px solid #eaded4;
  border-radius: 6px;
}

.route-primary {
  margin: 0;
  color: var(--ink);
  font-weight: bold;
}

.route-options {
  display: grid;
  gap: 8px;
}

.route-option {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfc4bc;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.route-option:hover,
.route-option:focus-visible,
.route-option.is-selected {
  border-color: var(--orange);
  background: #fff1e4;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stop-row {
  padding: 14px;
  background: #fffaf5;
  border-left: 4px solid var(--orange);
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.booking-actions .button {
  flex: 1 1 180px;
  text-align: center;
}

.booking-status {
  min-height: 1.5em;
  margin: 0;
  color: #3a302a;
  font-weight: bold;
  line-height: 1.5;
}

.service-text h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.service-text p {
  color: #3a302a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 56px;
  align-items: center;
  background: white;
}

.service-section:nth-of-type(odd) {
  background: #f1e8df;
}

.service-image {
  width: 100%;
  max-height: 300px;
  padding: 8px;
  object-fit: cover;
  border: 4px solid #f1b465;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(23, 23, 23, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-image:hover,
.service-image:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(23, 23, 23, 0.2);
}

.quick-form-section {
  width: min(92%, 900px);
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.quick-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid #eaded4;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
}

.quick-form .form-row-wide,
.quick-form .form-submit {
  grid-column: 1 / -1;
}

.quick-form textarea,
.quick-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc4bc;
  border-radius: 4px;
  font: inherit;
}

.quick-form textarea:focus,
.quick-form input:focus {
  outline: 3px solid rgba(226, 100, 15, 0.25);
  border-color: var(--orange);
}

.standards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  background: #f1e8df;
}

.standards-text {
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: left;
}

.standards > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.site-footer h2 {
  margin-top: 0;
}

.footer-social,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin: 22px 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-social a:hover img,
.footer-social a:focus-visible img {
  transform: scale(1.12);
}

.button-dark {
  background: #55504c;
}

@media (max-width: 700px) {
  .intro,
  .about-intro,
  .about-service,
  .services-intro,
  .service-section,
  .contact-channels,
  .tourism-intro,
  .testimonial-grid,
  .form-grid,
  .standards,
  .quick-form {
    grid-template-columns: 1fr;
  }

  .standards-text {
    width: 100%;
    text-align: center;
  }

  .quick-form .form-row-wide,
  .quick-form .form-submit {
    grid-column: auto;
  }
}
