@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #17213a;
  --muted: #667085;
  --bg: #f7f9fc;
  --card: #ffffff;
  --primary: #5b4bdb;
  --primary-dark: #4638b5;
  --accent: #ffcc66;
  --line: #e8ebf2;
  --shadows: #092a6c;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}
body.dark-theme {
	color: #0c101c !important;
	background-color: #244371 !important;
	
	nav {
		background-color: rgb(43 66 112) !important;			
	}
	.nav-links {
		color: white !important;
	}
	
	.section-head h2 {
	    /* text-shadow: 2px 2px 8px #8de6ff, -4px -4px 5px #d5d5d5; */
	    color: white;
	    span {text-shadow: 2px 2px 7px #ffffff, -5px -2px 8px #94a1a1;}
	}
	#pret .section-head h2 {
	    text-shadow: 5px 3px 12px #614bd8, -4px -4px 5px #614bd8 !important;
	}
	
	.section-head p {
		color: #d7e4ff !important;
	}
	.card.imagini img:hover {
		box-shadow: 0px 14px 45px 0px rgb(23 13 99) !important;
	}
}
    .btn-dark-theme {
        display: none;
        position: fixed;
        top: 16px;
        right: 45px;
        filter: drop-shadow(2px 4px 7px black);
        background: transparent;
    }
    @media (min-width: 1400px) {
        .btn-dark-theme {display: block;}
    }

