/* ========================================
   1. VARIABLES
   ======================================== */
:root {
    --color-primary: #FC9E2C;
    --color-dark: #192042;
    --color-dark-bg: #0F0F1A;
    --color-light: #F8F9FA;
    --color-text: #192042;
    --color-muted: #62646C;
    --color-light-text: #C8C9CB;
    --color-border: #E8E9EA;
    --color-white: #FFFFFF;
    --shadow: 0 8px 24px rgba(252, 158, 44, 0.1);
    --transition: 0.3s ease;
    --hero-transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 100%;
    --hero-slant: 80px;
    --hero-form-pad: 2rem;
}

/* ========================================
   2. RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
}

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

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

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

/* ========================================
   4. TEXT UTILITIES
   ======================================== */

   /*---HEADERS---*/

.hero-overlay-content h1 {
    font-size: clamp(2.5rem, 3.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
}

.header-1 {
    display: flex;
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--color-dark); 
    line-height: 2; 
    max-width: 90%;
    margin: 2rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: 'Montserrat';
}

.header-2 {
    display: flex;
    font-size: 1.75rem; 
    font-weight: 700; 
    color: var(--color-dark); 
    line-height: 1.75; 
    max-width: 90%;
    margin: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: 'Montserrat';
}

.card-header {
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--color-dark); 
    line-height: 1; 
    max-width: 90%;
    text-align: center;
    font-family: 'Montserrat';
    margin-top: 1rem;
}

.card-header__heading h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

/*---BODY TEXT---*/

.main {
    font-size: 1rem; 
    font-weight: 500; 
    color: var(--color-dark); 
    line-height: 1.75; 
    margin: 1rem; 
    text-align: start;
    font-family: 'Courier New'; 
    margin-bottom: 1rem;
    max-width: 80%;
}

.subtext {
    font-size: 1rem; 
    font-weight: 400; 
    color: var(--color-muted); 
    line-height: 1.75; 
    max-width: 90%;
    font-family: 'Courier New'; 
}

.card-main {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.25;
    max-width: 90%;
    font-family: 'Courier New';
    margin-bottom: 1rem;
}

.card-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.25;
    max-width: 90%;
    font-family: 'Courier New';
}

.about-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;  /* stacks on narrow screens */
}

.mockup-label {
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

.page-nav-bar .nav-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 0;
    color: var(--color-dark);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
    font-family: 'Montserrat';
}
.page-nav-bar .nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}
.page-nav-bar .nav-link.active {
    background: var(--color-dark);
    color: var(--color-white);
}

.page-nav-bar .nav-dropdown-menu .nav-link {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    background: none;
    text-align: left;
    border-radius: 0;
    transition: background var(--transition), color var(--transition);
    transform: none;   /* cancels the base :hover translateY */
}

.page-nav-bar .nav-dropdown-menu .nav-link:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: none;
}
.nav-dropdown-menu a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* ========================================
   5. LAYOUT – CONTAINERS & GRID
   ======================================== */
.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-1 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

/* ========================================
   6. SECTIONS
   ======================================== */
.section-info {
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    align-items: center;
    max-width: 100%;
}

.section-comparison {
    background: var(--color-muted);
    display: flex;
    flex-direction: column;
    padding: 2cap;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 100%;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem;
}

/* ========================================
   7. BADGES
   ======================================== */
