section > form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: #f8fcfd;
    border-radius: 0.7rem;
    box-shadow: 0 2px 8px 0 rgb(151 156 165 / 0.07);
    padding: 2rem;
    border: 1px solid #e0ecec;
}
section > form label {
    font-weight: 500;
    color: #1a7c7c;
}
section > form input,
section > form select,
section > form textarea {
    border: 1px solid #d2e6e6;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
    background: #fff;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}
section > form button {
    background: #1a7c7c;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    grid-column: 1 / -1;
    margin-top: 1rem;
}
section > form button:hover {
    background: #0e4c4c;
}
* {
  font-family: 'Outfit', 'Noticia Text', 'Sanchez', 'Scope One', serif;
  box-sizing: border-box;
}

section {
    background: #f8fcfd;
    border-radius: 1rem;
    box-shadow: 0 2px 16px 0 rgb(151 156 165 / 0.10);
    border: 1px solid #e0ecec;
    margin: 2rem auto;
    padding: 2rem 2.5vw;
    max-width: 900px;
    margin-bottom: 2rem;
}

body {
    background: linear-gradient(120deg, #eaf6f6 0%, #f7fafd 100%);
    color: #2d3a3a;
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-weight: 700;
    font-size: 2.3rem;
    letter-spacing: 1px;
    color: #1a7c7c;
    margin-bottom: 0.5rem;
}

#photo {

    width: 8vw;

    height: auto;
}

/* Subtítulos de sección */
.subtitle {
    color: #1a7c7c;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}
footer {
    background: #eaf6f6;
    border-top: 1px solid #d2e6e6;
    padding: 1.5rem 0 0.5rem 0;
    margin-top: 2rem;
}
footer p {
    text-align: right;
    font-style: italic;
    color: #1a7c7c;
    font-size: 1rem;
}
footer ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    justify-content: center;
    margin-bottom: 0.5rem;
    padding: 0;
}
footer ul li a {
    color: #1a7c7c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
footer ul li a:hover {
    color: #0e4c4c;
}


nav {
    background: #eaf6f6;
    border-bottom: 1px solid #d2e6e6;
    margin-bottom: 2rem;
}
nav > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    margin: 0;
}
nav > ul li a {
    color: #1a7c7c;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.3rem 0.7rem;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
nav > ul li a:hover {
    background: #d2e6e6;
    color: #0e4c4c;
}
#profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px 0 rgb(151 156 165 / 0.10);
    border: 3px solid #e0ecec;
}
table {
    border-collapse: collapse;
    width: 100%;
    background: #f8fcfd;
    border-radius: 0.7rem;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgb(151 156 165 / 0.07);
    margin-bottom: 1.5rem;
}
th {
    background: #eaf6f6;
    color: #1a7c7c;
    font-weight: 600;
    padding: 12px 8px;
    border-bottom: 2px solid #d2e6e6;
}
td {
    border: 1px solid #e0ecec;
    padding: 10px 8px;
    text-align: center;
    color: #2d3a3a;
}

/* Estilos para la sección de referencias/testimonios (usando Grid y tarjetas) */
#testimonios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
#testimonios > .subtitle {
    grid-column: 1 / -1;
    width: 100%;
}
.testimonios-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.testimonios-container > article {
    background: #fff;
    border-radius: 0.7rem;
    box-shadow: 0 2px 8px 0 rgb(151 156 165 / 0.07);
    padding: 1.2rem 1rem;
    min-width: 0;
    border: 1px solid #e0ecec;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonios-container blockquote {
    font-style: italic;
    color: #1a7c7c;
    margin-bottom: 0.7rem;
}
.testimonios-container strong {
    color: #0e4c4c;
}
p {
    text-align: center;
}

/* Estilos para video embebido en Proyectos (responsive 16:9) */
.project-video {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.video-wrap {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
