* {
  box-sizing: border-box;
}

body.redesign {
  display: flow-root;
  min-height: 100vh;
  margin: 0;
  color: #edf3fa;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(rgba(7, 17, 29, .91), rgba(7, 17, 29, .96)), url("gondola.jpg") center top / cover fixed;
}

.redesign header {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 1280px;
  transform: translateX(-50%);
  border: 1px solid rgba(198, 215, 231, .2);
  border-radius: 20px;
  background: rgba(15, 25, 36, .96);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}

.redesign .navbar {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 10px 22px;
}

.redesign .logo img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.redesign .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.redesign .nav-links a {
  color: #edf3fa;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.redesign .menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.redesign .site-cart {
  border-color: rgba(255, 66, 79, .65);
  background: rgba(128, 22, 32, .3);
  box-shadow: 0 0 20px rgba(239, 31, 51, .22);
}

.redesign .site-language button.active,
.redesign .site-language button:hover {
  background: transparent;
}

.redesign .footer {
  background: #0c151f;
  color: #c2ced9;
}

.redesign .footer h3,
.redesign .footer a {
  color: #edf3fa;
}

.redesign :is(.rental-book-button, .main-btn, .video-btn, .call-btn, .bottom-btn, #payBtn) {
  border: 1px solid rgba(255, 128, 138, .5);
  border-radius: 12px;
  background: linear-gradient(180deg, #c81f31, #951020);
  color: #fff;
  box-shadow: 0 7px 22px rgba(233, 34, 53, .25);
}

.redesign :is(.rental-book-button, .main-btn, .video-btn, .call-btn, .bottom-btn, #payBtn):hover {
  background: linear-gradient(180deg, #aa1828, #810d1b);
  color: #fff;
}

/* Home */
.home-page .featured-rentals,
.home-page .gear-values,
.home-page #services.services,
.home-page .gallery {
  background: #101e2b;
  color: #edf3fa;
}

.home-page :is(.featured-rentals-heading h2, .gear-values h2, .gear-value h3, .gallery h2, #services.services > h2) {
  color: #edf3fa;
}

.home-page :is(.featured-rentals-heading p:last-child, .gear-values-intro, .gear-value p) {
  color: #bcc9d6;
}

.home-page .rental-card,
.home-page #services .service {
  border: 1px solid rgba(194, 214, 230, .2);
  border-radius: 18px;
  background: #192a39;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.home-page .rental-card-info {
  background: #192a39;
}

.home-page .featured-rentals-kicker,
.home-page .gear-values-kicker {
  color: #ff7b87;
}

.home-page #services .service h3 {
  color: #f5f8fc;
}

.home-page #services .service p {
  color: #d3dee8;
}

.home-page #services .service-btn:hover {
  border-color: #b51f2a;
  background: #b51f2a;
  color: #fff;
}

.home-page .rental-card-info :is(h3, p) {
  color: #edf3fa;
}

.home-page .rental-card-info .rental-old-price {
  color: #a7b3c1;
}

.home-page .rental-card-info .rental-price {
  color: #ff5261;
}

/* Ski school */
body.redesign.school-page {
  color: #edf3fa;
  background: linear-gradient(rgba(7, 17, 29, .91), rgba(7, 17, 29, .96)), url("gondola.jpg") center top / cover fixed;
}

.school-page header {
  border-color: rgba(198, 215, 231, .2);
  background: rgba(15, 25, 36, .96);
}

.school-page .footer {
  background: #0c151f;
  color: #c2ced9;
}

.school-page .instructors-intro {
  width: min(1050px, calc(100% - 32px));
  margin: 115px auto 16px;
  padding: 42px 25px;
  border: 1px solid #415363;
  border-radius: 20px;
  background: #182937;
}

.school-page .instructors-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
}

.school-page .instructors-intro h1,
.school-page .instructors-heading,
.school-page .ski-school-pricing h2,
.school-page .lesson-section h2,
.school-page #available-hours .title {
  color: #f4f4f4;
}

.school-page .instructors-heading {
  width: fit-content;
  margin: 40px auto 0;
  padding: 8px 18px;
  border-radius: 12px;
  background: #182937;
}

.school-page .instructors-intro h4,
.school-page .lesson-section h4 {
  color: #c9d4df;
}

.school-page .trust-section {
  width: min(1050px, calc(100% - 32px));
  max-width: 1050px;
  margin: 0 auto 30px;
  padding: 22px;
  border: 1px solid #415363;
  border-radius: 18px;
  background: #182937;
  text-align: center;
}

