/*
Theme Name: Nutan Offset Printers Pro
Theme URI: https://nutanoffsetprinters.com
Author: Nutan Groups Digital Engineering
Author URI: https://nutanoffsetprinters.com
Description: High-performance, ultra-modern, fully mobile-responsive WordPress theme for Nutan Offset Printers - Commercial Offset, UV Specialty, Custom Packaging Bags & Full-Service Bindery.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: nutan-offset
*/

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  /* Brand Palette - Nutan Red & CMYK Precision Accents */
  --primary: #0a2540;
  --primary-dark: #051424;
  --primary-light: #153e6b;
  --primary-subtle: #edf4fc;
  
  --cmyk-cyan: #00b7fb;
  --cmyk-magenta: #f00179;
  --cmyk-yellow: #fdea07;
  --cmyk-black: #151515;

  --accent: #e10216;
  --accent-hover: #c40213;
  --accent-light: #fef2f2;
  --accent-blue: #2563eb;
  --whatsapp-green: #25d366;
  --whatsapp-dark: #1eb956;
  
  --secondary: #1e293b;
  --dark: #090e17;
  --dark-surface: #131d2e;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #e10216;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #e10216;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px -1px rgba(10, 37, 64, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(10, 37, 64, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(10, 37, 64, 0.16), 0 10px 15px -5px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(0, 153, 229, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1260px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 4.5vw + 0.5rem, 3.25rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw + 0.4rem, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw + 0.2rem, 1.75rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.1rem, 1.25rem); }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }

p {
  margin-bottom: 1.25rem;
  word-wrap: break-word;
}

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

a {
  color: var(--cmyk-cyan);
  text-decoration: none;
  transition: var(--transition);
  touch-action: manipulation;
}

a:hover {
  color: var(--accent);
}

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

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   CMYK Strip Accent
   ========================================================================== */
.cmyk-bar {
  display: flex;
  height: 4px;
  width: 100%;
  overflow: hidden;
}
.cmyk-bar span {
  flex: 1;
  height: 100%;
}
.cmyk-bar .c-cyan { background-color: var(--cmyk-cyan); }
.cmyk-bar .c-magenta { background-color: var(--cmyk-magenta); }
.cmyk-bar .c-yellow { background-color: var(--cmyk-yellow); }
.cmyk-bar .c-black { background-color: var(--cmyk-black); }

/* ==========================================================================
   Buttons & Badges (Touch Optimized)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.35);
}

.btn-cyan {
  background-color: var(--cmyk-cyan);
  color: #ffffff;
  border-color: var(--cmyk-cyan);
}

.btn-cyan:hover {
  background-color: #0084c7;
  border-color: #0084c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-sm {
  min-height: 38px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 52px;
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.badge-cyan {
  background-color: #e0f2fe;
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.badge-primary {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(10, 37, 64, 0.15);
}

.badge-white {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   Top Bar & Header
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-contact a:hover {
  color: var(--cmyk-cyan);
}

.top-bar-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-features {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.mobile-drawer-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.site-footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #153e6b 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cmyk-cyan);
  font-weight: 900;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cmyk-cyan), var(--cmyk-magenta), var(--cmyk-yellow));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark-surface);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--cmyk-cyan);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Header Actions (Call icon + Hamburger) */
.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.mobile-call-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--border-color);
  touch-action: manipulation;
}

.mobile-call-btn:active {
  background: var(--primary);
  color: #ffffff;
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.hamburger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 20px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-inner {
  top: 6px;
}

.hamburger-inner::before {
  content: '';
  top: -6px;
}

.hamburger-inner::after {
  content: '';
  bottom: -6px;
}

.mobile-toggle.active .hamburger-inner {
  background-color: transparent;
}

.mobile-toggle.active .hamburger-inner::before {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger-inner::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Enhanced Mobile Off-Canvas Drawer
   ========================================================================== */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 36, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1002;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
  visibility: hidden;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
}

.mobile-drawer-close:active {
  background: var(--primary);
  color: #fff;
}

.mobile-drawer-content {
  padding: 1.25rem 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.5rem;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu-list li a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--dark-surface);
  min-height: 48px;
  transition: var(--transition);
}

.mobile-menu-list li a svg {
  color: var(--cmyk-cyan);
  flex-shrink: 0;
}

.mobile-menu-list li a:active,
.mobile-menu-list li.active a {
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #051424 0%, #0a2540 50%, #0f355c 100%);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, rgba(0, 153, 229, 0.15) 0%, rgba(224, 30, 90, 0.08) 50%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: #ffffff;
  margin-top: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-content h1 .highlight-cyan {
  color: var(--cmyk-cyan);
}

.hero-content h1 .highlight-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--cmyk-yellow);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

/* Quick Estimate / Hero Card */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.hero-card h3 {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.quick-form .form-group {
  margin-bottom: 0.9rem;
}

.quick-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  font-size: 16px; /* 16px strictly prevents iOS Safari zoom */
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.quick-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  border-color: var(--cmyk-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 153, 229, 0.25);
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-bg-alt {
  background-color: #ffffff;
}

.section-bg-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
}

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

.section-header .badge {
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-bg-dark .section-header h2 {
  color: #ffffff;
}

.section-bg-dark .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Four Pillars Grid & Service Cards
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cmyk-cyan) 0%, var(--accent) 100%);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 153, 229, 0.3);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.pillar-card:hover .pillar-icon {
  background: var(--cmyk-cyan);
  color: #ffffff;
  transform: scale(1.05);
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pillar-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.pillar-features li svg {
  color: var(--cmyk-cyan);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
}

.pillar-card:hover .card-link {
  color: var(--accent);
  gap: 0.65rem;
}

/* ==========================================================================
   Comprehensive Services Catalog Grid
   ========================================================================== */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-item-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.6rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 153, 229, 0.4);
}

