/* -------------------------------------------------------------
   GETECH DOPPLER Website Styles
------------------------------------------------------------- */

:root {
  --bg: #0b0f1a;
  --bg-surface: #111827;
  --bg-alt: #131b2d;
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.74);
  --accent: #ff9f00;
  --accent-2: #2daaff;
  --border: rgba(244, 247, 255, 0.12);
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  line-height: 1.65;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at top, #1d2b4d 0%, #050811 65%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(9, 14, 25, 0.92), rgba(9, 14, 25, 0.76));
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}

.brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: radial-gradient(circle at top, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  padding: 8px;
}

.brand__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  filter: brightness(0.78) contrast(1.05);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero__image:hover {
  transform: scale(1.02);
  filter: brightness(1);
}

.brand__text {
  display: grid;
  gap: 4px;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.2rem;
}

.brand__sub {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: rgba(244, 247, 255, 0.85);
}

.brand__tag {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav__link {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 500;
  color: rgba(244, 247, 255, 0.82);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  background: rgba(255, 159, 0, 0.16);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: rgba(244, 247, 255, 0.8);
  border-radius: 999px;
  display: block;
}

.lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-switch__button {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  color: rgba(244, 247, 255, 0.82);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-switch__button[aria-pressed="true"],
.lang-switch__button:hover {
  background: rgba(255, 159, 0, 0.18);
  border-color: rgba(255, 159, 0, 0.35);
  transform: translateY(-1px);
}

.hero {
  padding: 96px 0 90px;
  min-height: 720px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 15%, rgba(255, 159, 0, 0.35), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(45, 170, 255, 0.18), transparent 65%),
    linear-gradient(155deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.72));
  z-index: 0;
  animation: heroGlow 16s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  50% {
    transform: scale(1.02) translateY(-12px);
    opacity: 0.92;
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
  gap: 46px;
  z-index: 1;
}

.hero__copy {
  max-width: 540px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1;
}

.hero__subtitle {
  margin: 0 0 26px;
  color: rgba(244, 247, 255, 0.78);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  padding: 14px 22px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: rgba(0, 0, 0, 0.88);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.4);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(244, 247, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.hero__media {
  display: grid;
  place-items: center;
  padding: 20px;
}

.hero__card {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(15, 22, 40, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero__card-title {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--accent);
}

.hero__card-text {
  margin: 0;
  color: rgba(244, 247, 255, 0.78);
}

.section {
  padding: 86px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.section--dark {
  background: rgba(0, 0, 0, 0.48);
}

.section__header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: left;
}

.section__header--center {
  text-align: center;
}

.section__header h2 {
  font-size: 2.1rem;
  margin: 0 0 10px;
}

.section__header p {
  margin: 0;
  color: rgba(244, 247, 255, 0.75);
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(18, 25, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.36);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: rgba(244, 247, 255, 0.72);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.service {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(9, 14, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 159, 0, 0.18);
  font-size: 26px;
}

.service h3 {
  margin: 0;
  font-size: 1.2rem;
}

.service p {
  margin: 0;
  color: rgba(244, 247, 255, 0.75);
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 16, 28, 0.72);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.38);
}

.project__image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.project__body {
  padding: 22px;
}

.project__body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.project__body p {
  margin: 0;
  color: rgba(244, 247, 255, 0.7);
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 1fr) 1.3fr;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(18, 25, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.36);
}

.contact-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0 0 16px;
  color: rgba(244, 247, 255, 0.78);
}

.contact-card a {
  color: rgba(255, 255, 255, 0.88);
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(10, 17, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.38);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field {
  display: grid;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(244, 247, 255, 0.78);
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 255, 0.92);
  font: inherit;
}

html[dir="rtl"] .field input,
html[dir="rtl"] .field textarea {
  direction: rtl;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 159, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 159, 0, 0.18);
}

.form-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-hint {
  font-size: 0.88rem;
  color: rgba(244, 247, 255, 0.6);
}

.footer {
  padding: 36px 0;
  background: rgba(7, 10, 16, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  color: rgba(244, 247, 255, 0.72);
  font-size: 0.92rem;
}

.footer__links a:hover {
  color: rgba(255, 159, 0, 0.95);
}

.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.92), rgba(37, 211, 102, 0.68));
  backdrop-filter: blur(10px);
}

.whatsapp-widget a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.whatsapp-widget__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.whatsapp-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .header__inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav {
  direction: rtl;
}

html[dir="rtl"] .hero__copy,
html[dir="rtl"] .section__header,
html[dir="rtl"] .contact-card,
html[dir="rtl"] .contact-form {
  text-align: right;
}

html[dir="rtl"] .lang-switch {
  justify-content: flex-start;
}

@media (max-width: 920px) {

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    margin-bottom: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section__header {
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    inset: 0;
    top: 70px;
    left: 0;
    right: 0;
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    background: rgba(9, 14, 25, 0.92);
    transform: translateY(-140%);
    transition: transform 0.35s ease;
  }

  .nav--open {
    transform: translateY(0);
  }

  .nav__link {
    padding: 12px 14px;
    font-size: 1.1rem;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
