/* =========================================================
   Douglas & Morgan — Enterprise Modern Design (Full Edition)
   Colors: White / Orange / Black
   Accent: #ff5e37
   ========================================================= */

/* ---------- Root / Theme (Google Enterprise Palette) ---------- */
:root {
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --panel: #ffffff;
  --panel2: #f1f3f4;
  --text: #202124;
  --muted: #5f6368;
  --muted2: #70757a;
  --line: #dadce0;

  --accent: #ff5e37;
  --accent2: #e54d2a;
  --accent-soft: rgba(255, 94, 55, 0.08);

  --shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow2: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);

  --radius: 8px;
  --radius2: 12px;
  --maxw: 1180px;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: 0.2s ease; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Small Utilities ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.w100 { width: 100%; }
.hr { height: 1px; background: var(--line); margin: 24px 0; }

.top-glow {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  z-index: 9999;
  opacity: 0.9;
}

/* =========================================================
   NAVBAR (Google SaaS Style)
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 94, 55, 0.2);
}

.brand-text {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
}

.brand-white { color: var(--text); }
.brand-orange { color: var(--accent); }

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

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a {
  padding: 14px;
  border-radius: 8px;
  background: var(--bg-subtle);
  font-weight: 500;
  color: var(--text);
}

.mobile-menu.show { display: flex; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 100px;
  background: #fff;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 94, 55, 0.1);
}

.pill .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 94, 55, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 94, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 94, 55, 0); }
}

h1 {
  margin: 0 0 24px;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #1a1a1a;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.stat-num { font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 500; }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

/* =========================================================
   FORMS
   ========================================================= */
.mini-form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

input::placeholder { color: #9aa0a6; }

.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-note { font-size: 13px; margin-top: 8px; }
.form-note.ok { color: #1e8e3e; font-weight: 500; }
.form-note.bad { color: #d93025; font-weight: 500; }

/* =========================================================
   LOGO STRIP / CAROUSEL (RESTAURADO)
   ========================================================= */
.logo-strip {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9aa0a6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
}

.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  font-size: 20px;
  font-weight: 700;
  color: #bdc1c6;
  white-space: nowrap;
  transition: color 0.3s;
}

.logo-item:hover { color: var(--accent); }

/* =========================================================
   SECTIONS / CARDS
   ========================================================= */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-subtle); }

.section-head { margin-bottom: 50px; text-align: center; }
.section-head h2 { font-size: 40px; margin: 0 0 16px; letter-spacing: -1px; }
.section-head p { font-size: 18px; color: var(--muted); max-width: 700px; margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow2);
}

.card h3 { font-size: 20px; margin: 0 0 12px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.bullets { margin: 20px 0 0; padding-left: 20px; color: var(--muted); }
.bullets li { margin-bottom: 8px; }

/* Highlight Box / Chips */
.highlight-box {
  background: var(--accent-soft);
  padding: 32px;
  border-radius: var(--radius2);
  border-left: 4px solid var(--accent);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* =========================================================
   REVEAL ANIMATION (JS INTEGRADO)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 80px 0 40px;
  background: #202124;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a { color: #9aa0a6; margin-left: 24px; font-size: 14px; }
.footer-links a:hover { color: #fff; }

/* =========================================================
   RESPONSIVE (GOOGLE OPTIMIZED)
   ========================================================= */
@media (max-width: 1024px) {
  h1 { font-size: 48px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-stats { max-width: 500px; margin: 40px auto; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 32px; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .hero-cta .btn { width: 100%; }
  .stat-card { padding: 12px; }
  .stat-num { font-size: 22px; }
}