/* custom.css - Viajamas
   Accent: #e67e22
   ALL sizes in px — no rem
   Supplement template CSS, do NOT replace it
*/

/* ===========================
   CSS Variables
=========================== */
:root {
    --accent: #e67e22;
    --accent-dark: #c0621a;
    --accent-light: #f0922b;
    --white: #ffffff;
    --off-white: #f8f6f3;
    --text-dark: #1a1a1a;
    --text-mid: #444444;
    --text-light: #888888;
    --bg-dark: #111111;
    --bg-darker: #0a0a0a;
    --border-light: rgba(255,255,255,0.12);
    --border-dark: rgba(0,0,0,0.1);
}

/* ===========================
   BODY & BASE
=========================== */
body.site-page {
    background: #0a0a0a;
    color: #e8e8e8;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
}

body.inner-page {
    background: #f8f6f3;
    color: #1a1a1a;
}

/* ===========================
   SITE HEADER (overrides template header)
=========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
}

.site-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 140px;
    height: auto;
    display: block;
}

/* R77: Nav cleanup */
.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    background-image: none !important;
    margin-bottom: 0 !important;
}

.site-nav a:hover,
.site-nav a.active {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.site-nav a.nav-cta {
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    padding: 8px 20px;
}

.site-nav a.nav-cta:hover {
    background: var(--accent-dark);
    color: #ffffff;
}

/* Inner pages: header on white bg */
body.inner-page .site-header {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.inner-page .site-nav a {
    color: #333333;
}

body.inner-page .site-nav a:hover,
body.inner-page .site-nav a.active {
    color: #1a1a1a;
    background: rgba(0,0,0,0.06);
}

body.inner-page .site-nav a.nav-cta {
    background: var(--accent);
    color: #ffffff;
}

body.inner-page .site-nav a.nav-cta:hover {
    background: var(--accent-dark);
    color: #ffffff;
}

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.inner-page .menu-toggle span {
    background: #333333;
}

/* ===========================
   HERO - INDEX PAGE
=========================== */
/* R79: hero container transparent */
.hero-cta-block {
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(8px);
    padding: 40px 48px;
    max-width: 760px;
    text-align: left;
}

.hero-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-left: 0 !important;
}

.hero-cta-block h1,
.hero-cta-block h2 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
    line-height: 1.6;
    padding-left: 0 !important;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===========================
   BUTTONS
=========================== */
.btn-accent {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid var(--accent);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

/* R-BTN: Outline on dark bg = white border/text */
.btn-outline {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* R75: White bg button - dark text hardcoded */
.btn-white {
    display: inline-block;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
    display: block;
}

/* ===========================
   INNER PAGE LAYOUT
=========================== */
.inner-main {
    padding-top: 72px;
}

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 32px 80px;
    color: #ffffff;
}

.page-hero.short-hero {
    padding: 90px 32px 60px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.48) 100%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.page-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
    color: #ffffff;
}

.page-hero-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ===========================
   CONTENT SECTIONS
=========================== */
.content-section {
    padding: 96px 32px;
}

.light-section {
    background: #f8f6f3;
    color: #1a1a1a;
}

.dark-section {
    background: #111111;
    color: #e2e8f0;
}

.accent-section {
    background: var(--accent);
    color: #ffffff;
}

.accent-section h2 {
    color: #ffffff;
}

.accent-section .section-intro {
    color: rgba(255,255,255,0.9);
}

/* ===========================
   CONTAINERS
=========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* R: .container-narrow must be defined */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===========================
   SECTION HEADERS
=========================== */
.section-header.centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.dark-section .section-label {
    color: var(--accent-light);
}

.section-header.centered h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.light-section .section-header h2 {
    color: #1a1a1a;
}

.dark-section .section-header h2 {
    color: #ffffff;
}

.section-intro {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.light-section .section-intro {
    color: #555555;
}

.dark-section .section-intro {
    /* R85: solid text color on dark, never opacity */
    color: #c8d6e5;
}

/* ===========================
   TWO-COLUMN LAYOUT
=========================== */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-col-layout.reverse {
    direction: rtl;
}

.two-col-layout.reverse > * {
    direction: ltr;
}

.col-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.light-section .col-text h2 {
    color: #1a1a1a;
}

.dark-section .col-text h2 {
    color: #ffffff;
}

.col-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.light-section .col-text p {
    color: #444444;
}

.dark-section .col-text p {
    color: #c8d6e5;
}

.content-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    /* R86: object-position center, NEVER top */
    object-fit: cover;
    object-position: center;
}

/* ===========================
   FEATURES GRID (K17: equal-height flex)
=========================== */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.features-grid.three-col {
    /* K3: 3 cols, card count must divide evenly (6 cards = OK) */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.light-section .feature-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* R87: uniform icon height */
.feature-icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.dark-section .feature-card h3 {
    color: #ffffff;
}

.light-section .feature-card h3 {
    color: #1a1a1a;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.65;
    flex-grow: 1;
}

.dark-section .feature-card p {
    color: #c8d6e5;
}

.light-section .feature-card p {
    color: #555555;
}

/* ===========================
   STEPS GRID (R80: horizontal grid)
=========================== */
.steps-grid {
    display: grid;
    gap: 32px;
}

.steps-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
}

/* ===========================
   STATS SECTION
=========================== */
.stats-grid {
    display: grid;
    gap: 32px;
}

.stats-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1.1;
}

.stat-label {
    font-size: 15px;
    color: #666666;
    font-weight: 500;
}

