* {
	font-family: Harmond, serif;
}

#languageSwitcher {
    position: fixed;
    top: 37px;
    right: 0px;
    z-index: 9999;
    font-family: sans-serif;
    color: #c3b17c;
    font-size: 12px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #c3b17c;
    padding: 3px 8px;
    border-radius: 5px;
}
  
#languageSwitcher span {
    margin: 0 5px;
}
  
#languageSwitcher span:hover {
    text-decoration: underline;
}
  
body .goog-te-banner-frame.skiptranslate, 
body .goog-te-gadget {
    display: none !important;
}

body {
    top: 0px !important;
}


@font-face {
    font-family: Harmond;
    src: local('Harmond'), url('../assets/fonts/harmond-semiboldcondensed.woff2') format('woff2'),
    url('../assets/fonts/harmond-semiboldcondensed.woff') format('woff');
}

@font-face {
    font-family: Dirtyline;
    src: local('Dirtyline'), url('../assets/fonts/dirtyline_36daysoftype.woff2') format('woff2'),
    url('../assets/fonts/dirtyline_36daysoftype.woff') format('woff');
}


.content {
	display: flex;
	flex-flow: row wrap;
}
  
  
.header {
	position: relative;
	overflow: hidden;
	flex-basis: 100%;
	height: 700px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3));
}

.header video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-attachment: fixed;
}

.header h1 {
    padding-top: 220px;
	font-family: Dirtyline, sans-serif;
	text-align: center;
	margin: 0;
	font-size: 130px;
	font-weight: normal;
	color: #c3b17c;
	text-shadow: 
      -1px -1px 0 #000,  
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
}

.header h2 {
	text-align: center;
	font-size: 30px;
	font-weight: normal;
	color: #cdbe92;
	text-shadow: 
      -1px -1px 0 #000,  
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
    font-style: italic;
}

.btn-contact {
    padding: 15px 30px;
    border: 2px solid #cdbe92;
    border-radius: 35px;
    background: transparent;
    color: #cdbe92;
    text-decoration: none;
    font-size: 26px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-style: italic;
    align-self: center;
    text-align: center;
    margin-top: 80px;
    text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.btn-contact:hover {
    background: #cdbe92;
    color: black;
    text-shadow: none;
}


@media screen and (width <= 800px) {
	.header h1 {
		font-size: 70px;
	}

	.header h2 {
		font-size: 30px;
	}
}


@media screen and (width >= 800px) {
   .mobile-menu {
	display: none;
   }
}


@media screen and (width <= 800px) {
	nav {
        display: none;
	}

    .mobile-menu ul {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: rgb(0 0 0 / 50%);
        z-index: 99;
    }

    .mobile-menu ul a {
        font-family: Harmond, sans-serif;
        color: #c3b17c;
        font-weight: bold;
        font-size: 22px;
        display: block;
        text-decoration: none;
        padding: .5em 1em;
    }
}


nav {
    position: fixed;
    width: 100%;
    height: 70px;
    padding-left: 20px;
    z-index: 99;
}

nav ul {
	display: list-item;
	list-style: none;
	margin-top: -20px;
    text-align: right;
    position: absolute;
    right: 0;
    padding-top: 250px;
}

nav li a {
    font-family: Harmond, sans-serif;
    font-weight: bold;
    font-size: 50px;
    text-decoration: none;
    color: #c3b17c;
    text-shadow: 0 3px 3px rgb(0 0 0 / 70%);
    height: 50px;
    width: 0;
}

.inicio img,
.sobremi img,
.proyectos img,
.contacto img {
    width: 50px;
    margin-right: 15px;
}

.inicio a::after,
.sobremi a::after,
.proyectos a::after,
.contacto a::after {
    content: '';
    display: block;
    font-weight: normal;
    font-size: 50px;
    text-decoration: none;
    color: rgb(216 201 190 / 0%);
    background-color: rgb(0 0 0 / 50%);
    border-radius: 25px;
    height: 50px;
    width: 0;
    margin-top: -60px;
}

.inicio a:hover::after {
    content: 'Home';
    display: block;
    font-weight: normal;
    font-size: 50px;
    text-decoration: none;
    color: #c3b17c;
    text-shadow: 0 3px 3px rgb(0 0 0 / 70%);
    background-color: rgb(0 0 0 / 70%);
    border-radius: 25px;
    height: 50px;
    width: 120px;
    transition: linear 0.6s;
    padding-right: 70px;
}

.sobremi a:hover::after {
    content: 'AboutMe';
    display: block;
    font-weight: normal;
    font-size: 50px;
    text-decoration: none;
    color: #c3b17c;
    text-shadow: 0 3px 3px rgb(0 0 0 / 70%);
    background-color: rgb(0 0 0 / 70%);
    border-radius: 25px;
    height: 50px;
    width: 180px;
    transition: linear 0.6s;
    padding-right: 70px;
}

.proyectos a:hover::after {
    content: 'Projects';
    display: block;
    font-weight: normal;
    font-size: 50px;
    text-decoration: none;
    color: #c3b17c;
    text-shadow: 0 3px 3px rgb(0 0 0 / 70%);
    background-color: rgb(0 0 0 / 70%);
    height: 50px;
    width: 155px;
    transition: linear 0.6s;
    padding-right: 68px;
}

.contacto a:hover::after {
    content: 'Contact';
    display: block;
    font-weight: normal;
    font-size: 50px;
    text-decoration: none;
    color: #c3b17c;
    text-shadow: 0 3px 3px rgb(0 0 0 / 70%);
    background-color: rgb(0 0 0 / 70%);
    height: 50px;
    width: 155px;
    transition: linear 0.6s;
    padding-right: 69px;
}


.main {
	display: flex;
    flex-direction: column;
	align-items: center;
	margin: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url('../assets/images/main.jpg');
	flex-basis: 100%;
	background-size: contain;
}


.about-me {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8% 5% 0 5%;
}
  
.about-img {
    width: 220px;
    height: auto;
    border: 2px solid #c3b17c;
    border-radius: 120px 120px 0px 0px;
    object-fit: cover;
    margin: 0 20px 100px 0;
}
  
.about-text {
    display: flex;
    flex-direction: column;
    text-align: justify;
    align-items: left;
    width: 50%;
    margin: 0;
    padding: 0;
}
  
.about-text h2 {
    font-size: 35px;
    border-bottom: 0;
    font-family: Harmond, sans-serif;
    color: #c3b17c;
    margin-bottom: 40px;
    margin-left: 20px;
}
  
.skills-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
  
.skills-icons img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s;
}
  
