/* SOFTWARE EN IBIZA — landing one-page / Laravel Blade
   Paleta inspirada en la referencia: blanco, rojo, gris y negro.
   Todos los recursos gráficos son locales. */
:root {
  color-scheme: light;
  --red: #eb1b20;
  --red-dark: #bf1017;
  --ink: #18191b;
  --body: #28292d;
  --muted: #66676c;
  --line: #e8e8eb;
  --gray: #d2d2d4;
  --white: #fff;
  --max: 1190px;
  --max-wide: 1490px;
  --ease: cubic-bezier(.22,.8,.25,1);
  --software-ibiza-animation-version: animaciones-v2-corregidas;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--body); font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #facacc; color: #141414; }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { max-width: 100%; }
img { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.037em; line-height: 1.13; }
p { margin-bottom: 1.2em; }
:focus-visible { outline: 3px solid #ff8d90; outline-offset: 4px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(var(--max-wide), calc(100% - 56px)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.eyebrow { color: var(--red); font-size: 16px; font-weight: 650; letter-spacing: .29em; line-height: 1.6; }
.eyebrow-small { font-size: 12px; font-weight: 780; letter-spacing: .23em; margin-bottom: 17px; }
.red-dot { color: var(--red); }
.skip-link { position: fixed; left: 18px; top: -90px; background: var(--ink); color: white; z-index: 9999; padding: 10px 16px; }
.skip-link:focus { top: 10px; }
/* navigation */
.site-header { position: sticky; top: 0; z-index: 100; height: 90px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(18,18,18,.055); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: box-shadow .25s; }
.site-header.has-shadow { box-shadow: 0 5px 22px rgba(20,20,25,.055); }
.nav-container { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 42px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 188px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.8vw, 48px); flex: 1; height: 100%; }
.nav-link, .nav-service-trigger { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 8px 0; white-space: nowrap; font-size: 14px; font-weight: 510; color: #363942; background: none; border: 0; cursor: pointer; transition: color .2s; }
.nav-link:hover, .nav-link:focus-visible, .nav-service-trigger:hover, .nav-external:hover { color: var(--red); }
.nav-service { height: 100%; position: relative; }
.nav-service-trigger .icon { width: 15px; height: 15px; transition: transform .22s; }
.nav-service.is-open .nav-service-trigger, .nav-service:hover .nav-service-trigger { color: var(--red); }
.nav-service.is-open .icon-chevron { transform: rotate(180deg); }
.nav-service-links { position: absolute; top: calc(100% - 4px); left: -28px; width: 255px; padding: 13px 8px; background: #fff; border: 1px solid #eee; border-top: 2px solid var(--red); box-shadow: 0 18px 36px rgba(0,0,0,.11); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(9px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-service.is-open .nav-service-links, .nav-service:hover .nav-service-links, .nav-service:focus-within .nav-service-links { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-service-links a { display: block; padding: 10px 18px; font-size: 13px; color: #3e4149; line-height: 1.35; }
.nav-service-links a:hover, .nav-service-links a:focus-visible { color: var(--red); background: #fff3f3; }
.nav-external { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid #dedee0; border-radius: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.nav-external:hover { border-color: #f4c4c5; background: #fff5f5; }
.nav-external .icon { width: 15px; height: 15px; }
.mobile-menu-toggle { display: none; }
/* hero */
.hero { min-height: 617px; position: relative; overflow: hidden; isolation: isolate; background: #f6f6f7; }
.hero-visual { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-visual img { position: absolute; width: max(1120px, 79vw); max-width: none; height: 100%; object-fit: cover; object-position: center; right: -2.9%; top: 0; }
.hero::before { content:""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, #fff 21%, rgba(255,255,255,.99) 31%, rgba(255,255,255,.80) 42%, rgba(255,255,255,.12) 64%, transparent 77%); }
.hero-inner { position: relative; min-height: 617px; display: flex; align-items: center; }
.hero-copy { max-width: 670px; padding: 24px 0 45px; }
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { color: #141516; font-size: clamp(57px, 5.15vw, 87px); font-weight: 790; letter-spacing: -.057em; margin-bottom: 36px; }
.hero h1 span { color: var(--red); }
.hero-description { max-width: 580px; color: #28292c; font-size: 17px; line-height: 1.75; margin-bottom: 29px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 730; line-height: 1.45; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { color: #fff; background: var(--red); box-shadow: 0 6px 20px rgba(235,27,32,.11); }
.btn-red:hover { color: #fff; background: var(--red-dark); box-shadow: 0 11px 23px rgba(235,27,32,.19); }
.btn .icon { width: 17px; height: 17px; }
.text-link, .inline-arrow { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-size: 14px; font-weight: 630; text-decoration: underline; text-underline-offset: 4px; transition: color .2s; }
.text-link:hover, .inline-arrow:hover { color: var(--red-dark); }
.inline-arrow { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.inline-arrow .icon { width: 17px; height: 17px; }
.hero-edge { position: absolute; height: 4px; left: 0; right: 0; bottom: 0; background: #fff; }
/* service cards */
.services-overview { padding-top: 96px; padding-bottom: 108px; background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.section-heading h2 { font-size: clamp(41px,4vw,61px); font-weight: 760; margin: 0 0 7px; }
.section-heading > p { max-width: 340px; color: #666; font-size: 14px; text-align: right; margin-bottom: 13px; }
.section-rule { height: 2px; background: var(--red); margin: 13px 0 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.service-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; position: relative; min-height: 310px; padding: 32px 28px 25px; overflow: hidden; isolation: isolate; background: #cfd0d2; border-radius: 14px; transition: transform .42s var(--ease), box-shadow .42s var(--ease); }
.service-card:focus-visible { outline-offset: 3px; }
.service-card img { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; opacity: .83; transition: transform .55s var(--ease); }
.service-card-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg, rgba(208,208,210,.98) 0%, rgba(208,208,210,.85) 34%, rgba(208,208,210,.09) 83%); }
.service-card-index { color: #515256; letter-spacing: .13em; font-size: 10px; font-weight: 790; }
.service-card h3 { font-size: clamp(21px,2.15vw,30px); font-weight: 700; line-height: 1.23; margin: auto 0 0; color: #202123; max-width: 270px; }
.service-arrow { display: flex; align-items: center; justify-content: center; margin-top: 17px; width: 38px; height: 38px; background: var(--red); color: #fff; border-radius: 50%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-arrow .icon { width: 19px; height: 19px; }
/* intro */
.intro { padding-top: 104px; padding-bottom: 117px; }
.intro-layout { display: grid; grid-template-columns: 1fr .98fr; gap: 68px; align-items: center; }
.intro h2 { font-size: clamp(32px,3vw,45px); line-height: 1.22; font-weight: 750; letter-spacing: -.035em; margin-bottom: 37px; }
.intro h2 span { color: var(--ink); }
.intro-content p:not(.eyebrow) { color: #303239; line-height: 1.83; margin-bottom: 23px; max-width: 590px; }
.intro-content .inline-arrow { margin-top: 8px; }
.intro-picture { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.intro-picture img { width: 100%; max-width: 610px; height: auto; object-fit: contain; }
.intro-picture .text-link { margin-top: -9px; }
/* service details */
.detail { padding-top: 98px; padding-bottom: 76px; }
.detail-gray { background: var(--gray); }
.detail-white { background: #fff; }
.detail-layout { display: grid; grid-template-columns: .94fr 1fr; gap: 63px; align-items: center; }
.detail-reversed { grid-template-columns: 1fr .94fr; }
.detail-reversed .detail-content { order: 2; }
.detail-reversed .detail-visual { order: 1; }
.detail h2 { font-size: clamp(38px,3.65vw,57px); font-weight: 770; line-height: 1.10; margin: 0 0 27px; }
.detail-content > p:not(.eyebrow) { font-size: 15px; line-height: 1.78; max-width: 555px; margin-bottom: 17px; }
/* No box/frame around the illustration. The radius is applied directly to the IMG.
   Explicit height:auto overrides the img height attribute and prevents letterboxing. */
.detail-visual { position: relative; min-width: 0; width: 100%; align-self: center; }
.detail-visual > img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; padding: 0; margin: 0; border: 0; border-radius: 16px; box-shadow: none; background: transparent; }
.visual-caption { position: absolute; right: 24px; bottom: 24px; padding: 9px 13px; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: #4b4c50; font-size: 11px; font-weight: 630; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,.055); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(235,27,32,.12); }
.check-list { list-style: none; margin: 25px 0 29px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; line-height: 1.52; }
.check-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: white; }
.check-icon .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 54px; }
.feature-box { min-width: 0; padding: 20px 20px 23px; min-height: 178px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border-radius: 9px; transition: transform .38s var(--ease), box-shadow .38s var(--ease); }
.feature-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; margin-bottom: 13px; background: var(--red); color: white; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-box h3 { font-size: 19px; font-weight: 720; margin: 0 0 8px; }
.feature-box p { color: #3a3b40; font-size: 14px; line-height: 1.55; margin: 0; }
.feature-grid-bordered .feature-box { background: #f6f6f7; }
/* process */
.process { background: #fff; padding-top: 114px; padding-bottom: 97px; }
.process-heading { max-width: 680px; }
.process h2 { font-size: clamp(35px,3.6vw,53px); font-weight: 760; margin-bottom: 19px; }
.process h2 span { color: var(--red); }
.process-heading > p:not(.eyebrow) { font-size: 16px; color: #565960; }
.process-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-top: 2px solid var(--red); }
.process-item { padding: 30px 28px 12px 0; position: relative; }
.process-item:not(:last-child) { margin-right: 28px; }
.process-item:before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: absolute; top: -5px; left: 0; }
.process-n { display: block; margin: 0 0 23px; font-weight: 780; font-size: 13px; color: var(--red); }
.process-item h3 { font-size: 20px; font-weight: 730; margin-bottom: 14px; }
.process-item p { font-size: 14px; line-height: 1.7; color: #606168; margin: 0; }
.process-footer { margin-top: 36px; }
/* FAQ */
.faq { background: #f8f8f9; padding: 94px 0 104px; }
.faq-container { max-width: 1080px; }
.faq-topline h2 { font-size: clamp(35px,3.25vw,49px); font-weight: 740; margin-bottom: 34px; }
.faq-list { border-top: 1px solid var(--red); }
.faq-item { border-bottom: 1px solid var(--red); }
.faq-item summary { cursor: pointer; display: flex; align-items: center; gap: 21px; list-style: none; font-size: clamp(17px,1.6vw,22px); font-weight: 550; color: #1e2024; padding: 19px 3px; line-height: 1.32; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { flex: 0 0 23px; width: 23px; height: 23px; position: relative; background: var(--red); }
.faq-sign:before, .faq-sign:after { content:""; position: absolute; background: white; width: 9px; height: 2px; top: 11px; left: 7px; }
.faq-sign:after { transform: rotate(90deg); transition: transform .2s; }
.faq-item[open] .faq-sign:after { transform: rotate(0deg); }
.faq-answer { margin-left: 44px; padding: 0 12px 22px 0; max-width: 820px; color: #4b4d54; font-size: 15px; }
.faq-answer p { margin: 0 0 9px; }
.faq-answer a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
/* contacto y formulario */
.contact-section { position: relative; isolation: isolate; overflow: hidden; background: #eeeeef; padding: 110px 0; }
.contact-section:before { content:""; width: 550px; height: 550px; border: 1px solid rgba(235,27,32,.23); border-radius: 50%; position: absolute; right: -150px; top: -260px; z-index: -1; }
.contact-section:after { content:""; width: 390px; height: 390px; border: 1px solid rgba(235,27,32,.17); border-radius: 50%; position: absolute; right: -50px; top: -180px; z-index: -1; }
.contact-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 72px; align-items: start; }
.contact-copy h2 { font-size: clamp(41px,4.2vw,65px); font-weight: 780; margin-bottom: 25px; }
.contact-copy h2 span { color: var(--red); }
.contact-copy > p:not(.eyebrow):not(.contact-local-note) { max-width: 490px; font-size: 17px; line-height: 1.73; margin-bottom: 30px; }
.contact-note { display: block; color: #66666a; font-size: 11px; margin-top: 15px; }
.contact-info { padding: 35px 36px 28px; background: #fff; border-radius: 9px; box-shadow: 0 8px 29px rgba(20,20,30,.05); }
.contact-info h3 { font-size: 22px; margin-bottom: 23px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid #ededee; font-size: 15px; font-weight: 600; color: #2f3137; }
a.contact-info-item:hover { color: var(--red); }
.contact-info-item > span:nth-child(2) { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.contact-info-item small { font-size: 12px; display: block; font-weight: 500; color: #82838b; margin-bottom: 2px; }
.contact-info-icon { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 50%; background: #fff2f2; color: var(--red); }
.contact-info-icon .icon { width: 18px; height: 18px; }
.trailing-arrow { width: 16px; height: 16px; color: #999; }
.contact-address { align-items: flex-start; }
.contact-web { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-weight: 680; font-size: 13px; margin-top: 14px; }
.contact-web .icon { width: 16px; height: 16px; }

.contact-promise { display:flex; align-items: flex-start; gap: 13px; margin-top: 18px; }
.contact-promise-icon { color:#fff; background:var(--red); display:flex; align-items:center; justify-content:center; border-radius:50%; flex:0 0 27px; width:27px; height:27px; margin-top:3px; }
.contact-promise-icon .icon { width:15px; height:15px; }
.contact-promise strong { display:block; font-size:15px; color:var(--ink); margin-bottom:2px; }
.contact-promise div > span { display:block; font-size:13px; line-height:1.65; color:#57585c; }
.contact-local-note { display:flex; align-items:flex-start; gap:9px; color:#54565c; font-size:13px; margin-top:30px; }
.contact-local-note .icon { width:19px; height:19px; flex:0 0 19px; color:var(--red); }
.contact-form-card { background:#fff; border-radius:10px; padding:36px 37px 30px; box-shadow:0 12px 38px rgba(20,20,30,.07); border:1px solid rgba(12,12,12,.05); min-width:0; }
.form-card-heading { padding-bottom:20px; margin-bottom:22px; border-bottom:1px solid var(--line); }
.form-card-kicker { display:block; color:var(--red); font-size:11px; font-weight:800; letter-spacing:.19em; margin-bottom:9px; }
.form-card-heading h3 { font-size:26px; margin-bottom:8px; letter-spacing:-.035em; }
.form-card-heading p { color:#61636a; font-size:13px; line-height:1.65; margin-bottom:0; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:15px; row-gap:17px; }
.form-field { display:flex; flex-direction:column; gap:6px; min-width:0; }
.form-field-full { grid-column:1/-1; }
.form-field label { font-size:13px; font-weight:700; color:#2c2d32; }
.form-field label span,.form-privacy b { color:var(--red); }
.form-field input,.form-field textarea { font:inherit; font-size:14px; width:100%; min-width:0; padding:12px 13px; border:1px solid #d9d9df; background:#fafafb; border-radius:5px; color:var(--ink); line-height:1.45; outline:none; transition:border-color .18s,background .18s,box-shadow .18s; }
.form-field input { height:46px; }
.form-field textarea { resize:vertical; min-height:118px; }
.form-field input::placeholder,.form-field textarea::placeholder { color:#8b8b92; }
.form-field input:focus,.form-field textarea:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(235,27,32,.10); background:#fff; }
.form-field input[aria-invalid=true],.form-field textarea[aria-invalid=true] { border-color:var(--red-dark); }
.form-field-error { display:block; font-size:12px; line-height:1.5; color:#b5121b; }
.form-privacy { display:flex; align-items:flex-start; gap:11px; margin:19px 0 17px; cursor:pointer; font-size:12px; line-height:1.65; color:#56575e; }
.form-privacy input { width:16px; height:16px; flex:0 0 16px; accent-color:var(--red); margin:3px 0 0; }
.form-privacy a { color:var(--red-dark); text-decoration:underline; text-underline-offset:2px; }
.form-submit { width:100%; cursor:pointer; font-family:inherit; font-size:14px; border:0; min-height:50px; }
.form-required-note { text-align:center; color:#82828a; font-size:11px; margin:10px 0 0; }
.form-alert { border:1px solid; padding:11px 13px; font-size:13px; line-height:1.55; margin-bottom:17px; border-radius:5px; }
.form-alert-success { background:#f0fbf2; color:#185b31; border-color:#b9ebc4; }
.form-alert-error { background:#fff1f1; color:#9b1b24; border-color:#f0c1c4; }
.form-honeypot { position:absolute !important; left:-10000px !important; top:auto !important; height:1px !important; width:1px !important; overflow:hidden !important; opacity:0 !important; pointer-events:none !important; }
.privacy-disclosure { border-top:1px solid #ececef; margin-top:20px; padding-top:12px; }
.privacy-disclosure summary { cursor:pointer; font-size:12px; font-weight:700; color:#5c5e64; }
.privacy-disclosure p { font-size:12px; line-height:1.65; color:#62646b; margin:11px 0 0; }
.preview-note { margin:0 0 18px; border-radius:5px; padding:12px 13px; background:#fff7e8; border:1px solid #eed9ae; color:#694516; font-size:12px; line-height:1.6; }
@media (max-width: 920px) {
  .contact-layout { gap:29px; }
  .contact-form-card { padding:24px 20px; }
  .form-grid { column-gap:11px; }
}
@media (max-width: 680px) {
  .contact-promise { margin-top:15px; }
  .contact-local-note { margin-top:23px; }
  .contact-form-card { padding:27px 20px 24px; }
  .form-card-heading h3 { font-size:24px; }
  .form-grid { grid-template-columns:1fr; gap:15px; }
  .form-field-full { grid-column:auto; }
  .form-field input { height:47px; }
  .form-field textarea { min-height:126px; }
}

/* Animaciones ligeras: transformaciones y opacidad, sin dependencias externas. */
@keyframes hero-enter {
  from { opacity: 0; transform: translate3d(0, 25px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-image-enter {
  from { opacity: .75; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
.hero-copy > .hero-eyebrow { animation: hero-enter .75s var(--ease) .06s both; }
.hero-copy > h1 { animation: hero-enter .85s var(--ease) .17s both; }
.hero-copy > .hero-description { animation: hero-enter .85s var(--ease) .31s both; }
.hero-copy > .hero-actions { animation: hero-enter .85s var(--ease) .43s both; }
.hero-visual img { animation: hero-image-enter 1.3s var(--ease) both; transform-origin: 72% center; }

/* Sin JavaScript o sin IntersectionObserver el contenido siempre se ve. */
.motion-ready .reveal-item {
  opacity: 0;
  translate: 0 38px;
  /* IMPORTANTE: tambien conservar transform y box-shadow en la transicion.
     Si solo se declaran opacity/translate, el reveal anula el hover animado. */
  transition: opacity .82s var(--ease), translate .82s var(--ease),
              transform .42s var(--ease), box-shadow .42s var(--ease);
}
.motion-ready .reveal-item.is-visible {
  opacity: 1;
  translate: 0 0;
  /* El retardo escalonado solo afecta a la entrada, NO al hover. */
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms;
}

/* El hover funciona con raton, trackpad y portatiles tactiles. El foco de teclado tambien cuenta. */
.service-card:hover, .service-card:focus-visible {
  transform: translate3d(0, -12px, 0);
  box-shadow: 0 24px 45px rgba(27,27,35,.22);
}
.service-card:hover img, .service-card:hover .service-arrow, .service-card:focus-visible .service-arrow {
  transform: translate(3px, -3px);
  box-shadow: 0 7px 18px rgba(235,27,32,.25);
}
.feature-box:hover, .feature-box:focus-within {
  transform: translate3d(0, -9px, 0);
  box-shadow: 0 20px 34px rgba(29,29,36,.14);
}
.btn .icon, .inline-arrow .icon { transition: transform .28s var(--ease); }
.btn:hover .icon, .btn:focus-visible .icon,
.inline-arrow:hover .icon, .inline-arrow:focus-visible .icon { transform: translateX(4px); }

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-item[open] .faq-answer { animation: faq-open .32s var(--ease) both; }

/* footer */
.footer { color: #f0f0f0; background: #1d1d1e; }
.footer-main { display: flex; justify-content: space-between; gap: 100px; padding-top: 73px; padding-bottom: 71px; }
.footer-branding { flex: 0 0 320px; }
.footer-branding img { width: 293px; height: auto; }
.footer-branding p { color: #a9a9ac; font-size: 14px; line-height: 1.6; margin: 18px 0 0 6px; }
.footer-columns { display: grid; grid-template-columns: repeat(4,minmax(130px,1fr)); gap: clamp(22px,2.5vw,44px); }
.footer-column { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-column h3 { color: #fff; font-size: 14px; letter-spacing: .01em; font-weight: 740; margin: 0 0 12px; }
.footer-column a { color: #b9b9bd; font-size: 13px; line-height: 1.5; transition: color .2s; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 21px; border-top: 1px solid #363637; font-size: 11px; color: #9c9c9e; }
.footer-bottom a { color: #f0f0f0; white-space: nowrap; }
.back-top { position: fixed; bottom: 20px; right: 21px; z-index: 60; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #272728; color: white; border-radius: 5px; box-shadow: 0 6px 25px rgba(0,0,0,.16); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .22s,transform .22s,background .22s; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--red); }
/* responsive */
@media (max-width: 1170px) {
  .site-nav { gap: 21px; }
  .nav-link { font-size: 13px; }
  .nav-external { font-size: 11px; padding: 9px 11px; }
  .nav-container { gap: 24px; }
  .brand img { width: 160px; }
  .hero-copy { max-width: 540px; }
  .hero-visual img { right: -16%; }
  .detail-layout { gap: 39px; }
  .contact-layout { gap: 60px; }
  .footer-main { gap: 43px; }
  .footer-branding { flex-basis: 260px; }
  .footer-branding img { width: 242px; }
}
@media (max-width: 920px) {
  html { scroll-padding-top: 75px; }
  .container-wide { width: min(100% - 40px, var(--max-wide)); }
  .site-header { height: 74px; }
  .brand img { width: 167px; }
  .mobile-menu-toggle { width: 42px; height: 40px; display: flex; justify-content: center; flex-direction: column; align-items: center; gap: 5px; border: 1px solid #e8e8e9; border-radius: 5px; background: #fff; cursor: pointer; }
  .mobile-menu-toggle span { width: 20px; height: 2px; display: block; background: #232323; transition: transform .2s, opacity .2s; }
  .mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; height: auto; max-height: calc(100dvh - 74px); overflow-y: auto; left: 0; right: 0; top: 74px; padding: 19px 25px 28px; background: #fff; box-shadow: 0 17px 23px rgba(0,0,0,.095); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav > .nav-link, .nav-service-trigger { height: auto; width: 100%; padding: 13px 0; font-size: 15px; border-bottom: 1px solid #eee; }
  .nav-service { height: auto; }
  .nav-service-trigger { justify-content: space-between; }
  .nav-service-links { display: none; position: static; width: 100%; padding: 3px 0 8px 13px; box-shadow: none; border: 0; transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-service.is-open .nav-service-links { display: block; }
  .nav-service:not(.is-open):hover .nav-service-links, .nav-service:not(.is-open):focus-within .nav-service-links { display: none; }
  .nav-service-links a { font-size: 14px; }
  .nav-external { align-self: flex-start; margin-top: 16px; font-size: 13px; padding: 9px 12px; }
  .hero { min-height: 570px; }
  .hero-inner { min-height: 570px; }
  .hero-visual img { right: -30%; width: 1050px; }
  .hero:before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 30%, rgba(255,255,255,.87) 48%, rgba(255,255,255,.35) 72%, rgba(255,255,255,.2)); }
  .hero h1 { font-size: 67px; }
  .hero-copy { max-width: 530px; }
  .intro-layout { gap: 28px; }
  .section-pad { padding-block: 85px; }
  .service-card { min-height: 265px; padding: 22px 19px; }
  .service-card h3 { font-size: 24px; }
  .detail-layout { gap: 25px; }
  .detail h2 { font-size: 44px; }
  .feature-grid { gap: 16px; }
  .feature-box { padding-inline: 12px; }
  .feature-box h3 { font-size: 17px; }
  .contact-layout { gap: 31px; }
  .footer-main { flex-direction: column; gap: 53px; }
  .footer-branding { flex: auto; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .container, .container-wide { width: calc(100% - 38px); }
  .section-pad { padding-block: 70px; }
  .hero { min-height: 660px; }
  .hero-inner { min-height: 660px; display: block; padding-top: 65px; }
  .hero-copy { max-width: none; padding: 0; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(52px,12vw,72px); margin-bottom: 22px; }
  .hero-description { max-width: 520px; font-size: 15px; line-height: 1.7; margin-bottom: 25px; }
  .hero-actions { gap: 16px; align-items: flex-start; }
  .hero-actions .btn { font-size: 12px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-visual img { width: 790px; height: 440px; max-width: none; top: auto; bottom: -88px; right: -175px; object-fit: contain; }
  .hero:before { background: linear-gradient(180deg, #fff 0%, #fff 47%, rgba(255,255,255,.78) 58%, rgba(255,255,255,.15) 82%, transparent 100%); }
  .services-overview { padding-top: 74px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .section-heading h2 { font-size: 47px; }
  .section-heading > p { max-width: none; text-align: left; margin: 0; }
  .section-rule { margin-top: 22px; }
  .service-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { min-height: 245px; padding: 24px; }
  .service-card img { object-position: center; }
  .service-card h3 { font-size: 26px; }
  .service-card-shade { background: linear-gradient(115deg, rgba(208,208,210,.98),rgba(208,208,210,.76) 44%,rgba(208,208,210,.05)); }
  .intro-layout, .detail-layout, .detail-reversed, .contact-layout { grid-template-columns: 1fr; }
  .intro-layout { gap: 30px; }
  .intro h2 { font-size: 36px; margin-bottom: 24px; }
  .intro-content p:not(.eyebrow) { line-height: 1.72; }
  .intro-picture img { max-width: 520px; }
  .detail { padding-top: 75px; padding-bottom: 64px; }
  .detail h2 { font-size: 43px; margin-bottom: 25px; }
  .detail-layout { gap: 30px; }
  .detail-reversed .detail-content, .detail-reversed .detail-visual { order: initial; }
  .detail-visual > img { height: auto; aspect-ratio: auto; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 12px; }
  .feature-box { min-height: 121px; padding: 16px 15px; }
  .feature-icon { width: 40px; height: 40px; margin-bottom: 9px; }
  .feature-icon .icon { width: 20px; height: 20px; }
  .feature-box h3 { font-size: 17px; }
  .feature-box p { font-size: 13px; }
  .process h2 { font-size: 38px; }
  .process-grid { margin-top: 40px; grid-template-columns: 1fr 1fr; row-gap: 25px; }
  .process-item { padding: 25px 18px 5px 0; }
  .process-item:not(:last-child) { margin-right: 6px; }
  .process-item h3 { font-size: 18px; margin-bottom: 8px; }
  .process-item p { font-size: 13px; }
  .faq { padding-top: 73px; padding-bottom: 77px; }
  .faq-topline h2 { font-size: 37px; }
  .faq-item summary { gap: 13px; font-size: 17px; padding: 18px 2px; }
  .faq-answer { margin-left: 35px; padding-bottom: 19px; }
  .contact-section { padding: 76px 0; }
  .contact-layout { gap: 33px; }
  .contact-copy h2 { font-size: 46px; }
  .contact-copy > p:not(.eyebrow):not(.contact-local-note) { font-size: 15px; }
  .contact-form-card { padding: 25px 21px; }
  .footer-main { padding-top: 56px; padding-bottom: 47px; gap: 42px; }
  .footer-branding img { width: 256px; }
  .footer-columns { grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 32px; }
  .footer-column:nth-child(3) { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; line-height: 1.5; }
}
@media (max-width: 390px) {
  .hero { min-height: 710px; }
  .hero-inner { min-height: 710px; }
  .hero-visual img { right: -202px; bottom: -66px; }
  .hero h1 { font-size: 49px; }
  .btn { padding-inline: 15px; }
  .hero-actions { flex-direction: column; }
  .contact-info-item { gap: 10px; font-size: 13px; }
  .contact-info { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal-item { opacity: 1 !important; translate: none !important; }
  .service-card:hover, .service-card:focus-visible, .feature-box:hover,
  .btn:hover, .btn:focus-visible, .btn:hover .icon, .inline-arrow:hover .icon,
  .service-card:hover .service-arrow, .service-card:focus-visible .service-arrow {
    transform: none !important;
  }
  .service-card:hover img, .service-card:focus-visible img { transform: none !important; }
  .service-card:hover, .service-card:focus-visible { box-shadow: 0 12px 28px rgba(27,27,35,.17) !important; }
  .feature-box:hover, .feature-box:focus-within { transform: none !important; box-shadow: 0 9px 20px rgba(27,27,35,.12) !important; }
}


/* Páginas legales — mismo sistema visual de Software Ibiza */
.legal-page{background:#fff;color:#292b31}
.legal-header{background:#fff;border-bottom:1px solid #ececf0}
.legal-head-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:87px}
.legal-brand img{width:180px;height:auto}
.legal-head-inner nav{display:flex;gap:24px;font-size:13px;font-weight:700;color:#43454b}
.legal-head-inner nav a:hover{color:var(--red)}
.legal-main{padding:62px 0 88px;background:linear-gradient(180deg,#fafafa 0,#fff 250px)}
.legal-container{max-width:960px}
.legal-breadcrumb{display:flex;gap:13px;align-items:center;color:#767981;font-size:12px;margin-bottom:50px}
.legal-breadcrumb a{color:var(--red-dark);font-weight:750}
.legal-overline{font-size:11px;font-weight:830;letter-spacing:.22em;color:var(--red);margin-bottom:14px}
.legal-container h1{font-weight:820;letter-spacing:-.052em;font-size:clamp(42px,6vw,64px);margin-bottom:12px}
.legal-date{font-size:12px;color:#7d8087;margin-bottom:34px}
.legal-article{background:#fff;border:1px solid #e8e8ec;box-shadow:0 16px 42px rgba(0,0,0,.035);border-radius:14px;padding:clamp(22px,4.5vw,54px)}
.legal-article h2{font-size:clamp(20px,2.5vw,26px);letter-spacing:-.03em;margin:33px 0 12px}
.legal-article h2:first-child{margin-top:0}
.legal-article p{font-size:14px;line-height:1.9;color:#484b52;margin-bottom:16px}
.legal-article a{color:var(--red-dark);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal-facts{display:grid;gap:0;margin:21px 0 29px;border:1px solid #e6e6ea;border-radius:10px;overflow:hidden}
.legal-facts div{padding:12px 16px;display:grid;grid-template-columns:185px minmax(0,1fr);gap:15px;border-bottom:1px solid #e9e9ed;font-size:13px}
.legal-facts div:last-child{border-bottom:0}
.legal-facts dt{font-weight:750;color:#22252c}
.legal-facts dd{margin:0;overflow-wrap:anywhere;color:#52555c}
.legal-table-wrap{overflow-x:auto;border:1px solid #e6e6ea;border-radius:10px;margin:22px 0}
.legal-table{border-collapse:collapse;width:100%;min-width:550px;font-size:13px;line-height:1.6}
.legal-table th{text-align:left;color:#181a20;background:#f4f4f6;font-weight:750}
.legal-table th,.legal-table td{padding:13px 16px;border-bottom:1px solid #ebebee}
.legal-table tr:last-child td{border-bottom:0}
.legal-table code{color:#be121b}
.legal-more{margin:30px 0 0;font-size:13px;font-weight:760;color:var(--red-dark)}
.legal-footer{background:#1d1d1e;color:#cacad0;padding:26px 0}
.legal-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;font-size:12px}
.legal-footer-inner nav{display:flex;gap:22px;flex-wrap:wrap}
.legal-footer a:hover{color:#fff}
@media(max-width:600px){.legal-head-inner{min-height:70px}.legal-brand img{width:142px}.legal-head-inner nav{font-size:12px;gap:15px}.legal-main{padding:39px 0 64px}.legal-breadcrumb{margin-bottom:36px}.legal-facts div{grid-template-columns:1fr;gap:3px}.legal-footer-inner{align-items:flex-start;flex-direction:column}}
