@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bg:           #070d14;
  --surface:      #0d1825;
  --glass-border: rgba(100,220,255,0.15);
  --cyan:         #00d4ff;
  --cyan-dim:     rgba(0,212,255,0.12);
  --cyan-glow:    rgba(0,212,255,0.4);
  --text:         #dce8f5;
  --muted:        #7a99b8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Jost', sans-serif; font-weight: 300; overflow-x: hidden; }

.text-cyan { color: var(--cyan) !important; }
.text-muted-custom { color: var(--muted) !important; }
.section-dark { background: var(--surface); }
.section-darker { background: var(--bg); }

/* NAVBAR */
.navbar { background: rgba(7,13,20,0.9) !important; backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); transition: box-shadow .3s; padding: 14px 0; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.navbar-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: #fff !important; letter-spacing: 0.03em; }
.navbar-nav .nav-link { color: var(--muted) !important; font-size: 0.83rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color .25s; padding: 8px 12px; }
.navbar-nav .nav-link:hover { color: var(--cyan) !important; }
.btn-outline-cyan { border: 1px solid var(--cyan); color: var(--cyan); background: transparent; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 20px; border-radius: 3px; transition: all .25s; text-decoration: none; }
.btn-outline-cyan:hover { background: var(--cyan); color: #000; }
.btn-cyan { background: var(--cyan); color: #000; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 28px; border-radius: 3px; border: none; transition: all .25s; text-decoration: none; display: inline-block; }
.btn-cyan:hover { background: #fff; color: #000; box-shadow: 0 0 30px var(--cyan-glow); }
.navbar-toggler:focus { box-shadow: none; }

/* HERO */
.hero-section { min-height: 100vh; background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,212,255,0.06) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,80,150,0.1) 0%, transparent 60%), linear-gradient(160deg, #070d14 0%, #0a1520 100%); position: relative; display: flex; align-items: center; padding-top: 80px; }
.hero-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.led-strip { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: scanH 4s linear infinite; }
.badge-custom { border: 1px solid var(--glass-border); background: var(--cyan-dim); color: var(--cyan); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 16px; border-radius: 2px; font-family: 'Jost', sans-serif; font-weight: 400; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; line-height: 1.05; color: #fff; animation: fadeUp 0.9s ease both; }
.hero-sub { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 480px; animation: fadeUp 1s .15s ease both; }
.hero-img-wrap { width: 100%; max-width: 420px; aspect-ratio: 4/5; border-radius: 14px; border: 1px solid rgba(0,212,255,0.3); overflow: hidden; background: var(--surface); box-shadow: 0 0 60px rgba(0,212,255,0.1); animation: float 6s ease-in-out infinite; position: relative; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--muted); text-align: center; padding: 2rem; border: 2px dashed rgba(0,212,255,0.2); font-size: 0.9rem; }

/* SECCIONES COMUNES */
.section-tag { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 0.75rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: #fff; line-height: 1.15; }
.section-divider { width: 55px; height: 2px; background: var(--cyan); margin-top: 1.2rem; box-shadow: 0 0 10px var(--cyan-glow); }
.alert-cyan { background: var(--cyan-dim); border: 1px solid var(--glass-border); border-radius: 4px; padding: 1.2rem 1.5rem; color: var(--text); font-size: 0.9rem; line-height: 1.7; }

/* PRODUCTOS */
.product-card { background: var(--surface); padding: 1.8rem; border-right: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; transition: background .3s; }
.product-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--cyan); transform: scaleY(0); transition: transform .3s; box-shadow: 0 0 8px var(--cyan); }
.product-card:hover { background: rgba(0,212,255,0.04); }
.product-card:hover::before { transform: scaleY(1); }
.product-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.product-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.photo-slot { position: relative; aspect-ratio: 1/1; border-radius: 4px; overflow: hidden; background: rgba(0,212,255,0.04); border: 1px dashed rgba(0,212,255,0.2); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.photo-slot.empty img { display: none; }
.photo-slot.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(0,212,255,0.02) 6px, rgba(0,212,255,0.02) 12px); }
.photo-slot.empty span { font-size: 0.55rem; color: var(--muted); text-align: center; padding: 0 3px; line-height: 1.3; }
.photo-slot.empty::before { content: '📷'; font-size: 1.1rem; opacity: 0.4; }
.photo-slot:not(.empty):hover img { transform: scale(1.05); transition: transform .3s; }

/* NOSOTROS */
.info-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 6px; padding: 1.8rem; transition: border-color .3s, box-shadow .3s; }
.info-card:hover { border-color: var(--cyan); box-shadow: 0 0 25px rgba(0,212,255,0.06); }
.mv-card { background: var(--surface); border-top: 2px solid var(--cyan); padding: 2rem; border-radius: 0 0 6px 6px; }
.mv-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); display: block; }

/* PEDIDOS */
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--glass-border); border-radius: 4px; margin-bottom: 0.75rem; transition: border-color .25s; }
.contact-item:hover { border-color: var(--cyan); }
.contact-icon-wrap { width: 38px; height: 38px; background: var(--cyan-dim); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 1.1rem; flex-shrink: 0; }
.order-form-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 8px; padding: 2.2rem; }
.form-label-custom { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.form-control-custom, .form-select.form-control-custom { background: rgba(7,13,20,0.85) !important; border: 1px solid var(--glass-border) !important; color: var(--text) !important; border-radius: 3px !important; font-family: 'Jost', sans-serif; font-size: 0.9rem; padding: 11px 14px; transition: border-color .25s, box-shadow .25s; }
.form-control-custom:focus, .form-select.form-control-custom:focus { border-color: var(--cyan) !important; box-shadow: 0 0 12px rgba(0,212,255,0.1) !important; background: rgba(7,13,20,0.95) !important; }
.form-select.form-control-custom option { background: #0d1825; }
.forma-btn { background: rgba(7,13,20,0.8); border: 1px solid var(--glass-border); color: var(--muted); padding: 8px 14px; border-radius: 3px; font-family: 'Jost', sans-serif; font-size: 0.82rem; cursor: pointer; transition: all .2s; }
.forma-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.forma-btn.active { border-color: var(--cyan); background: var(--cyan-dim); color: var(--cyan); font-weight: 500; }
.medida-tip { background: rgba(0,212,255,0.06); border-left: 3px solid var(--cyan); padding: 9px 13px; border-radius: 0 3px 3px 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.alert-success-custom { background: rgba(0,212,255,0.08); border: 1px solid var(--cyan); border-radius: 4px; padding: 1rem 1.2rem; color: var(--cyan); font-size: 0.88rem; text-align: center; }

/* FOOTER */
.footer-section { background: #040810; border-top: 1px solid var(--glass-border); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: #fff; }
.footer-heading { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.footer-links { margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-hr { border-color: rgba(255,255,255,0.06); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ANIMACIONES */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes scanH { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.01% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-img-wrap { max-width: 320px; aspect-ratio: 4/3; animation: none; margin: 0 auto; }
  .hero-section { padding-top: 100px; padding-bottom: 60px; }
}
@media (max-width: 575px) {
  .order-form-card { padding: 1.4rem; }
  .hero-img-wrap { max-width: 85%; }
}