/* ============================================================
   ORICODE TECNOLOGIA — style.css
   ============================================================ */

/* ============================
   CUSTOM PROPERTIES
   ============================ */
:root {
  --teal:  #07485A;
  --gold:  #E8A020;
  --abyss: #091820;
  --cream: #F5F0E8;
  --mist:  #5A9BAD;
  --smoke: #B8CDD3;

  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --topbar-h: 36px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================
   RESET
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--abyss);
  color: var(--smoke);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ============================
   LAYOUT
   ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ============================
   TYPOGRAPHY
   ============================ */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--cream);
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--mist);
  border-color: var(--mist);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(7, 72, 90, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(184, 205, 211, 0.28);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================
   TOPBAR
   ============================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 36px;
  background: rgba(7, 72, 90, 0.18);
  border-bottom: 1px solid rgba(90, 155, 173, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
}
.topbar__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(184, 205, 211, 0.45);
  letter-spacing: 0.04em;
}
.topbar__tagline a {
  color: var(--gold);
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.topbar__tagline a:hover { opacity: 1; }
.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.topbar__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: rgba(184, 205, 211, 0.4);
  transition: color 0.2s, background 0.2s;
}
.topbar__social-link svg { width: 13px; height: 13px; }
.topbar__social-link:hover {
  color: var(--gold);
  background: rgba(232, 160, 32, 0.08);
}

/* ============================
   NAV
   ============================ */
.nav {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 24, 32, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(90, 155, 173, 0.14);
}
.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cream);
  transition: opacity 0.2s;
}
.nav__logo:hover { opacity: 0.78; }
.nav__logo img {
  filter: drop-shadow(0 0 10px rgba(232, 160, 32, 0.25));
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--smoke);
  transition: color 0.2s;
}
.nav__links li a:hover { color: var(--cream); }
.nav__cta {
  padding: 0.5rem 1.25rem;
  background: var(--teal);
  color: var(--cream) !important;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}
.nav__cta:hover {
  background: var(--mist) !important;
  transform: translateY(-1px) !important;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--topbar-h));
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 72% 38%, rgba(7, 72, 90, 0.4) 0%, transparent 68%),
    radial-gradient(ellipse 35% 45% at 18% 72%, rgba(232, 160, 32, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(90, 155, 173, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 100%);
  pointer-events: none;
}
.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
}
.hero__content {
  animation: fadeUp 0.85s var(--ease-out) both;
}
.hero__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero__highlight {
  color: var(--gold);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--smoke);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.72;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.1s var(--ease-out) 0.15s both;
}
.hero__logo-wrap {
  position: relative;
  width: 300px;
  height: 272px;
}
.hero__logo-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 48px rgba(7, 72, 90, 0.55));
  animation: float 7s ease-in-out infinite;
}
.hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 4.5s ease-in-out infinite;
}
.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(184, 205, 211, 0.45), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ============================
   SERVICES
   ============================ */
.services {
  padding: 7rem 0;
  background: var(--cream);
}
.services .section-tag { color: var(--teal); }
.services .section-title { color: #132028; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(7, 72, 90, 0.12);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mist));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(7, 72, 90, 0.12);
  border-color: rgba(7, 72, 90, 0.18);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(7, 72, 90, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--teal);
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-card__icon {
  background: var(--teal);
  color: var(--cream);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #132028;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: #3d5a65;
  line-height: 1.68;
  margin-bottom: 1.375rem;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-card__list li {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
  padding-left: 1.1rem;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.72rem;
  top: 1px;
}

/* ============================
   ABOUT
   ============================ */
.about {
  padding: 7rem 0;
  background: var(--abyss);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__text {
  font-size: 1rem;
  color: var(--smoke);
  line-height: 1.78;
  margin-bottom: 1.125rem;
}
.about__text strong { color: var(--gold); }
.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
}
.badge {
  padding: 0.4rem 0.9rem;
  background: rgba(7, 72, 90, 0.35);
  border: 1px solid rgba(90, 155, 173, 0.22);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mist);
  transition: background 0.2s, border-color 0.2s;
}
.badge:hover {
  background: rgba(7, 72, 90, 0.55);
  border-color: rgba(90, 155, 173, 0.4);
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat {
  background: rgba(7, 72, 90, 0.18);
  border: 1px solid rgba(90, 155, 173, 0.14);
  border-radius: 16px;
  padding: 1.875rem 1.5rem;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.stat:hover {
  background: rgba(7, 72, 90, 0.32);
  border-color: rgba(90, 155, 173, 0.28);
  transform: translateY(-4px);
}
.stat__num {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--smoke);
  font-weight: 500;
  opacity: 0.8;
}

/* ============================
   PRODUCTS
   ============================ */
.products {
  padding: 7rem 0;
  background: rgba(7, 72, 90, 0.06);
  border-top: 1px solid rgba(90, 155, 173, 0.08);
  border-bottom: 1px solid rgba(90, 155, 173, 0.08);
}
.product-card {
  background: rgba(9, 24, 32, 0.75);
  border: 1px solid rgba(90, 155, 173, 0.18);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  transition: border-color 0.35s;
}
.product-card:hover { border-color: rgba(232, 160, 32, 0.22); }
.product-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.625rem;
}
.product-card__name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.product-card__desc {
  font-size: 1rem;
  color: var(--smoke);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 1.625rem;
}
.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.product-card__features li {
  font-size: 0.85rem;
  color: var(--mist);
  font-weight: 500;
}
.product-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.product-card__orb {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.product-card__badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: var(--abyss);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}
.product-card__icon {
  width: 110px;
  height: 110px;
  position: relative;
  z-index: 1;
}

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

.product-card--origuard:hover { border-color: rgba(184, 115, 51, 0.3); }
.product-card--origuard .product-card__label { color: #B87333; }
.product-card--origuard .product-card__orb {
  background: radial-gradient(circle, rgba(184, 115, 51, 0.12) 0%, transparent 70%);
}
.product-card--origuard .product-card__features li { color: #9BB8A4; }

/* ============================
   PARTNERS
   ============================ */
.partners {
  padding: 7rem 0;
  background: var(--cream);
}
.partners .section-tag { color: var(--teal); }
.partners .section-title { color: #132028; }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.partner-card {
  background: #fff;
  border: 1px solid rgba(7, 72, 90, 0.1);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mist));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(7, 72, 90, 0.1);
  border-color: rgba(7, 72, 90, 0.18);
}
.partner-card:hover::before { transform: scaleX(1); }
.partner-card__logo {
  flex-shrink: 0;
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-card__logo img {
  width: 110px;
  height: auto;
  object-fit: contain;
}
.partner-card__area {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.375rem;
}
.partner-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #132028;
  margin-bottom: 0.625rem;
}
.partner-card__desc {
  font-size: 0.9rem;
  color: #3d5a65;
  line-height: 1.68;
  margin-bottom: 1rem;
}
.partner-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: color 0.2s;
}
.partner-card__link:hover { color: var(--gold); }

