/* ============================================
   AMIGO AUTOMATION, style.css
   ============================================ */

:root {
  --navy:      #0B1C3D;
  --navy-mid:  #102347;
  --accent:    #E94560;
  --accent-hover: #d63a53;
  --gold:      #F5A623;
  --light-bg:  #F7F8FC;
  --white:     #FFFFFF;
  --text:      #1A202C;
  --text-muted:#5A6478;
  --border:    #E2E8F0;
  --card-bg:   #FFFFFF;
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(11,28,61,0.10);
  --shadow-lg: 0 12px 48px rgba(11,28,61,0.16);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 0.55rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.01em;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar a {
  color: var(--gold);
  font-weight: 500;
  transition: opacity 0.2s;
}
.topbar a:hover { opacity: 0.8; }
.topbar-left,
.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.lang-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.78rem;
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover,
.theme-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  opacity: 1 !important;
}
.lang-toggle .flag,
.theme-toggle .theme-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 12px rgba(11,28,61,0.07);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(11,28,61,0.12);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.logo-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.logo-accent { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-phone {
  font-weight: 600 !important;
  color: var(--navy) !important;
}
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(233,69,96,0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,69,96,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-full { width: 100%; display: block; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- SECTIONS ---- */
.section { padding: 5.5rem 0; }
.section-light { background: var(--light-bg); }
.section-dark  { background: var(--navy); }
.section-contact { background: var(--navy-mid); }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  background: rgba(233,69,96,0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-label.light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--navy);
  padding: 7rem 0 6rem;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(233,69,96,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(245,166,35,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-trust {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  animation: fadeUp 0.7s 0.4s ease both;
}
.trust-item {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  flex: 1;
  min-width: 120px;
}
.trust-item strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.trust-item span {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-top: 0.15rem;
}
.trust-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233,69,96,0.2);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}
.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  flex: 1;
  transition: background 0.25s;
}
.step-card:hover { background: rgba(255,255,255,0.08); }
.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.step-card p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.step-arrow {
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  font-weight: 300;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.stat span {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-visual {
  display: flex;
  justify-content: center;
}
.about-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 360px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.about-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.about-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-sub {
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.contact-icon {
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.contact-item a, .contact-item span {
  font-size: 0.97rem;
  color: var(--white);
}
.contact-item a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
}
.form-disclaimer {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}
.footer-tagline a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-tagline a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .about-visual { justify-content: flex-start; }
  .about-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .topbar { font-size: 0.72rem; gap: 0.5rem; justify-content: center; }
  .topbar-left, .topbar-right { gap: 0.75rem; }
  .navbar { padding: 0 1rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 5rem 0 4rem; }
  .hero-trust { flex-direction: column; }
  .trust-divider { width: 100%; height: 1px; }
  .trust-item { flex-direction: row; gap: 1rem; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .about-stats { flex-wrap: wrap; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .topbar { flex-direction: column; text-align: center; gap: 0.4rem; }
}