a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1120px, 92%);
  margin: auto;
}
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  padding-left: 0 !important;
}
.logo span {
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 650;
  color: #465066;
}
.nav-links a:hover {
  color: var(--primary);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 800;
  transition: 0.2s;
  border: 0;
  cursor: pointer;
}
.logo.btn:hover {
    translate: 2px -2px;
    filter: drop-shadow(2px 4px 8px var(--shadows));
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(91, 75, 219, 0.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-light {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero {
  opacity: 0.9;
  padding: 82px 0 74px;
  background: linear-gradient(135deg, #f8f8ff 0%, #eef3ff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #e8e5ff;
  color: var(--primary);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}
h1 span {
  color: var(--primary);
}
.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(32, 42, 70, 0.1);
}
.math-symbol {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 18px;
}
.hero-card h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
}
.facts {
  display: grid;
  gap: 12px;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.fact:last-child {
  border-bottom: 0;
}
.fact b:last-child {
  color: var(--primary);
  text-align: right;
}
section {
  padding: 82px 0;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--muted);
}
#pret {
    scroll-margin-top: 72px;
    caret-color: transparent;
    user-select: none;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card.imagini {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    min-height: 420px;
    
        h3 {margin-top: 34px;}
}
.card.imagini img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 12px;
    /* flex: stretch; */
    flex: 1;
    transition: transform 0.91s ease, box-shadow 0.3s ease;
}
.card.imagini img:hover {
    cursor: pointer;
    box-shadow: 0px 14px 45px 0px rgba(132, 129, 155, 1); /* 120, 80, 80, 1 */
    transform: scale(1.125); 
}
.service-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.highlight-card {
  background: #f2f0ff;
  border: 1px solid #ddd8ff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(91, 75, 219, 0.1);
  display: flex;
  flex-direction: column;
}
.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.highlight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  min-height: 64px;
}
.highlight-card p {
  color: var(--muted);
  margin-bottom: 18px;
}
.highlight-facts {
  display: grid;
  flex: 1;
  align-content: flex-end;
  gap: 10px;
}
.highlight-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd8ff;
}
.highlight-facts > div:last-child {
  border-bottom: 0;
  min-height: 54px;
}
.highlight-facts b {
  color: var(--primary);
  text-align: right;
  max-width: 160px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.card {
  background: var(--card);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(32, 42, 70, 0.05);
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eeeaff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.card p {
  color: var(--muted);
}
.pricing {
  background: #17213a;
  color: white;
}
.price-box {
  width: 100%;
  max-width: 620px;
  /* height: stretch; */
  margin: auto;
  text-align: center;
  background: #202c49;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 42px 30px;
  border-radius: 26px;
}
.price {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.price small {
  font-size: 1rem;
  color: #cbd2e2;
  font-weight: 650;
}
.price-box p {
  color: #cbd2e2;
  margin: 10px 0 24px;
}
@media (min-width: 799px) {
  .price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    a {
      align-self: center;
    }
  }
}
@media (min-width: 1100px) {
  .price-box p {
    max-width: 285px;
  }
}
.price-box .btn {
  background: rgb(255 203 44); /* #ffba30 sau var(--accent) */
  color: #1d2435;
  text-shadow: 1px 1px 11px #121f6691; /* #1f25a9c2 */
  transition: transform 0.21s ease;
}
.price-box .btn:hover {
  filter: brightness(1.07);
  transform: translateY(-2.5px) scale(1.04);
}
.grades {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.grade {
  background: white;
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
}
.contact {
  background: white;
  scroll-margin-top: 72px;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.contact-info {
  padding: 35px;
  background: #f2f0ff;
  border-radius: 24px;
  border: 1px solid #ece0e0;
  caret-color: transparent;
  user-select: none;
}
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact-info p {
  color: var(--muted);
  margin-bottom: 24px;
}
.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 15px 20px;
  border-radius: 13px;
  font-size: 1.15rem;
  font-weight: 900;
}

#myForm {
    h3 {
        user-select: none;
            & + label {caret-color: transparent;}
    }
    input, select, textarea {
        background-image: linear-gradient(180deg, #ffffff, #ffffff, #4e060614, #614cd936);
    }
    input[type="text"]:focus {
        border: 2px solid #8a2be2;
        background-color: #f5edff;
        outline: none;
        transition: all 0.3s ease;
    }
    input#name:focus {background-color: #6477db42;}
    button {caret-color: transparent;}
}

.placeholderJs::placeholder {color: darkviolet;}

.mini-form {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}
.mini-form h3 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}
label {
  display: block;
  font-weight: 750;
  margin: 13px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #dfe3ec;
  border-radius: 11px;
  font: inherit;
  outline: none;
  background: #fff;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 75, 219, 0.1);
}
textarea {
  min-height: 90px;
  resize: vertical;
}
footer {
  padding: 28px 0;
  background: #11192c;
  color: #b9c1d2;
  text-align: center;
  font-size: 0.92rem;
}
img.sus{
  position: fixed;
  bottom: 42px;
  right: 25px;
  cursor: pointer;
  border: 1px inset #614bd8;
  border-radius: 50%;
  filter: drop-shadow(2px 4px 6px black);
  outline: 2px solid #614bd8;
  outline-offset: -3px;
  opacity: .7;
    &:hover {
        box-shadow: 0 15px 42px var(--primary-dark); /* #112fba; */
        /* filter: none; */
        opacity: 0.93 !important;
        bottom: 45px;
        right: 22px;
    }
    &:active {transform: scale(0.95);}
}
@media (max-width: 798px) {
  .logo {
      padding-right: 0 !important;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }
  .cards,
  .service-highlight-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 62px 0;
  }
}

@media (max-width: 765px) {
  .nav-links {
    display: none;
  }
}

.fundal-animat {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

/* responsive */
@media (max-width: 764px) {
    .nav-links.no-mobi, #navmobi {
        display: none;
    }
    .nav-links.mobi {
        display: block; 
            & > a {font-size: 32px;}
    }
    #navmobi {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
        width: 100vw;
        height: 100vh;
        place-items: center;
        background: #621c5a;
        background: #5d10a5;
        background-image: linear-gradient(black, #5d10a5, black, black);
        padding: 18vh 32px 50vh;
            ul li {
                list-style-type: square;
                padding: 8px 15px;
                font-size: larger;
                    &, & * {color: #edd9d9;}
            }
    }
}


@media (min-width: 765px) {
    .nav-links.no-mobi {display: flex;}
    .nav-links.mobi {display: none !important;}
    #navmobi {display: none !important;}
}