/* ===== NY-CABLE English Site v2 - Global Styles ===== */
:root {
  --primary: #003366;
  --primary-dark: #001a33;
  --primary-light: #004d80;
  --accent: #FF6600;
  --accent-light: #FF8833;
  --accent-dark: #CC5200;
  --light-bg: #E8F4FD;
  --light-gray: #F5F7FA;
  --text: #222222;
  --text-light: #666666;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar a { color: #bbb; margin-left: 15px; }
.top-bar a:hover { color: var(--accent); }

/* ===== Header ===== */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text {
  font-size: 28px; font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.logo-text span { color: var(--accent); }
.logo-sub {
  font-size: 11px; color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: -2px;
}
.header-contact {
  display: flex; align-items: center; gap: 25px;
}
.header-phone-item { text-align: right; }
.header-phone-item .label { font-size: 11px; color: var(--text-light); }
.header-phone-item .value {
  font-size: 18px; font-weight: 700; color: var(--accent);
}
.header-phone-item .value a { color: var(--accent); }

/* ===== Navigation ===== */
.nav {
  background: var(--primary);
}
.nav ul {
  list-style: none; display: flex;
  max-width: 1200px; margin: 0 auto;
}
.nav li { position: relative; }
.nav a {
  display: block; padding: 12px 24px;
  color: var(--white); font-size: 15px; font-weight: 500;
  transition: background 0.3s;
}
.nav a:hover, .nav li.active a { background: var(--accent); color: var(--white); }
.mobile-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 24px; cursor: pointer; padding: 10px 15px;
}

/* ===== Hero Banner ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,102,0,0.12) 0%, transparent 50%);
}
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 15px; position: relative; }
.hero h1 span { color: var(--accent); }
.hero p { 
  font-size: 18px; max-width: 800px; margin: 0 auto 30px; 
  opacity: 0.9; line-height: 1.8; position: relative;
}
.hero .btn {
  display: inline-block; padding: 14px 40px;
  background: var(--accent); color: var(--white);
  font-size: 16px; font-weight: 600; border-radius: 50px;
  border: none; cursor: pointer;
  transition: all 0.3s; position: relative;
}
.hero .btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.hero .btn-outline {
  display: inline-block; padding: 13px 38px;
  background: transparent; color: var(--white);
  font-size: 16px; font-weight: 600; border-radius: 50px;
/* Global button styles (for use outside .hero) */.btn {  display: inline-block; padding: 14px 40px;  background: var(--accent); color: var(--white);  font-size: 16px; font-weight: 600; border-radius: 50px;  border: none; cursor: pointer;  transition: all 0.3s;}.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }.btn-outline {  display: inline-block; padding: 13px 38px;  background: transparent; color: var(--white);  font-size: 16px; font-weight: 600; border-radius: 50px;  border: 2px solid var(--white);  transition: all 0.3s;}.btn-outline:hover { background: var(--white); color: var(--primary); }
  border: 2px solid var(--white);
  transition: all 0.3s;
}
.hero .btn-outline:hover { background: var(--white); color: var(--primary); }

/* ===== Global Buttons ===== */
.btn {
  display: inline-block; padding: 14px 40px;
  background: var(--accent); color: var(--white);
  font-size: 16px; font-weight: 600; border-radius: 50px;
  border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); padding: 50px 0; text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 700; }
.page-hero p { opacity: 0.85; margin-top: 8px; font-size: 16px; }

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--light-gray); }
.section-dark { background: var(--primary); color: var(--white); }
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 {
  font-size: 32px; font-weight: 700; color: var(--primary);
  margin-bottom: 10px;
}
.section-title h2 span { color: var(--accent); }
.section-title p {
  color: var(--text-light); font-size: 16px;
  max-width: 700px; margin: 0 auto;
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 20px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.3s;
  border-bottom: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-5px); border-bottom-color: var(--accent); box-shadow: var(--shadow-lg); }
.feature-card .icon {
  width: 64px; height: 64px; margin: 0 auto 15px;
  background: var(--light-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--accent);
  transition: var(--transition);
}
.feature-card:hover .icon { background: var(--accent); color: var(--white); }
.feature-card h4 { font-size: 14px; color: var(--primary); }
.feature-card p { font-size: 12px; color: var(--text-light); margin-top: 5px; line-height: 1.5; }

