/* New Age theme - Tiempo y Playa */
body {
    overflow-x: hidden;
    font-family: 'Lato', 'Catamaran', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Navbar must use the same font as the rest of the page */
#mainNav,
#mainNav * {
    font-family: 'Lato', 'Catamaran', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Navbar */
#mainNav { background-color: #222; }
#mainNav .navbar-brand { color: #fff; font-weight: 700; }
#mainNav .navbar-brand:hover { color: #07b587; }
#mainNav .navbar-nav .nav-item .nav-link { color: rgba(255,255,255,.7); font-size: .9rem; padding: .75em 0; }
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active { color: #fff; }
#mainNav .navbar-toggler { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }

/* Masthead / header */
.masthead { min-height: 100vh; background: linear-gradient(150deg, #37b57e 0%, #07b587 50%, #059669 100%); padding-top: 6rem; padding-bottom: 4rem; color: #fff; display: flex; align-items: center; }
.masthead h1, .masthead .h1 { font-size: 2.5rem; font-weight: 700; }
.masthead .header-content { text-align: center; }

/* Buttons */
.btn-outline { color: #fff; border-color: #fff; border-width: 2px; }
.btn-outline:hover { color: #07b587; background-color: #fff; }
.btn-xl { padding: 1rem 2rem; font-size: 1.1rem; font-weight: 700; border-radius: 50px; }
.btn-custom-color { background-color: #07b587; border-color: #07b587; color: #fff; }
.btn-custom-color:hover { background-color: #059669; border-color: #059669; color: #fff; }

/* Sections */
section { padding: 5rem 0; }
section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }
.section-heading { margin-bottom: 3rem; }
.bg-primary { background-color: #07b587 !important; }

/* Download section */
.download { color: #fff; }
.download h2 { color: #fff; }
.badges .badge-link { display: inline-block; margin: 0 .5rem; }
.badges .badge-link img { height: 60px; }

/* Features */
.feature-item { text-align: center; padding: 1.5rem; }
.feature-item i { font-size: 3rem; color: #07b587; margin-bottom: 1rem; }
.feature-item h3 { font-size: 1.1rem; font-weight: 700; }
.img-fluid-tp { max-width: 80px; margin-bottom: 1rem; }

/* Contact */
.contact { color: #fff; }
.contact h2 { color: #fff; }
.list-social .list-inline-item a { display: inline-block; width: 4rem; height: 4rem; border-radius: 50%; text-align: center; line-height: 4rem; font-size: 1.5rem; color: #fff; background: rgba(255,255,255,.2); margin: 0 .25rem; }
.list-social .list-inline-item a:hover { background: rgba(255,255,255,.4); }

/* Footer — fixed at bottom of viewport */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: rgba(255,255,255,.5);
    text-align: center;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    z-index: 1030;
}
footer a { color: rgba(255,255,255,.5); }
footer a:hover { color: #fff; }
footer .list-inline { margin-bottom: 0; }

/* ── CSS Phone Mockup ──────────────────────────────────── */
.device-container {
    max-width: 260px;
    margin: 0 auto;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.45));
}

.device-mockup {
    position: relative;
    background: #1a1a1a;
    border-radius: 44px;
    padding: 14px 10px;
    border: 2px solid #3a3a3a;
    box-shadow:
        inset 0 0 0 2px #000,
        0 0 0 1px #555,
        8px 12px 40px rgba(0,0,0,0.6);
}

/* Top notch */
.device-mockup::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

/* Side button */
.device-mockup::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 90px;
    width: 4px;
    height: 40px;
    background: #444;
    border-radius: 0 3px 3px 0;
}

.device-mockup .device {
    background: #000;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

.device-mockup .screen {
    border-radius: 34px;
    overflow: hidden;
    min-height: 420px;
    background: linear-gradient(160deg, #07b587 0%, #059669 50%, #064e3b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 34px;
}

/* Fallback content when no image */
.device-mockup .screen:not(:has(img[src])) {
    padding: 2rem 1rem;
}

.device-mockup .button {
    height: 6px;
    width: 50px;
    background: #333;
    border-radius: 3px;
    margin: 8px auto 4px;
}

/* Colorgraph divider */
.colorgraph { height: 5px; border-top: 0; background: linear-gradient(to right, #07b587, #059669, #37b57e); border-radius: 5px; }

/* Opacity utility */
.opacity { background: rgba(255,255,255,.9); }
