/* ============================================
   RACKING LABELS LANDING PAGE
   Alltac Labels - Standalone Landing Page CSS
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #2B2A29;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    word-break: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

/* --- FOCUS STYLES --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2D6A4F;
    outline-offset: 2px;
}

/* --- CONTAINER --- */
.prl-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- BUTTONS --- */
.prl-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: none;
    font-family: inherit;
    min-height: 48px;
    line-height: 1.4;
}

.prl-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.prl-btn:active {
    transform: translateY(0);
}

.prl-btn-green {
    background-color: #2D6A4F;
    color: #ffffff;
}

.prl-btn-yellow {
    background-color: #FDEC02;
    color: #000000;
}

.prl-btn-full {
    width: 100%;
}

/* --- GREEN UNDERLINE --- */
.prl-green-line {
    width: 60px;
    height: 3px;
    background-color: #2D6A4F;
    margin: 0 auto 15px auto;
}

.prl-green-line-left {
    margin: 0 0 15px 0;
}

/* --- SECTION DEFAULTS --- */
.prl-section {
    padding: 70px 0;
}

.prl-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 5px;
}

.prl-section-sub {
    text-align: center;
    font-size: 16px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prl-section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   STICKY NAV
   ============================================ */
.prl-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #FDEC02;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.prl-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 5%;
}

.prl-nav-logo img {
    height: 50px;
    width: auto;
}

.prl-nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #2D6A4F;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s ease;
    min-height: 48px;
}

.prl-nav-phone:hover {
    opacity: 0.9;
}

.prl-nav-phone-icon {
    font-size: 18px;
}

/* ============================================
   HERO
   ============================================ */
.prl-hero {
    position: relative;
    background-image: url('https://www.palletrackinglabels.co.uk/wp-content/uploads/2019/08/763px-Distribution_centre_J_Sainsburys.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px 0;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.prl-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.65) 100%);
}

.prl-hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 0 5%;
    width: 100%;
}

