/* =====================================================
   BIOGRAFÍA | Dioren Viae
   ===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/*======================================================
  SECCIÓN BIOGRAFÍA
======================================================*/

.biografia{

    position:relative;

    width:100%;

    padding:120px 8%;

    overflow:hidden;

    background:

    radial-gradient(
        circle at top left,
        rgba(212,175,55,.07) 0%,
        transparent 32%
    ),

    radial-gradient(
        circle at bottom right,
        rgba(80,120,180,.08) 0%,
        transparent 38%
    ),

    radial-gradient(
        circle at center,
        rgba(255,255,255,.015) 0%,
        transparent 70%
    ),

    linear-gradient(
        135deg,
        #030712 0%,
        #06111d 18%,
        #0b1725 36%,
        #111827 58%,
        #0d1623 80%,
        #04080f 100%
    );

}

/*======================================================
  TEXTURA TIPO LINO
======================================================*/

.biografia::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.05;

    background:

    repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.05) 0px,
        rgba(255,255,255,.05) 1px,
        transparent 2px,
        transparent 9px
    ),

    repeating-linear-gradient(
        90deg,
        rgba(255,255,255,.03) 0px,
        rgba(255,255,255,.03) 1px,
        transparent 2px,
        transparent 9px
    );

}

/*======================================================
  EFECTO MÁRMOL PREMIUM
======================================================*/

.biografia::after{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.06;

    background:

    radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 18%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.08), transparent 22%),
    radial-gradient(circle at 45% 45%, rgba(255,255,255,.05), transparent 18%),

    linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,.02) 35%,
        transparent 48%,
        rgba(255,255,255,.018) 72%,
        transparent 100%
    );

    mix-blend-mode:screen;

}

/*======================================================
  CONTENEDOR
======================================================*/

.bio-box{

    position:relative;
    z-index:2;

    max-width:1350px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:70px;

}

/*======================================================
  FOTO
======================================================*/

.foto{

    width:300px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.foto img{

    width:260px;

    height:260px;

    object-fit:cover;

    border-radius:50%;

    border:7px solid rgba(255,255,255,.08);

    box-shadow:

        0 0 0 2px rgba(212,175,55,.45),

        0 20px 60px rgba(0,0,0,.45),

        0 0 90px rgba(212,175,55,.10);

    transition:.45s ease;

}

.foto img:hover{

    transform:scale(1.03);

    box-shadow:

        0 0 0 2px rgba(212,175,55,.80),

        0 25px 70px rgba(0,0,0,.55),

        0 0 110px rgba(212,175,55,.20);

}

/*======================================================
  TEXTO
======================================================*/

.texto{

    position:relative;

    z-index:2;

    flex:1;

}

.categoria{

    display:inline-block;

    color:#d4af37;

    font-size:13px;

    letter-spacing:5px;

    text-transform:uppercase;

    margin-bottom:15px;

    font-weight:500;

}

.texto h1{

    font-family:'Cormorant Garamond',serif;

    font-size:60px;

    line-height:1.05;

    font-weight:700;

    color:#ffffff;

    margin-bottom:10px;

}

.texto h2{

    color:#c2c7cf;

    font-size:19px;

    font-weight:400;

    margin-bottom:28px;

}

.texto p{

    max-width:850px;

    font-size:17px;

    line-height:2;

    color:#d8d8d8;

    font-weight:300;

}

/*======================================================
  TABLETS
======================================================*/

@media (max-width:1100px){

.bio-box{

    gap:50px;

}

.foto{

    width:250px;

}

.foto img{

    width:220px;

    height:220px;

}

.texto h1{

    font-size:48px;

}

.texto h2{

    font-size:18px;

}

.texto p{

    font-size:16px;

}

}

/*======================================================
  MÓVILES
======================================================*/

@media (max-width:768px){

.biografia{

    padding:80px 25px;

}

.bio-box{

    flex-direction:column;

    text-align:center;

    gap:40px;

}

.foto{

    width:100%;

}

.foto img{

    width:210px;

    height:210px;

}

.categoria{

    letter-spacing:3px;

    font-size:12px;

}

.texto h1{

    font-size:38px;

}

.texto h2{

    font-size:17px;

    line-height:1.5;

}

.texto p{

    max-width:100%;

    font-size:15.8px;

    line-height:1.9;

}

}

/*======================================================
  MÓVILES PEQUEÑOS
======================================================*/

@media (max-width:480px){

.biografia{

    padding:70px 20px;

}

.foto img{

    width:180px;

    height:180px;

}

.texto h1{

    font-size:32px;

}

.texto h2{

    font-size:15px;

}

.texto p{

    font-size:15px;

    line-height:1.8;

}

}


/*==================================================
  CARTA DEL EMBAJADOR | DIOREN VIAE
==================================================*/




/*==================================================
  PAPEL
==================================================*/

.letter-paper{

    max-width:900px;
    margin:auto;
    background:
        linear-gradient(rgba(255,255,255,.97),rgba(252,251,248,.97)),
        url("img/lino.jpg");

    background-size:cover;

    border-radius:16px;

    padding:80px;

    position:relative;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45),
        0 10px 30px rgba(0,0,0,.15);

    border:1px solid rgba(201,174,96,.25);

}


