:root {
  --navy: #0b2e4d;
  --blue: #5a9bd4;
  --grey: #8a9199;
  --white: #ffffff;
  --whatsapp: #25d366;
  --header-height: 104px;
  --bs-body-color: var(--navy);
  --bs-body-bg: var(--white);
  --bs-link-color: var(--navy);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 5.7vw, 82px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.container {
  max-width: 1280px;
  padding-left: 40px;
  padding-right: 40px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 50rem;
  background: var(--blue);
  color: var(--navy);
}

.skip-link:focus {
  top: 10px;
}

/* Navigation */

.site-header {
  background: var(--navy);
  color: var(--blue);
}

.navbar {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.navbar-brand {
  margin: 0;
}

.navbar-logo {
  display: block;
  width: 160px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.site-menu > a:not(.button) {
  padding-block: 12px;
}

.site-menu a[aria-current="page"] {
  box-shadow: 0 2px var(--blue);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 24px;
  border: 0;
  border-radius: 50rem;
  background: var(--blue);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--grey);
  color: var(--navy);
  transform: translateY(-2px);
}

.button-secondary {
  background: var(--navy);
  color: var(--blue);
}

.nav-quote {
  padding: 12px 18px;
  font-size: 14px;
}

/* Home hero */

.hero {
  position: relative;
  height: calc(100svh - var(--header-height));
  min-height: 0;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  height: 100%;
  padding-top: clamp(18px, 4vh, 42px);
  padding-bottom: 65px;
}

.hero h1,
.hero-copy {
  color: var(--blue);
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, min(5.2vw, 8vh), 72px);
}

.hero-copy {
  margin-bottom: 18px;
  font-size: clamp(16px, 2.5vh, 19px);
  line-height: 1.6;
}

.hero-foot {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  justify-content: flex-end;
}

.hero-foot a {
  padding: 6px 15px;
  border-radius: 50rem;
  background: var(--white);
  font-size: 14px;
}

/* Shared sections */

.section {
  padding: 90px 0;
}

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

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

.section-heading p {
  max-width: 390px;
}

.text-link {
  display: inline-block;
  padding-block: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-size: 14px;
}

.gallery-grid figcaption span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Product links */

.products-section {
  background: var(--navy);
  color: var(--blue);
}

.product-link {
  display: block;
}

.product-link img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-link h3 {
  display: flex;
  justify-content: space-between;
  margin: 17px 0 8px;
}

.product-link p {
  margin-bottom: 0;
  font-size: 14px;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 760px;
}

.about-photo {
  min-height: 600px;
  margin: 20px;
  background-image: url("assets/image-41.jpg");
  background-position: center;
  background-size: cover;
}

.about-copy {
  padding: 90px clamp(30px, 6vw, 110px);
}

.about-copy h1 {
  margin-bottom: 36px;
  font-size: clamp(44px, 4.3vw, 65px);
}

.about-copy p {
  max-width: 630px;
  margin-bottom: 23px;
}

/* Contact */

.contact-main {
  min-height: calc(100svh - var(--header-height));
  padding: 80px 0;
  background-image: url("assets/car-garage.jpeg");
  background-position: center;
  background-size: cover;
}

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

.contact-intro {
  padding: 28px;
  background: var(--white);
}

.contact-intro h1 {
  margin-bottom: 22px;
  font-size: clamp(45px, 4.7vw, 68px);
}

.contact-intro p {
  margin-bottom: 0;
  font-size: 18px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  width: 50%;
  min-width: 240px;
  min-height: 60px;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--navy);
  transition: width 0.25s ease, padding 0.25s ease;
}

.contact-card > i {
  width: 22px;
  font-size: 21px;
}

.contact-card > div {
  flex: 1;
  min-width: 0;
}

.contact-card h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.35;
}

.contact-card p {
  display: none;
  margin: 4px 0 0;
  font-size: 13px;
}

.contact-card:hover,
.contact-card:focus-visible,
.contact-card.expanded {
  width: 70%;
  padding: 14px 16px;
}