.badge-location--round {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    padding: 1rem;
    margin: 1rem;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
    border: 4px solid var(--color-white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

    /* Overlay + map as a single layered background */
    background-image:
        linear-gradient(rgba(15, 15, 26, 0.6), rgba(15, 15, 26, 0.6)),
        url('images/devonandcornwall.jpg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}
/* Ensure text sits above the image + overlay */
.badge-location--round > * ,
.badge-location--round {
    z-index: 2;
}

.badge-location--round {
    color: var(--color-white);
}
/* ========================================
   8. BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    font-weight: 700;
    padding: 0.9rem 2rem;
    margin: 1rem;
    border-radius: 10px 40px 20px 40px;
    transition: all var(--transition);
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn img {
    display: inline-block;
    width: 18px;
    height: auto;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-dark);
    border-width: 2px;
}
.btn-primary:hover {
    background: var(--color-dark);
    color: var(--color-primary);
    border-color: var(--color-primary);
    border-width: 2px;
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
}

.btn-link {
    display: inline-block;
    font-weight: 500;
    padding: 0.4rem 1rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: var(--color-dark);
    color: var(--color-white);
}
.btn-link:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

.btn:has(img) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ========================================
   9. CARD WITH COLOURED HEADER
   ======================================== */
.card-header__heading {
    background: var(--color-dark);
    padding: 1.2rem 1.5rem;
    color: var(--color-white);
    border-radius: 10px 40px 20px 40px;
}

/* =====CARD UTILITIES=====*/
.card-general-1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    overflow: hidden;
    border: 2px solid var(--color-dark);
    background: var(--color-white);
    text-align: left;
    align-items: center;
    border-radius: 10px 40px 20px 40px;
}

.card-general-2 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    overflow: hidden;
    border: 2px solid var(--color-dark);
    background: var(--color-white);
    text-align: left;
    align-items: center;
    border-radius: 40px 10px 40px 20px;
}

.card-icon {
    font-size: 2rem;
}

.card-icon-sml {
    font-size: 1rem;
}

/* =====MOCKUP / PACKAGE CARDS – IMAGE LEFT===== */
.mockup-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    transition: all var(--transition);
}
.mockup-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.mockup-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    cursor: pointer;
    flex-shrink: 0;
}

.mockup-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

.mockup-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.mockup-preview:hover .mockup-thumb { transform: scale(1.05); }

.mockup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}
.mockup-preview:hover .mockup-overlay { opacity: 1; }

.mockup-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }


.mockup-content {
    flex: 1;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.mockup-2 { background: linear-gradient(135deg, #2d1b0e, #4a2c1a); }
.mockup-3 { background: linear-gradient(135deg, #1a2e1a, #2a4a2a); }

/* ========================================
   ABOUT — heading with photo
   ======================================== */

.about-heading__photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;        
    margin: 1rem;
    gap: 2rem;
}

/* ========================================
   11. HERO — SINGLE BLOCK WITH SLIDING CONTACT PANEL
   ======================================== */
.hero-split {
    display: grid;
    grid-template-columns: 100% 0%;
    min-height: 0;
    width: 100%;
    background: var(--color-dark);
    overflow: hidden;
    transition: grid-template-columns var(--hero-transition);
}

.hero-split.contact-open {
    grid-template-columns: 55% 45%;
}

/* Left panel — hero content */
.hero-split-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    min-width: 0;
}

.hero-split-content {
    max-width: 90%;
    width: 100%;
    text-align: center;
}

.hero-split-content .hero-logo-wrapper {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.hero-split-content .hero-logo {
    max-width: 90%;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
}


.hero-overlay-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 90%;
}

/* Right panel — shape + colour on a pseudo-element so the form is never clipped */
.hero-split-right {
    position: relative;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;             
    max-height: 0;   
    transition: max-height var(--hero-transition);
}

.hero-split-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-light);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path var(--hero-transition);
    z-index: 0;
    pointer-events: none;
}

.hero-split.contact-open .hero-split-right {
    max-height: 1200px;
}

.hero-split.contact-open .hero-split-right::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%);
}

/* Form wrapper — sits above the shape and clears the slant */
.hero-split-right .contact-form-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 90%;
    padding: var(--hero-form-pad);
    padding-left: calc(var(--hero-form-pad) + (var(--hero-slant) / 2));
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}

.hero-split.contact-open .contact-form-wrapper {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   12. CONTACT FORM
   ======================================== */
.contact-form-card {
    background: var(--color-white);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    color: var(--color-dark);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 10px 40px 15px 50px;
}

.close-form {
    display: none;
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dark);
    z-index: 10;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--color-white);
    color: var(--color-dark);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   13. NAVIGATION – ORANGE BAR & DROPDOWN
   ======================================== */
.page-nav-bar {
    background: var(--color-primary);
    padding: 0.4rem 0;
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: 50px;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: all var(--transition);
    border-radius: 0;
}

/* ---- Dropdown (desktop) ---- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Kill the mobile-only ::after injection on desktop */
.nav-dropdown-toggle::after { content: none; }

