/* =============================================
   AYNISYSTEM — Design System 2026
   Aesthetic: Refined Corporate Dark + Amber Accent
   ============================================= */

@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ── TOKENS ───────────────────────────────── */
:root {
  --bg:          #0a0b0d;
  --bg-2:        #111318;
  --bg-card:     #15181f;
  --bg-glass:    rgba(21,24,31,0.7);
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(255,200,80,0.35);
 
  --amber:       #f5a623;
  --amber-light: #ffc94d;
  --amber-glow:  rgba(245,166,35,0.15);
 
  --white:       #ffffff;
  --off-white:   #e8e9ec;
  --muted:       #7a7f8e;
  --muted-2:     #4a4f5e;
 
  --font-display: 'Quicksand', sans-serif; 
  --font-body:    'Quicksand', sans-serif;
 
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
 
  --shadow-card: 0 4px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(245,166,35,0.12);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
 
/* ── RESET ────────────────────────────────── */
.logo-mark{
  width:50px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
 
/* ── UTILITIES ────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-glow);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
 
/* ── NOISE OVERLAY ────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}
 
/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(10,11,13,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--white);
}
/*.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #000;
  flex-shrink: 0;
}*/
.logo span { color: var(--amber); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active { color: var(--amber); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--amber);
  color: #000;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}
 
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 42px;
  height: 42px;
  z-index: 1100;
  position: relative;
  transition: all var(--transition);
}
.hamburger:hover {
  border-color: var(--border-hover);
  background: rgba(245,166,35,0.08);
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
/* Hamburger → X animation */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
 
/* Mobile Overlay backdrop */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 998;
  cursor: pointer;
}
.mobile-overlay.open {
  display: block;
}
 
/* Mobile nav panel — hidden off-screen by default */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
 
/* Mobile menu header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-header .logo {
  font-size: 17px;
}
 
/* Mobile menu close btn */
.mobile-close {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
  flex-shrink: 0;
}
.mobile-close:hover {
  border-color: var(--border-hover);
  color: var(--white);
}
 
/* Mobile nav links */
.mobile-nav-links {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.mobile-nav-links a .nav-icon {
  font-size: 18px;
  width: 34px; height: 34px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
}
.mobile-nav-links a.active {
  color: var(--amber);
  background: var(--amber-glow);
  border-color: rgba(245,166,35,0.2);
}
 
/* Mobile menu divider */
.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 16px 8px;
  flex-shrink: 0;
}
 
/* Mobile menu CTA */
.mobile-cta {
  padding: 8px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
}
 
/* Mobile menu footer info */
.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  flex-shrink: 0;
}
.mobile-menu-footer p {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mobile-menu-footer a {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.mobile-menu-footer a:hover { color: var(--amber); }
.mobile-menu-footer p {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.mobile-menu-footer a {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
  transition: color var(--transition);
}
.mobile-menu-footer a:hover { color: var(--amber); }
 
/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  margin: 16px 0 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: all var(--transition);
}
.social-icon:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-glow);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--amber); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item .icon {
  color: var(--amber);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 14px;
}
.footer-contact-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.footer-contact-item a { color: var(--muted); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted-2);
}
.footer-bottom a { color: var(--amber); }
 
/* ── CARDS ────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
 
/* ── SECTION HEADING ─────────────────────── */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-heading p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}
 
/* ── DIVIDER GRADIENT ────────────────────── */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  margin: 0 auto;
  max-width: 200px;
  margin-bottom: 24px;
}
 
/* ── ANIMATIONS ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.animate-up  { animation: fadeUp  0.7s cubic-bezier(0.4,0,0.2,1) both; }
.animate-in  { animation: fadeIn  0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
 
/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  /* Hide only the text button, keep hamburger visible */
  .nav-cta .btn-primary { display: none; }
  .hamburger { display: flex !important; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  /* Hide the "Contáctanos" btn but NEVER hide hamburger */
  .nav-cta .btn-primary { display: none; }
  /* Keep nav-cta visible so hamburger shows */
  .nav-cta { display: flex; }
  .hamburger { display: flex !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
}
/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}
 