/*
Theme Name: RA PT
Theme URI: https://example.com/
Author: Thorin Phoenix
Author URI: https://yourportfolio.com/
Description: Custom WordPress theme for RA Personal Training
Version: 1.0
*/

/* =========================
   GLOBAL
========================= */

html {
    scroll-behavior: smooth;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
    background-color: #000;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #000;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    transition: all 0.2s ease;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  /* =========================
     HEADER
  ========================= */
  
  .site-header {
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .site-header a {
    text-decoration: none;
  }
  
  .header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 110px;
    padding: 20px 0;
    gap: 12px;
  }
  
  /* =========================
     LOGO
  ========================= */
  
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  
  .logo a {
    color: #000;
  }
  
  .logo img {
    height: 120px;
    width: auto;
  }
  
  /* =========================
     BUTTONS
  ========================= */
  
  .menu-toggle,
  .btn-contact,
  .contact-button-main,
  .back-to-top {
    background-color: #f28c28;
    color: #000;
    font-weight: 700;
    border-radius: 6px;
  }
  
  .menu-toggle,
  .btn-contact,
  .back-to-top {
    border: 2px solid #000;
    letter-spacing: 1px;
  }
  
  .menu-toggle {
    appearance: none;
    -webkit-appearance: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 14px 22px;
    line-height: 1;
    position: relative;
    z-index: 3;
    text-transform: uppercase;
  }
  
  .menu-toggle:hover,
  .menu-toggle:focus {
    opacity: 0.92;
    outline: none;
  }
  
  .menu-toggle[aria-expanded="true"] {
    background-color: #000;
    color: #f28c28;
    border-color: #000;
  }
  
  .contact-button {
    margin-left: auto;
    position: relative;
    z-index: 3;
  }
  
  .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 34px;
    text-decoration: none;
    box-sizing: border-box;
    text-transform: none;
  }
  
  .btn-contact:hover,
  .btn-contact:focus {
    background: #000;
    color: #f28c28;
    outline: none;
  }
  
  .contact-button-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 34px;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
  }
  
  .contact-button-main:hover,
  .contact-button-main:focus {
    background: #fff;
    outline: none;
  }
  
  .back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 34px;
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
    z-index: 999;
  }
  
  .back-to-top:hover,
  .back-to-top:focus {
    background: #000;
    color: #f28c28;
    outline: none;
  }
  
  /* =========================
     NAVIGATION
  ========================= */
  
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    max-width: calc(100vw - 2rem);
    padding: 18px;
    background-color: #e5e5e5;
    border: 2px solid #000;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }
  
  .main-nav.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-nav li {
    margin-bottom: 14px;
  }
  
  .main-nav li:last-child {
    margin-bottom: 0;
  }
  
  .main-nav a {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    padding: 6px 0;
  }
  
  .main-nav a:hover,
  .main-nav a:focus {
    color: #f28c28;
    outline: none;
  }
  
  /* =========================
     HERO
  ========================= */
  
  .hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: #000;
  }
  
  .hero-content {
    max-width: 860px;
    margin: 0 auto;
  }
  
  .hero-subtitle {
    color: #f28c28;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px;
  }
  
  .hero h1 {
    margin: 0 0 20px;
    font-size: 3.5rem;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
  }
  
  .hero h1 span {
    display: inline-block;
  }
  
  .hero-text {
    max-width: 680px;
    margin: 0 auto 35px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ccc;
  }
  
  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    box-sizing: border-box;
  }
  
  /* =========================
     CLIENT RESULTS
  ========================= */
  
  .results-section {
    background: #000;
    padding: 100px 20px;
    text-align: center;
  }
  
  .results-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 15px;
    text-transform: uppercase;
  }
  
  .results-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .results-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .result-item {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .result-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(242, 140, 40, 0);
    transition: background 0.25s ease;
    pointer-events: none;
  }
  
  .result-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
  }
  
  .result-item:hover {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(242, 140, 40, 0.25),
      0 8px 24px rgba(0, 0, 0, 0.35);
  }
  
  .result-item:hover::after {
    background: rgba(242, 140, 40, 0.12);
  }
  
  .result-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
  }
  
  .results-grid.has-active .result-item {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
  }
  
  .results-grid.has-active .result-item.active {
    opacity: 1;
    pointer-events: auto;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    z-index: 5;
    box-shadow:
      0 0 0 2px rgba(242, 140, 40, 0.4),
      0 18px 40px rgba(0, 0, 0, 0.45);
  }
  
  .results-grid.has-active .result-item.active::after {
    background: rgba(0, 0, 0, 0.05);
  }
  
  .results-grid.has-active .result-item.active img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b0b0b;
    transform: none;
    filter: none;
  }
  
  .results-actions {
    margin-top: 35px;
  }
  
  /* =========================
     TESTIMONIALS
  ========================= */
  
  .testimonial-section {
    background: #000;
    padding: 100px 20px;
    text-align: center;
  }
  
  .carousel-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 15px;
    text-transform: uppercase;
    text-align: center;
  }
  
  .carousel-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  #client-testimonials .testimonial-slider {
    position: relative;
    max-width: 760px;
    margin: 40px auto 0;
  }
  
  #client-testimonials .testimonial-slider-window {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 620px;
  }
  
  #client-testimonials .testimonial-slide {
    display: none;
    width: 100%;
  }
  
  #client-testimonials .testimonial-slide.active {
    display: block;
    animation: testimonialFade 0.5s ease;
  }
  
  #client-testimonials .testimonial-card {
    background: #111;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    min-height: 620px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  #client-testimonials .testimonial-image-wrap {
    margin: 0 auto 22px;
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    flex-shrink: 0;
  }
  
  #client-testimonials .testimonial-image-wrap img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
  }
  
  #client-testimonials .testimonial-content {
    text-align: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }
  
  #client-testimonials .testimonial-content blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 18px;
    font-style: italic;
  }
  
  #client-testimonials .testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 6px;
    color: #f28c28;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  #client-testimonials .testimonial-role {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
  }
  
  #client-testimonials .testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f28c28;
    color: #000;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
  }
  
  #client-testimonials .testimonial-arrow:hover,
  #client-testimonials .testimonial-arrow:focus {
    background: #fff;
    outline: none;
  }
  
  #client-testimonials .testimonial-prev {
    left: -60px;
  }
  
  #client-testimonials .testimonial-next {
    right: -60px;
  }
  
  #client-testimonials .testimonial-dots {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  #client-testimonials .testimonial-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    padding: 0;
  }
  
  #client-testimonials .testimonial-dot.active {
    background: #f28c28;
  }
  
  @keyframes testimonialFade {
    from {
      opacity: 0.4;
    }
  
    to {
      opacity: 1;
    }
  }
  
  /* =========================
     MY STORY
  ========================= */
  
  .middle-section {
    background: #000;
    padding: 80px 20px;
  }
  
  .middle-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .middle-box {
    min-height: 520px;
    padding: 40px 30px;
    box-sizing: border-box;
  }
  
  .middle-box h2 {
    margin: 0 0 40px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
  }
  
  .middle-box p {
    max-width: 380px;
    margin: 0 auto;
    color: #f28c28;
    font-family: Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.5;
    text-transform: uppercase;
    text-align: center;
  }
  
  .middle-centre {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .middle-centre img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
  }
  
  .middle-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  
  .middle-right li {
    margin-bottom: 32px;
  }
  
  .middle-right a {
    color: #f28c28;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1rem;
    text-transform: uppercase;
  }
  
  .middle-right a:hover,
  .middle-right a:focus {
    color: #fff;
    outline: none;
  }
  
  #my-story .middle-centre {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #my-story .middle-centre > img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
  }
  
  .my-story-carousel {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .my-story-carousel-window {
    width: 100%;
    max-width: 320px;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 0 0 1px rgba(242, 140, 40, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .my-story-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .my-story-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
  }
  
  .my-story-slide.active {
    display: flex;
  }
  
  .my-story-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 12px;
  }
  
  #my-story .my-story-carousel .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f28c28;
    border: none;
    color: #000;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 6px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #my-story .my-story-carousel .carousel-arrow:hover,
  #my-story .my-story-carousel .carousel-arrow:focus {
    background: #fff;
    outline: none;
  }
  
  #my-story .my-story-carousel .carousel-arrow.left {
    left: -22px;
  }
  
  #my-story .my-story-carousel .carousel-arrow.right {
    right: -22px;
  }
  
  /* =========================
     HOW IT WORKS / WHAT YOU GET / IS THIS FOR ME
  ========================= */
  
  .goals-section {
    background: #000;
    padding: 80px 20px;
  }
  
  .goals-title {
    margin: 0 0 50px;
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
  }
  
  .goals-table {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #111;
  }
  
  .goals-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid #111;
  }
  
  .goals-row:last-child {
    border-bottom: none;
  }
  
  .goals-row div {
    padding: 18px 20px;
    color: #f28c28;
    line-height: 1.5;
  }
  
  .goals-header div {
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
  }
  
  /* =========================
     SOCIAL MEDIA / INSTAGRAM
  ========================= */
  
  .instagram-section {
    background: #000;
    padding: 90px 20px;
    text-align: center;
  }
  
  .instagram-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 45px;
    text-transform: uppercase;
    text-align: center;
  }
  
  .instagram-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .instagram-image-link {
    display: inline-block;
    width: 100%;
    max-width: 650px;
    text-decoration: none;
    border-radius: 14px;
    line-height: 0;
    outline-offset: 6px;
  }
  
  .instagram-image-link img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(242, 140, 40, 0.22);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  }
  
  .instagram-image-link:hover img,
  .instagram-image-link:focus img {
    transform: scale(1.02);
    filter: brightness(1.08);
    box-shadow:
      0 0 0 2px rgba(242, 140, 40, 0.45),
      0 14px 34px rgba(0, 0, 0, 0.45);
  }
  
  .instagram-image-link:focus {
    outline: 2px solid #f28c28;
  }
  
  /* Old Instagram markup support */
  .instagram-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .instagram-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(242, 140, 40, 0.22);
  }
  
  .instagram-link {
    display: none;
  }
  
