:root {
  --navy: #001533;
  --navy-light: #002244;
  --navy-card: #001a3d;
  --primary: #009b8e;
  --primary-dark: #007a70;
  --primary-light: #00b8a9;
  --accent: #009b8e;
  --bg-dark: #001533;
  --bg-card: #001a3d;
  --bg-light: #f4f7fa;
  --text: #1e3a5f;
  --text-light: #5a7294;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #009b8e 0%, #00b8a9 100%);
  --shadow: 0 10px 40px rgba(0, 21, 51, 0.12);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-light);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 21, 51, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.logo span {
  display: none;
}

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

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding-top: 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 155, 142, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 184, 169, 0.12) 0%, transparent 50%);
}

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

.hero-content .hero-tagline {
  color: var(--primary-light);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  color: var(--primary-light);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 155, 142, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 155, 142, 0.45);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 155, 142, 0.12);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-showcase {
  position: relative;
}

.showcase-frame {
  background: rgba(0, 26, 61, 0.6);
  border: 1px solid rgba(0, 155, 142, 0.25);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.showcase-software {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.showcase-logo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.showcase-logo:hover {
  border-color: rgba(0, 155, 142, 0.4);
  background: rgba(0, 155, 142, 0.08);
  transform: translateY(-2px);
}

.showcase-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.showcase-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.showcase-divider span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 155, 142, 0.35);
}

.showcase-hardware {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.showcase-hardware:hover {
  border-color: rgba(0, 155, 142, 0.4);
  background: rgba(0, 155, 142, 0.08);
  transform: translateY(-2px);
}

.showcase-camera {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.showcase-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.showcase-caption-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.showcase-caption-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Sections */
section {
  padding: 6rem 0;
}

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

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 155, 142, 0.12);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.feature-item h4 {
  font-size: 0.95rem;
  color: var(--bg-dark);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Products */
.products {
  background: var(--bg-light);
}

#productos {
  padding-bottom: 2rem;
}

.cameras-section {
  padding-top: 2rem;
}

/* Software showcase */
.software-showcase {
  padding: 5rem 0;
  overflow: hidden;
}

.software-pskloud {
  background: var(--white);
}

.software-dynasoft {
  background: var(--navy);
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.software-grid-reverse .software-content {
  order: 2;
}

.software-grid-reverse .software-visual {
  order: 1;
}

.software-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.software-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.software-dynasoft .software-content h2 {
  color: var(--white);
}

.software-lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.software-desc {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.software-desc:last-of-type {
  margin-bottom: 1.75rem;
}

.software-dynasoft .software-lead {
  color: rgba(255, 255, 255, 0.8);
}

.software-dynasoft .software-desc {
  color: rgba(255, 255, 255, 0.72);
}

.software-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2rem;
}

.software-features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.5;
}

.software-dynasoft .software-features li {
  color: rgba(255, 255, 255, 0.85);
}

.software-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.software-dynasoft .software-features li::before {
  color: var(--primary-light);
}

.software-visual {
  position: relative;
}

.software-screens {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.software-screen-item .software-screen-caption {
  margin-top: 0.75rem;
}

.software-screen {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 21, 51, 0.2);
  border: 3px solid rgba(0, 155, 142, 0.35);
  background: var(--navy);
}

.software-dynasoft .software-screen {
  border-color: rgba(0, 184, 169, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.software-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.software-screen-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.software-dynasoft .software-screen-caption {
  color: rgba(255, 255, 255, 0.55);
}

.product-category {
  margin-bottom: 4rem;
}

.product-category:last-child {
  margin-bottom: 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid;
  border-image: var(--gradient) 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.cameras-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cameras-grid .product-image {
  height: 160px;
  padding: 1rem;
}

.cameras-grid .product-image img {
  max-height: 120px;
}

.cameras-grid .product-body {
  padding: 1.25rem;
}

.cameras-grid .product-body h3 {
  font-size: 1.05rem;
}

.cameras-grid .product-body > p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.cameras-grid .product-specs li {
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.cameras-grid .product-specs {
  margin-bottom: 1rem;
}

@media (max-width: 1100px) {
  .cameras-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-image.software {
  background: linear-gradient(180deg, #001533 0%, #001a3d 100%);
}

.product-image img {
  max-height: 160px;
  object-fit: contain;
}

.product-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(0, 155, 142, 0.12);
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.product-body > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-specs li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.product-specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.btn-quote {
  width: 100%;
  padding: 0.875rem;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quote:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

/* Contact */
.contact {
  background: var(--bg-dark);
  color: var(--white);
}

.contact .section-header h2 {
  color: var(--white);
}

.contact .section-header p {
  color: var(--text-light);
}

.contact .section-tag {
  background: rgba(0, 155, 142, 0.2);
  color: var(--primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-box h3,
.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-form-box h3 {
  color: var(--navy);
}

.contact-form-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group label {
  color: var(--navy);
}

.contact-form .btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

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

.contact-card {
  background: rgba(0, 26, 61, 0.75);
  border: 1px solid rgba(0, 155, 142, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(0, 155, 142, 0.35);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.contact-card a,
.contact-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.contact-card a:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--white);
}

.footer-main {
  padding: 4rem 0 3rem;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-subtitle {
  margin-top: 1.5rem;
}

.footer-text {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact,
.footer-links {
  list-style: none;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-contact a,
.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--primary);
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--navy);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

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

.footer-channels {
  padding: 2rem 0;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.footer-channels-title {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer-channels-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition);
}

.channel-item:hover {
  color: var(--primary);
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

.channel-email {
  background: var(--navy);
}

.channel-phone {
  background: var(--primary);
}

.channel-support {
  background: var(--primary-dark);
  font-size: 0.85rem;
}

.channel-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-bottom {
  background: var(--navy);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin: 0 auto;
  opacity: 0.95;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--bg-dark);
}

.modal-product {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 0.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #e2e8f0;
}

.modal-body {
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.invalid .form-error {
  display: block;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #ef4444;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.active {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-success h4 {
  color: var(--bg-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.modal-form.hidden,
.contact-form.hidden {
  display: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .software-grid,
  .software-grid-reverse .software-content,
  .software-grid-reverse .software-visual {
    grid-template-columns: 1fr;
    order: unset;
  }

  .software-features {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
  }

  section {
    padding: 4rem 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cameras-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
  }

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

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-channels-list {
    gap: 1rem;
  }
}