/* The caret span */
.nav-dropdown__caret {
    display: inline-block;
    font-size: 0.7rem;
    line-height: 1;
    transition: transform var(--transition);
}
.nav-dropdown.active .nav-dropdown__caret,
.nav-dropdown:hover .nav-dropdown__caret {
    transform: rotate(180deg);
}

/* The menu itself */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-dark);
    list-style: none;
    padding: 0.25rem 0;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 70;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   14. LIGHTBOX
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: lightboxFadeIn 0.3s ease;
}
.lightbox.active { display: flex; }
@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    flex-shrink: 0;
}
.lightbox-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}
.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

.lightbox-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    position: relative;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(252, 158, 44, 0.5) rgba(255, 255, 255, 0.05);
}
.lightbox-scroll-container::-webkit-scrollbar { width: 10px; }
.lightbox-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}
.lightbox-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(252, 158, 44, 0.5);
    border-radius: 5px;
}
.lightbox-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(252, 158, 44, 0.8);
}

.lightbox-image-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
    min-height: 100%;
}
.lightbox-image {
    max-width: 90%;
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-shrink: 0;
    padding: 10px 0;
    flex-wrap: wrap;
}
.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    flex-shrink: 0;
}
.lightbox-nav:hover {
    background: rgba(252, 158, 44, 0.3);
    border-color: var(--color-primary);
    transform: scale(1.05);
}
.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    padding: 5px 10px;
    overflow-x: auto;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 90%;
}
.lightbox-thumbnails::-webkit-scrollbar { height: 6px; }
.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(252, 158, 44, 0.5);
    border-radius: 3px;
}

.lightbox-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.5;
    flex-shrink: 0;
}
.lightbox-thumbnail:hover {
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.3);
}
.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--color-primary);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
    padding: 0.5rem;
    line-height: 1;
}
.lightbox-close:hover { transform: rotate(90deg); }

/* ========================================
   PACKAGE COMPARISON TABLE
   ======================================== */
.comparison-table-wrap {
    overflow-x: auto;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table thead th {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 1.5rem 1.25rem;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid var(--color-dark);
}

.comparison-table thead th.comparison-table__feature-head {
    text-align: left;
    background: var(--color-dark-bg);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table__pkg {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.comparison-table__price {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
}

/* Highlighted middle column (Prime) */
.comparison-table__highlight {
    background: rgba(252, 158, 44, 0.06);
}

.comparison-table thead th.comparison-table__highlight {
    background: var(--color-primary);
    color: var(--color-dark);
}

.comparison-table thead th.comparison-table__highlight .comparison-table__price {
    color: var(--color-dark);
    opacity: 0.85;
}

/* Body rows */
.comparison-table tbody th {
    background: var(--color-light);
    font-weight: 600;
    text-align: left;
    padding: 0.9rem 1.25rem;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.comparison-table tbody td {
    padding: 0.9rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    vertical-align: middle;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover th,
.comparison-table tbody tr:hover td {
    background: rgba(252, 158, 44, 0.04);
}

/* Check / cross indicators */
.comparison-table .yes {
    color: var(--color-dark);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
}

.comparison-table .no {
    color: var(--color-border);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

/* CTA beneath the table */
.comparison-table__cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ========================================
   COLLAPSIBLE WRAPPER
   ======================================== */
.comparison-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-collapse.is-open {
    grid-template-rows: 1fr;
}

.comparison-collapse__inner {
    overflow: hidden;
    min-height: 0;
}

/* Slight fade-in of the inner content when opening */
.comparison-collapse__inner > * {
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}

.comparison-collapse.is-open .comparison-collapse__inner > * {
    opacity: 1;
}

/* ========================================
   TOGGLE BUTTON
   ======================================== */
.comparison-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.75rem 1.75rem;
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-primary);
    border-width: 2px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    border-radius: 40px 10px 40px 20px;
}

.comparison-toggle:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-dark);
    border-width: 2px;
    transform: translateY(-2px);
}

.comparison-toggle__arrow {
    display: inline-block;
    transition: transform 0.35s ease;
    font-size: 0.85rem;
    line-height: 1;
}

.comparison-toggle.is-open .comparison-toggle__arrow {
    transform: rotate(180deg);
}

/* ========================================
   Reduce the top margin on the inner wrap now
   that it's inside the collapsible
   ======================================== */
.comparison-collapse .comparison-table-wrap {
    margin-top: 1.5rem;
}

/* ========================================
   FAQ — COLLAPSIBLE ITEMS
   ======================================== */
.faq-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 2rem;
}

   .faq-item {
    padding: 0;              /* padding moves to the button and answer */
    align-items: stretch;    /* overrides the default centring */
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover .main {
    color: var(--color-primary);
}

.faq-question .main {
    margin-bottom: 0;        /* remove the default bottom margin */
    font-weight: 700;
    font-size: 1.15rem;
    max-width: 90%;
    transition: color var(--transition);
}

.faq-question__arrow {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--color-dark);
    transition: transform 0.35s ease, color var(--transition);
}

.faq-item.is-open .faq-question__arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* Collapsing answer */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer__inner {
    overflow: hidden;
    min-height: 0;
}

.faq-answer__inner .subtext {
    padding: 0 1.5rem 1.25rem;
    text-align: left;
    max-width: 90%;
    color: var(--color-muted);
    line-height: 1.7;
}

/* ========================================
   15. FOOTER
   ======================================== */
.footer {
    background: var(--color-dark-bg);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: start;
    margin: 2rem;
}

/* ---- Brand column ---- */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: start;
    text-align: start;
}