/* Línea superior */

.letter-paper::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:8px;

    background:linear-gradient(90deg,#8f6d24,#d8bd67,#8f6d24);

}


/*==================================================
  ENCABEZADO
==================================================*/

.letter-header{

    text-align:center;

    margin-bottom:40px;

}

.letter-label{

    display:block;

    font-family:Arial, Helvetica, sans-serif;

    letter-spacing:6px;

    font-size:12px;

    color:#8c7342;

    text-transform:uppercase;

    margin-bottom:10px;

}

.letter-header h2{

    margin:0;

    font-size:46px;

    color:#13263d;

    font-family:"Cormorant Garamond", serif;

    font-weight:600;

    letter-spacing:1px;

}


/*==================================================
  FECHA
==================================================*/

.letter-date{

    text-align:right;

    font-size:15px;

    color:#666;

    margin-bottom:55px;

    font-style:italic;

    font-family:Georgia, serif;

}


/*==================================================
  CUERPO
==================================================*/

.letter-body{

    font-family:Georgia, serif;

    color:#2f2f2f;

    font-size:19px;

    line-height:2.05;

    text-align:justify;

}

.letter-body p{

    margin-bottom:28px;

}

.letter-body strong{

    color:#19395d;

    font-weight:600;

}


/* Primera letra */

.letter-body p:nth-child(2)::first-letter{

    font-size:64px;

    float:left;

    line-height:55px;

    padding-right:8px;

    padding-top:4px;

    color:#8b6d2d;

    font-family:"Cormorant Garamond", serif;

}


/*==================================================
  FIRMA
==================================================*/

.letter-signature{

    margin-top:90px;

    text-align:right;

}

.signature-line{

    width:220px;

    height:1px;

    background:#bda45f;

    margin-left:auto;

    margin-bottom:20px;

}

.letter-signature h3{

    margin:0;

    font-family:"Cormorant Garamond", serif;

    font-size:34px;

    color:#10243b;

    font-weight:600;

}

.letter-signature span{

    display:block;

    margin-top:10px;

    font-size:15px;

    color:#666;

    line-height:1.8;

    font-family:Arial, Helvetica, sans-serif;

    letter-spacing:.6px;

}


/*==================================================
  RESPONSIVE
==================================================*/

@media(max-width:768px){

.letter-paper{

    padding:45px 28px;

}

.letter-header h2{

    font-size:34px;

}

.letter-body{

    font-size:17px;

    line-height:1.9;

}

.letter-body p:nth-child(2)::first-letter{

    font-size:48px;

    line-height:45px;

}

.letter-signature h3{

    font-size:28px;

}

}

@media(max-width:480px){

.ambassador-letter{

    padding:70px 15px;

}

.letter-paper{

    padding:35px 22px;

}

.letter-header h2{

    font-size:30px;

}

.letter-date{

    text-align:left;

}

.letter-body{

    font-size:16px;

    text-align:left;

    line-height:1.8;

}

.signature-line{

    width:180px;

}

}