/* ============================================
   GRÁFICA SOLANO - Main Stylesheet
   Premium Printing & Graphics Company
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --color-primary: #075400;
  --color-primary-light: #0a6b02;
  --color-secondary: #016B02;
  --color-accent: #016B02;
  --color-accent-light: #2ecc71;
  --color-accent-dark: #054d00;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f9fa;
  --color-light-gray: #e9ecef;
  --color-gray: #666666;
  --color-dark-gray: #343a40;
  --color-dark: #212529;
  --color-black: #0a0a0a;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #043300 0%, #075400 50%, #016B02 100%);
  --gradient-accent: linear-gradient(135deg, #016B02 0%, #0a8a05 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #043300 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(4,51,0,0.92) 0%, rgba(7,84,0,0.85) 50%, rgba(1,107,2,0.3) 100%);

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --fs-hero: clamp(2.5rem, 6vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.75rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 120px);
  --container-width: 1200px;
  --container-padding: clamp(16px, 4vw, 40px);

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(1,107,2,0.3);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(20px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding: var(--section-padding) 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(1, 107, 2, 0.1);
  border: 1px solid rgba(1, 107, 2, 0.2);
  border-radius: 50px;
  color: var(--color-accent);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-accent-light);
}

.section-title {
  font-size: var(--fs-h1);
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(1, 107, 2, 0.4);
}

.btn-primary::before {
  background: linear-gradient(135deg, #054d00 0%, #016B02 100%);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(1, 107, 2, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

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

.btn-dark:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn i {
  font-size: 1.1em;
  transition: var(--transition-fast);
}

.btn:hover i {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(1, 107, 2, 0.92);
  backdrop-filter: var(--glass-blur);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-accent) !important;
  color: var(--color-white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(1, 107, 2, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(1, 107, 2, 0.4) !important;
  background: var(--gradient-accent) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: -1;
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(1, 107, 2, 0.6);
  border-radius: 50%;
  animation: particleFloat 12s infinite ease-in-out;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 50px;
  color: var(--color-accent-light);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  font-size: 0.9em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: var(--fs-hero);
  color: var(--color-white);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

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

.hero-stat-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-number span {
  color: var(--color-accent);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 3px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

/* ---------- About / Features Section ---------- */
.about-section {
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(1, 107, 2, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.about-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 107, 2, 0.1);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(1, 107, 2, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.about-card:hover .about-card-icon {
  background: var(--gradient-accent);
  transform: scale(1.1) rotate(5deg);
}

.about-card-icon i {
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: var(--transition-fast);
}

.about-card:hover .about-card-icon i {
  color: var(--color-white);
}

.about-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 12px;
  color: var(--color-primary);
}

.about-card p {
  color: var(--color-gray);
  line-height: 1.8;
}

/* ---------- Services Section ---------- */
.services-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 107, 2, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.services-section::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 107, 2, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(1, 107, 2, 0.3);
}

.service-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(4,51,0,0.8) 0%, transparent 100%);
}

.service-card-body {
  padding: 28px 28px 32px;
}

.service-card-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(1, 107, 2, 0.15);
  border-radius: 50px;
  color: var(--color-accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.service-card-body h3 {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card-body p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card-features span {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

/* ---------- Services Page (Full) ---------- */
.services-page-hero {
  background: var(--gradient-primary);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services-page-hero h1 {
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-bottom: 20px;
}

.services-detail-section {
  padding: 80px 0;
}

.services-detail-section:nth-child(even) {
  background: var(--color-off-white);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.service-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-detail-img:hover img {
  transform: scale(1.05);
}

.service-detail-content h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-dark-gray);
  font-size: 0.95rem;
}

.service-features-list li i {
  color: var(--color-accent);
  font-size: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--gradient-accent);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.btn-white {
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ---------- Testimonials / Trust Section ---------- */
.trust-section {
  background: var(--color-off-white);
  position: relative;
}

.trust-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.trust-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 107, 2, 0.1);
}

.trust-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-number span {
  color: var(--color-accent);
}

.trust-label {
  color: var(--color-gray);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Contact Page ---------- */
.contact-hero {
  background: var(--gradient-primary);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-hero h1 {
  color: var(--color-white);
  font-size: var(--fs-h1);
  margin-bottom: 20px;
}

.contact-section {
  padding: 80px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(1, 107, 2, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(1, 107, 2, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon i {
  color: var(--color-accent-light);
  font-size: 1.1rem;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-item-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.contact-socials a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.contact-socials a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-light-gray);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--color-gray);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: var(--transition-fast);
  background: var(--color-off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(1, 107, 2, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray);
}

.form-submit {
  width: 100%;
  padding: 16px;
  justify-content: center;
}

/* Map */
.map-section {
  padding: 0 0 80px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  margin: 16px 0 24px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

.footer-col ul li a i {
  font-size: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 4px;
  min-width: 16px;
}

.footer-contact-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* ---------- Animations (Scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Counter Animation ---------- */
.counter-animated {
  display: inline-block;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .service-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail.reverse {
    direction: ltr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .trust-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%; /* Slightly wider menu on mobile */
    max-width: 380px;
    height: 100vh;
    background: rgba(5, 68, 0, 0.98);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center links */
    padding: 30px;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.1rem;
    margin-bottom: 8px; /* Larger tap targets */
  }

  /* Make CTA button larger */
  .nav-cta {
    margin-top: 15px;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    border-top: none; /* Cleaner mobile look */
  }
  
  .hero-stat {
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    justify-content: center;
    width: 100%; /* Better finger accuracy on mobile */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center; /* Center contact info */
  }

  .footer-socials {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .trust-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .service-features-list {
    grid-template-columns: 1fr;
  }
  
  .scroll-indicator {
    display: none;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
  }

  .whatsapp-float a span {
    display: none; /* Hide text, keep only icon to save space */
  }
  
  .whatsapp-float a {
    padding: 14px;
    border-radius: 50%; /* Make perfectly round */
    aspect-ratio: 1/1;
    justify-content: center;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .trust-numbers {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo-text {
    font-size: 1.25rem; /* Smaller logo on very small screens */
  }
  
  .nav-logo img {
    height: 38px;
  }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(1, 107, 2, 0.4);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(1, 107, 2, 0.5);
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 30px;
}

.loader-logo span {
  color: var(--color-accent);
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  animation: loaderSlide 1s ease infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ---------- WhatsApp Float Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 900;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
}

.whatsapp-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float a i {
  font-size: 1.3rem;
}
