/* FHAM · Identidad premium 2026
   Sobrescribe la presentación sin alterar el contenido ni las funciones de cada página.
*/
:root {
  --bg: #F8F6F1;
  --card: #FFFFFF;
  --txt: #1F1F1F;
  --muted: #675F56;
  --acc: #A6774E;
  --fham-grafito: #1F1F1F;
  --fham-bronce: #A6774E;
  --fham-marfil: #F8F6F1;
  --header-h: 80px;
  --headerH: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--headerH) + 18px); }
body {
  margin:0;
  padding-top: var(--headerH);
  background:var(--bg);
  color:var(--txt);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
section[id] { scroll-margin-top: calc(var(--headerH) + 18px); }
body::before {
  background-image:url('img/fham-isotipo.svg');
  background-repeat:no-repeat;
  background-position:center 60%;
  background-size:min(80vw,610px);
  opacity:.026;
  pointer-events:none;
}
header, #site-header header {
  position:fixed;
  inset:0 0 auto 0;
  width:100%;
  z-index:9998;
  background:#1F1F1F;
  border-bottom:1px solid rgba(166,119,78,.32);
  box-shadow:0 6px 26px rgba(0,0,0,.13);
  backdrop-filter:none;
}
header .container nav, #site-header nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:var(--headerH);
  gap:16px;
  padding:7px 0;
}
header .brand, #site-header .brand {
  display:flex;
  flex:none;
  align-items:center;
  width:182px;
  max-width:182px;
  font-size:initial;
  overflow:visible;
  white-space:normal;
  text-decoration:none;
}
header .brand img { display:block; width:178px; height:66px; object-fit:contain; }
header .links { color:rgba(248,246,241,.8); font-size:12.5px; gap:10px; flex-wrap:wrap; }
header .links > * { padding:0 5px; }
header .links > *:not(:first-child)::before { color:rgba(166,119,78,.55); left:-8px; }
header .links a { color:inherit; text-decoration:none; transition:color .2s ease; }
header .links a:hover, header .links a:focus-visible { color:#E3B98E; }
header .dropdown-menu, header .links .dropdown-menu { background:#262626; border:1px solid rgba(166,119,78,.35); border-radius:8px; }
header .links .dropdown-menu a:hover { color:#fff; background:rgba(166,119,78,.18); }
.menu-btn, header .menu-btn { background:transparent; border:1px solid rgba(248,246,241,.26); color:#F8F6F1; border-radius:8px; }
h1, h2, h3 { color:var(--txt); letter-spacing:-.025em; }
h1 { line-height:1.17; }
h2 { line-height:1.25; }
p { color:var(--muted); line-height:1.65; }
a { text-underline-offset:3px; }
.card, .hero-card, .hero-slide, .benefit, .product-card, .plan-card, .service-card {
  border-color: rgba(31,31,31,.10);
  box-shadow: 0 9px 28px rgba(31,31,31,.035);
}
.card, .hero-card, .hero-slide { border-radius:12px; }
.hero-slide, .hero-card { border-left:3px solid #A6774E; }
.pill { background:rgba(166,119,78,.09); border:1px solid rgba(166,119,78,.24); color:#775030; font-size:14px; letter-spacing:.02em; }
.btn { border-color:rgba(31,31,31,.25); color:#1F1F1F; border-radius:8px; text-decoration:none; transition:background .18s, color .18s, transform .18s, border-color .18s; }
.btn:hover { transform:translateY(-1px); border-color:#A6774E; }
.btn.primary { background:#9D6C43; color:#fff; border:1px solid #9D6C43; }
.btn.primary:hover { background:#785032; border-color:#785032; color:#fff; }
.logo-wrap img { display:block; width:100%; max-width:490px; height:auto; margin-inline:auto; }
.logo-wrap { margin:3px auto 5px; }
.section-title { border-color:rgba(166,119,78,.22); }
.section-title h2::after { background:#A6774E; }
.hero-slider-dot.active { background:#A6774E; }
.check-icon { background:rgba(166,119,78,.13); border-color:rgba(166,119,78,.28); }
.check-icon path { stroke:#A6774E; }
.features-pro { border-left-color:rgba(166,119,78,.35); }
.feature-text { color:#514C46; }
.wa-container { z-index:9997; }
/* El acceso directo a WhatsApp permanece verde por reconocimiento de la aplicación. */
.wa-btn, .wa-text { background:#25D366; color:#063718; }
.wa-btn svg { fill:white; }
footer { border-top:1px solid rgba(166,119,78,.25); }
@media (max-width:1100px) and (min-width:901px) {
  header .brand { width:152px; max-width:152px; }
  header .brand img { width:150px; height:62px; }
  header .links { gap:6px; font-size:11.5px; }
}
@media (max-width:900px) {
  :root { --headerH:72px; --header-h:72px; }
  header .brand, #site-header .brand { width:157px; max-width:70vw; white-space:normal; text-overflow:clip; }
  header .brand img { width:153px; height:60px; }
  header nav, #site-header nav { min-height:var(--headerH); padding:5px 0; }
  header .links {
    position:absolute;
    top:100%; left:0; right:0;
    max-height:calc(100dvh - var(--headerH));
    overflow-y:auto;
    background:#1F1F1F;
    border-bottom:1px solid rgba(166,119,78,.35);
    padding:14px 20px 20px;
    flex-direction:column;
    gap:8px;
    display:none;
    color:#F8F6F1;
  }
  header .links.open { display:flex; }
  header .links > * { width:100%; padding:0; }
  header .links > *:not(:first-child)::before { content:none!important; }
  header .links a { display:block; width:100%; padding:11px 12px; border-radius:7px; background:rgba(255,255,255,.055); }
  header .links a:hover { background:rgba(166,119,78,.16); }
  header .links .dropdown { display:block; }
  header .links .dropdown-toggle { display:flex; width:100%; justify-content:space-between; }
  header .links .dropdown-menu { position:static; min-width:0; margin-top:7px; }
  .menu-btn, header .menu-btn { display:inline-flex; align-items:center; justify-content:center; }
  .logo-wrap img { max-width:min(90vw,415px); }
  body::before { opacity:.015; background-size:90vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation-duration:0.01ms!important; }
}
