/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1ec8ff;
  --yellow:  #f7c200;
  --green:   #22e87a;
  --dark:    #060e1f;
  --dark2:   #0a1628;
  --dark3:   #0d1f3c;
  --mid:     #112244;
  --text:    #d4e4f7;
  --text-dim:#7a9cc0;
  --white:   #ffffff;
  --radius:  14px;
  --shadow:  0 4px 32px rgba(30,200,255,.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { color: var(--white); }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--blue); }

/* === HEADER === */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,14,31,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30,200,255,.1);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logo-block { display: flex; align-items: center; gap: 10px; }
.logo-icon svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600; font-size: 1.25rem;
  letter-spacing: .06em; color: var(--white);
  line-height: 1.1; display: block;
}
.logo-text strong { color: var(--blue); font-weight: 700; }
.logo-sub { font-size: .68rem; color: var(--text-dim); display: block; letter-spacing: .04em; }
.header-cta {
  display: flex; align-items: center; gap: 7px;
  background: var(--blue); color: var(--dark);
  font-weight: 700; font-size: .88rem;
  padding: 8px 18px; border-radius: 999px;
  white-space: nowrap; transition: .2s; flex-shrink: 0;
}
.header-cta svg { width: 15px; height: 15px; }
.header-cta:hover { background: #fff; }

/* === HERO === */
.hero {
  min-height: 100svh;
  position: relative; display: flex; align-items: center;
  overflow: hidden; padding: 90px 20px 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.earth-layer { position: absolute; left: 0; right: 0; }
.layer-1 { bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, #1a3a0a 70%, #2a5010); opacity: .45; }
.layer-2 { bottom: 8%; height: 28%; background: linear-gradient(180deg, transparent, #3a2a00); opacity: .35; }
.layer-3 { bottom: 0; height: 55%; background: radial-gradient(ellipse at 50% 120%, #1e3a5a 0%, transparent 60%); }

.drill-anim {
  position: absolute; right: 8%; top: 8%;
  display: flex; flex-direction: column; align-items: center;
  animation: drillDown 3.5s ease-in-out infinite alternate;
}
@keyframes drillDown { 0% { transform: translateY(0); } 100% { transform: translateY(35px); } }
.drill-shaft {
  width: 16px; height: 180px;
  background: linear-gradient(180deg, #444 0%, #888 50%, #444 100%);
  border-radius: 4px 4px 0 0; position: relative;
}
.drill-shaft::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.1) 0px, rgba(255,255,255,.1) 7px, transparent 7px, transparent 14px);
}
.drill-tip {
  width: 0; height: 0;
  border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 28px solid #999;
  animation: spinTip .35s linear infinite;
}
@keyframes spinTip { to { transform: rotate(360deg); } }
.water-spray {
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,200,255,.45) 0%, transparent 70%);
  animation: splash 1.4s ease-in-out infinite; margin-top: -8px;
}
@keyframes splash { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.7); opacity: 1; } }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: 0;
  background: rgba(30,200,255,.22); border-radius: 50%;
  animation: rise 4s ease-in infinite;
}
@keyframes rise { 0% { transform: translateY(0); opacity: .7; } 100% { transform: translateY(-80vh) scale(1.4); opacity: 0; } }

.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(30,200,255,.1); border: 1px solid rgba(30,200,255,.28);
  color: var(--blue); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700; line-height: 1.0;
  color: var(--white); letter-spacing: .03em;
  margin-bottom: .7rem;
}
.hero-accent { color: var(--blue); display: block; }
.hero-accent-sm { color: var(--text-dim); font-size: .65em; display: block; font-weight: 600; letter-spacing: .06em; }
.hero-sub { font-size: 1.02rem; color: var(--text-dim); margin-bottom: 2rem; max-width: 460px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
  background: rgba(30,200,255,.07);
  border: 1px solid rgba(30,200,255,.18);
  border-radius: 10px; padding: 10px 16px; text-align: center;
}
.badge-num { display: block; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.badge-lbl { font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--dark);
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  border: none; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-primary svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,200,255,.35); }
.btn-primary.small { padding: 11px 20px; font-size: .9rem; }
.btn-primary.big   { padding: 17px 32px; font-size: 1.08rem; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.22); transition: .2s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-secondary.small { padding: 10px 18px; font-size: .88rem; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: var(--white);
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; transition: .2s;
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover { background: #1eb855; transform: translateY(-2px); }
.btn-whatsapp.small { padding: 11px 20px; font-size: .9rem; }
.btn-whatsapp.big   { padding: 17px 32px; font-size: 1.08rem; }

.pulse-btn { animation: pulseGlow 2.2s ease-in-out infinite; }
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(30,200,255,.5); }
  50%      { box-shadow: 0 0 0 14px rgba(30,200,255,0); }
}