.contact-card:hover p,
.contact-card:focus-visible p,
.contact-card.expanded p {
  display: block;
}

/* Three-dimensional product guide */

.guide-main {
  min-height: 760px;
  padding: 45px 0 70px;
  overflow: clip;
}

.guide-heading {
  text-align: center;
}

.guide-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 4vw, 60px);
}

.product-orbit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 480px;
  margin: 35px 0 20px;
  perspective: 1400px;
  perspective-origin: 50% 42%;
}

.orbit-axis {
  position: relative;
  width: 230px;
  height: 310px;
  transform-style: preserve-3d;
}

.orbit-axis.is-stepping {
  transition: transform 0.8s ease-in-out;
}

.orbit-panel {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--navy);
  transform-style: preserve-3d;
}

.orbit-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  background: var(--navy);
  color: var(--blue);
}

.orbit-back {
  transform: rotateY(180deg);
}

.orbit-panel img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.orbit-panel h2 {
  position: absolute;
  top: 128px;
  left: 12px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 50rem;
  background: var(--white);
  color: var(--navy);
  font-size: 21px;
  line-height: 1.15;
}

.orbit-caption {
  padding: 18px;
}

.orbit-caption p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.4;
}

.orbit-caption span {
  font-size: 14px;
}

.orbit-navigation {
  flex-wrap: wrap;
}

.orbit-arrow,
.orbit-pause {
  min-height: 44px;
  border: 0;
  background: var(--navy);
  color: var(--blue);
}

.orbit-arrow {
  width: 44px;
  height: 44px;
  font-size: 21px;
}

.orbit-pause {
  min-width: 80px;
}

.orbit-arrow:hover,
.orbit-pause:hover {
  background: var(--blue);
  color: var(--navy);
}

#orbit-status {
  min-width: 125px;
  text-align: center;
  font-size: 16px;
}

/* Product detail pages */

.product-page {
  padding: 70px 0 90px;
}

.product-intro > h1 {
  margin-bottom: 24px;
}

.product-intro > .lead {
  max-width: 900px;
  margin-bottom: 42px;
  font-size: 20px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 24px;
}

.product-hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.use-case-card {
  padding: 32px;
  background: var(--navy);
  color: var(--blue);
}

.use-case-card h2 {
  margin-bottom: 28px;
  font-size: 34px;
}

.use-case-card li {
  margin-bottom: 14px;
}

.product-section {
  padding-top: 72px;
}

.product-section > h2 {
  margin-bottom: 28px;
}

.size-card,
.specification-list li span {
  display: block;
  padding: 24px;
  background: var(--navy);
  color: var(--blue);
}

.size-card h3 {
  margin-bottom: 8px;
}

.size-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
}

.size-card p {
  margin-bottom: 0;
}

.capacity-note {
  margin: 22px 0 0;
}

.specification-list {
  padding: 0;
  list-style: none;
}

.specification-list li span {
  height: 100%;
  border-radius: 1rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-gallery figure {
  margin: 0;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.product-gallery figcaption {
  padding-top: 10px;
  font-size: 14px;
}

.product-actions {
  padding-top: 45px;
}

/* Quote form */

.quote-main {
  min-height: calc(100svh - var(--header-height));
  background: var(--grey);
}

.quote-card {
  border-radius: 20px;
}

.quote-card h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 5vw, 62px);
}

.quote-intro {
  margin-bottom: 28px;
  color: var(--grey);
}

.quote-card .form-control,
.quote-card .form-select {
  padding: 12px;
  border-color: var(--grey);
}

.cf-turnstile[data-sitekey="YOUR_SHADE_TENTS_TURNSTILE_SITE_KEY"] {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid var(--grey);
  border-radius: 12px;
  color: var(--grey);
  background: var(--white);
}

.cf-turnstile[data-sitekey="YOUR_SHADE_TENTS_TURNSTILE_SITE_KEY"]::before {
  content: "Cloudflare security check will appear here once configured.";
}

.quote-card .form-control:focus,
.quote-card .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgb(90 155 212 / 25%);
}

