/* Sibi Cloud · portada nova (direcció A). Tot sota .sc perquè no xoqui amb BeTheme. */
html, body.sc-body { margin: 0; padding: 0; background: #F5F8F7; }
.sc { font-family: Inter, system-ui, -apple-system, sans-serif; color: #1D2B29; background: #F5F8F7; -webkit-font-smoothing: antialiased; line-height: 1.5; }
.sc *, .sc *::before, .sc *::after { box-sizing: border-box; }
.sc h1, .sc h2, .sc h3, .sc p, .sc ul, .sc ol { margin: 0; padding: 0; }
.sc ul, .sc ol { list-style: none; }
.sc a { color: #16958C; text-decoration: none; }
.sc a:hover { color: #0F6F69; }
.sc img { max-width: 100%; height: auto; display: block; }
.sc h1, .sc h2, .sc h3 { font-family: Outfit, Inter, sans-serif; color: inherit; letter-spacing: -0.02em; }
.sc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sc-kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #16958C; margin-bottom: 14px; }

/* botons */
.sc-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.sc .sc-btn-primary { background: #45D2C9; color: #0F1A19; }
.sc .sc-btn-primary:hover { background: #6BDDD5; color: #0F1A19; }
.sc .sc-btn-ghost { border: 1px solid rgba(232,241,240,.3); color: #fff; }
.sc .sc-btn-ghost:hover { border-color: #45D2C9; color: #fff; }
.sc .sc-btn-amber { background: #FFB547; color: #0F1A19; flex: none; }
.sc .sc-btn-amber:hover { background: #FFC56F; color: #0F1A19; }

/* hero */
.sc-hero { position: relative; overflow: hidden; background: #0F1A19; color: #E8F1F0; }
.sc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-hero .sc-wrap { position: relative; }
.sc-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 0; border-bottom: 1px solid rgba(232,241,240,.12); }
.sc-logo img { height: 52px; width: auto; }
.sc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.sc .sc-nav > a { color: #E8F1F0; }
.sc .sc-nav > a:hover { color: #45D2C9; }
.sc-langs { display: inline-flex; gap: 10px; font-size: 14px; }
.sc .sc-langs a { color: #A7BDB9; }
.sc .sc-langs a[aria-current] { color: #fff; font-weight: 600; }
.sc-suport { position: relative; }
.sc-suport summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(69,210,201,.6); color: #45D2C9; font-weight: 600; }
.sc-suport summary::-webkit-details-marker { display: none; }
.sc-suport-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 220px; background: #16302D; border: 1px solid rgba(69,210,201,.3); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.sc .sc-suport-menu a { color: #E8F1F0; padding: 12px 14px; border-radius: 10px; }
.sc .sc-suport-menu a:hover { background: rgba(69,210,201,.12); color: #fff; }
.sc-hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 96px 0 120px; }
.sc-hero-text { flex: 1 1 520px; min-width: 0; }
.sc-kicker-dot { display: inline-flex; align-items: flex-start; gap: 10px; color: #45D2C9; margin-bottom: 22px; }
.sc-kicker-dot::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #45D2C9; }
.sc-hero h1 { font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.03em; color: #fff; }
.sc-hero h1 span { color: #45D2C9; }
.sc-lead { margin-top: 28px !important; max-width: 560px; font-size: 19px; line-height: 1.6; color: #C2D4D1; }
.sc-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.sc-badges { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 56px !important; font-size: 14px; color: #A7BDB9; }
.sc-badges li { display: flex; align-items: center; gap: 8px; }
.sc-badges svg { color: #45D2C9; }
.sc-panel { flex: 1 1 380px; min-width: 0; max-width: 460px; background: rgba(22,48,45,.78); border: 1px solid rgba(69,210,201,.28); border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.sc-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-family: Outfit, sans-serif; font-weight: 600; font-size: 18px; color: #fff; }
.sc-pill { font-family: Inter, sans-serif; font-weight: 500; font-size: 13px; color: #45D2C9; background: rgba(69,210,201,.12); padding: 6px 12px; border-radius: 999px; }
.sc-panel-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(15,26,25,.6); border-radius: 14px; margin-top: 12px; }
.sc-panel-row svg { color: #45D2C9; flex: none; }
.sc-panel-row span { flex: 1; font-size: 15px; color: #E8F1F0; }
.sc-panel-row small { font-size: 13px; color: #A7BDB9; }
.sc-panel > p { margin-top: 20px; font-size: 13px; color: #A7BDB9; }

/* serveis */
.sc-services { padding-top: 112px; padding-bottom: 96px; }
.sc-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.sc-section-head > div { max-width: 640px; }
.sc-section-head a { font-weight: 600; }
.sc h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
.sc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.sc-card { background: #fff; border: 1px solid #E1ECEA; border-radius: 22px; padding: 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sc-card:hover { transform: translateY(-4px); border-color: #A9E5DF; box-shadow: 0 24px 48px -28px rgba(15,26,25,.35); }
.sc-card-ico { width: 56px; height: 56px; border-radius: 16px; background: #DAF4F1; color: #16958C; display: grid; place-items: center; }
.sc-card h3 { margin: 22px 0 10px; font-size: 22px; font-weight: 600; }
.sc-card p { font-size: 16px; line-height: 1.6; color: #4F625F; }

/* per què */
.sc-why { background: #fff; border-top: 1px solid #E1ECEA; border-bottom: 1px solid #E1ECEA; }
.sc-why-grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.sc-why-grid > div { flex: 1 1 460px; min-width: 0; }
.sc-why h2 { margin-bottom: 32px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; }
.sc-photo { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; display: grid; place-items: center; padding: 48px;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%), #45D2C9; }
.sc-photo img { width: 80%; }
.sc-photo-real { padding: 0; background: #E3EEEC; }
.sc-photo-real img { width: 100%; height: 100%; object-fit: cover; }
.sc-points { display: flex; flex-direction: column; gap: 26px; }
.sc-points li { display: flex; gap: 18px; }
.sc-points li > span { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #0F1A19; color: #45D2C9; display: grid; place-items: center; font-family: Outfit, sans-serif; font-weight: 700; }
.sc-points h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; font-family: Inter, sans-serif; }
.sc-points p { line-height: 1.6; color: #4F625F; }

/* facturaonline */
.sc-fo-wrap { padding-top: 96px; padding-bottom: 96px; }
.sc-fo { border-radius: 28px; padding: 56px; background: #0E5E4E; color: #fff; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.sc-fo > div { flex: 1 1 520px; min-width: 0; }
.sc-fo .sc-kicker { color: #FFC266; }
.sc-fo h2 { font-size: clamp(28px, 3.2vw, 44px); }
.sc-fo p:last-child { margin-top: 18px; max-width: 560px; font-size: 17px; line-height: 1.6; color: #D3EDE6; }

/* contacte */
.sc-contact { background: #0F1A19; color: #E8F1F0; }
.sc-contact-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 96px; padding-bottom: 96px; }
.sc-contact-grid > div { flex: 1 1 440px; min-width: 0; }
.sc-contact h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); }
.sc-contact h2 span { color: #45D2C9; }
.sc-contact-p { margin-top: 18px !important; max-width: 460px; font-size: 17px; line-height: 1.6; color: #C2D4D1; }
.sc-contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 36px !important; font-size: 18px; }
.sc-contact-list li { display: flex; align-items: center; gap: 12px; }
.sc-contact-list svg { color: #45D2C9; flex: none; }
.sc .sc-contact-list a { color: #fff; font-weight: 600; }
.sc-contact-list span { color: #C2D4D1; font-size: 16px; }
.sc-form { background: #16302D; border: 1px solid rgba(69,210,201,.25); border-radius: 24px; padding: 32px; }
.sc-form p { margin-bottom: 16px; }
.sc-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #C2D4D1; }
.sc-form .wpcf7-form-control-wrap { display: block; }
.sc-form input[type=text], .sc-form input[type=email], .sc-form input[type=tel], .sc-form textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid #335652; background: #0F1A19; color: #fff; padding: 12px 14px; font: inherit; font-size: 16px; }
.sc-form textarea { min-height: 120px; resize: vertical; }
.sc-form input:focus, .sc-form textarea:focus { outline: 2px solid #45D2C9; outline-offset: 1px; border-color: #45D2C9; }
.sc-form .wpcf7-acceptance label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; }
.sc-form .wpcf7-acceptance input { margin-top: 3px; accent-color: #45D2C9; width: 18px; height: 18px; }
.sc .sc-form .wpcf7-acceptance a { color: #45D2C9; text-decoration: underline; }
.sc-form .wpcf7-list-item { margin: 0; }
.sc-form input[type=submit] { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #45D2C9; color: #0F1A19; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.sc-form input[type=submit]:hover { background: #6BDDD5; }
.sc-form .wpcf7-spinner { display: none; }
.sc-form .wpcf7-not-valid-tip { color: #FF9B8A; font-size: 13px; margin-top: 4px; }
.sc-form .wpcf7-response-output { margin: 8px 0 0 !important; border-radius: 12px; padding: 12px 14px !important; font-size: 14px; color: #E8F1F0; }
.sc-footer { border-top: 1px solid rgba(232,241,240,.12); }
.sc-footer-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: #A7BDB9; }
.sc-footer-row img { height: 40px; width: auto; }
.sc .sc-footer-row a { color: #A7BDB9; }
.sc .sc-footer-row a:hover { color: #fff; }

@media (max-width: 767px) {
  .sc-wrap { padding: 0 20px; }
  .sc-logo img { height: 44px; }
  .sc-nav { gap: 6px 18px; font-size: 14px; }
  .sc-hero-grid { padding: 56px 0 72px; gap: 40px; }
  .sc-lead { font-size: 17px; }
  .sc-badges { margin-top: 36px !important; }
  .sc-services { padding-top: 72px; padding-bottom: 64px; }
  .sc-section-head { margin-bottom: 32px; }
  .sc-cards { grid-template-columns: 1fr; }
  .sc-why-grid, .sc-contact-grid { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .sc-fo-wrap { padding-top: 64px; padding-bottom: 64px; }
  .sc-fo { padding: 32px 24px; }
  .sc-form { padding: 24px 20px; }
  .sc-suport-menu { right: auto; left: 0; }
}
@media (prefers-reduced-motion: reduce) { .sc-card { transition: none; } .sc-card:hover { transform: none; } }

/* ===== Pàgines interiors ===== */
.sc .sc-nav > a[aria-current] { color: #45D2C9; }
.sc-hero-inner .sc-hero-grid { padding: 72px 0 88px; }
.sc-hero-grid-solo { padding-bottom: 72px !important; }
.sc-hero-inner h1 { font-size: clamp(36px, 4.6vw, 60px); }
.sc-hero-media { flex: 1 1 420px; min-width: 0; max-width: 540px; }
.sc-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid rgba(69,210,201,.28); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }

/* targetes enllaçades */
a.sc-card { display: block; position: relative; color: #1D2B29; }
.sc a.sc-card:hover { color: #1D2B29; }
.sc-card-more { position: absolute; top: 32px; right: 28px; color: #16958C; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
a.sc-card:hover .sc-card-more, a.sc-card:focus-visible .sc-card-more { opacity: 1; transform: none; }
.sc-card-static:hover { transform: none; box-shadow: none; border-color: #E1ECEA; }
@media (min-width: 1100px) { .sc-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-cards-4 .sc-card { padding: 28px; }

/* altres serveis */
.sc-others { padding-top: 80px; padding-bottom: 80px; }
.sc-others h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 28px; }
.sc-others-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sc a.sc-other { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid #E1ECEA; border-radius: 18px; color: #1D2B29; font-family: Outfit, sans-serif; font-size: 19px; font-weight: 600; background: #F5F8F7; transition: border-color .2s, background .2s; }
.sc a.sc-other:hover { border-color: #45D2C9; background: #fff; color: #1D2B29; }
.sc-other > span:nth-child(2) { flex: 1; }
.sc-other > svg { color: #16958C; }
.sc-other .sc-card-ico { width: 48px; height: 48px; border-radius: 14px; }

/* franja CTA final */
.sc-cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.sc-cta-band > div:first-child { flex: 1 1 480px; min-width: 0; }
.sc-cta-band .sc-ctas { margin-top: 0; }
.sc-footer-row { gap: 12px 24px; }
.sc-footer-info { flex: 1 1 auto; text-align: center; }

/* contacte */
.sc-contact-page { padding-top: 72px; padding-bottom: 96px; }
.sc-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 40px; }
.sc a.sc-ccard { display: flex; align-items: center; gap: 16px; padding: 22px; background: #fff; border: 1px solid #E1ECEA; border-radius: 20px; color: #1D2B29; font-weight: 600; font-size: 17px; }
.sc a.sc-ccard:hover { border-color: #45D2C9; color: #1D2B29; }
.sc-ccard small { display: block; font-size: 13px; font-weight: 500; color: #4F625F; margin-bottom: 2px; }
.sc-contact-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.sc-contact-split > * { flex: 1 1 440px; min-width: 0; }
.sc-form-light { background: #fff; border: 1px solid #E1ECEA; }
.sc-form-light h2 { font-size: 30px; margin-bottom: 6px; }
.sc-form-intro { color: #4F625F; margin-bottom: 22px !important; }
.sc-form-light label { color: #33474A; }
.sc-form-light input[type=text], .sc-form-light input[type=email], .sc-form-light input[type=tel], .sc-form-light textarea { background: #F5F8F7; color: #1D2B29; border-color: #CFE0DD; }
.sc .sc-form-light .wpcf7-acceptance a { color: #16958C; }
.sc-form-light .wpcf7-not-valid-tip { color: #B3261E; }
.sc-form-light .wpcf7-response-output { color: #1D2B29; }
.sc-map { min-height: 420px; border-radius: 24px; overflow: hidden; border: 1px solid #E1ECEA; background: #E3EEEC; }
.sc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* text llarg */
.sc-text { padding-top: 72px; padding-bottom: 96px; }
.sc-prose { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: #33474A; }
.sc-prose p, .sc-prose ul, .sc-prose ol { margin: 0 0 18px; }
.sc-prose ul { list-style: disc; padding-left: 22px; }
.sc-prose ol { list-style: decimal; padding-left: 22px; }
.sc-prose li { margin-bottom: 8px; }
.sc-prose h2, .sc-prose h3, .sc-prose h4 { font-family: Outfit, sans-serif; color: #1D2B29; letter-spacing: -0.01em; line-height: 1.25; margin: 40px 0 14px; }
.sc-prose h2 { font-size: 30px; } .sc-prose h3 { font-size: 24px; } .sc-prose h4 { font-size: 20px; }
.sc-prose a { text-decoration: underline; word-break: break-word; }
.sc-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.sc-prose th, .sc-prose td { border: 1px solid #E1ECEA; padding: 10px 12px; text-align: left; vertical-align: top; }
.sc-prose details { border: 1px solid #E1ECEA; border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; background: #fff; }

@media (max-width: 767px) {
  .sc-hero-inner .sc-hero-grid { padding: 48px 0 64px; }
  .sc-footer-info { text-align: left; }
  .sc-cta-band { padding-top: 64px; padding-bottom: 64px; }
  .sc-text, .sc-contact-page { padding-top: 48px; padding-bottom: 64px; }
  .sc-prose { font-size: 16px; }
}

/* ===== IA ===== */
.sc-ai-band-wrap { padding-bottom: 96px; }
.sc a.sc-ai-band { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 40px; border-radius: 28px; color: #E8F1F0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(69,210,201,.28), rgba(69,210,201,0) 70%), #0F1A19; border: 1px solid rgba(69,210,201,.3); transition: transform .2s, box-shadow .2s; }
.sc a.sc-ai-band:hover { color: #E8F1F0; transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(15,26,25,.6); }
.sc-ai-ico { flex: none; width: 72px; height: 72px; border-radius: 20px; background: rgba(69,210,201,.14); color: #45D2C9; display: grid; place-items: center; }
.sc-ai-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sc-ai-text .sc-kicker { color: #45D2C9; margin: 0; }
.sc-ai-text strong { font-family: Outfit, sans-serif; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: #fff; }
.sc-ai-text > span:last-child { color: #C2D4D1; font-size: 16px; line-height: 1.55; }
.sc-panel-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sc-panel-head svg { color: #45D2C9; }
.sc-steps-wrap { padding: 0 0 96px; }
.sc-steps-wrap h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 32px; }
.sc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.sc-steps li { background: #fff; border: 1px solid #E1ECEA; border-radius: 20px; padding: 28px; }
.sc-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #0F1A19; color: #45D2C9; font-family: Outfit, sans-serif; font-weight: 700; margin-bottom: 16px; }
.sc-steps h3 { font-size: 20px; margin-bottom: 6px; }
.sc-steps p { color: #4F625F; line-height: 1.55; }
@media (max-width: 767px) { .sc a.sc-ai-band { padding: 28px 22px; } .sc-ai-band-wrap, .sc-steps-wrap { padding-bottom: 64px; } }

/* ===== Menú mòbil ===== */
.sc-burger { display: none; }
@media (max-width: 960px) {
  .sc-header { flex-wrap: wrap; }
  .sc-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; border: 1px solid rgba(232,241,240,.25); border-radius: 14px; background: transparent; cursor: pointer; }
  .sc-burger span { display: block; height: 2px; border-radius: 2px; background: #E8F1F0; transition: transform .2s, opacity .2s; }
  .sc-header.is-open .sc-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sc-header.is-open .sc-burger span:nth-child(2) { opacity: 0; }
  .sc-header.is-open .sc-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sc-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; font-size: 18px; }
  .sc-header.is-open .sc-nav { display: flex; }
  .sc .sc-nav > a { padding: 14px 4px; border-bottom: 1px solid rgba(232,241,240,.1); }
  .sc-langs { padding: 16px 4px 8px; gap: 18px; font-size: 16px; }
  .sc-suport { margin-top: 8px; }
  .sc-suport summary { width: 100%; justify-content: center; min-height: 50px; }
  .sc-suport-menu { position: static; margin-top: 8px; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .sc-burger span { transition: none; } }