.school-page :is(.trust-score, .trust-text) {
  color: #f3f3f3;
}

.school-page .trust-badge {
  border-color: #526577;
  background: #263b4b;
  color: #edf3fa;
}

.instructors-heading {
  margin: 40px 16px 0;
  text-align: center;
  text-transform: uppercase;
}

.school-page .instructors-preview {
  display: grid;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}

.school-page .instructor-box {
  position: relative;
  width: auto;
  min-height: 0;
  border: 1px solid #496071;
  border-radius: 18px;
  background: #192a39;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.school-page .instructor-box:hover {
  transform: translateY(-5px);
  border-color: #b9414a;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .4);
}

.school-page .instructor-box img {
  width: 96px;
  height: 96px;
  margin: 16px 0 0 16px;
  border-radius: 10px;
  object-position: center 35%;
}

.school-page .instructor-box .text-area {
  position: static;
  min-height: 0;
  padding: 14px 16px 18px;
  border-top: 0;
  background: transparent;
  gap: 8px;
}

.school-page .instructor-box h3 {
  color: #fff;
  font-size: 1.08rem;
  text-align: left;
}

.school-page .instructor-box .specialty {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: calc(100% - 138px);
  margin: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: #c52435;
  color: #fff;
  font-size: .7rem;
  letter-spacing: .03em;
  text-align: right;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}

.school-page .instructor-box .instructor-bio {
  color: #d3dee8;
  text-align: left;
  line-height: 1.5;
}

.school-page :is(.ski-school-pricing, .lesson-section, #available-hours) {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 32px;
  border: 1px solid #415363;
  border-radius: 20px;
  background: #182937;
  color: #edf3fa;
}

.school-page :is(.ski-school-pricing, .lesson-section) .subtitle {
  margin: 34px 0 18px;
  color: #e2e2e2;
  text-align: left;
}

.school-page :is(.ski-school-pricing, .lesson-section) table {
  margin-bottom: 16px;
  border-color: #52616a;
  background: #222c32;
  color: #f3f3f3;
}

.school-page :is(.ski-school-pricing, .lesson-section) table td {
  border-color: #52616a;
  background: #222c32;
  color: #f3f3f3;
}

.school-page :is(.ski-school-pricing, .lesson-section) table tbody tr:nth-child(even) td {
  background: #2b3036;
}

.school-page :is(.ski-school-pricing, .lesson-section) table tbody td:not(:first-child) {
  color: #ff9aa2;
  font-weight: 600;
}

.school-page :is(.ski-school-pricing, .lesson-section) table th {
  border-color: #52616a;
  background: #161f25;
  color: #f3f3f3;
}

.school-page :is(.ski-school-pricing, .lesson-section) table tbody tr:hover td {
  background: #3a4045;
}

.school-page .lesson-section .info-text {
  color: #c9d4df;
}

.school-page .lesson-book-btn {
  display: block;
  width: min(100%, 400px);
  margin: 0 auto 34px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 128, 138, .55);
  border-radius: 12px;
  background: linear-gradient(180deg, #c81f31, #951020);
  box-shadow: 0 7px 22px rgba(233, 34, 53, .25);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.school-page .lesson-book-btn:hover,
.school-page .lesson-book-btn:focus-visible {
  background: linear-gradient(180deg, #aa1828, #810d1b);
  color: #fff;
}

.school-page #reserveInstructorBtn {
  border: 1px solid rgba(255, 128, 138, .5);
  border-radius: 12px;
  background: linear-gradient(180deg, #c81f31, #951020);
  box-shadow: 0 7px 22px rgba(233, 34, 53, .25);
  color: #fff;
}

.school-page #reserveInstructorBtn:hover,
.school-page #reserveInstructorBtn:focus-visible {
  background: linear-gradient(180deg, #aa1828, #810d1b);
  color: #fff;
}

/* Contact */
.contact-page .contact-panel {
  width: min(850px, calc(100% - 32px));
  margin: 40px auto 64px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid rgba(194, 214, 230, .2);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(28, 39, 49, .97), rgba(11, 18, 25, .97));
  color: #edf3fa;
}

.contact-page .contact-panel h1 {
  margin: 0;
  color: #edf3fa;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.contact-page .contact-intro {
  margin: 14px 0 26px;
  color: #c4cfda;
  font-size: 1.1rem;
  text-align: center;
}

.contact-page .contact-map {
  overflow: hidden;
  border: 1px solid #43515c;
  border-radius: 16px;
  background: #111a22;
}

.contact-page .contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-page .contact-map p {
  margin: 0;
  padding: 12px 16px;
  color: #edf3fa;
}

.contact-page .contact-map a {
  display: inline-block;
  margin-left: 8px;
  color: #ff9aa2;
}

.contact-page .contact-panel h2 {
  margin: 32px 0 16px;
  color: #edf3fa;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.contact-page .contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-page .contact-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #43515c;
  border-radius: 14px;
  background: rgba(15, 23, 30, .88);
}

.contact-page .contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #e4ecf3;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.contact-page .contact-icon {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: #9c2631;
  color: #fff;
}

