/* ══════════════════════════════════════════════════
   Computer Center – Bootstrap 5 Theme Layer
   Layout comes from Bootstrap. This file is theming only.
   ══════════════════════════════════════════════════ */

:root {
  --cc-navy:      #1e3a8a;
  --cc-primary:   #1e40af;
  --cc-blue:      #3b82f6;
  --cc-sky:       #0ea5e9;
  --cc-accent:    #f97316;
  --cc-gold:      #fbbf24;
  --cc-dark:      #0f172a;
  --cc-text:      #1e293b;
  --cc-muted:     #64748b;
  --cc-border:    #e2e8f0;
  --cc-grad:      linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
}

/* ── Global safety: never allow sideways scroll ── */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

/* Anchor targets land below the fixed navbar */
section[id], header[id] { scroll-margin-top: 76px; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--cc-text);
  background: #f8fafc;
  padding-top: 70px; /* clears the fixed navbar */
}

img { max-width: 100%; height: auto; }

a { text-decoration: none; }

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.cc-navbar {
  background: var(--cc-navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  min-height: 70px;
}

.cc-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  line-height: 1.1;
}

.cc-brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: var(--cc-grad);
  display: grid;
  place-items: center;
  color: #fff;
}

/* ── CC monogram mark ── */
.cc-mark {
  width: 24px;
  height: 22px;
  display: block;
  overflow: visible;
}

.cc-mark-lg {
  width: 33px;
  height: 31px;
}

.cc-brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.3px;
}

.cc-brand-name span { color: var(--cc-gold); }

.cc-brand-tag {
  display: block;
  margin-top: 3px;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

.cc-navbar .nav-link {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  font-size: .95rem;
  padding: .55rem 1rem;
  border-radius: 8px;
}

.cc-navbar .nav-link:hover,
.cc-navbar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.cc-navbar .navbar-toggler {
  border: 1.5px solid rgba(255, 255, 255, .35);
  padding: .35rem .6rem;
}

.cc-navbar .navbar-toggler:focus { box-shadow: none; }

/* Force the three bars white — Bootstrap ships a dark SVG by default */
.cc-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cc-nav-cta {
  background: var(--cc-grad);
  color: #fff !important;
  font-weight: 700;
  padding: .55rem 1.5rem !important;
  border-radius: 8px;
}

.cc-nav-cta:hover {
  background: var(--cc-grad);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(30, 64, 175, .35);
}

/* Collapsed menu panel on small screens */
@media (max-width: 991.98px) {
  .cc-navbar .navbar-collapse {
    background: var(--cc-navy);
    margin: .75rem -.75rem -.5rem;
    padding: .5rem .75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  /* Scroll only once fully open — during .collapsing Bootstrap needs
     overflow:hidden to animate the height, so don't override it there */
  .cc-navbar .navbar-collapse.show {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .cc-navbar .nav-link {
    padding: .8rem 1rem;
    border-radius: 6px;
  }

  .cc-nav-cta {
    margin-top: .5rem;
    text-align: center;
  }
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-cc-primary {
  background: var(--cc-grad);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: .75rem 1.6rem;
  border-radius: 10px;
}

.btn-cc-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 64, 175, .3);
}

.btn-cc-outline {
  background: #fff;
  color: var(--cc-primary);
  font-weight: 600;
  border: 1.5px solid var(--cc-border);
  padding: .75rem 1.6rem;
  border-radius: 10px;
}

.btn-cc-outline:hover {
  color: var(--cc-primary);
  border-color: var(--cc-blue);
  transform: translateY(-2px);
}

.btn-cc-whatsapp {
  background: #e8f8f0;
  color: #10b981;
  font-weight: 600;
  border: 1.5px solid #10b981;
  padding: .75rem 1.6rem;
  border-radius: 10px;
}

.btn-cc-whatsapp:hover {
  background: #10b981;
  color: #fff;
  transform: translateY(-2px);
}

.btn-cc-primary,
.btn-cc-outline,
.btn-cc-whatsapp {
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

/* ══════════════════════════════════════
   SECTION HELPERS
   ══════════════════════════════════════ */
.cc-section { padding: 4.5rem 0; }

.cc-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(30, 64, 175, .08);
  color: var(--cc-primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.cc-title {
  font-weight: 800;
  letter-spacing: -1px;
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  margin-bottom: .75rem;
}

.cc-gradient-text {
  background: var(--cc-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cc-lead {
  color: var(--cc-muted);
  font-size: clamp(.92rem, 2.5vw, 1.05rem);
  max-width: 620px;
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.cc-hero {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.cc-hero h1 {
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  font-size: clamp(1.9rem, 6vw, 3.6rem);
}

.cc-stat-num {
  font-weight: 900;
  color: var(--cc-primary);
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  line-height: 1;
}

.cc-stat-label {
  font-size: clamp(.65rem, 2vw, .75rem);
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--cc-muted);
}

.cc-tile {
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: 14px;
  padding: 1.25rem .75rem;
  text-align: center;
  height: 100%;
  transition: all .25s ease;
}

.cc-tile:hover {
  transform: translateY(-4px);
  border-color: var(--cc-blue);
  box-shadow: 0 12px 28px rgba(30, 64, 175, .12);
}

.cc-tile i {
  font-size: 1.6rem;
  color: var(--cc-blue);
  display: block;
  margin-bottom: .6rem;
}

.cc-tile p {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--cc-text);
  line-height: 1.35;
}

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */
.cc-card {
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: all .25s ease;
}

.cc-card:hover {
  transform: translateY(-5px);
  border-color: var(--cc-blue);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}

.cc-card-num {
  position: absolute;
  top: .5rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(30, 64, 175, .07);
  line-height: 1;
}

.cc-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(30, 64, 175, .09);
  display: grid;
  place-items: center;
  color: var(--cc-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cc-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .55rem;
}

.cc-card p {
  font-size: .88rem;
  color: var(--cc-muted);
  line-height: 1.65;
  margin: 0;
}

.cc-card a { color: var(--cc-primary); font-weight: 600; }

/* ══════════════════════════════════════
   CONTACT PANEL
   ══════════════════════════════════════ */
.cc-contact-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1.75rem 1.5rem;
}

.cc-contact-panel:hover {
  transform: none;
  border-color: var(--cc-border);
  box-shadow: none;
}

.cc-person {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--cc-border);
}

.cc-person .cc-card-icon { flex: 0 0 54px; }

.cc-contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.cc-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}

.cc-contact-list > li > i {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(30, 64, 175, .08);
  display: grid;
  place-items: center;
  color: var(--cc-primary);
  font-size: .95rem;
}

.cc-contact-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--cc-muted);
  margin-bottom: .15rem;
}

.cc-contact-list a {
  color: var(--cc-primary);
  font-weight: 600;
  font-size: .92rem;
}

.cc-contact-list a:hover { text-decoration: underline; }

.cc-contact-text {
  font-size: .9rem;
  color: var(--cc-text);
  line-height: 1.6;
}

.cc-sep { color: var(--cc-border); margin: 0 .2rem; }

/* ══════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════ */
.cc-form .form-control,
.cc-form .form-select {
  background: rgba(30, 64, 175, .05);
  border: 1.5px solid rgba(30, 64, 175, .15);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .95rem;
}

.cc-form .form-control:focus,
.cc-form .form-select:focus {
  background: #fff;
  border-color: var(--cc-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, .12);
}

/* ══════════════════════════════════════
   MAP
   ══════════════════════════════════════ */
.cc-map-wrap {
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  overflow: hidden;
}

.cc-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--cc-border);
}