.service-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-item-card h4 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-item-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.service-specs-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.spec-tag {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   Interactive Quote Calculator Widget
   ========================================================================== */
.calculator-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-surface);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 16px; /* Prevents iOS Safari Zoom */
  background-color: #ffffff;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.form-control:focus {
  border-color: var(--cmyk-cyan);
  box-shadow: 0 0 0 3px rgba(0, 153, 229, 0.15);
}

.calc-summary-panel {
  background: linear-gradient(145deg, #0a2540 0%, #153e6b 100%);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.calc-summary-panel h4 {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.65rem;
  margin-bottom: 1rem;
}

.calc-breakdown-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.calc-breakdown-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  gap: 0.5rem;
}

.calc-breakdown-list li span:last-child {
  font-weight: 700;
  color: #ffffff;
  text-align: right;
}

.calc-est-total {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  text-align: center;
}

.calc-est-total .total-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.calc-est-total .total-price {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--cmyk-yellow);
}

/* ==========================================================================
   Machinery & Plant Showcase
   ========================================================================== */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.machine-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  transition: var(--transition);
}

.machine-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 153, 229, 0.3);
  transform: translateY(-4px);
}

.machine-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.machine-icon-wrap {
  width: 48px;
  height: 48px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.machine-header h4 {
  margin-bottom: 0.15rem;
  font-size: 1.1rem;
}

.machine-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  table-layout: fixed;
}

.machine-specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.machine-specs-table tr:last-child {
  border-bottom: none;
}

.machine-specs-table td {
  padding: 0.45rem 0;
  word-break: break-word;
}

.machine-specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 45%;
}

.machine-specs-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-dark);
  width: 55%;
}

/* ==========================================================================
   Responsive Grid & Form Layout Utilities
   ========================================================================== */
.grid-2col-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.grid-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.card-padded-white {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.card-padded-dark {
  background: linear-gradient(145deg, #0a2540 0%, #153e6b 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .grid-2col-layout,
  .grid-contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .card-padded-white,
  .card-padded-dark {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }
}


/* ==========================================================================
   Production Workflow Steps
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  position: relative;
}

.workflow-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cmyk-cyan);
}

.step-num-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}

.workflow-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.workflow-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(0, 153, 229, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.35rem;
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  touch-action: manipulation;
}

.faq-question svg {
  transition: transform 0.25s ease;
  color: var(--cmyk-cyan);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-main);
  font-size: 0.92rem;
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #103358 50%, #153e6b 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Standard Page Banner & Layout
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, #051424 0%, #0a2540 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  position: relative;
  border-bottom: 4px solid var(--cmyk-cyan);
}

.page-banner h1 {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 750px;
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
  color: var(--cmyk-cyan);
}

.page-content-wrapper {
  padding: 4rem 0;
}

/* ==========================================================================
   Footer & Floating Elements
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4.5rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--cmyk-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--cmyk-cyan);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
}

.footer-links a:hover {
  color: var(--cmyk-cyan);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--cmyk-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 0;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
}

/* Floating Action Button (WhatsApp & Back-to-Top) */
.floating-actions {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  right: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  touch-action: manipulation;
}

.floating-btn:active {
  transform: scale(0.92);
}

.floating-whatsapp {
  background-color: var(--whatsapp-green);
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.floating-top {
  background-color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
}

.floating-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-top:hover {
  background-color: var(--cmyk-cyan);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile UI/UX Fine-Tuning
   ========================================================================== */

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile & Small Tablets (768px and down) */
@media (max-width: 768px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .main-nav .nav-menu,
  .main-nav .nav-cta {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
  }

  .top-bar {
    padding: 0.4rem 0;
  }

  .top-bar-contact {
    gap: 0.85rem;
    font-size: 0.78rem;
    width: 100%;
    justify-content: space-between;
  }

  .top-bar-location,
  .top-bar-features {
    display: none;
  }

  .site-header .header-inner {
    padding: 0.65rem 0;
  }

  .logo-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .logo-title {
    font-size: 1.18rem;
  }

  .logo-tagline {
    font-size: 0.62rem;
  }

  .hero-section {
    padding: 3.25rem 0 4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .hero-card {
    padding: 1.5rem 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .section-header p {
    font-size: 0.95rem;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-card {
    padding: 1.6rem 1.25rem;
  }

  .services-catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .calculator-box {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .calc-inputs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calc-summary-panel {
    padding: 1.35rem 1.15rem;
  }

  .machine-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .machine-card {
    padding: 1.35rem 1.15rem;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .workflow-card {
    padding: 1.5rem 1.15rem;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .cta-content p {
    font-size: 0.95rem;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .page-banner {
    padding: 2.75rem 0 3.25rem;
  }

  .page-content-wrapper {
    padding: 2.75rem 0;
  }

  /* Adjust floating actions on mobile */
  .floating-actions {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .floating-btn {
    width: 46px;
    height: 46px;
  }
}

/* Small Smartphone Screens (480px and down) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .stat-item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .hero-card {
    padding: 1.25rem 1rem;
  }

  .quick-form input,
  .quick-form select,
  .quick-form textarea {
    padding: 0.65rem 0.85rem;
  }

  .calc-est-total .total-price {
    font-size: 1.8rem;
  }

  .service-item-card {
    padding: 1.25rem 1rem;
  }

  .faq-question {
    font-size: 0.94rem;
    padding: 0.95rem 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.88rem;
  }
}
