/*
Theme Name: SYLK Foods
Theme URI: https://example.com/
Author: Your Name
Description: Custom SYLK Foods theme with animated hero, multi-page layout, and chat integration.
Version: 1.0.0
Text Domain: sylk-foods
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0d1117;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.logo-icon {
  width: 40px;
  height: 40px;
  animation: rotate360 10s linear infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #ff6b35;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
}

/* Hero Section with Carousel */
.hero {
  margin-top: 80px;
  min-height: calc(100% - 80px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1117 0%, #1a1f2e 50%, #0d1117 100%);
}

/* Animated Background Carousel */
.carousel-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.carousel-track {
  position: absolute;
  display: flex;
  width: 400%;
  height: 100%;
  animation: carouselSlide 40s linear infinite;
}

@keyframes carouselSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-slide {
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Floating particles animation */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ff6b35;
  border-radius: 50%;
  animation: particleFloat 15s infinite ease-in-out;
  opacity: 0.6;
}

.particle:nth-child(odd) { background: #f7931e; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, -100px) scale(1.5); }
  50% { transform: translate(-50px, -150px) scale(0.8); }
  75% { transform: translate(150px, -50px) scale(1.2); }
}

/* Geometric shapes */
.shape {
  position: absolute;
  border: 2px solid rgba(255, 107, 53, 0.3);
  animation: shapeRotate 20s infinite linear;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
  border-radius: 50%;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 15%;
  transform: rotate(45deg);
}

.shape-3 {
  width: 180px;
  height: 180px;
  top: 50%;
  right: 10%;
  border-radius: 30%;
}

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

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
}

.hero-content-track {
  display: flex;
  width: 500%;
}

.hero-content {
  width: 20%;
  flex-shrink: 0;
  text-align: center;
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100% - 80px);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titlePulse 3s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
  width: 100%;
}

@keyframes titlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #c9d1d9;
  margin-bottom: 3rem;
  width: 100%;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  animation: buttonGlow 2s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4); }
  50% { box-shadow: 0 10px 60px rgba(255, 107, 53, 0.7); }
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 107, 53, 0.6);
}

/* Services (home section) */
.services {
  padding: 8rem 5%;
  background: #161b22;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 5rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #c9d1d9;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #ff6b35;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  fill: #ff6b35;
  transition: transform 0.4s ease;
}

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

.service-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-description {
  color: #8b949e;
  font-size: 1.1rem;
  line-height: 1.8;
}

.service-list {
  margin-top: 1.5rem;
  list-style: none;
  color: #c9d1d9;
  font-size: 0.95rem;
}

.service-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6b35;
}

/* Stats */
.stats {
  padding: 6rem 5%;
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Footer */
.footer {
  background: #0d1117;
  padding: 6rem 5% 3rem;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ff6b35;
}

.footer-section p,
.footer-section a {
  color: #8b949e;
  font-size: 1rem;
  line-height: 2;
  text-decoration: none;
  display: block;
}

.footer-section a:hover {
  color: #ff6b35;
}

.footer-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff6b35;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  color: #666;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chat-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: chatPulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.chat-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.chat-button:hover::before {
  transform: scale(1);
}

@keyframes chatPulse {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.7);
    transform: scale(1.05);
  }
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.7);
}

.chat-button:active {
  transform: scale(0.95);
}

.chat-icon {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1;
  animation: chatIconRotate 10s linear infinite;
}

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

.chat-window {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 380px;
  height: 500px;
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideIn 0.3s ease-out;
}

.chat-window.active {
  display: flex;
}

@keyframes chatSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-header-icon {
  width: 35px;
  height: 35px;
  animation: headerIconSpin 8s linear infinite;
}

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

.chat-header-text h3 {
  margin: 0;
  font-size: 1.2rem;
  color: white;
}

.chat-header-text p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  display: flex;
  gap: 0.8rem;
  animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-avatar svg {
  width: 20px;
  height: 20px;
}

