/*
Theme Name: Silimet 99
Theme URI: https://silimet99.com/
Author: Silimet 99 S.L.
Description: Tema propio de Silimet 99 · Grupo Joyería Tres Reyes. Réplica de la web corporativa.
Version: 1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: silimet99
*/

:root {
    --ink: #15171B;
    --text: #1B1D22;
    --muted: #4A4D55;
    --label: #5C5F66;
    --ground: #F6F5F2;
    --sand: #EDEAE3;
    --card: #FBFAF7;
    --line: #E6E2D9;
    --gold: #C9A66B;
    --bronze: #7A5C2E;
    --bronze-dark: #4F3B1C;
    --light: #EDEAE3;
    --light-muted: #C7C3BA;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--ground);
  }
  a { color: var(--bronze); }
  a:hover { color: var(--bronze-dark); }
  h1, h2, h3 { font-family: var(--serif); margin: 0; }
  p { margin: 0; }

  .wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 104px; padding-bottom: 104px; }
  .eyebrow {
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--bronze);
  }
  .h2 { font-weight: 500; font-size: clamp(34px, 4.5vw, 46px); line-height: 1.1; }
  .muted { color: var(--muted); }
  .link { font-weight: 600; font-size: 15px; display: inline-block; padding: 10px 0; }

  /* Cabecera */
  .site-header { background: var(--ink); color: var(--light); }
  .site-header .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 16px; padding-top: 22px; padding-bottom: 22px;
  }
  .brand { display: flex; flex-direction: column; text-decoration: none; color: var(--light); line-height: 1.15; }
  .brand:hover { color: var(--light); }
  .brand-name { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .14em; }
  .brand-sub { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
  .nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
  .nav a { color: var(--light); text-decoration: none; padding: 10px 0; }
  .nav a:hover { color: var(--gold); }

  /* Portada */
  .hero { background: var(--ink); color: var(--light); border-top: 1px solid #2A2D33; }
  .hero .wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 112px; padding-bottom: 120px; }
  .hero .eyebrow { color: var(--gold); }
  .hero h1 { font-weight: 500; font-size: clamp(42px, 6vw, 76px); line-height: 1.05; max-width: 26ch; }
  .hero p { max-width: 75ch; font-size: 19px; color: var(--light-muted); }
  .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
  .btn {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
    text-decoration: none; font-weight: 600; font-size: 15px;
  }
  .btn-primary { background: var(--gold); color: var(--ink); }
  .btn-primary:hover { background: #D8B880; color: var(--ink); }
  .btn-ghost { border: 1px solid #5A5D63; color: var(--light); font-weight: 500; }
  .btn-ghost:hover { border-color: var(--gold); color: var(--light); }

  /* Quiénes somos */
  .split { display: flex; flex-wrap: wrap; gap: 56px 80px; }
  .split > .intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
  .timeline { flex: 1 1 420px; list-style: none; margin: 0; padding: 0; border-left: 1px solid #D8D3C8; }
  .timeline li { padding: 0 0 32px 32px; display: flex; flex-direction: column; gap: 4px; }
  .timeline li:last-child { padding-bottom: 0; }
  .year { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--bronze); line-height: 1.3; }
  .milestone { font-weight: 600; }
  .timeline .muted { font-size: 16px; }

  /* Actividades */
  .activities { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .activities .wrap { display: flex; flex-direction: column; gap: 48px; }
  .activities-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
  .card {
    border: 1px solid var(--line); background: var(--card);
    padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
  }
  .card h3 { font-weight: 600; font-size: 28px; line-height: 1.2; }
  .card p { color: var(--muted); font-size: 16px; flex-grow: 1; }
  .card .links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .icon { width: 32px; height: 32px; }

  /* Opiniones */
  .reviews .split { align-items: center; gap: 48px 80px; }
  .reviews .intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
  .score {
    flex: 1 1 360px; background: var(--ink); color: var(--light);
    padding: 48px 40px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  }
  .score-num { font-family: var(--serif); font-size: 88px; line-height: 1; font-weight: 600; color: var(--gold); }
  .stars { display: flex; gap: 4px; }
  .stars svg { width: 22px; height: 22px; fill: var(--gold); }
  .score-note { color: var(--light-muted); font-size: 16px; }

  /* Datos de empresa */
  .company { background: var(--sand); }
  .company .intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
  .data {
    flex: 1 1 460px; margin: 0; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; font-size: 16px;
  }
  .data div { display: flex; flex-direction: column; gap: 4px; }
  .data dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
  .data dd { margin: 0; }
  .data .strong { font-weight: 600; }

  /* Pie */
  .site-footer { background: var(--ink); color: #A9A59C; font-size: 14px; }
  .site-footer .wrap {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
    padding-top: 40px; padding-bottom: 40px;
  }
  .site-footer a { color: #A9A59C; }
  .site-footer a:hover { color: var(--light); }

  @media (max-width: 600px) {
    .section { padding-top: 72px; padding-bottom: 72px; }
    .hero .wrap { padding-top: 72px; padding-bottom: 80px; }
    .card { padding: 28px 24px; }
    .score { padding: 36px 28px; }
  }
