/* ============================================
   RESPONSIVE STYLES
   Karbon Ayak Izi — Futuristic Dark Theme
   Breakpoints: 1280 / 1024 / 768 / 480
   ============================================ */

/* ============================================
   WIDE DESKTOP (1536px+)
   ============================================ */
@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }
}

/* ============================================
   DESKTOP SMALL (max-width: 1280px)
   ============================================ */
@media (max-width: 1280px) {
  .container {
    padding: 0 clamp(20px, 3vw, 40px);
  }

  /* Services grid: slightly smaller gap */
  .services-grid {
    gap: 20px;
  }

  /* Team grid stays 4 columns */
  .team-grid {
    gap: var(--space-4);
  }

  /* Sectors grid: slightly tighter */
  .sectors-grid {
    gap: 14px;
  }

  /* Footer grid: tighter gap */
  .footer-grid {
    gap: var(--space-8);
  }

  /* Hero grid: slightly tighter columns */
  .hero-grid {
    gap: var(--space-8);
  }

  /* Globe container: slightly smaller */
  .globe-container {
    width: 360px;
    height: 360px;
  }

  /* Blog grid: tighter gap */
  .blog-grid {
    gap: var(--space-4);
  }

  /* Mega menu grid: tighter gap */
  .mega-menu-grid {
    gap: var(--space-4);
  }

  /* Report card: tighter padding */
  .report-card-body {
    padding: var(--space-6);
  }
}

/* ============================================
   TABLET LANDSCAPE (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  /* Hero grid: still 2 columns but tighter proportions */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
  }

  /* Globe: smaller */
  .globe-container {
    width: 300px;
    height: 300px;
  }

  /* Services grid: 2 columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services-grid .service-card:nth-child(7) {
    grid-column: auto;
  }

  /* Sectors grid: 3 columns */
  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  /* Blog grid: 2 columns */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Mega menu grid: 3 columns */
  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .mega-menu-cta {
    grid-column: 1 / -1;
  }

  /* Team grid: 3 columns */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  /* Stats grid: wrap with 3+2 layout */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  /* Stats dividers hidden at tablet */
  .stats-grid .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 44px;
  }

  /* Report card: horizontal but tighter */
  .report-card {
    grid-template-columns: 35% 65%;
  }

  .report-card-visual {
    min-height: 240px;
  }

  .report-card-body {
    padding: var(--space-6);
  }

  /* Footer grid: 2x2 */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  /* About grid: tighter */
  .about-grid {
    grid-template-columns: 55% 45%;
    gap: var(--space-8);
  }

  /* Values grid: still 2 cols */
  .values-grid {
    gap: var(--space-6);
  }

  /* Contact grid: tighter */
  .contact-grid {
    gap: var(--space-8);
  }

  /* Blog page grid */
  .blog-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Section spacing reduction */
  .services-section,
  .sectors-section,
  .portfolio-section,
  .blog-section,
  .faq-section {
    padding: var(--space-24) 0;
  }

  /* Calculator type cards: tighter */
  .calc-type-card {
    width: 260px;
    height: 250px;
    padding: 40px 24px;
  }

  /* Vision Mission */
  .vm-grid {
    gap: var(--space-6);
  }
}