/* === TICKER === */
.ticker-wrap { background: var(--blue); overflow: hidden; padding: 9px 0; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 28s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track span {
  color: var(--dark); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 0 22px; border-right: 2px solid rgba(0,0,0,.13);
}

/* === SECTION EYEBROW / TITLE === */
.section-eyebrow {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue);
  margin-bottom: .4rem; display: block;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--white); letter-spacing: .03em;
  line-height: 1.1; margin-bottom: 2.5rem;
}

/* === SERVICII === */
.servicii { padding: 80px 0 60px; background: var(--dark2); }
.servicii-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.serviciu-card {
  background: var(--dark3);
  border: 1px solid rgba(30,200,255,.1);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .3s, box-shadow .3s;
}
.serviciu-card:hover { border-color: rgba(30,200,255,.35); box-shadow: var(--shadow); }
.card-icon {
  width: 54px; height: 54px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card-icon.water  { background: rgba(30,200,255,.1); }
.card-icon.yellow { background: rgba(247,194,0,.1); }
.card-icon.green  { background: rgba(34,232,122,.1); }
.card-icon svg { width: 34px; height: 34px; }
.serviciu-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 1.3rem;
  color: var(--white); letter-spacing: .04em;
  margin-bottom: 8px;
}
.serviciu-card p { font-size: .92rem; color: var(--text-dim); line-height: 1.65; }

/* === CONTENT SECTIONS (poza-text alternating) === */
.content-section { padding: 70px 0; }
.bg-dark  { background: var(--dark); }
.bg-dark2 { background: var(--dark2); }

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.content-row.reverse { direction: rtl; }
.content-row.reverse > * { direction: ltr; }

.content-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.4);
  border: 1px solid rgba(30,200,255,.08);
}
.content-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}
.content-img:hover img { transform: scale(1.03); }

.content-text { display: flex; flex-direction: column; gap: 0; }
.content-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--white); letter-spacing: .03em;
  line-height: 1.1; margin-bottom: 1rem;
}
.content-text p { color: var(--text-dim); font-size: .95rem; margin-bottom: .9rem; }
.content-text p:last-of-type { margin-bottom: 1.4rem; }

.check-list { margin-bottom: 1.4rem; }
.check-list li {
  padding: 7px 0; font-size: .92rem; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.check-list li:last-child { border: none; }

.cta-inline-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* === CTA BAND === */
.cta-band {
  padding: 70px 0;
  background: linear-gradient(135deg, #0a2040 0%, #0d1f3c 50%, #112244 100%);
  border-top: 3px solid rgba(30,200,255,.18);
  border-bottom: 3px solid rgba(30,200,255,.18);
  margin-top: 0;
}
.cta-band-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.cta-band-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--white); letter-spacing: .03em; line-height: 1.1; margin-bottom: .4rem;
}
.cta-band-text p { color: var(--text-dim); font-size: .95rem; }
.cta-band-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* === CONTACT === */
.contact { padding: 80px 0; background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; width: 38px; text-align: center; }
.contact-item strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--white); font-size: 1rem; font-weight: 500; }
.contact-item a:hover { color: var(--blue); }

.contact-form-wrap {
  background: var(--dark3); border: 1px solid rgba(30,200,255,.1);
  border-radius: var(--radius); padding: 30px;
}
.form-group { margin-bottom: 14px; }
.contact-form label {
  display: block; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-dim); margin-bottom: 5px;
}
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  padding: 11px 14px; color: var(--white);
  font-family: 'Barlow', sans-serif; font-size: .94rem; transition: .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: rgba(30,200,255,.05);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: .76rem; color: var(--text-dim); text-align: center; margin-top: 8px; }