.message-content {
  background: rgba(255, 107, 53, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 15px;
  max-width: 70%;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
}

.message-text {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.chat-message.user .message-text {
  color: white;
}

.chat-input-area {
  padding: 1.2rem;
  background: rgba(26, 31, 46, 0.8);
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-input-row {
  display: flex;
  gap: 0.8rem;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 25px;
  padding: 0.8rem 1.2rem;
  color: white;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.chat-input:focus {
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 0.08);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-send-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-send-button:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.5);
}

.chat-send-button:active {
  transform: scale(0.95);
}

.chat-send-button svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Generic page layout */
.page-main {
  background: #0d1117;
  padding-top: 80px;
}

.page-hero {
  position: relative;
  padding: 7rem 5% 5rem;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(255,107,53,0.25), transparent 55%),
              radial-gradient(circle at bottom right, rgba(247,147,30,0.25), transparent 55%),
              #0d1117;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 60%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #c9d1d9;
  max-width: 620px;
  margin-bottom: 2rem;
}

.page-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.4);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd1a3;
}

.page-hero-media {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.4);
  box-shadow: 0 24px 80px rgba(0,0,0,0.65);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image-orbit {
  position: absolute;
  inset: -20%;
  border-radius: 30%;
  border: 1px dashed rgba(255, 107, 53, 0.4);
  animation: orbitSpin 16s linear infinite;
}

.hero-image-orbit.orbit-delayed {
  animation-duration: 22s;
  animation-direction: reverse;
  opacity: 0.7;
}

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

.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.5;
}

.orb-orange {
  width: 260px;
  height: 260px;
  top: -80px;
  right: 10%;
  background: #ff6b35;
}

.orb-amber {
  width: 260px;
  height: 260px;
  bottom: -100px;
  left: 5%;
  background: #f7931e;
}

/* Shared page sections */
.page-section {
  padding: 6rem 5%;
  background: #0d1117;
}

.page-section.alt {
  background: #161b22;
}

.page-section .section-title {
  margin-bottom: 2rem;
}

.body-text {
  color: #c9d1d9;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.body-text.small {
  font-size: 0.9rem;
  color: #8b949e;
}

/* About */
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
}

.subheading {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd1a3;
  margin-bottom: 1rem;
}

.bullet-list {
  list-style: none;
  padding-left: 0;
  color: #c9d1d9;
}

.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6b35;
}

/* Team */
.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 107, 53, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.team-avatar-frame {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 107, 53, 0.7);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.95rem;
  color: #ffd1a3;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.95rem;
  color: #c9d1d9;
}

/* Values */
.values-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.value-card {
  background: #0f141b;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.value-text {
  font-size: 0.95rem;
  color: #c9d1d9;
}

/* Services page extras */
.process-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step {
  background: #0f141b;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffedd5;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.step-text {
  color: #c9d1d9;
  font-size: 0.95rem;
}

.industries-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.industry-card {
  background: #0f141b;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.industry-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.industry-text {
  color: #c9d1d9;
  font-size: 0.95rem;
}

/* Contact page */
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact-panel {
  background: #0f141b;
  border-radius: 18px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
  color: #c9d1d9;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-list a {
  color: #ffd1a3;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: #c9d1d9;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 53, 0.35);
  padding: 0.7rem 0.9rem;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 0.05);
}

/* Generic content area */
.page-wrapper-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-hero-inner {
    grid-template-columns: minmax(0, 1.2fr);
  }
  .page-hero-media {
    margin-top: 2rem;
  }
  .hero-content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  /* MOBILE NAV: hide desktop list, show hamburger */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 5%;
    left: 5%;
    flex-direction: column;
    background: rgba(13, 17, 23, 0.98);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 107, 53, 0.25);
  }

  .nav-links.nav-links-open {
    display: flex;
  }

  .nav-links li {
    margin: 0.4rem 0;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 53, 0.5);
    background: rgba(13, 17, 23, 0.9);
    cursor: pointer;
  }

  .nav-toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e0e0e0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle.nav-toggle-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .nav-toggle.nav-toggle-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.nav-toggle-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .services-grid,
  .stats-grid,
  .about-grid,
  .contact-grid,
  .process-grid,
  .values-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  /* CHAT WINDOW: full width on mobile */
  .chat-window {
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    height: 450px;
  }

  .chat-widget {
    right: 1rem;
    bottom: 1rem;
  }

  /* Hero mobile fix: prevent text clipping */
  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
    overflow-y: visible;
  }

  .hero-content {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .page-hero {
    padding: 6rem 1.5rem 3.5rem;
  }

  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-main {
    padding-top: 70px;
  }
}
