/* 
  ============================
  ANDRÉS BREG | DESARROLLO WEB
  ============================
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #0A0B0C;
  --bg-secondary: #121418;
  --bg-tertiary: #1A1D24;
  --bg-card: rgba(18, 20, 24, 0.7);

  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  --gradient-primary: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-purple) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
  --gradient-dark: linear-gradient(180deg, #121418 0%, #0A0B0C 100%);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.2);

  /* Fonts */
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;

  /* Layout */
  --container-max: 1200px;
  --header-height: 70px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Light Theme Variables --- */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(99, 102, 241, 0.15);

  --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

h2 .gradient-text {
  display: inline-block;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout Components --- */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

section {
  padding: 100px 0;
  scroll-margin-top: var(--header-height);
}

/* --- Elegant Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(168, 85, 247, 0.4);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

header.scrolled {
  background: rgba(10, 11, 12, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
}

header:has(nav.active) {
  background: rgba(10, 11, 12, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-indigo);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--text-secondary);
}

/* --- Header Actions & Theme Toggle --- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

#cta-header {
  height: 38px;
  padding: 0 1.2rem;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  color: var(--accent-indigo);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.05);
}

.theme-toggle .icon-light {
  display: block;
}

.theme-toggle .icon-moon {
  display: none;
}

body.light-theme .theme-toggle .icon-light {
  display: none;
}

body.light-theme .theme-toggle .icon-moon {
  display: block;
}

/* Light Theme Navigation overrides */
body.light-theme nav a {
  color: var(--text-primary);
}

body.light-theme nav a:hover {
  color: var(--accent-indigo);
}

/* Light Theme Scrolled Header background override */
body.light-theme header.scrolled {
  background: rgba(255, 255, 255, 0.85);
}

body.light-theme header:has(nav.active) {
  background: rgba(255, 255, 255, 0.85);
}

/* Light Theme Form Control override */
body.light-theme .form__control {
  background-color: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: var(--text-primary) !important;
}

body.light-theme .form__control::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

body.light-theme .form__control:focus {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: var(--accent-indigo) !important;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2) !important;
}

/* Light Theme Hero overrides */
body.light-theme .hero__badge {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
}

/* Light Theme Marquee overrides */
body.light-theme .tech-marquee {
  background: #f1f5f9;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: 0;
  box-sizing: border-box;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero__badge i {
  color: var(--accent-emerald);
  font-size: 0.5rem;
  animation: pulse 1.8s infinite;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- Terminal Simulation (Inspiration Omar & Pulsar) --- */
.terminal {
  background: #0d0f12;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(99, 102, 241, 0.05);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.terminal__header {
  background: #14171d;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.terminal__dots {
  display: flex;
  gap: 0.4rem;
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal__dot--red {
  background-color: var(--accent-rose);
}

.terminal__dot--yellow {
  background-color: #eab308;
}

.terminal__dot--green {
  background-color: var(--accent-emerald);
}

.terminal__title {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.terminal__body {
  padding: 1.25rem 1.5rem;
  height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  color: #38bdf8;
  /* Ocean blue code style */
}

.terminal__body::-webkit-scrollbar {
  width: 6px;
}

.terminal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.terminal__line {
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.terminal__comment {
  color: #6B7280;
  /* always muted gray, dark-theme reference */
}

.terminal__prompt {
  color: #c084fc;
  /* purple input */
}

.terminal__output {
  color: #F3F4F6;
  /* always white on dark terminal */
}

.terminal__success {
  color: var(--accent-emerald);
}

.terminal__ready {
  color: var(--accent-emerald);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #F3F4F6;
  /* always white on dark terminal */
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

/* --- Infinite Marquee (Logos) --- */
.tech-marquee {
  background: #090a0b;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
  overflow: hidden;
  position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
  gap: 5rem;
}

.marquee__inner span {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.marquee__inner span:hover {
  color: var(--text-primary);
}

.marquee__inner span i {
  color: var(--accent-indigo);
}

/* --- Solutions Section --- */
#solutions {
  padding-top: 30px;
  padding-bottom: 30px;
}

.solutions__subtitle,
.features__subtitle,
.rates__subtitle,
.model__subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 2rem 2.2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.06);
}

.solution-card__problem {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.solution-card__problem h3,
.advantage-card h3,
.model-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.solution-card__problem h3 {
  margin: 0;
}

.solution-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.solution-card__icon--purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.15);
}

.solution-card__icon--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.15);
}

.solution-card__icon--rose {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.15);
}

