/* SF Multiservices LLC — colores del logo: azul #1B5488, blanco y negro */
:root {
  --blue: #1B5488;
  --blue-dark: #123B61;
  --blue-deep: #0D2C49;
  --blue-soft: #E8EFF6;
  --ink: #111418;
  --text: #2B3138;
  --muted: #5F6B78;
  --line: #DCE3EA;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FA;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(13, 44, 73, .10);
  --title: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ===== Monogram SF (como el logo: S arriba, F cruzada debajo) ===== */
.mono {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1.55em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
}
.mono-s, .mono-f { position: absolute; left: 50%; transform: translateX(-50%); }
.mono-s { top: 0; font-size: 1em; }
.mono-f { top: .52em; font-size: 1em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: var(--title);
  font-size: 21px;
  letter-spacing: .04em;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 19px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); }
.btn-outline { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue-soft); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mono { font-size: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--title); font-size: 30px; letter-spacing: .02em; color: var(--ink); }
.brand-tag { font-family: var(--title); font-size: 11.5px; letter-spacing: .08em; color: var(--blue); margin-top: 3px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--title);
  font-size: 21px;
  letter-spacing: .05em;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { text-decoration: none; border-bottom-color: var(--blue); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--title);
  font-size: 19px;
  letter-spacing: .05em;
  color: var(--muted);
  cursor: pointer;
}
.lang:hover { border-color: var(--blue); }
.lang .sep { color: var(--line); }
.lang [data-lang].active { color: var(--blue); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; padding: 10px;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero (azul con textura, como la tarjeta) ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.08), transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(0,0,0,.18), transparent 50%),
    radial-gradient(ellipse at 60% 10%, rgba(255,255,255,.05), transparent 35%),
    linear-gradient(160deg, #1F5D95 0%, var(--blue) 45%, var(--blue-dark) 100%);
}
.hero::after {
  /* grano suave tipo papel */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-mark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 560px;
  font-family: var(--serif);
  font-size: 360px;
  line-height: 1;
  color: rgba(255,255,255,.07);
  pointer-events: none;
}
.hero-mark .mono-s, .hero-mark .mono-f { position: absolute; left: 50%; transform: translateX(-50%); }
.hero-mark .mono-s { top: 0; }
.hero-mark .mono-f { top: .52em; }

.hero-inner { position: relative; z-index: 1; padding: 88px 20px 72px; max-width: 1160px; }
.eyebrow {
  display: inline-block;
  font-family: var(--title);
  font-size: 19px;
  letter-spacing: .12em;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero-title {
  margin: 0;
  font-family: var(--title);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 132px);
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.hero-services {
  font-family: var(--title);
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 10px 0 18px;
  opacity: .95;
}
.hero-lead { max-width: 560px; font-size: 19px; opacity: .92; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-facts {
  list-style: none;
  margin: 0; padding: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 14px 48px;
  border-top: 1px solid rgba(255,255,255,.22);
  max-width: 720px;
}
.hero-facts li { display: flex; flex-direction: column; line-height: 1.25; }
.hero-facts b { font-family: var(--title); font-weight: 400; font-size: 24px; letter-spacing: .05em; }
.hero-facts span { font-size: 15px; opacity: .8; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.kicker {
  font-family: var(--title);
  font-size: 19px;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--title);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.section-sub { color: var(--muted); font-size: 18px; }

/* ===== Services grid ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue); /* la barra azul de la tarjeta */
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 {
  font-family: var(--title);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: .03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 14px 0 8px;
  text-transform: uppercase;
}
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.icon {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--blue-soft);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 32px; padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--blue-soft);
}
.cta-strip p { margin: 0; font-size: 18px; color: var(--ink); font-weight: 600; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1F5D95, var(--blue-dark));
  color: var(--white);
  border-radius: 14px;
  padding: 44px 28px 34px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-mono {
  position: relative;
  width: 1em; height: 1.55em;
  margin: 0 auto 18px;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: var(--white);
}
.about-mono .mono-s, .about-mono .mono-f { position: absolute; left: 50%; transform: translateX(-50%); }
.about-mono .mono-s { top: 0; }
.about-mono .mono-f { top: .52em; }
.about-name { font-family: var(--title); font-size: 42px; letter-spacing: .03em; line-height: 1; margin: 0; }
.about-role { font-family: var(--title); font-size: 26px; letter-spacing: .1em; opacity: .8; margin: 4px 0 0; }
.about-text p { font-size: 18px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ===== Referrals ===== */
.referrals { background: var(--blue); color: var(--white); text-align: center; padding: 54px 0; }
.referrals-title {
  font-family: var(--title);
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: .03em;
  line-height: 1;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.referrals p:last-child { max-width: 560px; margin: 0 auto; font-size: 18px; opacity: .9; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-row { display: flex; gap: 16px; }
.info-row b {
  display: block;
  font-family: var(--title);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .05em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}
.info-row a, .info-row span { display: block; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.map {
  margin-top: 36px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Contact form ===== */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 14px;
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: var(--title);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.form-sub { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #C9D3DD;
  border-radius: 6px;
  padding: 11px 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 84, 136, .18);
}
.field.invalid input, .field.invalid textarea { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-msg { margin: 0 0 12px; font-size: 15px; font-weight: 600; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.err { color: #B03A2E; }
.form-msg.ok {
  color: #1E6B3A;
  background: #E8F5EC;
  border-radius: 6px;
  padding: 12px 14px;
}

/* ===== Footer ===== */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.8); padding: 44px 0 30px; font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .mono { font-size: 28px; color: var(--white); }
.footer-name { font-family: var(--title); font-size: 26px; letter-spacing: .04em; color: var(--white); margin: 0; line-height: 1; }
.footer-tag { font-family: var(--title); font-size: 15px; letter-spacing: .08em; margin: 4px 0 0; }
.disclaimer { max-width: 820px; margin: 0; line-height: 1.5; opacity: .85; }
.copy { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); opacity: .7; }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: none; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-card { max-width: 380px; }
  .contact { grid-template-columns: 1fr; }
  .hero-mark { opacity: .7; right: -80px; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .call-top span { display: none; }
  .call-top { width: 44px; padding: 0; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 6px 20px 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .header-actions { margin-left: auto; }
  .wa-float { display: grid; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; height: 64px; }
  .nav { top: 64px; }
  .brand .mono { font-size: 24px; }
  .brand-name { font-size: 25px; }
  .brand-tag { display: none; }
  .lang { padding: 0 9px; }
  .hero-inner { padding: 56px 16px 52px; }
  .hero-mark { font-size: 240px; width: 240px; right: -90px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { gap: 14px 28px; }
  .section { padding: 64px 0; }
  .cta-strip { padding: 20px; }
  .cta-strip .btn { width: 100%; }
  .contact-btns .btn { flex: 1 1 auto; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px 18px 20px; }
  .map { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
