﻿/* ============================================
   Websoft DigiNet — shared stylesheet
   ============================================ */

:root {
  --bg: #F5F6FA;
  --panel: #FFFFFF;
  --ink: #12142B;
  --muted: #565A75;
  --primary: #4F5DFF;
  --primary-dark: #3A46D6;
  --teal: #17C3B2;
  --amber: #FFB020;
  --line: #E2E4EE;
  --max: 1160px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk';
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);

}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links > li { position: relative; }

.nav-links a.top-link {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a.top-link:hover,
.nav-links li.active > a.top-link {
  border-color: var(--primary);
  color: var(--primary);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18,20,43,0.08);
  min-width: 220px;
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 3px;
}
.dropdown li a:hover { background: var(--bg); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

@media (max-width: 900px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: 12px;
  }
  .nav-links > li.open .dropdown { display: block; }
  .menu-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); max-width: 18ch; }
.page-hero p { margin-top: 1px; max-width: 55ch; color: var(--muted); font-size: 1.05rem; }
.page-hero .accent-shape {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(79,93,255,0.16), rgba(23,195,178,0.06));
  z-index: 0;
}
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
section { padding: 14px 0; }
section.tight { padding: 56px 0; }
.alt-bg { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 2rem; max-width: 20ch; }
.section-head p { max-width: 42ch; color: var(--muted); font-size: 0.98rem; }

/* ---------- Service list (avoids generic card-kit look) ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.service-row h3 { font-size: 1.3rem; }
.service-row .tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
}
.service-row p { color: var(--muted); max-width: 60ch; margin-top: 6px; }
.service-row ul { margin-top: 14px; padding-left: 18px; color: var(--muted); font-size: 0.94rem; }
.service-row ul li { margin-bottom: 4px; }

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 10px; }
}
 section Head Aditional Pages
.section-head {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  background-color: blue;
}
.section-head h2 { font-size: 2rem; max-width: 20ch; }
.section-head p { max-width: 42ch; color: var(--muted); font-size: 0.99rem; font-family:Space Grotesk; }

/* ---------- Industry grid ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.industry-card img { height: 160px; object-fit: cover; width: 100%; }
.industry-card .body { padding: 20px; }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.industry-card p { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 980px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.portfolio-item {
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  display: block;
  position: relative;
}
.portfolio-item .thumb {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
}
.portfolio-item img { height: 260px; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item .info { padding: 22px 24px 26px; }
.portfolio-item h3 { font-size: 1.15rem; }
.portfolio-item p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.portfolio-item .visit { margin-top: 12px; font-size: 0.85rem; color: var(--primary); font-weight: 600; }

@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 16px 32px rgba(79,93,255,0.14);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.price-card h3 { font-size: 1.2rem; }
.price-card .tagline { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.price-card .amount { margin-top: 18px; font-family: 'Space Grotesk', sans-serif; font-size: 2.1rem; }
.price-card .amount span { font-size: 0.95rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.price-card .old-price { text-decoration: line-through; color: var(--muted); font-size: 1rem; margin-right: 8px; }
.price-card ul {
  list-style: none;
  margin: 24px 0;
  flex: 1;
}
.price-card ul li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
}
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}
.price-card .support-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
}
.blog-card img { height: 170px; object-fit: cover; }
.blog-card .body { padding: 22px; }
.blog-card .date { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.blog-card h3 { font-size: 1.08rem; margin-top: 8px; }
.blog-card p { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.blog-card a.read { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.stat h3 { font-size: 2.4rem; color: var(--primary); }
.stat p { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 760px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 8px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.field textarea { min-height: 120px; resize: vertical; }

.contact-info-list { list-style: none; margin-bottom: 32px; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-list .ic {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(79,93,255,0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong { display: block; font-size: 0.95rem; }
.contact-info-list span { color: var(--muted); font-size: 0.9rem; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.cta-band h2 { color: #fff; font-size: 2rem; max-width: 16ch; }
.cta-band p { color: #B9BBD6; margin-top: 8px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0D0F22;
  color: #B9BBD6;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid .logo { color: #fff; margin-bottom: 14px; }
.footer-grid p.desc { font-size: 0.9rem; line-height: 1.6; max-width: 32ch; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; font-size: 0.9rem; color: #B9BBD6; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff; font-size: 0.85rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
}
.footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

@media (max-width: 560px) {
  footer.site-footer { padding: 48px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }
  .footer-grid p.desc { max-width: none; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-bottom span:last-child {
    line-height: 1.9;
  }
   
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 36px; margin-bottom: 12px; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
