/*
Theme Name: CNC Shipping Theme
Theme URI: https://www.cnc-line.com
Author: CNC Theme Developer
Author URI: https://www.cnc-line.com
Description: A professional WordPress theme for CNC shipping company - A Leading Intra-Asia Shortsea Specialist. Features modern design with red accent colors, responsive layout, and shipping industry focused sections.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cnc-theme
Tags: shipping, logistics, business, corporate, responsive, custom-menu, custom-logo, featured-images
*/

/* =============================================
   CSS Variables
============================================= */
:root {
  --cnc-red: #e31837;
  --cnc-red-dark: #c01530;
  --cnc-red-light: #ff4757;
  --cnc-navy: #0a1628;
  --cnc-navy-light: #132035;
  --cnc-slate: #1e293b;
  --cnc-gray: #64748b;
  --cnc-gray-light: #94a3b8;
  --cnc-light: #f8fafc;
  --cnc-white: #ffffff;
  --cnc-border: #e2e8f0;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

/* =============================================
   Reset & Base Styles
============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cnc-slate);
  background-color: var(--cnc-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cnc-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--cnc-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cnc-red-dark);
}

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

ul, ol {
  list-style: none;
}

/* =============================================
   Utility Classes
============================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--cnc-red), var(--cnc-red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: rgba(227, 24, 55, 0.1);
  color: var(--cnc-red);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--cnc-gray);
  line-height: 1.8;
}

/* =============================================
   Buttons
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--cnc-red);
  color: var(--cnc-white);
}

.btn-primary:hover {
  background-color: var(--cnc-red-dark);
  color: var(--cnc-white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--cnc-navy);
  border: 2px solid var(--cnc-navy);
}

.btn-outline:hover {
  background-color: var(--cnc-navy);
  color: var(--cnc-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--cnc-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--cnc-white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* =============================================
   Header
============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo svg {
  height: 40px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cnc-white);
  transition: color 0.3s ease;
}

.site-header.scrolled .site-logo-text {
  color: var(--cnc-navy);
}

/* Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s ease;
}

.site-header.scrolled .nav-menu a {
  color: var(--cnc-slate);
}

.nav-menu a:hover {
  color: var(--cnc-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--cnc-white);
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .header-icon {
    display: flex;
  }
}

.header-icon:hover {
  background-color: rgba(255,255,255,0.1);
}

.site-header.scrolled .header-icon {
  color: var(--cnc-slate);
}

.site-header.scrolled .header-icon:hover {
  background-color: var(--cnc-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--cnc-white);
  cursor: pointer;
}

.site-header.scrolled .mobile-menu-toggle {
  color: var(--cnc-navy);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: var(--cnc-navy);
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 1001;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--cnc-white);
  cursor: pointer;
}

.mobile-nav {
  margin-top: 4rem;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a:hover {
  color: var(--cnc-white);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   Hero Section
============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #132035 50%, #1a3050 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-orb-1 {
  top: 25%;
  right: 25%;
  width: 400px;
  height: 400px;
  background-color: rgba(227, 24, 55, 0.2);
  animation: pulse 4s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: 25%;
  left: 25%;
  width: 300px;
  height: 300px;
  background-color: rgba(59, 130, 246, 0.1);
  animation: pulse 4s ease-in-out infinite 1s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cnc-red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  color: var(--cnc-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 400px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--cnc-red);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cnc-white);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* Hero Ship Illustration */
.hero-ship {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 100%;
  opacity: 0.3;
}

@media (min-width: 1024px) {
  .hero-ship {
    opacity: 0.5;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator-inner {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 6px;
  height: 12px;
  background-color: rgba(255,255,255,0.6);
  border-radius: 9999px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* =============================================
   Services Section
============================================= */
.services-section {
  background-color: var(--cnc-light);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--cnc-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cnc-border);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--cnc-white);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.blue { background-color: #3b82f6; }
.service-icon.red { background-color: var(--cnc-red); }
.service-icon.green { background-color: #22c55e; }
.service-icon.amber { background-color: #f59e0b; }
.service-icon.purple { background-color: #8b5cf6; }
.service-icon.slate { background-color: var(--cnc-slate); }

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--cnc-red);
}

.service-desc {
  color: var(--cnc-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cnc-red);
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Stats Section
============================================= */
.stats-section {
  background-color: var(--cnc-navy);
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
}

.stats-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.stats-bg-orb-1 {
  top: 0;
  left: 25%;
  width: 300px;
  height: 300px;
  background-color: var(--cnc-red);
}

.stats-bg-orb-2 {
  bottom: 0;
  right: 25%;
  width: 400px;
  height: 400px;
  background-color: #3b82f6;
}

.stats-content {
  position: relative;
  z-index: 10;
}

.stats-section .section-badge {
  background-color: rgba(227, 24, 55, 0.2);
}

.stats-section .section-title {
  color: var(--cnc-white);
}

.stats-section .section-desc {
  color: rgba(255,255,255,0.7);
}

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

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cnc-white);
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.stat-value span {
  color: var(--cnc-red);
}

.stat-value::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cnc-red), transparent);
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cnc-white);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   About Section
============================================= */
.about-section {
  background-color: var(--cnc-white);
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-visual {
  position: relative;
}

.about-map {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cnc-navy) 0%, #1a3050 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-map svg {
  width: 100%;
  height: 100%;
}

.about-group-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
}

.about-group-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}

.about-group-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cnc-white);
}

.about-floating-card {
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  background-color: var(--cnc-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-width: 280px;
}

.about-floating-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-floating-icon {
  width: 48px;
  height: 48px;
  background-color: var(--cnc-red);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cnc-white);
}

