/* CYESTN - ABDIELMOTOS
   Paleta basada en el logotipo: azul oscuro, naranja y gris.
   Archivo separado para facilitar cambios de diseño. */
:root {
  --navy: #123f63;
  --navy-deep: #0b2b45;
  --navy-soft: #1a557f;
  --orange: #f47721;
  --orange-dark: #df5f0d;
  --gray: #92979b;
  --text: #243443;
  --muted: #667482;
  --pale: #f4f7f9;
  --white: #fff;
  --line: #e3e9ed;
  --shadow: 0 18px 50px rgba(13, 48, 73, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: 'Montserrat', Arial, sans-serif; color: var(--text); line-height: 1.7; 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% - 42px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,63,99,.08); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { width: 68px; height: 58px; object-fit: contain; }
.brand-copy, .footer-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong, .footer-brand strong { color: var(--navy); font-size: 1.22rem; font-weight: 800; letter-spacing: .06em; }
.brand-copy small, .footer-brand small { color: var(--gray); font-size: .62rem; font-weight: 700; letter-spacing: .07em; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: .78rem; font-weight: 700; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--orange); }
.main-nav .nav-cta { background: var(--navy); color: white; padding: 12px 18px; border-radius: 5px; }
.main-nav .nav-cta:hover { background: var(--orange); color: white; }
.menu-toggle { display: none; border: 0; background: var(--navy); color: white; border-radius: 5px; padding: 8px 12px; font-size: 1.3rem; cursor: pointer; }
.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(112deg, var(--navy-deep), var(--navy) 68%, #174c70); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.22) 48.2% 48.6%, transparent 48.8% 100%); background-size: 38px 38px; }
.hero-shape { position: absolute; width: 570px; height: 570px; border-radius: 50%; right: -170px; top: -220px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 55px; position: relative; z-index: 1; padding-block: 65px 75px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.hero h1 { font-size: clamp(2.3rem, 4.1vw, 3.65rem); line-height: 1.15; letter-spacing: -.045em; margin: 20px 0; font-weight: 800; }
.hero h1 span { color: #ff8a3d; }
.hero-content > p { max-width: 590px; color: #d8e3eb; font-size: .98rem; line-height: 1.9; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 17px; min-height: 49px; padding: 13px 20px; border: 0; border-radius: 5px; font-size: .78rem; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: white; box-shadow: 0 9px 22px rgba(244,119,33,.22); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { color: white; border: 1px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 37px; }
.trust-icon { width: 35px; height: 35px; display: grid; place-items: center; background: rgba(244,119,33,.18); color: #ff994f; border-radius: 50%; font-weight: 800; }
.hero-trust strong, .hero-trust small { display: block; }
.hero-trust strong { font-size: .77rem; }
.hero-trust small { color: #b7cad8; font-size: .68rem; }
.hero-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.hero-logo-card { width: min(330px, 78%); aspect-ratio: 1; display: grid; place-items: center; background: white; border: 8px solid rgba(255,255,255,.18); border-radius: 50%; overflow: hidden; box-shadow: 0 28px 75px rgba(0,0,0,.28); z-index: 2; }
.hero-logo-card img { width: 100%; height: 100%; object-fit: contain; padding: 13px; }
.visual-ring { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.ring-one { width: 410px; height: 410px; }
.ring-two { width: 490px; height: 490px; border-style: dashed; opacity: .45; }
.orange-orb { position: absolute; width: 80px; height: 80px; right: 7%; top: 10%; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 14px rgba(244,119,33,.12); }
.floating-tag { position: absolute; z-index: 3; background: white; color: var(--navy); padding: 12px 16px; border-radius: 6px; font-size: .72rem; font-weight: 800; box-shadow: var(--shadow); }
.floating-tag span { color: var(--orange); margin-right: 7px; }
.tag-top { top: 15%; left: 0; }
.tag-bottom { bottom: 12%; right: -2%; }
.hero-bottom { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); position: relative; z-index: 1; color: #d6e1e9; font-size: .65rem; font-weight: 800; letter-spacing: .16em; }
.hero-bottom i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.section-pad { padding: 100px 0; }
.welcome { background: var(--white); }
.welcome-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: end; }
.section-intro h2, .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.2; letter-spacing: -.04em; color: var(--navy-deep); margin: 15px 0 0; }
.section-intro h2 span, .section-heading h2 span, .about-copy h2 span, .contact-copy h2 span { color: var(--orange); }
.welcome-text { color: var(--muted); margin: 0; font-size: .9rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.value-card { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 29px 26px; background: white; transition: transform .25s, box-shadow .25s; }
.value-card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-number { position: absolute; right: 22px; top: 18px; color: #e7edf1; font-size: 1.5rem; font-weight: 800; }
.value-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--orange); background: #fff1e7; border-radius: 7px; font-size: 1.5rem; }
.value-card h3 { color: var(--navy); font-size: 1rem; margin: 18px 0 5px; }
.value-card p { color: var(--muted); font-size: .8rem; margin: 0; }
.about { background: var(--pale); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { min-height: 430px; position: relative; display: grid; place-items: center; }
.about-image-frame { width: min(390px, 90%); aspect-ratio: 1; border-radius: 10px; background: white; display: grid; place-items: center; padding: 24px; box-shadow: var(--shadow); border-bottom: 7px solid var(--orange); }
.about-image-frame img { width: 100%; max-height: 350px; object-fit: contain; }
.about-stamp { position: absolute; right: -3px; bottom: 35px; background: var(--navy); color: white; padding: 19px 23px; border-left: 4px solid var(--orange); box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.4; }
.about-stamp strong { font-size: 1.05rem; letter-spacing: .1em; }
.about-stamp span { font-size: .68rem; color: #d6e1e9; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: .86rem; margin: 0 0 15px; }
.about-copy p strong { color: var(--navy); }
.text-link { display: inline-flex; gap: 15px; align-items: center; color: var(--navy); font-size: .8rem; font-weight: 800; margin-top: 12px; border-bottom: 2px solid var(--orange); padding-bottom: 6px; }
.text-link span { color: var(--orange); font-size: 1.2rem; }
.services { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { max-width: 370px; color: var(--muted); font-size: .85rem; margin: 0 0 4px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--line); border-radius: 8px; padding: 25px 24px 23px; background: white; transition: transform .25s, box-shadow .25s; }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon { width: 49px; height: 49px; display: grid; place-items: center; background: #fff1e7; color: var(--orange); border-radius: 7px; font-size: 1.5rem; font-weight: 700; }
.service-index { color: #d5dde3; font-size: 1.5rem; font-weight: 800; }
.service-card h3 { color: var(--navy); font-size: 1rem; line-height: 1.45; min-height: 46px; margin: 19px 0 13px; }
.service-card ul { padding: 0; margin: 0; list-style: none; }
.service-card li { position: relative; padding: 8px 0 8px 17px; border-top: 1px solid #edf0f2; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.service-card li::before { content: ""; position: absolute; width: 5px; height: 5px; left: 0; top: 15px; background: var(--orange); border-radius: 50%; }
.service-banner { margin-top: 36px; background: var(--navy); border-radius: 8px; padding: 29px 35px; color: white; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.service-banner .eyebrow { font-size: .62rem; }
.service-banner h3 { font-size: 1.3rem; line-height: 1.35; margin: 7px 0 0; }
.mission { background: var(--navy-deep); color: white; position: relative; overflow: hidden; }
.mission::after { content: ""; position: absolute; right: -150px; bottom: -260px; width: 550px; height: 550px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.02), 0 0 0 110px rgba(255,255,255,.02); }
.light-heading { position: relative; z-index: 1; }
.light-heading h2 { color: white; }
.light-heading > p { color: #bdccd7; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }
.mission-card { padding: 32px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.045); }
.mission-symbol { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 7px; background: var(--orange); color: white; font-size: 1.7rem; }
.mission-label { display: block; margin-top: 24px; color: #ff9a57; font-size: .67rem; font-weight: 800; letter-spacing: .13em; }
.mission-card h3 { margin: 8px 0 14px; font-size: 1.35rem; }
.mission-card p { color: #c4d2dc; font-size: .81rem; margin: 0 0 12px; }
.contact { background: var(--pale); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; }
.contact-copy h2 { margin: 14px 0 20px; }
.contact-copy > p { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-top: 1px solid #dfe6eb; }
.contact-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 7px; color: var(--orange); background: #fff0e5; font-size: 1.25rem; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { color: var(--muted); font-size: .62rem; letter-spacing: .12em; font-weight: 800; }
.contact-detail strong { color: var(--navy); font-size: .85rem; overflow-wrap: anywhere; }
.contact-note { border-left: 3px solid var(--orange); padding-left: 15px; margin-top: 28px; color: var(--navy); font-size: .75rem; font-weight: 800; line-height: 1.8; }
.contact-note span { color: var(--muted); font-weight: 500; }
.contact-form { background: white; padding: 35px; border-radius: 9px; box-shadow: var(--shadow); }
.contact-form h3 { margin: 0; color: var(--navy); font-size: 1.4rem; }
.contact-form > p { color: var(--muted); font-size: .8rem; margin: 5px 0 23px; }
.contact-form label { display: block; color: var(--navy); font-size: .72rem; font-weight: 700; margin: 14px 0 6px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; border: 1px solid #dce4e9; border-radius: 5px; background: #fbfcfd; color: var(--text); padding: 12px 13px; outline: none; font-size: .8rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,119,33,.1); }
.contact-form textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 20px; }
.form-help { display: block; color: #788691; font-size: .65rem; margin-top: 12px; line-height: 1.5; }
.site-footer { background: #071e30; color: #c0ced8; padding: 25px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { min-width: auto; }
.footer-brand img { width: 48px; height: 42px; object-fit: contain; background: white; border-radius: 50%; }
.footer-brand strong { color: white; font-size: .95rem; }
.footer-brand small { color: #a9b8c4; }
.footer-inner > p { font-size: .72rem; margin: 0; }
.copyright { font-size: .65rem; color: #8fa2b1; text-align: right; }
.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; color: white; background: #20b96b; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-4px); }
@media (max-width: 980px) {
  .main-nav { gap: 15px; font-size: .72rem; }
  .brand { min-width: 190px; }
  .hero-grid { gap: 25px; }
  .hero h1 { font-size: 2.8rem; }
  .about-grid, .contact-grid { gap: 45px; }
  .service-card { padding: 21px 18px; }
  .service-card h3 { font-size: .92rem; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 560px); }
  .nav-wrap { min-height: 75px; }
  .brand img { width: 56px; height: 50px; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy small { font-size: .55rem; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 75px; left: 0; right: 0; padding: 17px 22px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px rgba(0,0,0,.06); align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 5px; }
  .main-nav .nav-cta { text-align: center; margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; padding: 65px 0 38px; gap: 15px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-content > p { font-size: .88rem; }
  .hero-visual { min-height: 340px; margin-top: 5px; }
  .hero-logo-card { width: min(270px, 68%); }
  .ring-one { width: 330px; height: 330px; }
  .ring-two { width: 390px; height: 390px; }
  .floating-tag { font-size: .62rem; padding: 10px 12px; }
  .tag-top { left: 1%; top: 13%; }
  .tag-bottom { right: 0; bottom: 9%; }
  .orange-orb { width: 54px; height: 54px; right: 6%; top: 8%; }
  .hero-bottom { gap: 10px; font-size: .52rem; letter-spacing: .09em; }
  .section-pad { padding: 70px 0; }
  .welcome-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .value-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 30px; }
  .value-card { padding: 23px; }
  .about-visual { min-height: 320px; }
  .about-image-frame { width: min(310px, 83%); }
  .about-stamp { right: 0; bottom: 14px; padding: 14px 17px; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 28px; }
  .section-heading > p { max-width: 100%; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card h3 { min-height: 0; }
  .service-banner { align-items: stretch; flex-direction: column; padding: 25px 22px; }
  .service-banner h3 { font-size: 1.15rem; }
  .service-banner .btn { align-self: flex-start; }
  .mission-grid { grid-template-columns: 1fr; gap: 15px; }
  .mission-card { padding: 25px; }
  .contact-form { padding: 25px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .copyright { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