.cc-map-head h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cc-primary);
}

.cc-map-head p {
  font-size: .88rem;
  color: var(--cc-muted);
  max-width: 46ch;
}

/* Taller on desktop, squarer on phones so the pin stays readable */
.cc-map-frame { --bs-aspect-ratio: 42%; }

@media (max-width: 767.98px) {
  .cc-map-frame { --bs-aspect-ratio: 85%; }

  .cc-map-head {
    padding: 1.1rem 1.15rem;
  }

  .cc-map-head .btn { width: 100%; }
}

/* ══════════════════════════════════════
   FORM: HONEYPOT + STATUS
   ══════════════════════════════════════ */

/* Parked off-screen rather than display:none — bots that are smart
   enough to skip hidden fields still fill this one in. */
.cc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cc-form-status {
  display: none;
  border-radius: 10px;
  padding: .85rem 1.1rem;
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.cc-form-status.is-ok,
.cc-form-status.is-err { display: block; }

.cc-form-status.is-ok {
  background: #e8f8f0;
  border-color: #10b981;
  color: #067a52;
}

.cc-form-status.is-err {
  background: #fdecec;
  border-color: #ef4444;
  color: #b91c1c;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.cc-footer {
  background: var(--cc-dark);
  color: rgba(255, 255, 255, .72);
  padding: 3.5rem 0 1.5rem;
}

.cc-footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.cc-footer a {
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
}

.cc-footer a:hover { color: var(--cc-gold); }

.cc-footer-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
}

.cc-footer-logo span span { color: var(--cc-accent); }

.cc-social {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  color: #fff !important;
  transition: all .25s ease;
}

.cc-social:hover {
  background: var(--cc-grad);
  transform: translateY(-3px);
}

.cc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  font-size: .85rem;
}

/* ══════════════════════════════════════
   FLOATING ACTION BUTTONS
   ══════════════════════════════════════ */
.cc-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.cc-float a {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}

.cc-float a:hover { transform: scale(1.08); color: #fff; }

.cc-float .wa   { background: #25d366; }
.cc-float .call { background: var(--cc-primary); }
.cc-float .mail { background: var(--cc-accent); }

#ccTop {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1030;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: var(--cc-grad);
  color: #fff;
  display: none;
  place-items: center;
  box-shadow: 0 8px 20px rgba(30, 64, 175, .3);
}

#ccTop.show { display: grid; }

/* ══════════════════════════════════════
   SMALL SCREEN TUNING
   ══════════════════════════════════════ */
@media (max-width: 575.98px) {
  body { padding-top: 66px; }

  .cc-section { padding: 3rem 0; }

  .cc-hero { padding: 2.5rem 0 3rem; }

  .cc-card { padding: 1.4rem 1.1rem; }

  .cc-card-num { font-size: 2rem; }

  .cc-card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  .cc-float a {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  #ccTop { width: 42px; height: 42px; }

  .cc-brand-name { font-size: 1rem; }
  .cc-brand-icon { width: 34px; height: 34px; flex: 0 0 34px; font-size: 1rem; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