/* ============================
   CONTACT
   ============================ */
.contact {
  padding: 7rem 0;
  background: var(--abyss);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact__text {
  font-size: 1rem;
  color: var(--smoke);
  line-height: 1.75;
  margin-top: 1.5rem;
}
.contact__cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: rgba(7, 72, 90, 0.2);
  border: 1px solid rgba(90, 155, 173, 0.22);
  border-radius: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
  color: var(--cream);
}
.whatsapp-btn:hover {
  background: rgba(7, 72, 90, 0.38);
  border-color: rgba(232, 160, 32, 0.3);
  transform: translateY(-3px);
}
.whatsapp-btn svg {
  width: 36px;
  height: 36px;
  color: #25D366;
  flex-shrink: 0;
}
.whatsapp-btn span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.whatsapp-btn strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.whatsapp-btn small {
  font-size: 0.82rem;
  color: var(--smoke);
  font-weight: 400;
}
.contact__note {
  font-size: 0.85rem;
  color: rgba(184, 205, 211, 0.5);
  text-align: center;
}
.contact__note a {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.contact__note a:hover { color: var(--gold); }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: rgba(7, 72, 90, 0.07);
  border-top: 1px solid rgba(90, 155, 173, 0.1);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer__brand p {
  font-size: 0.88rem;
  color: var(--smoke);
}
.footer__ori {
  font-size: 0.78rem !important;
  color: rgba(184, 205, 211, 0.4) !important;
  font-style: italic;
}
.footer__links h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184, 205, 211, 0.6);
  margin-bottom: 1rem;
}
.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer__links ul li a {
  font-size: 0.875rem;
  color: rgba(184, 205, 211, 0.55);
  transition: color 0.2s;
}
.footer__links ul li a:hover { color: var(--cream); }
.footer__social {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.25rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(90, 155, 173, 0.1);
  border: 1px solid rgba(90, 155, 173, 0.14);
  color: rgba(184, 205, 211, 0.5);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.footer__social-link svg { width: 16px; height: 16px; }
.footer__social-link:hover {
  background: rgba(7, 72, 90, 0.45);
  border-color: rgba(232, 160, 32, 0.3);
  color: var(--gold);
  transform: translateY(-2px);
}
.contact__social {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.contact__social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(90, 155, 173, 0.06);
  border: 1px solid rgba(90, 155, 173, 0.12);
  border-radius: 10px;
  color: rgba(184, 205, 211, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.contact__social-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact__social-link:hover {
  background: rgba(7, 72, 90, 0.25);
  border-color: rgba(232, 160, 32, 0.25);
  color: var(--cream);
  transform: translateX(4px);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(90, 155, 173, 0.08);
  font-size: 0.78rem;
  color: rgba(184, 205, 211, 0.35);
}

/* ============================
   SCROLL REVEAL
   ============================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
.service-card[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.service-card[data-reveal]:nth-child(3) { transition-delay: 0.2s; }

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;    transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0) translateY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1) translateY(0); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1) translateY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================
   RESPONSIVE — TABLET
   ============================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================
   RESPONSIVE — MOBILE
   ============================ */
@media (max-width: 768px) {
  .topbar { display: none; }
  :root { --topbar-h: 0px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .nav.menu-open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--topbar-h) + var(--nav-h));
    left: 0; right: 0;
    background: rgba(9, 24, 32, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem 2.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(90, 155, 173, 0.15);
    align-items: flex-start;
  }
  .nav.menu-open .nav__links .nav__cta {
    align-self: flex-start;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3.5rem 1.5rem;
  }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card { text-align: center; }
  .service-card__icon { margin-left: auto; margin-right: auto; }
  .service-card__list { width: fit-content; margin: 0 auto; }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .about__content { text-align: center; }
  .about__badges { justify-content: center; }

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

  .product-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .product-card__visual { display: none; }
  .product-card__features { justify-content: center; }

  .partners__grid { grid-template-columns: 1fr; }
  .partner-card { flex-direction: column; align-items: center; text-align: center; }

  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact__info { text-align: center; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2.75rem; }
  .product-card__name { font-size: 2rem; }
}