.footer-brand .nav-logo {
    filter: brightness(0) invert(1);
    max-width: 300px;
    width: 100%;
    height: auto;
}

.footer-brand .main {
    max-width: 90%;
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---- Nav column ---- */
.footer-nav__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-white);
    margin: 0 0 0.9rem;
}

.footer-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav__list .footer-link {
    display: inline-block;   /* not flex-column — single-line links */
    font-size: 0.9rem;
}

/* ---- Contact column ---- */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.footer-link {
    color: var(--color-light-text);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--color-primary); }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
}
.footer-bottom p {
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* ========================================
   16. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-5 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .hero-split,
    .hero-split.contact-open {
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        min-height: auto;
    }

    .hero-split-left {
        min-height: 0;
        padding: 2rem 1.5rem;
    }

    .hero-split-right {
        max-height: 0;
        transition: max-height 0.7s ease;
    }

    .hero-split.contact-open .hero-split-right {
        max-height: 900px;
    }

    .hero-split-right::before,
    .hero-split.contact-open .hero-split-right::before {
        clip-path: none;
    }

    .hero-split-right .contact-form-wrapper {
        padding: 1.5rem;
        max-width: 90%;
    }

    .hero-split-content .hero-logo { max-width: 90%; }
    .hero-overlay-content h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }

    /* Navigation */
    .nav-bar-container { justify-content: space-between; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        width: 100%;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }

    .page-nav-bar .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.6rem;
    }
    .nav-logo-wrapper { margin-left: 0; }
    .nav-toggle { display: flex; margin-left: auto; }

    /* Dropdown */
    .nav-dropdown { position: static; width: 100%; }

    .nav-dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--color-dark);
        padding: 0.25rem 0;
        width: 100%;
    }
    .nav-dropdown-menu.active { display: block; }

    .nav-dropdown-menu a {
        padding: 0.5rem 1.5rem 0.5rem 2.5rem;
        color: var(--color-white);
    }
    .nav-dropdown-menu a:hover {
        background: var(--color-primary);
        color: var(--color-dark);
    }

    /* Mockup cards stack */
    .mockup-card { flex-direction: column; max-width: 90%; }
    .mockup-image { flex: 0 0 auto; width: 100%; min-height: 200px; }
    .mockup-content { padding: 1.5rem; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-contact { align-items: center; }

    /* Contact form */
    .contact-form-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
        max-width: 90%;
    }

    /* Lightbox */
    .lightbox-content { padding: 10px; gap: 8px; }
    .lightbox-header h3 { font-size: 1rem; }
    .lightbox-counter { font-size: 0.8rem; }
    .lightbox-nav { width: 38px; height: 38px; font-size: 1.5rem; }
    .lightbox-thumbnail { width: 50px; height: 38px; }
    .lightbox-close { top: 8px; right: 12px; font-size: 2rem; }
    .lightbox-image-wrapper { padding: 10px; }
    .lightbox-controls { gap: 10px; padding: 5px 0; }
    .lightbox-thumbnails { gap: 6px; padding: 5px 5px; }

    /* Hero */
    .hero-split-content .hero-logo { max-width: 90%; }
    .hero-overlay-content h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

    /* Comparison table */
    .comparison-table {
        font-size: 0.85rem;
        min-width: 640px;
    }
    .comparison-table thead th { padding: 1rem 0.75rem; }
    .comparison-table__pkg { font-size: 0.95rem; }
    .comparison-table__price { font-size: 0.75rem; }
    .comparison-table tbody th,
    .comparison-table tbody td { padding: 0.7rem 0.75rem; }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand { align-items: center; }
    .footer-brand .main { text-align: center; }
    .footer-nav__list { align-items: center; }
    .footer-contact { align-items: center; }
}