/* =========================
   CONTACT
========================= */

.contact-section {
    background: #000;
    padding: 100px 20px;
    text-align: center;
  }
  
  .contact-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 20px;
    text-transform: uppercase;
  }
  
  .contact-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 40px;
  }
  
  .contact-success,
  .contact-error {
    background: #111;
    border: 2px solid #f28c28;
    padding: 16px 20px;
    margin: 0 0 24px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
  }
  
  .contact-success {
    color: #f28c28;
  }
  
  .contact-error {
    color: #fff;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    border: 2px solid #222;
    border-radius: 6px;
    background: #111;
    color: #fff;
    box-sizing: border-box;
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #999;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: 2px solid #f28c28;
    outline-offset: 1px;
  }
  
  .contact-form textarea {
    resize: vertical;
    min-height: 160px;
  }
  
  .contact-form .contact-button-main {
    align-self: center;
    margin-top: 8px;
  }

  /* =========================
   FOOTER
========================= */

.site-footer {
    background-color: #f2f2f2;
    color: #111;
    padding: 80px 40px;
    font-size: 1.05rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column h4 {
    margin: 0 0 24px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column li {
    margin-bottom: 16px;
  }
  
  .footer-column a {
    text-decoration: none;
    color: #111;
    font-size: 1.05rem;
    font-weight: 600;
  }
  
  .footer-column a:hover,
  .footer-column a:focus {
    color: #f28c28;
    outline: none;
  }
  
  .footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #d9d9d9;
    text-align: center;
  }
  
  .footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
  }
  
  /* =========================
     SCROLL REVEAL
  ========================= */
  
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =========================
     RESPONSIVE
  ========================= */
  
  @media (max-width: 1100px) {
    .results-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  
    .results-grid.has-active .result-item.active img {
      height: 620px;
    }
  }
  
  @media (max-width: 1024px) {
    #client-testimonials .testimonial-prev {
      left: 10px;
    }
  
    #client-testimonials .testimonial-next {
      right: 10px;
    }
  }
  
  @media (max-width: 900px) {
    .header-layout {
      min-height: 90px;
      padding: 16px 0;
    }
  
    .logo img {
      height: 95px;
    }
  
    .middle-grid {
      grid-template-columns: 1fr;
    }
  
    .middle-box {
      min-height: auto;
    }
  
    .middle-box h2,
    .middle-box p,
    .middle-right ul {
      text-align: center;
    }
  
    .goals-row {
      grid-template-columns: 1fr;
    }
  
    .results-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .results-grid.has-active .result-item.active img {
      height: 520px;
    }
  
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
  
    .my-story-carousel {
      max-width: 340px;
    }
  
    .my-story-carousel-window {
      max-width: 340px;
      height: 430px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.left {
      left: -18px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.right {
      right: -18px;
    }
  }
  
  @media (max-width: 768px) {
    #client-testimonials .testimonial-section {
      padding: 60px 15px;
    }
  
    #client-testimonials .testimonial-card {
      padding: 24px 18px;
      min-height: 660px;
    }
  
    #client-testimonials .testimonial-slider-window {
      min-height: 660px;
    }
  
    #client-testimonials .testimonial-image-wrap,
    #client-testimonials .testimonial-image-wrap img {
      width: 150px;
      height: 150px;
    }
  
    #client-testimonials .testimonial-content blockquote {
      font-size: 0.95rem;
      line-height: 1.55;
    }
  
    #client-testimonials .testimonial-arrow {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
  
    #client-testimonials .testimonial-prev {
      left: 5px;
    }
  
    #client-testimonials .testimonial-next {
      right: 5px;
    }
  }
  
  @media (max-width: 700px) {
    .header-layout {
      min-height: 80px;
      padding: 14px 0;
    }
  
    .logo {
      position: static;
      transform: none;
      order: 2;
      margin: 0 auto;
    }
  
    .menu-toggle {
      order: 1;
      padding: 12px 16px;
      font-size: 0.9rem;
    }
  
    .contact-button {
      order: 3;
      margin-left: 0;
    }
  
    .btn-contact {
      min-height: 52px;
      padding: 0 24px;
      font-size: 0.9rem;
    }
  
    .contact-button-main {
      min-height: 52px;
      padding: 0 24px;
      font-size: 1rem;
    }
  
    .logo img {
      height: 70px;
    }
  
    .main-nav {
      top: calc(100% + 10px);
      left: 1rem;
      width: calc(100% - 2rem);
      max-width: none;
    }
  
    .hero {
      padding: 90px 20px 60px;
    }
  
    .hero h1 {
      font-size: 2.4rem;
    }
  
    .hero-text {
      font-size: 1rem;
    }
  
    .results-grid.has-active .result-item.active img {
      height: 460px;
    }
  
    .my-story-carousel {
      max-width: 320px;
    }
  
    .my-story-carousel-window {
      max-width: 320px;
      height: 400px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.left {
      left: -16px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.right {
      right: -16px;
    }
  }
  
  @media (max-width: 600px) {
    .goals-title,
    .results-title,
    .carousel-title,
    .instagram-title,
    .contact-section h2 {
      font-size: 2rem;
    }
  
    .results-subtitle,
    .carousel-subtitle {
      font-size: 1rem;
    }
  
    .results-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .results-grid.has-active .result-item.active img {
      height: 380px;
    }
  
    .instagram-section {
      padding: 70px 20px;
    }
  
    .instagram-content {
      max-width: 340px;
    }
  
    .instagram-image-link,
    .instagram-image-link img,
    .instagram-image img {
      max-width: 300px;
    }
  
    .site-footer {
      padding: 60px 20px;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 30px;
    }
  
    .footer-column h4 {
      font-size: 1.1rem;
    }
  
    .footer-column a {
      font-size: 1rem;
    }
  
    .back-to-top {
      bottom: 15px;
      left: 15px;
    }
  
    .my-story-carousel {
      max-width: 280px;
    }
  
    .my-story-carousel-window {
      max-width: 280px;
      height: 360px;
    }
  
    #my-story .my-story-carousel .carousel-arrow {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
    }
  
    #my-story .my-story-carousel .carousel-arrow.left {
      left: -10px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.right {
      right: -10px;
    }
  }
  
  @media (max-width: 480px) {
    .header-layout {
      min-height: auto;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  
    .logo {
      width: 100%;
      text-align: center;
      margin: 10px 0 0;
    }
  
    .logo img {
      height: 60px;
      margin: 0 auto;
    }
  
    .menu-toggle,
    .btn-contact {
      padding: 10px 14px;
      font-size: 0.85rem;
    }
  
    .back-to-top {
      min-height: 52px;
      padding: 0 24px;
      font-size: 0.9rem;
    }
  
    .main-nav {
      left: 0;
      width: 100%;
      max-width: 100%;
      border-radius: 0;
    }
  
    .middle-section,
    .goals-section,
    .results-section,
    .testimonial-section,
    .instagram-section,
    .contact-section,
    .hero {
      padding-left: 15px;
      padding-right: 15px;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .results-grid {
      grid-template-columns: 1fr;
    }
  
    .results-grid.has-active .result-item.active img {
      height: 320px;
    }
  
    .instagram-title {
      margin-bottom: 30px;
    }
  
    .instagram-content {
      max-width: 300px;
    }
  
    .instagram-image-link,
    .instagram-image-link img,
    .instagram-image img {
      max-width: 260px;
    }
  
    .my-story-carousel {
      max-width: 250px;
    }
  
    .my-story-carousel-window {
      max-width: 250px;
      height: 320px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.left {
      left: -6px;
    }
  
    #my-story .my-story-carousel .carousel-arrow.right {
      right: -6px;
    }
	  
	  @media (max-width: 768px) {

  .header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 10px 15px;
  }

  .logo img {
    max-height: 40px;
    width: auto;
  }

  .contact-button {
    margin-left: auto;
    margin-right: 10px;
  }

  .btn-contact {
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .menu-toggle {
    margin-left: 0;
    font-size: 14px;
  }

  .site-header {
    padding: 0;
@media (max-width: 768px) {

  .comparison-table {
    overflow-x: auto;
    width: 100%;
  }

  .comparison-table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
    font-size: 14px;
    word-break: break-word;
    vertical-align: top;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 32%;
  }

  .comparison-table th:last-child,
  .comparison-table td:last-child {
    width: 68%;
  }
@media (max-width: 768px) {

  .comparison-table {
    overflow-x: auto;
    width: 100%;
  }

  .comparison-table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
    font-size: 14px;
    word-break: break-word;
    vertical-align: top;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 32%;
  }

  .comparison-table th:last-child,
  .comparison-table td:last-child {
    width: 68%;
  }
}
	  
  }