/* ===========================
   CARD GRID (K17: equal-height)
=========================== */
.card-grid,
.team-grid,
.blog-grid,
.features-grid {
    display: flex;
    flex-wrap: wrap;
}

.card-grid > *,
.team-grid > *,
.blog-grid > *,
.features-grid > * {
    display: flex;
    flex-direction: column;
}

/* ===========================
   TEAM GRID (K17: equal-height)
=========================== */
.team-grid {
    display: flex;
    flex-wrap: wrap;
}

.team-grid.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* R86: object-position center */
    object-position: center;
    display: block;
}

.team-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.team-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    flex-grow: 1;
}

/* ===========================
   CULTURE STATS
=========================== */
.culture-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.culture-stat {
    display: flex;
    flex-direction: column;
}

.culture-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.1;
}

.culture-label {
    font-size: 14px;
    color: #8fabc4;
    margin-top: 4px;
}

/* ===========================
   BLOG GRID (K17: equal-height, R78: fixed 3-col)
=========================== */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
}

.blog-grid.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card-img-link {
    display: block;
    overflow: hidden;
}

.blog-card-img-link img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.blog-card-img-link:hover img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 13px;
    color: #888888;
    font-weight: 500;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card-body h3 a {
    text-decoration: none;
    color: inherit;
}

.blog-card-body h3 a:hover {
    color: var(--accent);
}

.blog-card-body p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: var(--accent-dark);
}

/* ===========================
   FEATURE LIST
=========================== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}

.feature-list li {
    font-size: 16px;
    color: #444444;
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dark-section .feature-list li {
    color: #c8d6e5;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-layout {
    align-items: start;
    gap: 80px;
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.contact-form-custom input,
.contact-form-custom select,
.contact-form-custom textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.contact-form-custom input:focus,
.contact-form-custom select:focus,
.contact-form-custom textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230,126,34,0.1);
    border-radius: 10px;
}

.contact-detail h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail p {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.contact-detail a {
    color: var(--accent);
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--accent-dark);
}

/* ===========================
   LEGAL PAGES
=========================== */
.legal-page {
    padding: 80px 32px;
}

.legal-page h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.legal-date {
    font-size: 14px;
    color: #888888;
    margin-bottom: 48px;
    display: block;
}

.legal-page h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 36px 0 12px;
}

.legal-page p {
    font-size: 16px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
}

/* ===========================
   FOOTER (full-width on inner pages)
=========================== */
.site-footer-full {
    background: #0d0d0d;
    color: #e2e8f0;
    padding: 64px 32px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
    margin-bottom: 12px;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 15px;
    color: #8fabc4;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 15px;
    color: #8fabc4;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: #666666;
    text-align: center;
}

.footer-bottom a {
    color: #8fabc4;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Index page footer (overlaid on slider) */
.site-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 12px 24px;
    z-index: 50;
    text-align: right;
}

.site-footer p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 2px;
}

.site-footer a:hover {
    color: #fff;
}

/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(15,15,15,0.97);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px 28px;
    max-width: 640px;
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
}

.cookie-banner.visible {
    display: flex;
}

.cookie-banner p {
    font-size: 14px;
    color: #c8d6e5;
    flex: 1;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.cookie-btn:hover {
    background: var(--accent-dark);
}

.cookie-btn-secondary {
    background: transparent;
    color: #8fabc4;
    border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
}

/* ===========================
   R77: Template overrides
=========================== */
.nav-item {
    margin-bottom: 0 !important;
    background-image: none !important;
}

.site-logo {
    max-width: none !important;
}

.btn-accent, .cta-primary, .cta-secondary {
    white-space: nowrap;
}

/* R79: Hero container transparent */
.header-thumb {
    background: transparent !important;
    border: none !important;
}

/* R81: Force accent on icons */
.feature-icon .fa, .card-icon .fa, .step-icon .fa {
    color: var(--accent) !important;
}

/* R89: Template overlay pointer-events */
.tm-bg-overlay, [class*="overlay"] {
    pointer-events: none !important;
}

/* Allow interactive overlays to capture events */
.overlay.active, .cookie-banner {
    pointer-events: all !important;
}

/* ===========================
   Blog/Article images (R-IMG)
=========================== */
.blog-card-body img,
article img,
.blog-article img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 968px) {
    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col-layout.reverse {
        direction: ltr;
    }

    .features-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid.three-col {
        grid-template-columns: 1fr;
    }

    .stats-grid.four-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cta-block h1,
    .hero-cta-block h2 {
        font-size: 36px;
    }

    .page-hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        transform: translateY(-110%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    body.inner-page .site-nav {
        background: rgba(255,255,255,0.98);
    }

    .site-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .site-nav a {
        padding: 14px 24px;
        width: 100%;
        border-radius: 0;
        font-size: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .features-grid.three-col {
        grid-template-columns: 1fr;
    }

    .blog-grid.three-col {
        grid-template-columns: 1fr;
    }

    .team-grid.three-col {
        grid-template-columns: 1fr;
    }

    .stats-grid.four-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-cta-block {
        padding: 28px 24px;
    }

    .hero-cta-block h1,
    .hero-cta-block h2 {
        font-size: 28px;
    }

    .page-hero-content h1 {
        font-size: 30px;
    }

    .culture-stats {
        flex-direction: column;
        gap: 16px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 64px 20px;
    }

    .container, .container-narrow {
        padding: 0 20px;
    }
}

/* ===== FULLSCREEN BUTTON ===== */
.fullscreen-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  fill: none;
  stroke: rgba(255,255,255,0.8);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fullscreen-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(255,255,255,0.8);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.fullscreen-btn.active {
  background: rgba(255, 255, 255, 0.25);
}