.prl-hero h1 {
    color: #ffffff;
    font-size: 38px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.prl-hero-sub {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
}

.prl-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.prl-hero-areas {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.prl-trust-strip {
    background-color: #2B2A29;
    padding: 20px 0;
}

.prl-trust-strip-inner {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.prl-pill {
    background-color: #FDEC02;
    color: #000000;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.prl-how-it-works {
    background-color: #f5f5f5;
}

.prl-steps {
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.prl-step {
    flex: 1;
    text-align: center;
    padding: 0 5px;
}

.prl-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2D6A4F;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.prl-step h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.prl-step p {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

/* ============================================
   CARDS (shared)
   ============================================ */
.prl-cards-row {
    display: flex;
    gap: 20px;
}

.prl-card {
    flex: 1;
    min-width: 0;
    background-color: #2B2A29;
    border-radius: 8px;
    padding: 30px;
}

.prl-card h3 {
    color: #FDEC02;
    font-size: 18px;
    margin-bottom: 15px;
}

.prl-card ul {
    list-style: none;
}

.prl-card ul li {
    color: #ffffff;
    font-size: 14px;
    line-height: 2;
    padding-left: 22px;
    position: relative;
}

.prl-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #2D6A4F;
    font-weight: 700;
}

.prl-card-bordered-green {
    border-top: 4px solid #2D6A4F;
}

.prl-card-bordered-yellow {
    border-top: 4px solid #FDEC02;
}

/* ============================================
   PRODUCT IMAGE
   ============================================ */
.prl-product-image {
    text-align: center;
    margin-top: 40px;
}

.prl-product-image img {
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
    margin: 0 auto;
}

/* ============================================
   REVIEW PILLS (unified component)
   Three variants: default (dark bg), light, glass
   All include Google logo + stars + quote + author
   ============================================ */
.prl-review-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 14px 24px;
    background-color: #2B2A29;
    border-radius: 30px;
    flex-wrap: wrap;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.prl-review-pill-light {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.prl-review-pill-light .prl-review-text {
    color: #2B2A29;
}

.prl-review-pill-light .prl-review-author {
    color: #2D6A4F;
}

.prl-review-pill-glass {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.prl-review-pill-logo {
    height: 18px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    display: inline-block;
    object-fit: contain;
}

.prl-stars {
    color: #FDEC02;
    font-size: 16px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.prl-review-text {
    color: #ffffff;
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
}

.prl-review-author {
    color: #FDEC02;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.prl-reviews {
    background-color: #2B2A29;
}

.prl-reviews h2 {
    color: #ffffff;
}

.prl-reviews-row {
    display: flex;
    gap: 20px;
}

.prl-review-card {
    flex: 1;
    min-width: 0;
    background-color: #3D3D3D;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.prl-review-card .prl-google-logo {
    margin-bottom: 10px;
    height: 20px;
    width: auto;
    max-width: none;
    display: inline-block;
    object-fit: contain;
}

.prl-testimonial-google {
    height: 20px !important;
    width: auto !important;
    max-width: 80px !important;
    display: inline-block !important;
    object-fit: contain !important;
}

.prl-review-card .prl-stars {
    font-size: 18px;
    margin-bottom: 12px;
}

.prl-review-card p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
}

.prl-review-card .prl-review-author {
    font-size: 13px;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.prl-comparison-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.prl-comparison-row .prl-card {
    flex: 1 1 0;
}

.prl-comparison-image {
    flex: 0 0 280px;
    border-radius: 8px;
    overflow: hidden;
}

.prl-comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* --- WORKS WITH --- */
.prl-works-with {
    margin-top: 30px;
    text-align: center;
    border-top: 4px solid #FDEC02;
}

.prl-works-with h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
}

.prl-works-with p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.prl-works-with-highlight {
    color: #FDEC02 !important;
    font-weight: 600;
    margin-bottom: 25px !important;
}

/* ============================================
   FAQ
   ============================================ */
.prl-faq {
    background-color: #f5f5f5;
}

.prl-faq-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2B2A29;
    border-radius: 8px;
    padding: 10px 30px;
    border-top: 4px solid #2D6A4F;
}

.prl-faq-item {
    border-bottom: 1px solid #3D3D3D;
}

.prl-faq-item:last-child {
    border-bottom: none;
}

.prl-faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: #FDEC02;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    gap: 15px;
    min-height: 48px;
}

.prl-faq-question span:first-child {
    flex: 1;
}

.prl-faq-toggle {
    font-size: 22px;
    color: #2D6A4F;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.prl-faq-item.open .prl-faq-toggle {
    transform: rotate(45deg);
}

.prl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.prl-faq-item.open .prl-faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.prl-faq-answer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ============================================
   FORM + CTA SECTION
   ============================================ */
.prl-form-cta {
    background: linear-gradient(135deg, #1B1B1B 0%, #2B2A29 50%, #1B1B1B 100%);
    padding: 80px 0;
}

.prl-form-cta-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.prl-form-cta-content {
    flex: 1;
    min-width: 0;
}

.prl-form-cta-content h2 {
    color: #ffffff;
    font-size: 30px;
    text-align: left;
    margin-bottom: 5px;
}

.prl-form-cta-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.prl-cta-ticks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.prl-cta-ticks span {
    color: #FDEC02;
    font-size: 14px;
    font-weight: 600;
}

.prl-form-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* ============================================
   FORM
   ============================================ */
.prl-form-wrap {
    flex: 0 0 420px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.prl-form-wrap h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2B2A29;
}

.prl-form-group {
    margin-bottom: 16px;
}

.prl-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2B2A29;
}

.prl-form-group input,
.prl-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.prl-form-group input:focus,
.prl-form-group textarea:focus {
    outline: none;
    border-color: #2D6A4F;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.prl-form-group textarea {
    resize: none;
    min-height: 100px;
}

.prl-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.prl-form-privacy {
    font-size: 11px;
    color: #999999;
    margin-top: 12px;
    text-align: center;
}

.prl-form-privacy a {
    color: #2D6A4F;
    text-decoration: underline;
}

/* ============================================
   MAP + NAP
   ============================================ */
.prl-map-nap {
    padding: 70px 0;
}

.prl-map-nap-row {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.prl-nap {
    flex: 1;
    min-width: 0;
}

.prl-nap h2 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 5px;
}

.prl-nap-address {
    font-size: 15px;
    color: #555555;
    line-height: 2;
}

.prl-nap-contact {
    margin-top: 20px;
    font-size: 15px;
    color: #555555;
    line-height: 2;
}

.prl-nap-contact a {
    color: #2D6A4F;
    font-weight: 600;
}

.prl-map {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
}

.prl-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.prl-footer {
    background-color: #1a1a1a;
    padding: 25px 0;
}

.prl-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.prl-footer-inner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 5px;
}

.prl-footer-inner p:last-child {
    margin-bottom: 0;
}

.prl-footer-inner a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.prl-footer-inner a:hover {
    color: #FDEC02;
}

/* ============================================
   TABLET (max-width: 980px)
   ============================================ */
@media (max-width: 980px) {

    .prl-section {
        padding: 50px 0;
    }

    .prl-hero {
        min-height: 400px;
    }

    .prl-hero h1 {
        font-size: 30px;
    }

    .prl-hero-sub {
        font-size: 16px;
    }

    .prl-section h2 {
        font-size: 24px;
    }

    .prl-steps {
        flex-wrap: wrap;
        gap: 25px;
    }

    .prl-step {
        flex: 0 1 calc(50% - 13px);
    }

    .prl-cards-row {
        flex-direction: column;
    }

    .prl-reviews-row {
        flex-direction: column;
    }

    .prl-review-card {
        min-width: unset;
    }

    .prl-comparison-row {
        flex-direction: column;
    }

    .prl-comparison-row .prl-card {
        flex: none;
    }

    .prl-comparison-image {
        flex: none;
        width: 100%;
        max-height: 300px;
    }

    .prl-form-cta {
        padding: 60px 0;
    }

    .prl-form-cta-inner {
        flex-direction: column;
        gap: 40px;
    }

    .prl-form-wrap {
        flex: none;
        width: 100%;
    }

    .prl-form-cta-content h2 {
        text-align: center;
    }

    .prl-green-line-left {
        margin: 0 auto 15px auto;
    }

    .prl-form-cta-content > p {
        text-align: center;
    }

    .prl-cta-ticks {
        justify-content: center;
    }

    .prl-form-cta-buttons {
        justify-content: center;
    }

    .prl-review-pill {
        justify-content: center;
    }

    .prl-map-nap-row {
        flex-direction: column;
    }

    .prl-nap h2 {
        text-align: center;
    }

    .prl-nap .prl-green-line-left {
        margin: 0 auto 15px auto;
    }

    .prl-nap-address,
    .prl-nap-contact {
        text-align: center;
    }
}

/* ============================================
   MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {

    .prl-container {
        width: 92%;
    }

    .prl-nav-inner {
        padding: 10px 4%;
    }

    .prl-nav-logo img {
        height: 40px;
    }

    .prl-nav-phone {
        padding: 10px 14px;
        font-size: 13px;
    }

    .prl-nav-phone-text {
        display: none;
    }

    .prl-nav-phone-icon {
        font-size: 22px;
    }

    .prl-hero {
        padding: 60px 0 50px 0;
        min-height: 350px;
    }

    .prl-hero h1 {
        font-size: 24px;
    }

    .prl-hero-sub {
        font-size: 15px;
    }

    .prl-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .prl-hero-buttons .prl-btn {
        width: 100%;
    }

    .prl-hero-areas {
        font-size: 13px;
    }

    .prl-pill {
        font-size: 12px;
        padding: 6px 14px;
    }

    .prl-steps {
        flex-direction: column;
        gap: 20px;
    }

    .prl-step {
        flex: none;
    }

    .prl-section {
        padding: 40px 0;
    }

    .prl-section h2 {
        font-size: 22px;
    }

    .prl-section-sub {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .prl-card {
        padding: 25px 20px;
    }

    .prl-card ul li {
        font-size: 13px;
    }

    .prl-faq-box {
        padding: 10px 18px;
    }

    .prl-faq-question {
        font-size: 14px;
        padding: 16px 0;
    }

    .prl-faq-answer p {
        font-size: 13px;
    }

    .prl-form-cta {
        padding: 50px 0;
    }

    .prl-form-cta-content h2 {
        font-size: 24px;
    }

    .prl-form-wrap {
        padding: 25px 20px;
    }

    .prl-form-group input,
    .prl-form-group textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .prl-cta-ticks {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .prl-form-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .prl-form-cta-buttons .prl-btn {
        width: 100%;
    }

    .prl-review-pill {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 14px 18px;
    }

    .prl-review-pill-logo {
        margin-bottom: 2px;
    }

    .prl-footer-inner p {
        font-size: 12px;
    }

    .prl-map {
        min-height: 250px;
    }

    .prl-map iframe {
        min-height: 250px;
    }
}

/* ============================================
   SMALL MOBILE (max-width: 479px)
   ============================================ */
@media (max-width: 479px) {

    .prl-hero h1 {
        font-size: 21px;
    }

    .prl-hero-sub {
        font-size: 14px;
    }

    .prl-form-cta-content h2 {
        font-size: 21px;
    }

    .prl-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .prl-card h3 {
        font-size: 16px;
    }

    .prl-step h3 {
        font-size: 14px;
    }

    .prl-step p {
        font-size: 12px;
    }

    .prl-works-with h3 {
        font-size: 19px;
    }

    .prl-works-with p {
        font-size: 14px;
    }

    .prl-footer-inner p {
        font-size: 11px;
        word-break: break-word;
    }
}
