/* Fajardo Service Center (FSC) – Stylesheets */
/* Optimized for performance & maintainability */

:root {
  --ink: #0b1220;
  --muted: #475569;
  --muted2: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg2: #f7fafc;
  --bg3: #f1f5f9;

  /* Fajardo-like palette (teal / aquamarin + deep blue + warm accent) */
  --brand: #0ea5a4;      /* teal */
  --brand2: #0b5ea8;     /* deep blue */
  --accent: #f59e0b;     /* warm gold */
  --accent2: #fb7185;    /* optional subtle rose */
  --ok: #16a34a;

  --shadow: 0 18px 48px rgba(2,6,23,.12);
  --shadow2: 0 10px 28px rgba(2,6,23,.10);
  --radius: 18px;
  --radius2: 26px;
  --max: 1180px;
}

/* ============ RESET & BASE ============ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

/* ============ LAYOUT ============ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 20px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 999;
}

/* ============ TOPBAR / NAVIGATION ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brandlink {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: conic-gradient(from 210deg, var(--brand2), var(--brand), #78d8b2, var(--accent));
  box-shadow: 0 12px 26px rgba(2, 6, 23, .14);
  position: relative;
  isolation: isolate;
}

.mark:before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  clip-path: polygon(0 18%, 66% 18%, 100% 0, 100% 100%, 0 100%);
  opacity: .92;
}

.brandtext strong {
  display: block;
  letter-spacing: .10em;
  font-weight: 900;
}

.brandtext span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

.links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.links a:hover {
  background: var(--bg2);
  color: var(--ink);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .07);
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: white;
}

.btn.primary:hover {
  filter: brightness(.98);
  transform: translateY(-1px);
}

.btn.ghost:hover {
  background: var(--bg2);
}

/* ============ HERO ============ */
header.hero {
  position: relative;
  background:
    radial-gradient(1200px 520px at 15% 5%, rgba(14, 165, 164, .18), transparent 55%),
    radial-gradient(920px 480px at 75% 0%, rgba(11, 94, 168, .20), transparent 55%),
    radial-gradient(820px 520px at 80% 80%, rgba(245, 158, 11, .14), transparent 55%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 164, .18), transparent 60%);
  transform: rotate(12deg);
  filter: blur(0px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  padding: 60px 0 46px;
  align-items: center;
}

.kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11, 94, 168, .88);
}

h1 {
  margin: 10px 0 14px;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
  margin: 0 0 18px;
}

.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
}

.dot.warn {
  background: var(--accent);
}

.dot.brand {
  background: var(--brand);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid rgba(245, 158, 11, .55);
  padding: 10px 12px;
  background: rgba(255, 255, 255, .72);
  border-radius: 14px;
}

/* ============ CARDS ============ */
.card {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
}

.hero-card h3 {
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.clean {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.clean li {
  margin: 9px 0;
  padding-left: 22px;
  position: relative;
}

.clean li:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  position: absolute;
  left: 0;
  top: 7px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 16px;
  background: var(--bg2);
}

.stat b {
  display: block;
  font-size: 18px;
}

.stat small {
  color: var(--muted2);
  font-weight: 650;
}

/* ============ SECTIONS ============ */
section {
  padding: 58px 0;
  scroll-margin-top: 90px;
}

section.alt {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 32px;
  margin: 0 0 10px;
  letter-spacing: -.02em;
}

.sub {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 78ch;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.box {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, .95);
  background: var(--bg);
  box-shadow: 0 10px 24px rgba(2, 6, 23, .05);
}

.box h3 {
  margin: 0 0 8px;
}

.box p {
  margin: 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 164, .12);
  border: 1px solid rgba(14, 165, 164, .22);
  color: rgba(11, 94, 168, .95);
}

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: var(--bg);
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(14, 165, 164, .12);
  color: var(--brand2);
  margin-bottom: 10px;
  font-weight: 950;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ============ PRICING ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, .95);
  background: var(--bg);
}

.price.featured {
  border-color: rgba(14, 165, 164, .45);
  box-shadow: 0 18px 52px rgba(2, 6, 23, .14);
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  background: rgba(245, 158, 11, .16);
  color: #8a4b00;
  border: 1px solid rgba(245, 158, 11, .25);
}

.amount {
  font-size: 36px;
  letter-spacing: -.02em;
  margin: 8px 0 6px;
}

.amount small {
  font-size: 14px;
  color: var(--muted2);
  font-weight: 750;
}

.price .btn {
  width: 100%;
  margin-top: 14px;
}

.hint {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 12px;
}

/* ============ TRUST/PARTNER STRIP ============ */
.strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid rgba(226, 232, 240, .95);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.chip svg {
  width: 16px;
  height: 16px;
  opacity: .8;
}

/* ============ FAQ ============ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

details {
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: var(--bg);
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 950;
  user-select: none;
}

summary:hover {
  color: var(--brand);
}

details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* ============ CONTACT FORM ============ */
.contact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}

.form {
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 22px;
  background: var(--bg);
}

label {
  display: block;
  font-weight: 900;
  font-size: 13px;
  margin: 12px 0 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, .95);
  background: var(--bg3);
  outline: none;
  font: inherit;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, .1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.fine {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 10px;
  border-left: 3px solid rgba(14, 165, 164, .35);
  padding: 10px 12px;
  background: rgba(255, 255, 255, .74);
  border-radius: 14px;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 28px 0;
}

.foot {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: color 0.2s ease;
}

.foot a:hover {
  color: var(--ink);
}

.small {
  color: var(--muted);
  font-size: 13px;
  max-width: 92ch;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 46px 0 36px;
  }

  h1 {
    font-size: 40px;
  }

  .grid3,
  .pricing {
    grid-template-columns: 1fr;
  }

  .grid2,
  .contact,
  .faq {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .links {
    display: none;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 34px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 40px 0 30px;
  }

  section {
    padding: 40px 0;
  }
}