#formMessage:empty {
  display: none;
}

#formMessage {
  margin-bottom: 16px;
}

/* Footer and fixed WhatsApp */

.site-footer {
  padding: 42px 0;
  background: var(--navy);
  color: var(--blue);
}

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

.footer-brand {
  font-size: 18px;
  font-weight: 700;
}

.footer-brand span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 400;
}

.socials {
  display: flex;
  gap: 22px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 40px;
  gap: 5px;
  font-size: 22px;
}

.social-fallback {
  font-size: 12px;
}

.copyright,
.social-status {
  margin: 0;
  font-size: 12px;
}

.social-status {
  text-align: center;
}

.social-status:not(:empty) {
  padding: 20px 20px 0;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  color: var(--whatsapp);
  font-size: 33px;
  box-shadow: 0 5px 25px rgb(11 46 77 / 40%);
}

@media (max-width: 1000px) {
  .site-menu {
    gap: 18px;
  }

  .nav-quote {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .gallery-grid img {
    height: min(22svh, 190px);
    aspect-ratio: auto;
  }

  .contact-layout {
    gap: 30px;
  }

  .about-copy {
    padding: 65px 35px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .navbar {
    min-height: 84px;
    flex-wrap: wrap;
    gap: 0;
  }

  .navbar-logo {
    width: 120px;
    height: 60px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--blue);
  }

  .site-menu {
    display: none;
    width: 100%;
    padding: 20px 0;
    align-items: stretch;
    gap: 10px;
  }

  .site-menu.open {
    display: flex;
    flex-direction: column;
  }

  .nav-quote {
    display: flex;
    width: fit-content;
    margin-top: 12px;
  }

  .hero {
    height: calc(100svh - var(--header-height));
  }

  .hero-content {
    padding-top: 25px;
  }

  .hero h1 {
    font-size: clamp(32px, min(9.3vw, 7vh), 55px);
  }

  .hero-copy {
    max-width: 280px;
  }

  .hero-foot {
    bottom: 12px;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p,
  .section-heading .text-link {
    margin-top: 20px;
  }

  .gallery-grid {
    gap: 14px 10px;
  }

  .gallery-grid img {
    height: min(18svh, 140px);
  }

  .gallery-grid figcaption {
    padding-top: 6px;
    font-size: 11px;
  }

  .product-link h3 {
    font-size: 19px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 360px;
  }

  .about-copy {
    padding: 45px 22px;
  }

  .contact-main {
    padding: 50px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-card {
    min-width: 230px;
  }

  .contact-card:hover,
  .contact-card:focus-visible,
  .contact-card.expanded {
    width: 90%;
  }

  .guide-main {
    min-height: 700px;
    padding-top: 40px;
  }

  .guide-heading h1 {
    font-size: 44px;
  }

  .product-orbit {
    height: 350px;
    margin-top: 25px;
    perspective: 1000px;
  }

  .orbit-axis {
    width: clamp(104px, 24vw, 160px);
    height: 220px;
  }

  .orbit-panel img {
    height: 115px;
  }

  .orbit-panel h2 {
    top: 76px;
    left: 5px;
    max-width: calc(100% - 10px);
    padding: 5px 7px;
    font-size: 14px;
  }

  .orbit-caption {
    padding: 14px 9px;
  }

  .orbit-caption p {
    display: none;
  }

  .orbit-caption span {
    display: block;
    font-size: 12px;
    line-height: 1.3;
  }

  #orbit-status {
    min-width: 110px;
    font-size: 14px;
  }

  .orbit-pause {
    min-width: 65px;
  }

  .product-page {
    padding: 50px 0 70px;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-image {
    height: 340px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery img {
    height: 300px;
  }

  .footer-inner {
    gap: 25px;
  }

  .copyright {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 16px;
    left: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-height: 600px) and (min-width: 768px) {
  .hero-content {
    padding-top: 14px;
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 7vh, 42px);
    line-height: 1;
  }

  .hero-copy {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .hero .button {
    padding: 10px 20px;
  }

  .hero-foot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