.skills-icons img:hover {
    transform: scale(1.2);
}
  
@media (max-width: 768px) {
    .about-me {
        width: 100%;
        flex-direction: column;
        text-align: justify;
        padding: 0;
        margin: 10px 0;
    }
  
    .about-img {
        width: 250px;
        border-radius: 120px 120px 0px 0px;
        margin: 10px 0;
        padding: 0;
    }

    .about-text {
        width: 90%; 
        padding: 0 15px; 
    }
  
    .about-text h2 {
        font-size: 28px;
        padding: 0;
        margin: 10px 0;
    }
  
    .skills-icons img {
        width: 30px;
        height: 30px;
    }
}
  

.certificados-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    margin: 7%;
}

.certificados-container a {
    text-decoration: none;
    color: inherit;
}  
  
.certificado-item {
    display: flex;
    align-items: center;
    background-color: rgba(195, 177, 124, 0.634);
    padding: 12px;
    margin: 15px;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(195, 177, 124, 0.29);
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}
  
.certificado-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(195, 177, 124, 0.747);
}
  
.certificado-item img {
    width: 150px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}
  
.certificado-item img.certificado3 {
    width: 250px;
} 

.certificado-texto {
    text-align: justify;
    color: black;
}
  
.certificado-texto h3 {
    margin: 0 0 8px 0;
    font-size: 25px;
}
  
.certificado-texto p {
    margin: 0;
    font-size: 18px;
}
  

/* =====================
   PROJECTS
   ===================== */

.projects {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
}