@media (max-width: 480px) {
    .hero-split-left { min-height: 0; padding: 1.5rem 1rem; }
    .hero-split-content .hero-logo { max-width: 90%; }
    .hero-overlay-content h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
    .hero-overlay-content p { font-size: 0.95rem; }

    .mockup-image { min-height: 160px; }

    .lightbox-thumbnail { width: 40px; height: 30px; }
    .lightbox-nav { width: 32px; height: 32px; font-size: 1.2rem; }
}

/* ========================================
   17. COOKIE CONSENT PANEL
   ======================================== */
.cookie-panel {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 200;
    max-width: 90%;
    width: calc(100% - 3rem);
    animation: cookieSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-panel__card {
    background: var(--color-white);
    border: 2px solid var(--color-dark);
    border-radius: 10px 40px 20px 40px;   /* matches your .btn / .card-general-1 */
    box-shadow: 0 20px 60px rgba(15, 15, 26, 0.25);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-panel__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.cookie-panel__text {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

.cookie-panel__link {
    color: var(--color-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}
.cookie-panel__link:hover { color: var(--color-primary); }

/* ---- Preferences list ---- */
.cookie-panel__prefs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-light);
    border-radius: 8px;
}

.cookie-pref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-pref__info { display: flex; flex-direction: column; gap: 0.15rem; }

.cookie-pref__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark);
}

.cookie-pref__desc {
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    color: var(--color-muted);
    line-height: 1.4;
}

/* ---- Toggle switch ---- */
.cookie-switch { flex-shrink: 0; cursor: pointer; position: relative; }
.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-switch__track {
    display: block;
    width: 42px;
    height: 24px;
    background: var(--color-border);
    border-radius: 12px;
    position: relative;
    transition: background var(--transition);
}
.cookie-switch__track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition);
}
.cookie-switch input:checked + .cookie-switch__track {
    background: var(--color-primary);
}
.cookie-switch input:checked + .cookie-switch__track::after {
    transform: translateX(18px);
}
.cookie-switch input:disabled + .cookie-switch__track {
    opacity: 0.6;
    cursor: not-allowed;
}
.cookie-switch input:focus-visible + .cookie-switch__track {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Actions ---- */
.cookie-panel__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-panel__manage {
    padding: 0.4rem 0;
    font-size: 0.8rem;
    background: none;
    color: var(--color-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-panel__manage:hover {
    background: none;
    color: var(--color-dark);
}

.cookie-panel__buttons {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.cookie-panel__reject {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

#cookieAccept {
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .cookie-panel {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        max-width: none;
    }
    .cookie-panel__card {
        padding: 1.25rem;
        border-radius: 10px 30px 15px 30px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .cookie-panel__actions { flex-direction: column; align-items: stretch; }
    .cookie-panel__buttons { margin-left: 0; }
    .cookie-panel__buttons .btn { flex: 1; }
}

/* ========================================
   18. SOCIAL LINKS
   ======================================== */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-end;   /* right-aligned, matching .footer-contact */
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px 20px 10px 20px;   /* echoes your card radii */
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-light-text);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.social-link svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Mobile: centre the row with the rest of the footer */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}
