/* CYESTN | estilos principales
   Paleta inspirada en el logo: azul noche, naranja y blanco.
*/
:root {
  --navy: #19153d;
  --navy-deep: #0d1230;
  --navy-soft: #24204f;
  --orange: #ff9700;
  --orange-light: #ffb02e;
  --white: #ffffff;
  --ink: #20213a;
  --muted: #656981;
  --pale: #f5f6fb;
  --line: #e4e6ef;
  --shadow: 0 20px 55px rgba(17, 19, 54, .12);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.topbar { background: var(--navy-deep); color: #e9e9f4; font-size: 12px; letter-spacing: .02em; }
.topbar-inner, .topbar-contact { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar-inner { min-height: 38px; }
.topbar-contact { gap: 20px; }
.topbar a:hover { color: var(--orange-light); }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(20,20,50,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 48px; height: 48px; border: 4px solid var(--orange); border-radius: 50%; display: inline-block; position: relative; transform: rotate(-18deg); }
.brand-mark:before, .brand-mark:after { content: ""; position: absolute; border: 4px solid var(--orange); border-left-color: transparent; border-radius: 50%; }
.brand-mark:before { inset: 6px -5px 6px 6px; }
.brand-mark:after { inset: 14px -8px 14px 14px; }
.brand-mark i { position: absolute; width: 9px; height: 9px; background: var(--orange); border-radius: 50%; left: 5px; top: 3px; }
.brand-mark b { position: absolute; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; right: 0; bottom: 6px; }
.brand-mark em { position: absolute; width: 11px; height: 11px; background: var(--white); border: 2px solid var(--orange); border-radius: 50%; top: 15px; left: 15px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-family: Montserrat, sans-serif; font-size: 25px; color: var(--orange); letter-spacing: .09em; }
.brand-text small { margin-top: 5px; font-size: 9px; color: var(--navy); letter-spacing: .16em; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 700; color: #383852; }
.main-nav > a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta { background: var(--navy); color: var(--white); padding: 12px 17px; border-radius: 8px; }
.nav-cta span { color: var(--orange); padding-left: 7px; }
.menu-toggle { display: none; border: 0; background: var(--navy); color: white; border-radius: 8px; padding: 9px 12px; font-size: 22px; }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 45%, #2a2860 0, transparent 38%), linear-gradient(125deg, var(--navy-deep), var(--navy) 65%, #211d50); color: var(--white); padding: 76px 0 90px; }
.hero:before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(90deg, transparent 49px, #8793d0 50px, transparent 51px), linear-gradient(transparent 49px, #8793d0 50px, transparent 51px); background-size: 50px 50px; mask-image: linear-gradient(90deg, transparent, black); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 52px; position: relative; z-index: 1; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 11px; letter-spacing: .15em; font-weight: 800; color: var(--orange); }
.eyebrow span, .section-kicker span { display: inline-block; width: 34px; height: 2px; background: currentColor; }
.hero h1 { font: 800 clamp(38px, 4.5vw, 61px)/1.12 Montserrat, sans-serif; letter-spacing: -.045em; margin: 21px 0; }
.hero h1 span { color: var(--orange); }
.hero-copy > p { color: #d9daeb; max-width: 550px; font-size: 16px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 14px 20px; border-radius: 8px; font-size: 13px; font-weight: 800; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { color: #1c173d; background: var(--orange); box-shadow: 0 9px 24px rgba(255,151,0,.2); }
.btn-orange:hover { background: var(--orange-light); box-shadow: 0 12px 28px rgba(255,151,0,.3); }
.btn-outline { border-color: rgba(255,255,255,.35); color: white; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 31px; color: #d9daeb; font-size: 11px; }
.hero-points b { color: var(--orange); padding-right: 5px; }
.hero-visual { position: relative; min-height: 390px; display: flex; align-items: center; justify-content: center; }
.visual-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); filter: blur(95px); opacity: .17; }
.hero-visual > img { position: relative; z-index: 1; width: 100%; height: 380px; object-fit: cover; border-radius: 22px; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 25px 65px rgba(0,0,0,.35); }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: rgba(255,255,255,.96); color: var(--navy); border-radius: 12px; box-shadow: var(--shadow); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 12px; }
.floating-card small { font-size: 10px; color: var(--muted); }
.camera-card { left: -28px; top: 44px; }
.tech-card { right: -22px; bottom: 45px; }
.mini-icon, .tech-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff0d9; color: var(--orange); font-size: 25px; }
.tech-symbol { background: var(--navy); color: var(--orange); }
.status-dot { width: 8px; height: 8px; background: #28bd7b; border-radius: 50%; margin-left: 4px; }
.hero-stamp { position: absolute; z-index: 3; right: 15px; top: -28px; width: 90px; height: 90px; border: 1px solid var(--orange); border-radius: 50%; background: var(--navy); display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(9deg); }
.hero-stamp span { color: var(--orange); font: 800 25px Montserrat; }
.hero-stamp small { font-size: 7px; line-height: 1.3; text-align: center; letter-spacing: .1em; }
.hero-circuit { position: absolute; width: 170px; height: 170px; border: 1px solid rgba(255,151,0,.25); border-radius: 50%; }
.circuit-one { right: -70px; top: -80px; box-shadow: 0 0 0 18px rgba(255,151,0,.025), 0 0 0 38px rgba(255,151,0,.025); }
.circuit-two { left: -110px; bottom: -100px; box-shadow: 0 0 0 18px rgba(255,151,0,.025), 0 0 0 38px rgba(255,151,0,.025); }
.hero-bottom-line { position: absolute; height: 5px; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, var(--orange), #ffbd4d 45%, transparent); }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 23px 0; }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border: 0; }
.trust-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff2df; color: var(--orange); font-size: 24px; }
.trust-grid p { display: flex; flex-direction: column; margin: 0; line-height: 1.35; }
.trust-grid strong { font-size: 12px; }
.trust-grid small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.section { padding: 94px 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.about-visual { position: relative; padding: 0 28px 28px 0; }
.about-image-main { position: relative; z-index: 1; overflow: hidden; border-radius: 18px; }
.about-image-main img { height: 455px; width: 100%; object-fit: cover; }
.about-orange-block { position: absolute; right: 0; bottom: 0; width: 68%; height: 70%; border-radius: 18px; background: var(--orange); }
.about-note { position: absolute; z-index: 2; left: -22px; bottom: 48px; max-width: 245px; padding: 17px; border-radius: 13px; background: var(--navy); color: white; box-shadow: var(--shadow); display: grid; grid-template-columns: 40px 1fr; column-gap: 11px; }
.note-icon { grid-row: span 2; display: grid; place-items: center; background: var(--orange); color: var(--navy); border-radius: 10px; font-size: 23px; }
.about-note strong { font-size: 12px; }
.about-note small { color: #c8c9df; font-size: 10px; line-height: 1.4; }
.section-kicker { margin-bottom: 13px; }
.about-copy h2, .section-heading h2, .contact-copy h2 { font: 800 clamp(30px, 3.2vw, 43px)/1.2 Montserrat, sans-serif; letter-spacing: -.04em; color: var(--navy); margin: 0 0 22px; }
.about-copy h2 span, .section-heading h2 span, .contact-copy h2 span { color: var(--orange); }
.about-copy p { font-size: 13px; color: #666a80; margin: 0 0 14px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 10px; color: var(--navy); font-size: 12px; font-weight: 800; border-bottom: 2px solid var(--orange); padding-bottom: 6px; }
.text-link span { color: var(--orange); font-size: 18px; }
.services-section { background: var(--pale); }
.section-heading { margin-bottom: 42px; }
.centered { text-align: center; }
.centered .section-kicker { justify-content: center; }
.section-heading > p { color: var(--muted); font-size: 13px; margin: -8px auto 0; max-width: 540px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { position: relative; min-height: 225px; background: white; padding: 25px 21px 23px; border: 1px solid #e8e9f1; border-radius: 14px; box-shadow: 0 8px 20px rgba(19,21,59,.035); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(255,151,0,.7); box-shadow: 0 18px 35px rgba(19,21,59,.09); }
.service-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 13px; background: var(--navy); color: var(--orange); font: 700 22px Montserrat; margin-bottom: 18px; }
.service-card h3 { font: 700 14px/1.4 Montserrat, sans-serif; color: var(--navy); margin: 0 0 9px; }
.service-card p { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 0; padding-right: 8px; }
.service-card > a { position: absolute; right: 17px; bottom: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff1dc; color: var(--navy); font-size: 15px; }
.mission-section { padding: 82px 0; background: var(--navy); color: white; position: relative; overflow: hidden; }
.mission-section:after { content: ""; position: absolute; right: -150px; top: -200px; width: 500px; height: 500px; border: 1px solid rgba(255,151,0,.2); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,151,0,.025), 0 0 0 65px rgba(255,151,0,.025); }
.mission-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.mission-card { padding: 34px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 17px; }
.vision-card { background: rgba(255,151,0,.055); border-color: rgba(255,151,0,.25); }
.mission-icon { width: 53px; height: 53px; display: grid; place-items: center; background: var(--orange); color: var(--navy); border-radius: 15px; font-size: 27px; margin-bottom: 22px; }
.mission-card .section-kicker { color: var(--orange); }
.mission-card h2 { font: 800 30px Montserrat; margin: 0 0 15px; }
.mission-card p { color: #d0d1e2; font-size: 12px; margin: 0 0 12px; }
.cta-section { padding: 48px 0; background: #fff5e7; border-bottom: 1px solid #ffe3bd; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin: 0; color: var(--navy); font: 800 clamp(24px, 3vw, 34px)/1.25 Montserrat; letter-spacing: -.04em; }
.cta-inner h2 span { color: #7c7892; }
.light-kicker { color: #9c5b00; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-copy > p { font-size: 13px; color: var(--muted); max-width: 430px; margin: 0 0 27px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: #fff1dc; color: var(--orange); font-size: 22px; }
.contact-line span:last-child { display: flex; flex-direction: column; line-height: 1.45; }
.contact-line small { font-size: 11px; color: var(--muted); }
.contact-line strong { color: var(--navy); font-size: 14px; }
.contact-form { padding: 32px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); background: white; }
.contact-form h3 { margin: 0 0 5px; font: 800 22px Montserrat; color: var(--navy); }
.contact-form > p { color: var(--muted); font-size: 12px; margin: 0 0 20px; }
.contact-form label { display: block; margin: 14px 0 6px; color: var(--navy); font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; padding: 12px 13px; border: 1px solid #dfe1eb; background: #fbfbfd; border-radius: 8px; color: var(--ink); font-size: 12px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,151,0,.12); }
.contact-form textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 18px; border: 0; }
.form-note { display: block; color: #85889b; text-align: center; font-size: 10px; margin-top: 11px; }
.site-footer { background: var(--navy-deep); color: white; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 37px; padding-bottom: 37px; }
.footer-brand .brand-text small { color: #e0e1ef; }
.footer-main > p { color: #d5d6e5; font-size: 12px; line-height: 1.5; margin: 0; }
.footer-links { display: flex; gap: 22px; font-size: 12px; color: #d5d6e5; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); color: #a7a9c2; font-size: 10px; }
.footer-bottom .container { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.whatsapp-float { position: fixed; z-index: 30; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #20c76a; color: white; font-size: 29px; box-shadow: 0 9px 25px rgba(0,0,0,.2); border: 3px solid white; }
.whatsapp-float:hover { transform: translateY(-3px); }

@media (max-width: 1000px) {
  .main-nav { gap: 16px; }
  .hero-grid { gap: 30px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 45px; }
  .contact-grid { gap: 45px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 560px); }
  .topbar-inner { justify-content: center; padding: 8px 0; text-align: center; }
  .topbar-inner > span { display: none; }
  .topbar-contact { gap: 15px; font-size: 11px; }
  .nav-wrap { min-height: 74px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 7px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 16px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(0,0,0,.08); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-cta { text-align: center; margin-top: 7px; }
  .hero { padding: 56px 0 66px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; }
  .hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero-copy > p { font-size: 14px; }
  .hero-visual { min-height: 310px; margin: 0 8px; }
  .hero-visual > img { height: 310px; }
  .camera-card { left: -8px; top: 18px; }
  .tech-card { right: -6px; bottom: 15px; }
  .hero-stamp { right: -5px; top: -24px; width: 75px; height: 75px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 17px 5px; padding: 20px 0; }
  .trust-grid > div { justify-content: flex-start; border: 0; padding-left: 8px; }
  .section { padding: 65px 0; }
  .about-grid { gap: 42px; }
  .about-image-main img { height: 340px; }
  .about-note { left: -5px; bottom: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 18px 15px 23px; min-height: 220px; }
  .service-card h3 { font-size: 12px; }
  .service-card p { font-size: 10px; }
  .mission-section { padding: 60px 0; }
  .mission-grid { grid-template-columns: 1fr; gap: 16px; }
  .mission-card { padding: 25px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-grid { gap: 30px; }
  .contact-form { padding: 23px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main > p { order: 3; width: 100%; }
  .footer-links { gap: 13px; }
  .footer-bottom .container { padding-top: 12px; padding-bottom: 12px; align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (max-width: 420px) {
  .topbar-contact { flex-direction: column; gap: 2px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-points { flex-direction: column; gap: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding-bottom: 28px; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-grid strong { font-size: 11px; }
  .trust-grid small { font-size: 9px; }
  .footer-links { width: 100%; }
}
