/* ============================================================
   Convergent Cloud Computing — site.css v4.2
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary:      #0066cc;
  --primary-dark: #004499;
  --text-dark:    #1a1a1a;
  --text-light:   #666;
  --bg-light:     #f5f7fa;
  --bg-white:     #ffffff;
  --border:       #e0e0e0;
  --success:      #22c55e;
  --warn:         #f59e0b;
  --danger:       #ef4444;
  --nav-h:        64px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }


/* ============================================================
   HEADER & NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0,0,0,.07);
  height: var(--nav-h);
}
.navbar { height: 100%; }

.nav-wrapper {
  height: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}

/* LOGO */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700;
  color: var(--primary); text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
}
.logo img { height: 38px; width: auto; flex-shrink: 0; }

/* DESKTOP NAV */
.nav-menu {
  display: flex; list-style: none;
  align-items: center; gap: 1.4rem;
  flex-wrap: nowrap;
}
.nav-link {
  text-decoration: none; color: var(--text-dark);
  font-weight: 500; font-size: .875rem;
  white-space: nowrap; transition: color .2s;
}
.nav-link:hover { color: var(--primary); }

/* Language toggle */
.lang-toggle {
  display: inline-flex; gap: 2px;
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px; flex-shrink: 0;
}
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  font-weight: 700; font-size: .75rem;
  padding: 4px 10px; border-radius: 4px;
  color: #888; transition: all .2s;
}
.lang-btn.active { background: var(--primary); color: #fff; }
.lang-btn:not(.active):hover { color: var(--primary); }

/* HAMBURGER — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; padding: 6px; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--text-dark); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE NAV  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

  .hamburger { display: flex; }

  .nav-menu {
    /* full-width dropdown panel below header */
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: auto; max-height: calc(100dvh - var(--nav-h));
    background: var(--bg-white);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 0;
    overflow-y: auto;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    /* collapsed by default */
    transform: translateY(-110%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-menu li:last-child { border-bottom: none; }

  /* plain nav links */
  .nav-menu li a.nav-link {
    display: block;
    padding: .9rem 1.5rem;
    font-size: 1rem; font-weight: 500;
    color: var(--text-dark);
  }
  .nav-menu li a.nav-link:hover { background: var(--bg-light); color: var(--primary); }

  /* lang toggle item inside mobile menu */
  .nav-menu li.nav-lang-item {
    padding: .9rem 1.5rem;
    display: flex; align-items: center;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #fff; padding: 100px 0; text-align: center;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem; font-weight: 800; line-height: 1.2;
}
.hero-subtitle {
  font-size: clamp(.95rem, 2.5vw, 1.2rem);
  margin-bottom: 2rem;
  max-width: 700px; margin-left: auto; margin-right: auto; opacity: .95;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.hero-tagline { font-size: 1rem; font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; padding: 12px 32px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
  transition: all .3s; border: none; cursor: pointer; font-size: 1rem;
}
.btn-hero-primary  { background: #fff; color: var(--primary); }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,.2); }
.btn-hero-secondary { background: transparent; color: #fff; border: 2px solid white; }
.btn-hero-secondary:hover { background: #fff; color: var(--primary); }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff;
  display: block; text-align: center; padding: 13px 32px;
}
.btn-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,102,204,.35);
}
.btn-submit:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-blue-outline {
  background: var(--primary); color: #fff; border: none;
  padding: 10px 24px; border-radius: 6px; cursor: pointer;
  font-size: .9rem; font-weight: 600; transition: background .2s;
}
.btn-blue-outline:hover { background: var(--primary-dark); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700; text-align: center;
  margin-bottom: 1rem; color: var(--text-dark);
}
.section-subtitle {
  text-align: center; color: var(--text-light);
  font-size: 1.05rem; margin-bottom: 3rem;
  max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 80px 0; background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem; text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out,
              border-color .3s, box-shadow .3s;
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(0,102,204,.12);
  transform: translateY(-4px) !important;
}
.service-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: block; color: var(--primary); stroke-width: 1.5;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.service-card p  { color: var(--text-light); line-height: 1.7; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { padding: 80px 0; background: var(--bg-light); }
.partners-container { margin-top: 3rem; }
.partner-group      { margin-bottom: 3rem; }
.partner-group > h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1.25rem;
}
.partner-logo {
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem 1rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; min-height: 120px; text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.partner-logo:hover {
  border-color: var(--primary); box-shadow: 0 8px 16px rgba(0,0,0,.1);
}
.partner-logo img {
  max-width: 110px; max-height: 38px;
  object-fit: contain;
  filter: grayscale(100%); transition: filter .3s;
}
.partner-logo:hover img { filter: grayscale(0%); }
.partner-name { font-size: .8rem; font-weight: 700; color: var(--text-dark); }
.partner-role { font-size: .7rem; color: var(--text-light); }
.partner-badge-pend {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  background: rgba(245,158,11,.1); color: #b45309;
  border: 1px solid rgba(245,158,11,.3);
  padding: 2px 7px; border-radius: 999px;
}

.partners-note {
  background: #fff; border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem; border-radius: 0 8px 8px 0; margin-top: 1.5rem;
}
.partners-note p { color: var(--text-light); line-height: 1.8; font-size: .9rem; }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { padding: 80px 0; background: var(--bg-white); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.75rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out,
              border-color .3s, background .3s, box-shadow .3s;
}
.solution-card.visible { opacity: 1; transform: translateY(0); }
.solution-card:hover {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,.1);
}
.solution-card h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--primary); font-weight: 700; }
.solution-card ul { list-style: none; }
.solution-card li {
  padding: .45rem 0; color: var(--text-light);
  border-bottom: 1px solid var(--border); font-size: .875rem;
}
.solution-card li:last-child { border-bottom: none; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { padding: 80px 0; background: var(--bg-light); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.why-us-item {
  background: #fff; border-radius: 10px; padding: 2rem;
  text-align: center; border: 1px solid transparent;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out,
              border-color .3s, box-shadow .3s;
}
.why-us-item.visible { opacity: 1; transform: translateY(0); }
.why-us-item:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(0,102,204,.1);
  transform: translateY(-2px) !important;
}
.why-us-icon { width: 52px; height: 52px; margin: 0 auto 1rem; color: var(--primary); }
.why-us-item h3 { font-size: 1.05rem; margin-bottom: .75rem; font-weight: 700; }
.why-us-item p  { color: var(--text-light); font-size: .875rem; line-height: 1.7; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 80px 0; background: #fff; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; align-items: start; margin-top: 3rem;
}
.process-step {
  text-align: center; background: var(--bg-light);
  padding: 2rem; border-radius: 8px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out,
              background .3s, box-shadow .3s;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step:hover {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 24px rgba(0,102,204,.3);
  transform: none;
}
.step-number {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  margin: 0 auto 1rem; transition: background .3s, color .3s;
}
.process-step:hover .step-number { background: #fff; color: var(--primary); }
.process-step h3 { margin-bottom: .5rem; font-weight: 700; transition: color .3s; }
.process-step p  { color: var(--text-light); font-size: .875rem; transition: color .3s; }
.process-step:hover h3, .process-step:hover p { color: rgba(255,255,255,.92); }

.process-arrow {
  display: none; text-align: center;
  font-size: 1.5rem; color: var(--primary); align-self: center;
}
@media (min-width: 769px) { .process-arrow { display: block; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 80px 0; background: var(--bg-light); }
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 3rem; align-items: start;
}
.contact-info h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-light); font-size: .9375rem; line-height: 1.75; }
.contact-details { margin: 1.75rem 0; }
.contact-item { margin-bottom: 1.5rem; }
.contact-item strong {
  display: block; color: var(--primary); margin-bottom: .375rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.contact-item p { color: var(--text-light); font-size: .875rem; margin: .2rem 0; }
.contact-item a { color: var(--primary); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* Form */
.contact-form {
  background: #fff; padding: 2rem; border-radius: 10px;
  border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; margin-bottom: .4rem;
  font-weight: 600; font-size: .8rem; color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
  background: #fff; color: var(--text-dark);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,.1);
}
.form-group textarea { resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.input-ok  { border-color: var(--success) !important; background: #f0fdf4 !important; }
.input-err { border-color: var(--danger)  !important; background: #fef2f2 !important; }
.field-error { color: var(--danger); font-size: .75rem; margin-top: .3rem; font-weight: 600; }
.field-hint  { color: #94a3b8; font-size: .72rem; margin-top: .3rem; line-height: 1.5; }

/* Email */
.email-wrap { position: relative; }
.email-wrap input { padding-right: 86px; }
.email-icons {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 6px;
}

/* DNS badges */
.dns-panel { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.dns-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; border: 1px solid; transition: all .3s;
}
.dns-pass { color: #16a34a; background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.3); }
.dns-fail { color: #94a3b8; background: #f8fafc; border-color: #e2e8f0; }
.dns-dot  { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* Identity images */
.identity-row {
  display: none;
  align-items: flex-end; gap: 1.25rem;
  flex-wrap: wrap; margin-top: .75rem;
}
.identity-col { text-align: center; }
.identity-label {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #94a3b8; margin-bottom: .3rem;
}
.identity-img {
  width: 42px; height: 42px; border-radius: 8px;
  border: 1.5px solid var(--border); object-fit: cover;
  cursor: zoom-in; display: block;
  transition: transform .35s; transform-origin: left center;
}
.identity-img:hover { transform: scale(4.5); z-index: 999; position: relative; }
.identity-x {
  width: 42px; height: 42px; border-radius: 8px;
  border: 1.5px solid #fca5a5; background: #fef2f2;
  display: flex; align-items: center; justify-content: center;
  color: var(--danger); font-size: 1.1rem; font-weight: 700;
}

.domain-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; border: 1px solid;
}
.badge-verified { color: #16a34a; background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.3); }
.badge-partial  { color: #d97706; background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.3); }

/* Website preview */
.website-wrap { display: flex; gap: .75rem; align-items: center; }
.website-wrap input { flex: 1; min-width: 0; }
.site-thumb {
  width: 52px; height: 40px; border-radius: 6px;
  border: 1.5px solid var(--border); object-fit: cover;
  cursor: zoom-in; flex-shrink: 0;
  transition: transform .35s; transform-origin: right center;
}
.site-thumb:hover { transform: scale(5); z-index: 999; position: relative; }

/* CRI */
.cri-block {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: 8px; padding: .875rem 1rem; margin-bottom: 1.25rem;
}
.cri-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-light); margin-bottom: .5rem;
}
.cri-val { font-weight: 800; }
.cri-track { height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-bottom: .3rem; }
.cri-fill  { height: 100%; border-radius: 999px; transition: width .6s ease, background .4s; }
.cri-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }

.desc-meta { display: flex; justify-content: space-between; font-size: .7rem; color: #94a3b8; margin-top: .35rem; }
.form-privacy { text-align: center; font-size: .75rem; color: #94a3b8; margin-top: .75rem; line-height: 1.6; }

/* Thanks */
.thanks-inner { text-align: center; padding: 1rem 0; }
.thanks-check {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(0,102,204,.08); border: 2px solid rgba(0,102,204,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary); margin: 0 auto 1.5rem; font-weight: 700;
}
.thanks-inner h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; }
.thanks-inner p  { color: var(--text-light); line-height: 1.7; margin-bottom: .75rem; }
.thanks-steps {
  background: #f8fafc; border-radius: 8px;
  padding: 1rem 1.25rem; margin: 1rem 0; text-align: left;
}
.thanks-step-label {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: .4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #1a1a1a; color: #999; padding: 3rem 0 1rem; }
.footer-content {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-section h4  { color: #fff; margin-bottom: 1rem; font-size: .9375rem; font-weight: 700; }
.footer-section p   { margin-bottom: .5rem; line-height: 1.65; font-size: .875rem; }
.footer-section a   { color: #888; text-decoration: none; transition: color .2s; font-size: .875rem; }
.footer-section a:hover { color: var(--primary); }
.footer-section ul  { list-style: none; }
.footer-section li  { margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 1.75rem;
  text-align: center; color: #555; font-size: .8rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero       { padding: 60px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .services, .partners, .solutions,
  .why-us, .process, .contact { padding: 56px 0; }
  .services-grid, .solutions-grid, .why-us-grid { grid-template-columns: 1fr; }
  .partners-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-steps  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@keyframes spin { to { transform: rotate(360deg); } }