.solution-card__divider {
  height: 1px;
  background: var(--border-light);
  margin: 1.25rem 0;
}

.solution-card__solution {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-card__label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  width: fit-content;
}

.solution-card__solution p,
.advantage-card p,
.model-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.solution-card__solution p {
  margin: 0;
}

/* --- Features / Why Partner B2B --- */
#why-me {
  padding-top: 30px;
  padding-bottom: 30px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(99, 102, 241, 0.08), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.04);
}


.card__icon {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.card__icon--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.15);
}

.card__icon--purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.15);
}

.card h3 {
  margin-bottom: 1rem;
}

/* --- Services Grid --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card__tags {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* --- Rates / Pricing --- */
#services,
#rates {
  padding-top: 30px;
  padding-bottom: 30px;
}

.rates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.price-card--featured {
  border-color: var(--accent-indigo);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

/*.price-card--featured::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}*/

.price-card__title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.price-card__desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.price-card__price {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-card__number {
  font-size: 3rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-primary);
}

.price-card__period {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-card__list {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-card__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.price-card__list li i {
  color: var(--accent-emerald);
  font-size: 1.1rem;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.price-card__ideal {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
}

/* --- Modelo de Trabajo Section --- */
#model,
#modelo {
  padding-top: 30px;
  padding-bottom: 30px;
}

.model__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

/* --- FAQs Acordeón --- */
#faq {
  padding-top: 30px;
  padding-bottom: 30px;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq__question i {
  font-size: 1rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq__item.active .faq__question i {
  transform: rotate(45deg);
  color: var(--accent-indigo);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq__item.active .faq__answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq__answer p {
  padding-top: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* --- Contact & Footer --- */
#contact {
  padding-top: 0;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #11141a 0%, #0A0B0C 30%, #0A0B0C 100%);
  position: relative;
}

body.light-theme #contact {
  background: linear-gradient(180deg, #e9eef5 0%, #f8fafc 30%, #f8fafc 100%);
}

/* Integrated Header Hero for Contact Section */
.contact-header {
  width: 100%;
  padding: 3.25rem 2rem 1.75rem;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 80%);
  margin-bottom: 3rem;
}

.contact-header__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

.contact-header__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.2);
  transition: var(--transition-smooth);
}

.contact-header__photo:hover {
  transform: scale(1.04);
  border-color: var(--accent-indigo);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.35);
}

.contact-header__greeting {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.2vw, 1.95rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 5rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact__info h2 {
  text-align: center;
  margin-bottom: 0;
}

.contact__info-body {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact__info-body>p {
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(-10px);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  font-size: 1.6rem;
}

.contact__detail-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact__detail-text p {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
}

/* Glassmorphism Form */
.form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 2.25rem 2.5rem;
  backdrop-filter: blur(10px);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form__control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-s);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form__control::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* active/focus style */
.form__control:focus {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  outline: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.form__control:focus::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

textarea.form__control {
  min-height: 120px;
  resize: vertical;
}

/* Footer bottom */
footer {
  border-top: 1px solid var(--border-light);
  background: #090a0b;
  padding: 3rem 0;
  color: var(--text-muted);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer__links a:hover {
  color: var(--text-secondary);
}

/* --- Animations --- */
@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes scroll-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --- Responsive Adaptability --- */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .solutions__grid,
  .model__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    text-align: center;
  }

  .price-card {
    padding: 2.5rem 1.8rem;
  }

  .form {
    padding: 2rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

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

  .solution-card {
    padding: 1.5rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-header {
    padding: 2.25rem 1rem 1rem;
    margin-bottom: 2rem;
  }

  .contact-header__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .contact-header__photo {
    width: 108px;
    height: 108px;
  }

  .contact-header__greeting {
    white-space: normal;
    font-size: 1.25rem;
  }
}