/*
Theme Name:  Purple Express Transportation
Theme URI:   https://www.purpleexpresstransportation.com/
Author:      Purple Express Transportation & Logistics, LLC
Author URI:  https://www.purpleexpresstransportation.com/
Description: Custom WordPress theme for Purple Express Transportation & Logistics, LLC. Converted from static HTML. Pixel-perfect recreation preserving all animations, responsiveness, and JavaScript functionality.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purple-express
Tags:        transportation, logistics, trucking, custom-logo, custom-menu, featured-images, responsive-layout
*/

/* =============================================================================
   CSS CUSTOM PROPERTIES (Design System)
   ============================================================================= */

:root {
    /* Brand Colors */
    --ws-color-dark-200:            hsl(284, 53%, 38%);
    --ws-color-dark-500:            hsl(284, 75%, 28%);
    --ws-color-dark-700:            hsl(284, 100%, 21%);
    --ws-color-dark-900:            hsl(277, 100%, 15%);

    --ws-color-alt-dark-900:        hsl(201, 41%, 4%);
    --ws-color-alt-dark-800:        hsl(202, 10%, 10%);
    --ws-color-alt-dark-700:        hsl(202, 7%, 14%);

    --ws-color-primary-400:         hsl(186, 63%, 51%);
    --ws-color-primary-500:         hsl(187, 72%, 46%);
    --ws-color-primary-700:         hsl(186, 69%, 37%);

    --ws-color-secondary-700:       hsl(188, 58%, 40%);
    --ws-color-secondary-800:       hsl(187, 56%, 35%);
    --ws-color-secondary-900:       hsl(184, 50%, 25%);

    --ws-color-light-600:           hsl(47, 91%, 48%);
    --ws-color-text-black:          #000000;
    --ws-color-text-white:          #ffffff;

    /* Typography */
    --first-font-family:            'Open Sans';
    --second-font-family:           'Poppins';
    --ws-primary-font-family:       'Open Sans', Arial, sans-serif;
    --ws-secondary-font-family:     'Poppins', Arial, sans-serif;

    /* Spacing */
    --ws-container-max-width:       1200px;
    --ws-container-padding:         0 20px;

    /* Border Radius */
    --ws-column-border-radius:      10px;
    --ws-media-border-radius:       12px;
    --ws-button-border-radius:      50px;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ws-primary-font-family);
    font-size: 16px;
    line-height: 1.75em;
    font-weight: 400;
    color: var(--ws-color-text-black);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-family: var(--ws-secondary-font-family);
    line-height: 1.3;
}

p {
    margin: 0 0 1rem;
    font-family: var(--ws-primary-font-family);
}

p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

.ws-container {
    max-width: var(--ws-container-max-width);
    margin: 0 auto;
    padding: var(--ws-container-padding);
    width: 100%;
}

.page-container {
    overflow: hidden;
}

/* =============================================================================
   TYPOGRAPHY SCALE
   ============================================================================= */