.about-floating-stat {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cnc-navy);
}

.about-floating-label {
  font-size: 0.875rem;
  color: var(--cnc-gray);
}

.about-floating-text {
  font-size: 0.875rem;
  color: var(--cnc-gray);
  line-height: 1.6;
}

.about-content .section-badge {
  margin-bottom: 1rem;
}

.about-title {
  margin-bottom: 1.5rem;
}

.about-desc {
  font-size: 1.125rem;
  color: var(--cnc-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-highlight-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--cnc-red);
  margin-top: 2px;
}

.about-highlight-text {
  color: var(--cnc-slate);
}

/* =============================================
   Routes Section
============================================= */
.routes-section {
  background-color: var(--cnc-light);
}

.routes-map {
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, var(--cnc-navy) 0%, #1a3050 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  margin-bottom: 4rem;
}

.routes-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.routes-map svg {
  width: 100%;
  height: 100%;
}

.routes-map-watermark {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
}

.regions-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .regions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.region-card {
  background-color: var(--cnc-white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cnc-border);
  transition: box-shadow 0.3s ease;
}

.region-card:hover {
  box-shadow: var(--shadow-lg);
}

.region-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.region-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.region-dot.red { background-color: var(--cnc-red); }
.region-dot.blue { background-color: #3b82f6; }
.region-dot.green { background-color: #22c55e; }
.region-dot.amber { background-color: #f59e0b; }

.region-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.region-ports {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.region-port {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--cnc-gray);
}

.region-port svg {
  width: 16px;
  height: 16px;
  color: var(--cnc-gray-light);
}

/* =============================================
   News Section
============================================= */
.news-section {
  background-color: var(--cnc-white);
}

.news-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .news-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.news-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  cursor: pointer;
}

.news-image {
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.news-image.green { background: linear-gradient(135deg, #22c55e, #15803d); }
.news-image.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.news-image-icon {
  width: 80px;
  height: 80px;
  opacity: 0.2;
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cnc-navy);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--cnc-gray);
  margin-bottom: 0.75rem;
}

.news-meta svg {
  width: 16px;
  height: 16px;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-title {
  color: var(--cnc-red);
}

.news-excerpt {
  color: var(--cnc-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cnc-red);
  font-weight: 500;
}

.news-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.news-card:hover .news-link svg {
  transform: translateX(4px);
}

/* =============================================
   CTA Section
============================================= */
.cta-section {
  background-color: var(--cnc-navy);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(227, 24, 55, 0.1);
  filter: blur(100px);
}

.cta-bg-gradient-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33%;
  height: 66%;
  background-color: rgba(59, 130, 246, 0.1);
  filter: blur(100px);
}

.cta-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-section .section-badge {
  background-color: rgba(227, 24, 55, 0.2);
}

.cta-title {
  color: var(--cnc-white);
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-contacts {
    flex-direction: row;
  }
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.cta-contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-contact-icon svg {
  width: 20px;
  height: 20px;
}

.cta-contact-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.cta-contact-value {
  font-weight: 500;
}

.cta-divider {
  display: none;
  width: 1px;
  height: 40px;
  background-color: rgba(255,255,255,0.2);
}

@media (min-width: 640px) {
  .cta-divider {
    display: block;
  }
}

/* =============================================
   Footer
============================================= */
.site-footer {
  background-color: var(--cnc-navy);
  color: var(--cnc-white);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .site-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--cnc-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cnc-white);
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--cnc-red);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer-nav-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--cnc-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-group-name {
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: 1.125rem;
}

/* =============================================
   WordPress Specific Styles
============================================= */
/* Alignment */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.alignwide {
  max-width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  width: 100vw;
}

.alignfull {
  max-width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  width: 100vw;
}

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

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* WordPress Gallery */
.gallery {
  display: grid;
  grid-gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  margin: 0;
}

.gallery-item img {
  border-radius: var(--radius);
}

/* WordPress Captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption img {
  border-radius: var(--radius);
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--cnc-gray);
  padding: 0.5rem 0;
}

/* Comments */
.comments-area {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cnc-border);
}

.comment-list {
  list-style: none;
}

.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cnc-border);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.comment-author img {
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 600;
}

.comment-content {
  margin-left: 60px;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--cnc-red);
  margin-top: 0.5rem;
}

/* Pagination */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background-color: var(--cnc-white);
  border: 1px solid var(--cnc-border);
  border-radius: var(--radius);
  color: var(--cnc-slate);
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background-color: var(--cnc-red);
  border-color: var(--cnc-red);
  color: var(--cnc-white);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--cnc-border);
  border-radius: var(--radius);
  background-color: var(--cnc-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cnc-red);
  box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cnc-white);
  background-color: var(--cnc-red);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: var(--cnc-red-dark);
}

/* Widget Area */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cnc-red);
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cnc-border);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--cnc-slate);
}

.widget a:hover {
  color: var(--cnc-red);
}

/* Search Widget */
.search-form {
  display: flex;
}

.search-form .search-field {
  flex: 1;
  border-radius: var(--radius) 0 0 var(--radius);
}

.search-form .search-submit {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1.5rem;
}

/* Block Editor Styles */
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.wp-block-button__link:not(.has-background) {
  background-color: var(--cnc-red);
  color: var(--cnc-white);
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
}

.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid currentColor;
}

.wp-block-quote {
  border-left: 4px solid var(--cnc-red);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

.wp-block-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--cnc-gray);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }
}