.contact-page .contact-whatsapp {
  grid-column: 1 / -1;
}

.contact-page .contact-whatsapp .contact-icon {
  background: #168c4a;
}

.contact-page :is(.contact-card a, .contact-social-links a) {
  color: #edf3fa;
  overflow-wrap: anywhere;
}

.contact-page :is(.contact-card a, .contact-social-links a):hover {
  color: #ff9aa2;
}

.contact-page :is(.contact-hours, .contact-social) h2 {
  text-align: center;
}

.contact-page .contact-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #43515c;
}

.contact-page .contact-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

.contact-page .contact-social-links a {
  text-decoration: none;
}

.contact-page .contact-social-links i {
  margin-right: 8px;
}

/* Product booking */
body.detail-page {
  padding: 110px 16px 40px;
}

.detail-page .booking-calendar,
.detail-page .card {
  border: 1px solid rgba(194, 214, 230, .2);
  border-radius: 18px;
  background: #152431;
  color: #edf3fa;
}

.detail-page .rental-label {
  background: #243746;
}

.detail-page :is(.booking-date-field span, .booking-date-field strong, .card-info h2, .price-summary .total) {
  color: #edf3fa;
}

.detail-page .booking-date-field {
  border-color: #46596a;
  background: #1d3040;
}

.detail-page .pickup-note,
.detail-page .price-before-discount {
  color: #b6c4d2;
}

.detail-page .card > .image-wrap {
  padding: 18px;
  background: #f5f6f7;
}

.detail-page .card > .image-wrap img {
  max-height: 280px;
  object-fit: contain;
}

.detail-page .card-info {
  padding: 24px;
}

.detail-page .addon {
  border-color: #425465;
  border-radius: 14px;
  background: #203242;
  color: #edf3fa;
}

.detail-page .addon-image img {
  padding: 4px;
  background: #fff;
}

.detail-page .addon-price {
  color: #ff6977;
}

/* Checkout */
body.checkout-page {
  max-width: none;
  padding: 115px 20px 60px;
}

.checkout-layout {
  display: grid;
  width: min(1100px, 100%);
  margin: auto;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  align-items: start;
  gap: 20px;
}

.checkout-card,
.checkout-help {
  padding: 30px;
  border: 1px solid #415363;
  border-radius: 20px;
  background: #182937;
}

.checkout-kicker {
  color: #ff6977;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.checkout-card h1 {
  margin: 5px 0 30px;
  font-size: clamp(30px, 4vw, 46px);
}

.checkout-card h2,
.checkout-help h2 {
  font-size: 20px;
}

.checkout-card .product {
  border-color: #415363;
  line-height: 1.6;
}

.checkout-card .customer-details input {
  min-height: 44px;
  border: 1px solid #607282;
  border-radius: 8px;
  background: #f9fbfd;
  color: #18212a;
}

.checkout-help p {
  color: #c4cfda;
  line-height: 1.6;
}

.checkout-help a {
  display: block;
  margin-top: 16px;
  color: #ff8792;
}

/* Supporting pages */
.about-page .about-section,
.about-page .guest-reviews,
.zone-page :is(.ski-zone, .ski-slopes, .lift-section),
.equipment-page .standard-series {
  background: #12222f;
  color: #d7e1eb;
}

.about-page .about-section {
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: clamp(24px, 4vw, 45px);
  border: 1px solid #415363;
  border-radius: 20px;
}

.about-page .about-section h1 {
  margin: 0 0 32px;
  color: #edf3fa;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.about-page .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 32px;
}

.about-page .about-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #536474;
  border-radius: 14px;
}