h1, .ws-h1 {
    font-family: var(--ws-secondary-font-family);
    font-size: clamp(40px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.286em;
}

h2, .ws-h2 {
    font-family: var(--ws-secondary-font-family);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 500;
    line-height: 1.4em;
}

h3, .ws-h3 {
    font-family: var(--ws-secondary-font-family);
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 400;
    line-height: 1.375em;
}

h4, .ws-h4 {
    font-family: var(--ws-secondary-font-family);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.636em;
}

h5, .ws-h5 {
    font-family: var(--ws-primary-font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.778em;
}

h6, .ws-h6 {
    font-family: var(--ws-secondary-font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    text-transform: uppercase;
    letter-spacing: 0.187em;
}

.ws-fz-52 {
    font-size: clamp(40px, 4.2vw, 52px) !important;
    line-height: 1.37 !important;
}

.ws-fz-50 {
    font-size: clamp(38px, 4vw, 50px) !important;
    line-height: 1.376 !important;
}

.ws-fz-40 {
    font-size: clamp(28px, 3.2vw, 40px) !important;
    line-height: 1.4 !important;
}

.ws-fz-24 {
    font-size: 24px !important;
}

.ws-fz-20 {
    font-size: 20px !important;
}

.ws-bold {
    font-weight: 700;
}

/* =============================================================================
   SURFACE THEMES
   ============================================================================= */

/* Light surface (white background) */
.ws-surface-light {
    background-color: #ffffff;
    color: var(--ws-color-text-black);
}

/* Light-1 surface (golden/warm background) */
.ws-surface-light-1 {
    background-color: hsl(51, 88%, 66%);
    color: var(--ws-color-text-black);
}

/* Dark surface (purple/dark) */
.ws-surface-dark {
    background-color: var(--ws-color-dark-200);
    color: var(--ws-color-text-white);
}

/* Very dark surface (near black) */
.ws-surface-dark-1 {
    background-color: var(--ws-color-alt-dark-900);
    color: var(--ws-color-text-white);
}

/* Primary surface (teal/cyan) */
.ws-surface-primary {
    background-color: var(--ws-color-secondary-700);
    color: var(--ws-color-text-white);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.pe-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--ws-primary-font-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border-radius: var(--ws-button-border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.pe-btn--primary {
    background-color: var(--ws-color-dark-200);
    color: var(--ws-color-text-white);
    border-color: var(--ws-color-dark-200);
}

.pe-btn--primary:hover {
    background-color: var(--ws-color-primary-400);
    color: var(--ws-color-text-black);
    border-color: var(--ws-color-primary-400);
}

.pe-btn--secondary {
    background-color: transparent;
    color: var(--ws-color-text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.pe-btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--ws-color-text-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.pe-btn--primary-on-dark {
    background-color: var(--ws-color-primary-400);
    color: var(--ws-color-text-black);
    border-color: var(--ws-color-primary-400);
}

.pe-btn--primary-on-dark:hover {
    background-color: hsl(185, 64%, 59%);
    color: var(--ws-color-text-black);
    border-color: hsl(185, 64%, 59%);
}

.pe-btn--outline-teal {
    background-color: transparent;
    color: var(--ws-color-secondary-700);
    border-color: var(--ws-color-secondary-700);
}

.pe-btn--outline-teal:hover {
    background-color: var(--ws-color-secondary-700);
    color: var(--ws-color-text-white);
    border-color: var(--ws-color-secondary-700);
}

.pe-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
}

.pe-button-group--center {
    justify-content: center;
}

/* =============================================================================
   HEADER / NAVIGATION
   ============================================================================= */

.site-header {
    position: relative;
    z-index: 100;
    background-color: var(--ws-color-secondary-700);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 20px;
    max-width: var(--ws-container-max-width);
    margin: 0 auto;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: inline-block;
}

.site-logo img,
.custom-logo {
    width: 162px;
    height: auto;
    max-width: 162px;
    display: block;
}

/* Primary Nav */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav ul li {
    position: relative;
}

.primary-nav ul li a {
    display: block;
    padding: 10px 18px;
    font-family: var(--ws-primary-font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--ws-color-text-white);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current_page_item > a {
    opacity: 0.75;
}

/* Header Phone */
.header-phone {
    flex-shrink: 0;
}

.header-phone p,
.header-phone a {
    font-family: var(--ws-primary-font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--ws-color-text-white);
    text-decoration: none;
    margin: 0;
}

.header-phone a:hover {
    opacity: 0.8;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ws-color-text-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================================
   HERO / COVER WITH SIDE MEDIA
   ============================================================================= */

.hero-section {
    background-color: #ffffff;
    padding: 40px 0 120px;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: var(--ws-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-media {
    flex: 1 1 50%;
    min-width: 0;
    border-radius: var(--ws-media-border-radius);
    overflow: hidden;
    max-height: 758px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 0;
    max-width: 570px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    font-family: var(--ws-secondary-font-family);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.187em;
    color: var(--ws-color-dark-200);
    margin-bottom: 16px;
}

.hero-content h5 {
    color: rgba(0,0,0,0.54);
    margin-bottom: 0;
}

/* =============================================================================
   LOGO TICKER / SCROLLING CAROUSEL
   ============================================================================= */

.logo-carousel-section {
    background-color: var(--ws-color-dark-200);
    padding: 0;
    overflow: hidden;
}

.logo-carousel-track-wrapper {
    overflow: hidden;
    position: relative;
    height: 100px;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    gap: 2px;
    width: max-content;
    animation: logoScroll 20s linear infinite;
}

.logo-carousel-track figure {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;          /* fixed box width — same for every item */
    height: 100px;
    padding: 10px 20px;
    margin: 0;
    box-sizing: border-box;
}

.logo-carousel-track figure a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-carousel-track figure img {
    max-width: 100%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: brightness(10);
}

@keyframes logoScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-carousel-track:hover {
    animation-play-state: paused;
}

/* =============================================================================
   SERVICES OVERVIEW (Custom Block with Background)
   ============================================================================= */

.services-overview-section {
    position: relative;
    padding: 112px 0 88px;
    background-color: #fff;
    color: #000;
}


.services-overview-section .ws-container {
    position: relative;
    z-index: 1;
}

/* Block Title */
.section-title {
    max-width: 770px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title h5 {
    color: rgba(255, 255, 255, 0.68);
}

/* 3-Column Grid */
.pe-columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.pe-column {
    background-color: rgba(255,255,255,0.06);
    border-radius: var(--ws-column-border-radius);
    overflow: hidden;
    padding: 0;
}

.pe-column-inner {
    padding: 0;
}

.pe-column-image {
    width: 100%;
    height: 287px;
    overflow: hidden;
    border-radius: var(--ws-media-border-radius) var(--ws-media-border-radius) 0 0;
}

.pe-column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pe-column-text {
    padding: 28px;
    text-align: center;
}

.pe-column-text h4 {
    color: var(--ws-color-text-white);
    margin-bottom: 12px;
}

.pe-column-text p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.75;
}

.services-overview-cta {
    text-align: center;
    margin-top: 48px;
}

/* =============================================================================
   ABOUT SECTION
   ============================================================================= */

.about-section {
    background-color: var(--ws-color-dark-200);
    color: var(--ws-color-text-white);
    padding: 88px 0;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.about-content {
    flex: 1 1 50%;
    min-width: 0;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content h5 {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 20px;
}

.about-media {
    flex: 1 1 50%;
    min-width: 0;
    border-radius: var(--ws-media-border-radius);
    overflow: hidden;
    max-height: 532px;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 24% 50%;
    display: block;
}

/* =============================================================================
   WHY CHOOSE US
   ============================================================================= */

.why-choose-section {
    background-color: #ffffff;
    padding: 120px 0;
}

.why-choose-section .section-title h5 {
    color: rgba(0, 0, 0, 0.54);
}

.why-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.why-item {
    background-color: hsl(201, 57%, 35%);
    border-radius: var(--ws-column-border-radius);
    padding: 40px 32px;
    color: var(--ws-color-text-white);
}

.why-item h4 {
    color: var(--ws-color-text-white);
    margin-bottom: 16px;
    font-family: var(--ws-secondary-font-family);
}

.why-item p {
    color: rgba(255,255,255,0.68);
    margin-bottom: 0;
}

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */

.testimonials-section {
    background-color: var(--ws-color-dark-200);
    padding: 64px 0 104px;
    color: var(--ws-color-text-white);
}

.testimonials-section .section-title h5 {
    color: rgba(255, 255, 255, 0.68);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.2);
    margin: 0 auto;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-text {
    text-align: center;
}

.testimonial-text h6 {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ws-color-text-white);
    margin-bottom: 8px;
}

.testimonial-author {
    font-size: 16px;
    font-family: var(--ws-secondary-font-family);
    font-weight: 400;
    color: var(--ws-color-text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* =============================================================================
   CONTACT INFO SECTION
   ============================================================================= */

.contact-info-section {
    background-color: #ffffff;
    padding: 120px 0;
}

.contact-info-section .section-title h5 {
    color: rgba(0,0,0,0.54);
}

.contact-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.contact-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 122, 150, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 48px;
    height: 48px;
    stroke: hsl(201, 55%, 51%);
}

.contact-item h4 {
    margin-bottom: 8px;
    color: var(--ws-color-text-black);
}

.contact-item p {
    color: rgba(0,0,0,0.54);
    margin: 0;
}

.contact-item a {
    color: hsl(201, 55%, 51%);
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--ws-color-secondary-800);
}

.contact-info-cta {
    text-align: center;
    margin-top: 48px;
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--ws-color-alt-dark-900);
    color: var(--ws-color-text-white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/clarity-hero.jpg');
    background-size: cover;
    background-position: 57% 50%;
    transform: scale(1.2);
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(6, 8, 12, 0.76);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 570px;
}

.cta-content h2 {
    margin-bottom: 24px;
    color: var(--ws-color-text-white);
}

.cta-content h5 {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0;
}

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

.site-footer {
    background-color: var(--ws-color-secondary-700);
    color: var(--ws-color-text-white);
    padding: 64px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.footer-logo img {
    width: 162px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav ul li a {
    font-family: var(--ws-primary-font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--ws-color-text-white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-nav ul li a:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

/* =============================================================================
   SERVICES PAGE — HERO SPLIT
   ============================================================================= */

.services-hero {
    background-color: hsl(51, 88%, 66%);
    overflow: hidden;
}

.services-hero-inner {
    display: flex;
    min-height: 744px;
    align-items: stretch;
}

.services-hero-media {
    flex: 0 0 58.33%;
    overflow: hidden;
}

.services-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 59% 49%;
    display: block;
}

.services-hero-content {
    flex: 0 0 41.67%;
    padding: 80px 56px;
    display: flex;
    align-items: center;
}

.services-hero-content-inner {
    max-width: 530px;
}

.services-hero-content h2 {
    margin-bottom: 24px;
    color: var(--ws-color-text-black);
}

.services-hero-content h5 {
    color: rgba(0,0,0,0.59);
}

/* =============================================================================
   SERVICES CARDS
   ============================================================================= */

.service-cards-section {
    background-color: #ffffff;
    padding: 120px 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: #fff;
    border-radius: var(--ws-column-border-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-image {
    height: 240px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}

.service-card-body {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h5 {
    font-family: var(--ws-secondary-font-family);
    font-weight: 600;
    font-size: 20px;
    color: var(--ws-color-text-black);
    margin-bottom: 12px;
}

.service-card-body > p {
    color: rgba(0,0,0,0.54);
    flex: 1;
    margin-bottom: 20px;
}

.service-card-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.service-card-list li {
    color: rgba(0,0,0,0.54);
    margin-bottom: 8px;
    line-height: 1.6;
}

.service-card-list li:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */

.faq-section {
    background-color: #ffffff;
    padding: 0 0 120px;
}

.faq-title {
    max-width: 770px;
    margin: 0 auto 48px;
    text-align: center;
}

.faq-title h5 {
    color: rgba(0,0,0,0.54);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    cursor: pointer;
    user-select: none;
}

.accordion-header h5 {
    margin: 0;
    font-size: 18px;
    color: var(--ws-color-text-black);
    font-weight: 400;
    flex: 1;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.accordion-item.is-open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.accordion-item.is-open .accordion-content {
    max-height: 500px;
}

.accordion-content-inner {
    padding-bottom: 24px;
}

.accordion-content-inner p {
    color: rgba(0,0,0,0.54);
    margin: 0;
}

/* =============================================================================
   CONTACT PAGE — HERO WITH FORM
   ============================================================================= */

.contact-hero-section {
    position: relative;
    background-color: var(--ws-color-alt-dark-900);
    padding: 80px 0;
    color: var(--ws-color-text-white);
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/services-hero.jpg');
    background-size: cover;
    background-position: 50% 30%;
}

.contact-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(6, 8, 12, 0.82);
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.contact-hero-text {
    flex: 1 1 40%;
    min-width: 0;
}

.contact-hero-text h1 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3vw, 40px);
}

.contact-hero-text h3 {
    font-family: var(--ws-primary-font-family);
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.contact-hero-form {
    flex: 1 1 55%;
    min-width: 0;
    background-color: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 40px;
}

/* =============================================================================
   CONTACT FORM
   ============================================================================= */

.pe-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pe-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.pe-form .form-group.full-width {
    grid-column: 1 / -1;
}

.pe-form label {
    font-family: var(--ws-primary-font-family);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.pe-form input[type="text"],
.pe-form input[type="email"],
.pe-form input[type="tel"],
.pe-form textarea,
.pe-form select {
    padding: 12px 16px;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.23);
    border-radius: 8px;
    color: var(--ws-color-text-white);
    font-family: var(--ws-primary-font-family);
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s ease;
    width: 100%;
}

.pe-form input[type="text"]:focus,
.pe-form input[type="email"]:focus,
.pe-form input[type="tel"]:focus,
.pe-form textarea:focus,
.pe-form select:focus {
    outline: none;
    border-color: var(--ws-color-primary-400);
}

.pe-form textarea {
    resize: vertical;
    min-height: 120px;
}

.pe-form .form-submit {
    margin-top: 8px;
}

.pe-form .form-submit .pe-btn {
    width: 100%;
    justify-content: center;
}

/* Contact Full-Width Info */
.contact-fullwidth-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.contact-fullwidth-section h2 {
    margin-bottom: 40px;
}

.contact-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* Google Map embed placeholder */
.contact-map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--ws-media-border-radius);
    margin-top: 48px;
    background-color: rgba(0,0,0,0.05);
}

/* =============================================================================
   RESPONSIVE — TABLET (≤ 991px)
   ============================================================================= */

@media (max-width: 991px) {

    /* Header */
    .nav-toggle {
        display: flex;
    }

    .primary-nav,
    .header-phone {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--ws-color-secondary-700);
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .primary-nav.is-open ul {
        flex-direction: column;
        gap: 0;
    }

    .primary-nav.is-open ul li a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .site-header {
        position: relative;
    }

    /* Hero */
    .hero-inner {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .hero-media {
        max-height: 400px;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
    }

    /* Services overview */
    .pe-columns-3 {
        grid-template-columns: 1fr 1fr;
    }

    /* About */
    .about-inner {
        flex-direction: column;
    }

    .about-media {
        max-height: 400px;
        width: 100%;
    }

    /* Why columns */
    .why-columns {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Contact columns */
    .contact-columns {
        grid-template-columns: 1fr 1fr;
    }

    /* Services hero */
    .services-hero-inner {
        flex-direction: column;
        min-height: auto;
    }

    .services-hero-media,
    .services-hero-content {
        flex: 1 1 auto;
        width: 100%;
    }

    .services-hero-media {
        height: 360px;
    }

    /* Service cards */
    .service-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Contact hero */
    .contact-hero-inner {
        flex-direction: column;
    }

    /* Form rows */
    .pe-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================================= */

@media (max-width: 767px) {

    /* Hero */
    .hero-section {
        padding: 32px 0 64px;
    }

    /* Columns */
    .pe-columns-3,
    .why-columns,
    .service-cards-grid,
    .contact-columns,
    .contact-full-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Services hero */
    .services-hero-content {
        padding: 48px 24px;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-section {
        padding: 80px 0;
    }

    /* Footer nav */
    .footer-nav ul {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   ANIMATIONS (scroll-driven)
   ============================================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* =============================================================================
   WORDPRESS CORE OVERRIDES
   ============================================================================= */

/* Remove default WP margins */
.wp-site-blocks {
    padding: 0;
    margin: 0;
}

/* Alignments */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide { width: 100%; }
.alignfull { width: 100%; margin: 0; }

/* Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: rgba(0,0,0,0.54);
    text-align: center;
    margin: 8px 0 0;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--ws-color-dark-200);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: top 0.2s;
    z-index: 10000;
}

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

/* =============================================================================
   FORM SUCCESS / ERROR MESSAGES
   ============================================================================= */

.form-notice {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    display: none;
}

.form-notice.success {
    background-color: rgba(39, 174, 96, 0.15);
    color: #1e8449;
    border: 1px solid rgba(39, 174, 96, 0.3);
    display: block;
}

.form-notice.error {
    background-color: rgba(231, 76, 60, 0.12);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.25);
    display: block;
}