.form-success-msg {
  text-align: center; color: var(--green); font-weight: 600;
  padding: 24px; background: rgba(34,232,122,.07);
  border-radius: 8px; border: 1px solid rgba(34,232,122,.2);
}

/* === FOOTER === */
footer {
  background: #020810; padding: 44px 0 24px;
  border-top: 1px solid rgba(30,200,255,.07);
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 28px;
}
.footer-logo .logo-text { font-size: 1.1rem; }
.footer-sub { font-size: .7rem; color: var(--text-dim); display: block; margin-top: 2px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: .87rem; color: var(--text-dim); transition: .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 18px; text-align: center;
  color: var(--text-dim); font-size: .77rem;
}

/* === FLOATING BUTTONS === */
.float-call {
  position: fixed; bottom: 24px; left: 20px; z-index: 999;
  width: 58px; height: 58px;
  background: var(--blue); color: var(--dark);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(30,200,255,.5);
  animation: vibrateCss 2.8s ease-in-out infinite;
}
.float-call svg { width: 25px; height: 25px; }
@keyframes vibrateCss {
  0%,85%,100% { transform: rotate(0deg); }
  87% { transform: rotate(-14deg); }
  89% { transform: rotate(14deg); }
  91% { transform: rotate(-9deg); }
  93% { transform: rotate(9deg); }
  95% { transform: rotate(-4deg); }
  97% { transform: rotate(4deg); }
}
.float-wa {
  position: fixed; bottom: 24px; right: 20px; z-index: 999;
  width: 58px; height: 58px;
  background: #25d366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: .2s;
}
.float-wa svg { width: 29px; height: 29px; }
.float-wa:hover { transform: scale(1.1); }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === GDPR === */
#gdpr-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark3); border-top: 1px solid rgba(30,200,255,.13);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--text-dim);
}
#gdpr-ok {
  background: var(--blue); color: var(--dark);
  border: none; padding: 7px 18px; border-radius: 999px;
  font-weight: 700; cursor: pointer; font-size: .84rem;
}

/* === RESPONSIVE === */
@media (max-width: 820px) {
  /* Grid → coloana singulă */
  .content-row { grid-template-columns: 1fr; gap: 24px; }
  .content-row.reverse { direction: ltr; }

  /* Pe mobil imaginile nu mai au height fix — se afișează complet */
  .content-img img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center center;
  }

  /* Padding consistent între secțiuni pe tabletă */
  .content-section { padding: 52px 0; }

  /* CTA band mai aerisit */
  .cta-band { padding: 52px 0; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-btns { justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .alt-row { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .drill-anim { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; justify-content: center; }
  .servicii-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .header-cta { font-size: .8rem; padding: 7px 13px; }

  /* Servicii mai compact */
  .servicii { padding: 56px 0 44px; }

  /* Text content mai aerat */
  .content-text h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .hero { padding: 76px 16px 44px; }

  /* Imagini pe telefon: 4:3 — mai puțin tăiate */
  .content-img img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  /* Padding uniform mic pe toate secțiunile */
  .content-section { padding: 40px 0; }
  .servicii { padding: 44px 0 32px; }
  .contact { padding: 48px 0; }
  .cta-band { padding: 40px 0; }

  /* Buton CTA band centrat și full */
  .cta-band-btns { flex-direction: column; align-items: center; width: 100%; }
  .cta-band-btns .btn-primary,
  .cta-band-btns .btn-whatsapp { width: 100%; justify-content: center; }

  /* Floating buttons mai sus față de marginea de jos */
  .float-call { bottom: 90px; }
  .float-wa   { bottom: 90px; }

  #gdpr-banner { flex-direction: column; text-align: center; padding-bottom: 100px; }

  /* Form mai compact */
  .contact-form-wrap { padding: 22px 16px; }

  /* Inline CTA buttons pe coloană */
  .cta-inline-btns { flex-direction: column; }
  .cta-inline-btns a { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