/* ============================================
   TABLET PORTRAIT / LARGE PHONE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  /* ---- NAVBAR: Hamburger visible, desktop menu hidden ---- */
  .navbar {
    padding: 0 var(--space-6);
    height: 70px;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-cta.desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .theme-toggle {
    order: 2;
    margin-left: auto;
    margin-right: var(--space-3, 12px);
  }

  /* Mega menu: hidden on mobile (replaced by mobile accordion) */
  .mega-menu {
    display: none !important;
  }

  /* ---- HERO ---- */
  .hero {
    min-height: 100vh;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }

  /* Globe: smaller, above text */
  .globe-container {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    order: -1;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-desc {
    font-size: 16px;
  }

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

  .hero-co2 {
    display: none;
  }

  .trust-band-inner {
    flex-direction: column;
    gap: var(--space-4);
  }

  .trust-band-logos {
    gap: var(--space-4);
  }

  .scroll-indicator {
    bottom: 80px;
  }

  /* ---- STATS: 2+2+1 layout ---- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Center the last stat item if odd count */
  .stats-grid .stat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .stats-grid .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-card {
    padding: 28px 16px;
  }

  /* ---- SERVICES: single column ---- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .services-grid .service-card:nth-child(7) {
    grid-column: auto;
  }

  /* ---- SECTORS: 2 columns ---- */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* ---- BLOG: single column ---- */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .blog-page-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* ---- FOOTER: 2 columns ---- */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-bar {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  /* ---- CONTACT: single column ---- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* ---- ABOUT: single column ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about-image-placeholder {
    max-height: 300px;
  }

  /* ---- VALUES: single column on tablet portrait ---- */
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* ---- TEAM: 2 columns ---- */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* ---- REPORT CARD: vertical stack ---- */
  .report-card {
    grid-template-columns: 1fr;
  }

  .report-card-visual {
    min-height: 200px;
  }

  /* ---- CALCULATOR: column direction ---- */
  .calc-type-selection {
    flex-direction: column;
    align-items: center;
  }

  .calc-type-card {
    width: 100%;
    max-width: 350px;
    height: auto;
    padding: 32px 24px;
  }

  .calc-form-card {
    padding: 32px 24px;
  }

  .calc-result {
    padding: 32px 24px;
  }

  .calc-result-number {
    font-size: 48px;
  }

  .calc-result-email {
    flex-direction: column;
  }

  /* ---- VISION MISSION ---- */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* ---- FAQ ---- */
  .faq-list {
    padding: 0 var(--space-4);
  }

  /* ---- SECTION SPACING: decreased ---- */
  .services-section,
  .sectors-section,
  .portfolio-section,
  .blog-section,
  .faq-section,
  .stats-section {
    padding: var(--space-20) 0;
  }

  .about-content,
  .vision-mission,
  .team-section,
  .contact-section {
    padding: var(--space-16) 0;
  }

  .calculator-teaser {
    padding: var(--space-16) 0;
  }

  /* Mini hero: shorter on tablet */
  .mini-hero {
    height: 40vh;
    min-height: 280px;
  }
}

/* ============================================
   PHONE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  /* ---- BASE ---- */
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* ---- NAVBAR ---- */
  .navbar {
    height: 64px;
    padding: 0 var(--space-4);
  }

  .navbar-logo img {
    height: 36px;
  }

  /* ---- HERO ---- */
  .hero-label {
    font-size: 11px;
    padding: 4px 14px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-content {
    padding: 0 var(--space-4);
  }

  /* Globe: hidden on phone */
  .globe-container {
    display: none;
  }

  /* ---- BUTTONS ---- */
  .btn {
    padding: 14px 28px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .btn-lg {
    padding: 16px 32px;
  }

  .btn-sm {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* ---- SECTION TITLES ---- */
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.25em;
  }

  /* ---- STATS: single column ---- */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .stats-grid .stat-card:last-child:nth-child(odd) {
    max-width: 100%;
    grid-column: auto;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* ---- SERVICES: single column ---- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .service-card {
    padding: 28px 20px;
  }

  /* ---- SECTORS: 2 columns (smaller) ---- */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .sector-card {
    padding: 20px 12px;
  }

  .sector-card-icon {
    font-size: 28px;
  }

  .sector-card-label {
    font-size: 12px;
  }

  /* ---- BLOG: single column ---- */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .blog-card-body {
    padding: var(--space-4);
  }

  .blog-card-title {
    font-size: 16px;
  }

  .blog-page-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  /* ---- FOOTER: single column ---- */
  .footer {
    padding: var(--space-12) 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bar {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
    padding: var(--space-4) 0;
  }

  .footer-bar-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }

  .footer-col h4 {
    font-size: 15px;
  }

  /* ---- CONTACT: single column ---- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* ---- ABOUT: single column ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .about-image-placeholder {
    max-height: 220px;
  }

  /* ---- VALUES: single column ---- */
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* ---- TEAM: single column ---- */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .team-avatar {
    width: 100px;
    height: 100px;
  }

  .team-card h4 {
    font-size: 15px;
  }

  .team-card p {
    font-size: 13px;
  }

  /* ---- REPORT CARD: vertical, tighter ---- */
  .report-card {
    grid-template-columns: 1fr;
  }

  .report-card-visual {
    min-height: 160px;
  }

  .report-card-body {
    padding: var(--space-4);
  }

  .report-card-title {
    font-size: 18px;
  }

  .report-card-desc {
    font-size: 13px;
  }

  /* ---- CALCULATOR ---- */
  .calc-type-selection {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .calc-type-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    height: auto;
  }

  .calc-type-card .type-icon {
    font-size: 36px;
  }

  .calc-type-card h3 {
    font-size: 18px;
  }

  .calc-form-card {
    padding: 24px 16px;
  }

  .calc-result {
    padding: 24px 16px;
  }

  .calc-result-number {
    font-size: 40px;
  }

  .calc-result-unit {
    font-size: 16px;
  }

  .calc-progress-line {
    width: 30px;
  }

  .calc-progress-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .calc-progress-label {
    font-size: 10px;
  }

  .calc-buttons {
    flex-direction: column;
    gap: var(--space-3);
  }

  .calc-buttons .btn {
    width: 100%;
  }

  /* ---- VISION MISSION ---- */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .vm-card {
    padding: var(--space-6);
  }

  /* ---- FAQ ---- */
  .faq-list {
    padding: 0;
  }

  .accordion-header {
    padding: var(--space-4) 0;
  }

  .accordion-header h4 {
    font-size: 15px;
  }

  .accordion-body-inner {
    font-size: 14px;
  }

  /* ---- MEGA MENU: hidden (accordion used) ---- */
  .mega-menu {
    display: none !important;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }

  /* ---- MOBILE MENU ---- */
  .mobile-menu-link {
    font-size: 22px;
    padding: 14px 0;
  }

  .mobile-menu-accordion a {
    font-size: 15px;
    padding: 8px 0;
    padding-left: var(--space-4);
  }

  .mobile-menu-bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .mobile-menu-bottom a {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }

  /* ---- WHATSAPP FAB: 56px, bottom/right 20px ---- */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float .tooltip {
    display: none;
  }

  /* ---- SECTION SPACING: further reduced ---- */
  .services-section,
  .sectors-section,
  .portfolio-section,
  .blog-section,
  .faq-section,
  .stats-section {
    padding: var(--space-16) 0;
  }

  .about-content,
  .vision-mission,
  .team-section,
  .contact-section {
    padding: var(--space-12) 0;
  }

  .calculator-teaser {
    padding: var(--space-12) 0;
  }

  .calculator-page {
    padding: var(--space-8) 0 var(--space-16);
  }

  .blog-page {
    padding: var(--space-8) 0 var(--space-16);
  }

  .blog-post {
    padding: var(--space-8) 0 var(--space-16);
  }

  .legal-page {
    padding: var(--space-8) 0 var(--space-16);
  }

  /* Mini hero: compact on phone */
  .mini-hero {
    height: 35vh;
    min-height: 240px;
  }

  .mini-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .mini-hero p {
    font-size: 15px;
  }

  /* ---- CARD PADDING: reduced ---- */
  .service-card,
  .blog-card-body {
    padding: 24px 16px;
  }

  /* ---- ORBS: smaller on phone ---- */
  .orb-1 {
    width: 200px;
    height: 200px;
  }

  .orb-2 {
    width: 180px;
    height: 180px;
  }

  .orb-3 {
    width: 150px;
    height: 150px;
  }

  /* ---- TRUST BAND ---- */
  .trust-band-inner {
    gap: var(--space-3);
  }

  .trust-band-logos {
    gap: var(--space-3);
  }

  .trust-logo {
    font-size: 11px;
  }

  /* ---- SCROLL INDICATOR ---- */
  .scroll-indicator {
    bottom: 70px;
  }

  .scroll-indicator span {
    font-size: 10px;
  }
}

/* ============================================
   VERY SMALL PHONES (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
  .container {
    padding: 0 var(--space-3);
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .stat-number {
    font-size: 28px;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .sector-card {
    padding: 16px 8px;
  }

  .sector-card-icon {
    font-size: 24px;
  }

  .sector-card-label {
    font-size: 11px;
  }

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

  .calc-result-number {
    font-size: 32px;
  }

  .team-avatar {
    width: 80px;
    height: 80px;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .navbar {
    height: 60px;
  }

  .navbar-logo img {
    height: 30px;
  }
}

/* ============================================
   TOUCH DEVICE: MINIMUM TOUCH TARGETS (44px)
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .navbar-link,
  .mobile-menu-link,
  .accordion-header,
  .footer-col ul li a,
  .mega-menu-card ul li a,
  .blog-card,
  .sector-card,
  .calc-type-card,
  .footer-bar-links a,
  .trust-logo {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Ensure inline links have adequate tap area */
  .service-card-link,
  .blog-header-link,
  .report-card-sector {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Buttons always meet minimum */
  .btn {
    min-height: 44px;
  }

  /* Hamburger tap area */
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* WhatsApp float: already 56px on mobile, ensure min */
  .whatsapp-float {
    min-width: 44px;
    min-height: 44px;
  }

  /* Footer social icons */
  .footer-social a {
    min-width: 44px;
    min-height: 44px;
  }

  /* Form elements */
  .form-input,
  .form-select,
  .form-textarea {
    min-height: 44px;
  }

  /* Accordion: already flex, just ensure height */
  .accordion-header {
    min-height: 48px;
  }

  /* Calculator progress dots */
  .calc-progress-dot {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ============================================
   PREFERS REDUCED MOTION
   Disable all animations, make transitions instant
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal animations: show immediately */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hero title lines: show immediately */
  .hero-title .line {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hero description and buttons */
  .hero-desc,
  .hero-buttons,
  .hero-label {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Trust band */
  .trust-band {
    opacity: 1 !important;
  }

  /* Floating elements */
  .hero-leaf {
    animation: none !important;
  }

  .hero-co2 {
    animation: none !important;
  }

  /* Orbs */
  .orb,
  .orb-1,
  .orb-2,
  .orb-3 {
    animation: none !important;
  }

  /* Neon divider trace */
  .neon-divider::after {
    animation: none !important;
  }

  /* Scroll indicator bounce */
  .scroll-indicator {
    animation: none !important;
  }

  /* WhatsApp pulse */
  .whatsapp-float {
    animation: none !important;
  }

  /* Calculator pulse */
  .calculator-teaser-icon {
    animation: none !important;
  }

  .calc-progress-dot.active {
    animation: none !important;
  }

  /* Underline SVG draw */
  .hero-title .highlight .underline-svg path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  /* Mobile menu */
  .mobile-menu {
    transition: none !important;
  }

  .mobile-menu-link {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .mobile-menu-bottom {
    opacity: 1 !important;
    transition: none !important;
  }

  /* Mega menu */
  .mega-menu {
    transition: none !important;
  }

  /* Card hovers: no transform */
  .service-card:hover,
  .blog-card:hover,
  .report-card:hover,
  .stat-card:hover,
  .sector-card:hover,
  .team-card:hover .team-avatar {
    transform: none !important;
  }

  /* Button hover */
  .btn:hover,
  .btn:active {
    transform: none !important;
  }
}

/* ============================================
   PRINT STYLES
   White background, black text, hide UI chrome
   ============================================ */
@media print {
  /* ---- HIDE NON-CONTENT ELEMENTS ---- */
  .navbar,
  .hamburger,
  .mobile-menu,
  .whatsapp-float,
  .scroll-indicator,
  .hero-particles,
  .hero-bg-pattern,
  .hero-co2,
  .hero-leaf,
  .orb,
  .orb-1,
  .orb-2,
  .orb-3,
  .neon-divider::after,
  .footer,
  .trust-band,
  .mega-menu,
  .mobile-menu-bottom,
  .calc-progress,
  .blog-header-link,
  .service-card-link,
  .whatsapp-float .tooltip {
    display: none !important;
  }

  /* ---- BASE: white background, black text ---- */
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
  }

  /* Remove the grid pattern and noise overlays */
  body::before,
  body::after {
    display: none !important;
  }

  /* ---- LAYOUT: remove fixed positioning, full width ---- */
  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: none !important;
  }

  .hero-grid {
    display: block;
  }

  .globe-container {
    display: none !important;
  }

  .container {
    max-width: 100%;
    padding: 0 1cm;
  }

  /* ---- SECTIONS: no background, normal padding ---- */
  .services-section,
  .sectors-section,
  .portfolio-section,
  .blog-section,
  .faq-section,
  .stats-section,
  .calculator-teaser,
  .about-content,
  .vision-mission,
  .team-section,
  .contact-section,
  .mini-hero {
    padding: 1.5rem 0;
    background: none !important;
  }

  .mini-hero {
    height: auto;
    min-height: auto;
  }

  /* ---- GRIDS: single column for print ---- */
  .services-grid,
  .sectors-grid,
  .blog-grid,
  .blog-page-grid,
  .team-grid,
  .contact-grid,
  .about-grid,
  .values-grid,
  .footer-grid,
  .vm-grid {
    display: block;
  }

  .services-grid > *,
  .sectors-grid > *,
  .blog-grid > *,
  .team-grid > *,
  .footer-grid > * {
    margin-bottom: 1rem;
  }

  /* Stats: inline for print */
  .stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .stat-card {
    flex: 1 1 auto;
    border: 1px solid #ccc !important;
  }

  /* ---- CARDS: borders for print ---- */
  .service-card,
  .blog-card,
  .report-card,
  .sector-card,
  .vm-card,
  .team-card,
  .calc-type-card {
    border: 1px solid #ccc !important;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }

  .report-card {
    display: block;
  }

  .report-card-visual {
    min-height: auto;
    display: none;
  }

  /* ---- TEXT ---- */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  /* Show URLs after links for print */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666 !important;
    font-weight: normal;
  }

  /* ---- BUTTONS: show as text ---- */
  .btn {
    border: 1px solid #000 !important;
    padding: 0.5em 1em;
  }

  /* ---- IMAGES ---- */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* ---- ACCORDION: expand all for print ---- */
  .accordion-body {
    max-height: none !important;
    overflow: visible !important;
  }

  .accordion-icon {
    display: none !important;
  }

  /* ---- PAGE BREAKS ---- */
  .services-section,
  .portfolio-section,
  .blog-section {
    page-break-before: auto;
  }

  /* ---- BACKDROP FILTER: remove ---- */
  .sector-card,
  .navbar,
  .trust-band,
  .mega-menu {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }

  .service-card,
  .blog-card,
  .stat-card,
  .sector-card,
  .report-card,
  .vm-card,
  .calc-type-card {
    border: 1px solid ButtonText;
  }

  .neon-divider {
    background: ButtonText;
  }

  .accordion-item {
    border-bottom-color: ButtonText;
  }
}

/* ============================================
   LANDSCAPE PHONE ORIENTATION
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-16) 0;
  }

  .mini-hero {
    height: auto;
    min-height: 200px;
  }

  .globe-container {
    width: 180px;
    height: 180px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .scroll-indicator {
    display: none;
  }
}