/* ===== Why Choose Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.why-card {
  display: flex; gap: 15px;
  background: var(--white); border-radius: var(--radius);
  padding: 25px; box-shadow: var(--shadow);
}
.why-card .num {
  width: 45px; height: 45px; flex-shrink: 0;
  background: var(--accent); color: var(--white);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.why-card h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .img {
  height: 200px; 
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--accent);
  position: relative; overflow: hidden;
}
.product-card .img-bg-1 { background: linear-gradient(135deg, #e8f4fd, #d0e8f8); }
.product-card .img-bg-2 { background: linear-gradient(135deg, #f0e8fd, #e0d8f5); }
.product-card .img-bg-3 { background: linear-gradient(135deg, #fdf0e8, #f8e0d0); }
.product-card .img-bg-4 { background: linear-gradient(135deg, #e8fde8, #d0f5d0); }
.product-card .img-bg-5 { background: linear-gradient(135deg, #fde8e8, #f5d0d0); }
.product-card .img-bg-6 { background: linear-gradient(135deg, #e8e8fd, #d0d0f5); }
.product-card .img-bg-7 { background: linear-gradient(135deg, #fdf8e8, #f5f0d0); }
.product-card .img-bg-8 { background: linear-gradient(135deg, #e8fdf8, #d0f5f0); }
.product-card .body { padding: 24px; }
.product-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 6px; }
.product-card h3 .model { font-size: 13px; color: var(--text-light); font-weight: 400; display: block; margin-top: 2px; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.product-card .specs { margin: 12px 0; }
.product-card .specs li { font-size: 13px; color: var(--text); margin-bottom: 5px; list-style: none; padding-left: 18px; position: relative; }
.product-card .specs li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.product-card .tags { margin-top: 12px; }
.product-card .tag {
  display: inline-block; margin: 3px 4px 3px 0;
  padding: 3px 12px; background: var(--light-bg);
  color: var(--primary); font-size: 12px; border-radius: 20px;
}

/* ===== Small Product Cards (home) ===== */
.small-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px; text-align: center;
}
.stat-item h3 { font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-item p { font-size: 14px; opacity: 0.85; margin-top: 5px; }

/* ===== About Page ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.about-wrap p { margin-bottom: 15px; font-size: 15px; color: var(--text-light); line-height: 1.8; }
.about-img-placeholder {
  background: var(--light-bg); border-radius: var(--radius-lg);
  height: 400px; display: flex;
  align-items: center; justify-content: center;
  font-size: 80px; color: var(--primary);
}

/* ===== Content Page ===== */
.page-content { padding: 50px 0; }
.page-content h2 { color: var(--primary); font-size: 24px; margin: 35px 0 15px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { color: var(--primary); font-size: 18px; margin: 25px 0 10px; }
.page-content p { margin-bottom: 15px; font-size: 15px; color: var(--text-light); line-height: 1.8; }
.page-content ul, .page-content ol { margin: 15px 0; padding-left: 20px; }
.page-content li { margin-bottom: 8px; font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== Value Box ===== */
.value-box {
  background: var(--light-bg); border-radius: var(--radius);
  padding: 25px; margin: 20px 0;
  border-left: 4px solid var(--accent);
}
.value-box h4 { color: var(--primary); margin-bottom: 5px; }
.value-box p { margin-bottom: 0; }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info { 
  padding: 30px; background: var(--light-bg); border-radius: var(--radius);
}
.contact-info h3 { color: var(--primary); font-size: 20px; margin-bottom: 20px; }
.contact-info .item { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 12px; }
.contact-info .item .icon { color: var(--accent); font-size: 18px; min-width: 24px; text-align: center; }
.contact-info .item .label { font-size: 12px; color: var(--text-light); }
.contact-info .item .value { font-size: 15px; color: var(--text); font-weight: 500; }
.contact-info .item .value a { color: var(--text); }
.contact-info .item .value a:hover { color: var(--accent); }

/* ===== Contact Form ===== */
.contact-form { 
  padding: 30px; background: var(--white); border-radius: var(--radius); 
  box-shadow: var(--shadow); 
}
.contact-form h3 { color: var(--primary); font-size: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 14px; color: var(--text); margin-bottom: 5px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 14px; font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  padding: 12px 30px; background: var(--accent); color: var(--white);
  border: none; border-radius: 4px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.3s;
}
.btn-submit:hover { background: var(--accent-dark); }

/* ===== CTA ===== */
.cta {
  background: var(--accent); color: var(--white); text-align: center;
  padding: 50px 0;
}
.cta h3 { font-size: 28px; margin-bottom: 10px; }
.cta p { font-size: 16px; opacity: 0.9; margin-bottom: 25px; }
.cta .btn-white {
  display: inline-block; padding: 12px 30px;
  background: var(--white); color: var(--accent);
  border-radius: 50px; font-weight: 600; margin: 0 5px;
  transition: all 0.3s;
}
.cta .btn-white:hover { background: var(--primary-dark); color: var(--white); }
.cta .btn-outline-white {
  display: inline-block; padding: 11px 28px;
  background: transparent; color: var(--white);
  border: 2px solid var(--white); border-radius: 50px; font-weight: 600; margin: 0 5px;
  transition: all 0.3s;
}
.cta .btn-outline-white:hover { background: var(--white); color: var(--accent); }

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark); color: #ccc; padding: 50px 0 20px;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 15px; position: relative; padding-bottom: 8px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer p { font-size: 13px; line-height: 1.8; margin-bottom: 5px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: #999; font-size: 13px; }
.footer a:hover { color: var(--accent); }
.footer .fa, .footer .fas, .footer .far { margin-right: 6px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px; padding-top: 20px;
  text-align: center; font-size: 12px; color: #888;
}

/* ===== 404 ===== */
.error-page { text-align: center; padding: 100px 20px; }
.error-page h1 { font-size: 72px; color: var(--primary); }
.error-page p { font-size: 18px; color: var(--text-light); margin: 20px 0; }
.error-page .btn {
  display: inline-block; padding: 12px 30px;
  background: var(--accent); color: var(--white);
  border-radius: 4px; font-weight: 600;
}

/* ===== Animations ===== */
.wow { visibility: hidden; }
.animated { visibility: visible; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation: fadeInUp 0.8s ease both; }
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
.fadeInLeft { animation: fadeInLeft 0.8s ease both; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav ul { display: none; flex-direction: column; }
  .nav ul.open { display: flex; }
  .nav a { padding: 10px 20px; }
  .header .container { flex-wrap: wrap; }
  .header-contact { display: none; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero { padding: 50px 0; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-img-placeholder { height: 250px; font-size: 50px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 24px; }
  .top-bar { font-size: 11px; }
  .section { padding: 40px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .small-product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .stat-item h3 { font-size: 28px; }
  .page-hero h1 { font-size: 26px; }
  .page-content { padding: 30px 0; }
  .page-content h2 { font-size: 20px; }
  .cta h3 { font-size: 22px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