.about-page .about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.about-page .about-highlights div {
  padding: 12px 6px;
  border: 1px solid #455563;
  border-radius: 10px;
  background: #1b2d3b;
  text-align: center;
}

.about-page .about-highlights :is(strong, span) {
  display: block;
  color: #edf3fa;
  font-size: .85rem;
  line-height: 1.35;
}

.about-page .about-highlights span {
  color: #c4cfda;
  font-size: .75rem;
}

.about-page .about-story article + article {
  margin-top: 22px;
}

.about-page .about-story h2 {
  margin: 0 0 7px;
  color: #f3f7fa;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.about-page .about-story p {
  max-width: none;
  margin: 0;
  color: #d3dee8;
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
}

.about-page .about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.about-page .about-actions a {
  min-width: 190px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 128, 138, .5);
  border-radius: 999px;
  background: linear-gradient(180deg, #c81f31, #951020);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.about-page .about-actions a:hover,
.about-page .about-actions a:focus-visible {
  background: linear-gradient(180deg, #aa1828, #810d1b);
}

.about-page :is(.guest-reviews-heading h2, .reviewer-details h3, .guest-review blockquote) {
  color: #edf3fa;
}

.about-page .guest-review {
  border-color: #415363;
  border-radius: 14px;
  background: #1b2d3b;
}

.about-page :is(.reviewer-details p, .review-age, .review-translation) {
  color: #b8c5d1;
}

.about-page :is(.guest-reviews-kicker, .guest-reviews-link) {
  color: #ff8994;
}

.zone-page :is(.ski-zone h2, .ski-zone p, .ski-slopes h2, .ski-slopes p, .lift-section h2, .lift-text p, .lift-section .intro) {
  color: #d7e1eb;
}

.zone-page :is(.slopes-list li, .lift-text li) {
  color: #d7e1eb;
}

.zone-page .lift-text a {
  color: #ff8994;
}

.zone-page .lift-section .hours {
  background: #283b4b;
  color: #f4f7fa;
}

.zone-page .ski-zone-hero-primary {
  background: #bf1b2c;
  border-color: #bf1b2c;
}

.equipment-page .standard-series {
  border-bottom: 1px solid #415363;
}

.equipment-page .series-container {
  width: 100%;
  margin-left: 0;
  transform: none;
}

.equipment-page .series-text :is(h2, h3, p, li) {
  color: #edf3fa;
}

.call-page .booking-page {
  background: linear-gradient(rgba(7, 17, 29, .6), rgba(7, 17, 29, .8)), url("snimka_zarezervac.png") center / cover;
}

.call-page .booking-container {
  border: 1px solid #536576;
  background: rgba(19, 34, 47, .94);
}

.privacy-preview .privacy-page {
  width: min(900px, calc(100% - 32px));
  margin: 80px auto;
  padding: 36px;
  border: 1px solid #415363;
  border-radius: 20px;
  background: #182937;
  color: #edf3fa;
}

.privacy-preview .privacy-page a {
  color: #ff8792;
}

.privacy-preview .privacy-updated {
  color: #becbd6;
}

@media (max-width: 900px) {
  .school-page .instructors-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.redesign {
    background-attachment: scroll;
  }

  .redesign header {
    top: 10px;
    width: calc(100% - 24px);
    border-radius: 15px;
  }

  .redesign .navbar {
    position: relative;
    min-height: 68px;
    padding: 10px 14px;
  }

  .redesign .logo img {
    width: min(36vw, 145px);
  }

  .redesign .menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .redesign .site-actions {
    top: 17px;
    right: 54px;
  }

  .redesign .nav-links.active {
    padding: 12px 0 4px;
  }

  .school-page .instructors-intro {
    margin-top: 100px;
  }

  .school-page :is(.ski-school-pricing, .lesson-section, #available-hours) {
    padding: 24px 16px;
  }

  .school-page .instructor-box .text-area {
    min-height: 0;
    padding: 14px 16px 18px;
  }

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

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

  .checkout-card,
  .checkout-help {
    padding: 22px;
  }

}

@media (max-width: 420px) {
  .school-page .instructor-box img {
    width: 76px;
    height: 76px;
  }

  .school-page .instructor-box .specialty {
    max-width: calc(100% - 114px);
    padding: 6px;
    font-size: .62rem;
    overflow-wrap: anywhere;
  }

  .school-page .instructor-box h3 {
    font-size: .92rem;
  }

  .contact-page .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-map iframe {
    height: 260px;
  }
}
