/* ================================
   CONFIGURACIÓN GENERAL
================================ */

:root {
  --background-top: #ffffff;
  --background-bottom: #f3f0eb;

  --gold-light: #ead8b8;
  --gold-medium: #c5a06d;
  --gold-dark: #9c6d35;

  --panel-border: #c99b5a;
  --panel-shadow: rgba(100, 65, 25, 0.25);

  --text-main: #222222;
  --text-muted: #536070;
  --white: #ffffff;

  --page-padding: 10px;
  --content-width: 100%;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-main);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  background:
    linear-gradient(
      to bottom,
      var(--background-top) 0%,
      #fbfaf8 30%,
      var(--background-bottom) 100%
    );
}

/* ================================
   ENCABEZADO
================================ */

.site-header {
  min-height: 95px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 20px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
}

.brand img {
  width: 320;
  height: 60px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: #7f2936;
}

.brand-copy span {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #8a6e4b;
}

/* ================================
   CONTENEDOR PRINCIPAL
================================ */

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--page-padding) 60px;
}

/* ================================
   AVISO SUPERIOR
================================ */

.notice-card {
  width: min(675px, calc(100% - 28px));
  margin: 0 0 29px 14px;
  padding: 18px 14px;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: linear-gradient(to bottom, #fffefe, #f3eee7);
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.notice-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 10px;
  border-radius: 7px;
  background: linear-gradient(
    to bottom,
    #d4b98f 0%,
    #c7a875 100%
  );
}

.notice-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 15px;
  background: linear-gradient(to bottom, #9dbce5, #5f83bd);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.notice-inner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

/* ================================
   PANELES DE DATOS
================================ */

.data-panel {
  width: 100%;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 2px 2px var(--panel-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.panel-title {
  min-height: 31px;
  display: flex;
  align-items: center;
  padding: 6px 15px;
  font-size: 14px;
  color: #334153;
  border-bottom: 1px solid #b78a4d;
  background:
    linear-gradient(
      to bottom,
      #f7f4ef 0%,
      #e5d5bc 43%,
      #b98d52 100%
    );
}

.panel-content {
  min-height: 148px;
  padding: 15px 55px 24px;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.96),
      rgba(248, 246, 242, 0.82)
    );
}

.data-grid {
  width: 100%;
  max-width: 520px;
  margin: 0;
}

.data-row {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 12px;
  min-height: 27px;
}

.data-row dt,
.data-row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.data-row dt {
  text-align: right;
  font-weight: 600;
}

.data-row dd {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* ==================================================
   VERSIÓN MÓVIL
   Mantiene la distribución de la referencia,
   usando identidad y contenido propios.
================================================== */

@media (max-width: 600px) {

    body {
        margin: 0;
        min-height: 100vh;
        font-family: Arial, Helvetica, sans-serif;
        background:
            linear-gradient(
                to bottom,
                #ffffff 0%,
                #faf8f5 45%,
                #eee9e2 100%
            );
        color: #333;
    }

    /* ENCABEZADO Y LOGO */

    .site-header {
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        background: #ffffff;
    }

    .brand {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 12px;
        background: #ffffff;
    }

    .brand img {
        display: block;
        width: min(86vw, 660px);
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    /* CONTENEDOR */

    .page-shell {
        width: 100%;
        padding: 45px 15px 55px;
    }

    /* AVISO SUPERIOR */

    .notice-card {
        width: calc(100% - 30px);
        margin: 0 auto 34px;
        padding: 20px 16px;
        border: 1px solid #a87536;
        border-radius: 11px;
        background: linear-gradient(
            to bottom,
            #ffffff,
            #f2eee8
        );
        box-shadow:
            0 4px 5px rgba(122, 77, 25, 0.33),
            inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }

    .notice-inner {
        min-height: 112px;
        display: grid;
        grid-template-columns: 45px minmax(0, 1fr);
        align-items: start;
        gap: 13px;
        padding: 14px 16px;
        border-radius: 12px;
        background: #c3a275;
    }

    .notice-icon {
        width: 32px;
        height: 32px;
        margin-top: 2px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: #ffffff;
        font-family: Georgia, serif;
        font-size: 24px;
        font-weight: bold;
        background: linear-gradient(
            to bottom,
            #a9c8f0,
            #5c83bf
        );
        box-shadow:
            inset 0 1px 2px rgba(255, 255, 255, 0.8),
            0 1px 2px rgba(0, 0, 0, 0.18);
    }

    .notice-inner p {
        margin: 0;
        padding: 0;
        font-size: 22px;
        line-height: 1.22;
        text-align: center;
        color: #111111;
    }

    /* PANELES */

    .data-panel {
        width: 100%;
        margin: 0 auto 20px;
        overflow: hidden;
        border: 1px solid #aa783a;
        border-radius: 10px;
        background: #ffffff;
        box-shadow:
            0 4px 5px rgba(122, 77, 25, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }

    .panel-title {
        min-height: 51px;
        display: flex;
        align-items: center;
        padding: 10px 16px;
        font-size: 21px;
        font-weight: 400;
        color: #404348;
        border-bottom: 1px solid #b98545;
        background:
            linear-gradient(
                to bottom,
                #f6f2ec 0%,
                #e2d2ba 42%,
                #bb8c4c 100%
            );
    }

    .panel-content {
        min-height: 215px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 31px 20px 35px;
        background:
            linear-gradient(
                to bottom,
                #ffffff 0%,
                #f7f4ef 100%
            );
    }

    .data-grid {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .data-row {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: baseline;
        column-gap: 12px;
        min-height: 38px;
        margin: 0;
    }

    .data-row dt,
    .data-row dd {
        margin: 0;
        font-size: 20px;
        line-height: 1.45;
        white-space: nowrap;
    }

    .data-row dt {
        text-align: right;
        font-weight: 400;
        color: #35373a;
    }

    .data-row dd {
        text-align: left;
        color: #4b4d50;
    }

    /* NOTA INDEPENDIENTE */

    .legal-note {
        width: calc(100% - 30px);
        margin: 30px auto 0;
        padding: 14px 10px;
        font-size: 11px;
        line-height: 1.4;
        text-align: center;
        color: #666666;
        border-top: 1px solid rgba(120, 90, 55, 0.25);
    }
}


/* PANTALLAS MUY PEQUEÑAS */

@media (max-width: 390px) {

    .page-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .notice-card {
        width: 100%;
    }

    .notice-inner {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 13px 12px;
    }

    .notice-icon {
        width: 29px;
        height: 29px;
        font-size: 20px;
    }

    .notice-inner p {
        font-size: 19px;
    }

    .panel-title {
        font-size: 18px;
    }

    .data-row {
        column-gap: 9px;
    }

    .data-row dt,
    .data-row dd {
        font-size: 17px;
    }
}