/*
Theme Name: CyberZorro
Theme URI: https://cyberzorro.com/
Author: CyberZorro
Author URI: https://cyberzorro.com/
Description: A clean, modern Twenty Twenty-Five child theme for CyberZorro technology services.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyberzorro
Template: twentytwentyfive
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, featured-images, wide-blocks
*/

:root {
  --cz-blue: #155eef;
  --cz-blue-dark: #073b78;
  --cz-green: #16a66a;
  --cz-ink: #101828;
  --cz-muted: #475467;
  --cz-mist: #f4f8fc;
  --cz-white: #ffffff;
  --cz-border: #dfe7ef;
  --cz-shadow: 0 18px 50px rgba(16, 24, 40, .09);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { text-underline-offset: .18em; }

.cz-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  box-shadow: 0 8px 30px rgba(16, 24, 40, .04);
  backdrop-filter: blur(14px);
}

.admin-bar .cz-site-header { top: 32px; }
.cz-header-inner { min-height: 78px; }
.cz-header-logo img { display: block; width: auto; height: 54px; object-fit: contain; }
.cz-brand-group { min-width: min(245px, 48vw); }
.cz-brand-group .wp-block-site-title { margin: 0; font-size: 1.35rem; font-weight: 800; }
.cz-brand-group:has(.custom-logo-link) .wp-block-site-title { display: none; }
.cz-site-header .wp-block-navigation-item__content { font-weight: 650; }
.cz-site-header .wp-block-navigation-item__content:hover { color: var(--cz-blue); }
.cz-header-right { margin-left: auto; gap: .2rem !important; align-items: flex-end !important; }
.cz-primary-navigation { margin-left: auto; }
.cz-header-social { margin: 0; }
.cz-header-social .cz-share-strip { min-height: 0; justify-content: flex-end; gap: .35rem; padding: 0; }
.cz-header-social .cz-share-label { font-size: .62rem; }
.cz-header-social .cz-share-button { width: 24px; height: 24px; }
.cz-header-social .cz-share-button svg { width: 12px; height: 12px; }

.cz-hero {
  min-height: clamp(560px, 70vh, 720px);
  overflow: hidden;
  background-image: url("assets/images/cyberzorro-hero.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cz-hero .wp-block-cover__image-background { object-position: center center; }
.cz-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 35, 73, .20), transparent 52%);
}
.cz-hero .wp-block-cover__inner-container { z-index: 2; }
.cz-hero-copy { max-width: 690px; }
.cz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.1rem;
  padding: .5rem .9rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cz-eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #38d996; box-shadow: 0 0 0 .25rem rgba(56,217,150,.18); }
.cz-hero h1 { max-width: 760px; margin: 0; text-wrap: balance; }
.cz-hero p { max-width: 630px; }
.cz-hero .wp-block-button__link { min-width: 150px; text-align: center; }
.cz-button-secondary .wp-block-button__link { border-color: rgba(255,255,255,.74) !important; color: #fff !important; }
.cz-button-secondary .wp-block-button__link:hover { background: #fff !important; color: var(--cz-blue-dark) !important; }

.cz-trust-strip { position: relative; z-index: 5; margin-top: -38px !important; }
.cz-trust-strip > .wp-block-group { box-shadow: var(--cz-shadow); }
.cz-trust-item { min-width: 190px; }
.cz-trust-dot { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #eaf2ff; color: var(--cz-blue); font-weight: 800; }

.cz-section-kicker { color: var(--cz-blue); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cz-section-title { text-wrap: balance; }
.cz-service-grid { align-items: stretch !important; }
.cz-service-card {
  height: 100%;
  border: 1px solid var(--cz-border);
  border-radius: 20px;
  background: var(--cz-white);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cz-service-card:hover { transform: translateY(-5px); border-color: #b9cdfa; box-shadow: var(--cz-shadow); }
.cz-service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #e9f1ff, #e9fff5);
  color: var(--cz-blue);
  font-size: 1.05rem;
  font-weight: 850;
}
.cz-service-card p { color: var(--cz-muted); }
.cz-accent-card { border-top: 4px solid var(--cz-green); }

.cz-about-panel { border-radius: 28px; overflow: hidden; }
.cz-check-list { list-style: none; padding-left: 0; }
.cz-check-list li { position: relative; margin: .8rem 0; padding-left: 2rem; }
.cz-check-list li::before { content: "✓"; position: absolute; left: 0; top: -.05rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #dcfaec; color: #087a4c; font-size: .78rem; font-weight: 900; }
.cz-process-number { color: var(--cz-green); font-size: 2.3rem; font-weight: 850; line-height: 1; }
.cz-contact-card { border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.07); }
.cz-contact-link { color: #fff; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 750; text-decoration: none; }
.cz-contact-link:hover { color: #8ff0c1; }
.cz-site-footer { border-top: 1px solid var(--cz-border); }

.cz-share-region {
  border-top: 1px solid var(--cz-border);
  border-bottom: 1px solid var(--cz-border);
  background: rgba(244, 248, 252, .96);
}
.cz-share-top { box-shadow: 0 8px 24px rgba(16, 24, 40, .035); }
.cz-share-bottom { border-bottom: 0; background: var(--cz-white); }
.cz-share-strip {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .45rem 1rem;
}
.cz-share-label {
  margin: 0 .25rem 0 0;
  color: var(--cz-muted);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cz-share-button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #ccd8e5;
  border-radius: 50%;
  background: var(--cz-white);
  color: var(--cz-blue-dark);
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: transform .16s ease, color .16s ease, border-color .16s ease, background .16s ease;
}
.cz-share-button svg { width: 14px; height: 14px; fill: currentColor; }
.cz-share-button:hover { transform: translateY(-2px); border-color: var(--cz-blue); background: var(--cz-blue); color: var(--cz-white); }
.cz-share-button:focus-visible { outline: 3px solid rgba(22,166,106,.32); outline-offset: 2px; }
.cz-share-button.is-copied { border-color: var(--cz-green); background: var(--cz-green); color: var(--cz-white); }
.cz-share-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cz-back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: var(--cz-blue);
  box-shadow: 0 6px 18px rgba(7, 59, 120, .24);
  color: var(--cz-white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.cz-back-to-top:hover { transform: translateY(-2px); background: var(--cz-green); color: var(--cz-white); }
.cz-back-to-top:focus-visible { outline: 3px solid #8ff0c1; outline-offset: 3px; }

.wp-block-button__link { transition: transform .18s ease, background .18s ease, color .18s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }

@media (max-width: 782px) {
  .admin-bar .cz-site-header { top: 46px; }
  .cz-header-inner { min-height: 68px; }
  .cz-header-logo img { height: 44px; max-width: 220px; }
  .cz-header-right { gap: .15rem !important; }
  .cz-header-social .cz-share-label { display: none; }
  .cz-header-social .cz-share-button { width: 23px; height: 23px; }
  .cz-hero { min-height: 680px; }
  .cz-hero .wp-block-cover__image-background { object-position: 61% center; }
  .cz-hero .wp-block-cover__background { opacity: .72 !important; }
  .cz-hero::after { background: linear-gradient(180deg, rgba(4,35,73,.45), rgba(4,35,73,.25)); }
  .cz-trust-strip { margin-top: 0 !important; }
  .cz-trust-strip > .wp-block-group { border-radius: 0 !important; }
  .cz-back-to-top { right: 12px; bottom: 12px; width: 32px; height: 32px; font-size: 17px; }
  .cz-share-strip { min-height: 42px; gap: .4rem; }
  .cz-share-label { font-size: .68rem; }
  .cz-share-button { width: 27px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