.project-title {
    font-family: Dirtyline, sans-serif;
    font-weight: normal;
    color: #c3b17c;
    font-size: 70px;
    text-align: center;
    margin: 6% 0 0 0;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

@media screen and (width <= 800px) {
    .project-title {
        font-size: 55px;
        padding-top: 70px;
    }
}

/* FIX: selector > p para no afectar párrafos dentro de los wrappers */
.projects > p {
	text-align: center;
	color: #c3b17c;
	filter: drop-shadow(0 0 1px #000)
	drop-shadow(1px 1px 0 #000)
    drop-shadow(-1px 1px 0 #000)
    drop-shadow(1px -1px 0 #000);
    letter-spacing: -1px;
    word-spacing: 1rem;
    line-height: 1em;
	font-size: 35px;
	padding: 5% 8%;
}

/* Párrafos dentro de los wrappers: sin el padding grande del selector general */
.browser-wrapper p,
.mobile-wrapper p {
    text-align: center;
	color: #c3b17c;
	filter: drop-shadow(0 0 1px #000)
	drop-shadow(1px 1px 0 #000)
    drop-shadow(-1px 1px 0 #000)
    drop-shadow(1px -1px 0 #000);
    letter-spacing: -1px;
    word-spacing: 1rem;
    line-height: 1em;
	font-size: 35px;
    padding: 0 4%;
}

@media screen and (width <= 800px) {
	.projects > p {
		font-size: 22px;
		line-height: 0.8em;
		padding: 2% 0;
	}

    .browser-wrapper p,
    .mobile-wrapper p {
        font-size: 27px;
        padding: 2% 4%;
    }
}


/* =====================
   BROWSER MOCKUP
   ===================== */

.browser-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    padding: 2% 4%;
    padding-top: 70px;    /* espacio para el badge arriba */
    position: relative;   /* ESTE es el fix — ancla el badge */
                          /* eliminado: margin-top: -150px */
}

.browser-frame {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    overflow: visible;
    background: #1c1c1e;
    box-shadow:
        inset 0 0 0 1px #3a3a3a,
        0 12px 40px rgba(0, 0, 0, 0.5);
}


.browser-bar {
    position: relative;
    background: #2a2a2c;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #111;
}

.browser-bar {
    position: relative;
}

.circular-badge-desk {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    animation: spin 10s linear infinite;
    z-index: 2;
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.browser-url {
    flex: 1;
    background: #3a3a3c;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 13px;
    color: #aaa;
    font-family: monospace;
}

.browser-screen {
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.browser-screen video {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (width <= 800px) {
    .browser-wrapper {
        padding-top: 50px;
    }

    .browser-url {
        font-size: 10px;
    }
}


/* =====================
   PHONE MOCKUP
   ===================== */

.mobile-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5rem;
    padding: 7% 18%;
    position: relative;
}

.mobile-wrapper p {
    flex: 1;
}

/* FIX: badge posicionado relativo al phone-frame */
.circular-badge {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    animation: spin 10s linear infinite;
    z-index: 2;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.phone-frame {
    flex-shrink: 0;
    width: 300px;
    background: #1c1c1e;
    border-radius: 42px;
    padding: 14px 10px 0px;
    box-shadow:
        inset 0 0 0 1px #3a3a3a,
        4px 4px 0 2px #111,
        12px 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 90px;
    width: 3px;
    height: 30px;
    background: #2e2e2e;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 44px 0 #2e2e2e;
}

.phone-frame::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 110px;
    width: 3px;
    height: 52px;
    background: #2e2e2e;
    border-radius: 0 3px 3px 0;
}

.phone-screen {
    border-radius: 32px 32px 0 0;
    overflow: hidden;
    background: #000;
}

.phone-screen video {
    display: block;
    width: 100%;
    height: auto;
}

.phone-nav {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: #888;
    font-size: 11px;
    border-radius: 0 0 32px 32px;
    background: #111;
    margin-top: 2px;
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid #c3b17c;
    color: #c3b17c;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.visit-btn:hover {
    background: #c3b17c;
    color: #000;
    transform: translateY(-2px);
}

.mini-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-label {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-url {
    font-size: 11px;
    opacity: 0.65;
    letter-spacing: 0.5px;
    font-family: monospace;
}

/* FIX: eliminado .formobile, .desk, .mobile — ya no se usan */

@media screen and (width <= 800px) {
    .mobile-wrapper {
        flex-direction: column;
        padding: 0;
        margin-top: 80px;
    }

    .phone-frame {
        width: 75vw;
        max-width: 300px;
    }

    .circular-badge {
        top: -40px;
    }
}


/* =====================
   SEPARADOR
   ===================== */

hr {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #897436;
	height: 2px;
    margin-top: 15px;
	margin-bottom: 15px;
}


/* =====================
   CONTACTO
   ===================== */

/* ───────── CONTENEDORES ───────── */

.contact-section-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    gap: 70px;
}

.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

/* ───────── OPCIONES DE CONTACTO ───────── */

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 370px;
    gap: 2rem;
    padding-bottom: 15px;
}

/* ───────── BOTÓN WHATSAPP ───────── */

.wa-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    width: 80%;
    padding: 14px 5px;
    box-sizing: border-box;

    background: rgb(237 222 177 / 30%);
    border: 1px solid #25D366;

    color: #25D366;
    font-size: 18px;
    font-weight: bolder;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.3s,
        color 0.3s,
        transform 0.2s;
}

.wa-btn:hover {
    background: #25D366;
    color: #000;
    transform: translateY(-2px);
}

.wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: fill 0.3s;
}

.wa-btn:hover .wa-icon {
    fill: #000;
}

/* ───────── DIVISOR ───────── */

.or-divider {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #897436;
    opacity: 0.4;
}

.or-text {
    color: #c3b17c;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.7;
}

/* ───────── BRIEF CARD ───────── */

.brief-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;

    max-width: 720px;
    margin-top: 8px;
    padding: 44px;

    background: rgba(195, 177, 124, 0.03);
    border: 1px solid rgba(195, 177, 124, 0.2);
    border-radius: 22px;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.brief-card:hover {
    border-color: rgba(195, 177, 124, 0.5);
    background: rgba(195, 177, 124, 0.06);
}

/* Mariposa */

.brief-butterfly {
    width: 56px;

    opacity: 0.6;
    transform: translateX(-20px) rotate(-15deg);

    filter: drop-shadow(0 0 0 rgba(195, 177, 124, 0));

    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease;
}

.brief-card:hover .brief-butterfly {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    filter: drop-shadow(0 0 8px rgba(195, 177, 124, 0.4));
}

.brief-question {
    margin: 0;

    color: #f0ece2;
    font-family: 'Harmond', sans-serif;
    font-size: 27px;
    letter-spacing: 0.02em;
}

.brief-sub {
    margin: 0;

    color: rgba(195, 177, 124, 0.6);
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.brief-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 4px;
    padding-bottom: 2px;

    border-bottom: 1px solid rgba(195, 177, 124, 0.3);

    color: #c3b17c;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        color 0.2s,
        border-color 0.2s,
        gap 0.3s;
}

.brief-btn:hover {
    color: #f0ece2;
    border-color: rgba(240, 236, 226, 0.4);
    gap: 14px;
}

.brief-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.brief-btn:hover .brief-arrow {
    transform: translateX(4px);
}

/* ───────── FORMULARIO ───────── */

.form {
    order: 5;
    flex: 1;

    width: 400px;
    padding: 100px 13px 10px;

    text-align: center;
    font-size: 25px;

    border: 1px solid rgb(137 116 54);
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
}

.form-input {
    width: 85%;
    padding: 7px;
    margin: 6px 0;

    background: rgb(237 222 177 / 60%);
    border: none;
    border-bottom: 3px solid white;

    color: #000;
    font-size: 20px;
}

.form-input:focus {
    background: #eaddb4;
    border-bottom: 3px solid white;
    outline: none;
}

.form textarea {
    min-height: 140px;
    resize: none;
}

.form input[type="submit"] {
    padding: 12px;

    background-color: #8974364f;
    border: 1px solid #897436;

    color: #897436;
    font-size: 25px;

    cursor: pointer;

    transition:
        background 0.3s,
        color 0.3s,
        transform 0.2s;
}

.form input[type="submit"]:hover {
    background-color: #897436;
    color: #000;
    transform: translateY(-2px);
}

.form input[type="submit"]:focus {
    background-color: #897436;
}

.form input[type="submit"]:active {
    background: linear-gradient(to bottom, #a0883f, #72612d);
}

/* ───────── PLACEHOLDERS ───────── */

input::placeholder,
textarea::placeholder {
    color: #404040;
}

/* ───────── TÍTULO ───────── */

.contact h1 {
    display: flex;
    width: 100%;
    padding-left: 10px;

    color: #c3b17cbe;
    font-size: 140px;
    font-style: italic;
    text-align: right;
}

/* ───────── RESPONSIVE ───────── */

@media screen and (width <= 800px) {

    .contact-section-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .flex-container {
        width: 90%;
        margin: 0;
        padding: 80px 3px 0;

        gap: 0;
        align-items: center;

        border-top-left-radius: 200px;
        border-top-right-radius: 200px;
    }

    .contact-options {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        gap: 20px;
    }

    .contact-row {
        gap: 0;
    }

    .contact h1 {
        display: none;
    }
}
/* =====================
   FOOTER
   ===================== */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    min-height: 220px;
    padding: 45px 20px;

    background-color: #000;
    text-align: center;
}

.footer-copy {
    margin: 0;

    color: #c3b17c;
    font-size: 20px;
    letter-spacing: 0.08em;
}

.footer-line {
    width: 120px;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        #897436,
        transparent
    );

    opacity: 0.6;
}

.footer-message {
    margin: 0;

    color: rgba(195, 177, 124, 0.65);
    font-size: 15px;
    letter-spacing: 0.04em;
}

/* ───────── RESPONSIVE ───────── */

@media screen and (width <= 800px) {

    .footer {
        min-height: 100px;
        padding: 35px 15px;
        gap: 10px;
    }

    .footer-copy {
        font-size: 17px;
    }

    .footer-message {
        font-size: 13px;
    }
}
