body {
    margin: 0;
    font-family: system-ui;
    background: #f9fafb;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    position: fixed;
    width: 100%;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #fff;
}

.menu a {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
}

.btn-nav {
    background: #d7b07a;
    padding: 8px 14px;
    border-radius: 8px;
}

/* HERO */
.hero {
    height: 100vh;
    background:
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.25)),
        url('/sea-system/assets/img/hero-office.jpg') center center / cover no-repeat !important;
    position: relative;
    color: #fff;
}


.hero-content {
    position: relative;
    top: 30%;
    max-width: 720px;
    z-index: 2;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
}

.btn-primary {
    background: #d7b07a;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
}

.btn-secondary {
    margin-left: 10px;
    color: #fff;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* ABOUT */
.dark {
    background: #111;
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-image {
    background: #333;
    border-radius: 12px;
}

/* CTA */
.cta {
    background: #d7b07a;
    text-align: center;
    padding: 60px 0;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

/* FOOTER */
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* MOBILE */
@media(max-width:768px){
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}
/* HEADER SCROLL */
.header-scrolled {
    background: #000;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
}

/* ANIMACIONES BASE */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all .7s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}
/* WOW HERO */
.hero-content h1,
.hero-content p,
.hero-actions {
    opacity: 0;
    transform: translateY(35px);
}

body.loaded .hero-content h1 {
    animation: heroRise .9s ease forwards;
}

body.loaded .hero-content p {
    animation: heroRise .9s ease forwards;
    animation-delay: .18s;
}

body.loaded .hero-actions {
    animation: heroRise .9s ease forwards;
    animation-delay: .35s;
}

@keyframes heroRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GLASS HEADER PRO */
.header {
    transition: all .35s ease;
}

.header-scrolled {
    background: rgba(0, 0, 0, .88);
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

/* SCROLL SECTIONS */
.animate {
    opacity: 0;
    transform: translateY(80px) scale(.98);
    transition: all .9s cubic-bezier(.2,.8,.2,1);
}

.animate.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* STAGGER CARDS */
.service-card {
    opacity: 0;
    transform: translateY(55px) scale(.96);
    transition: all .75s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.service-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:nth-child(1) { transition-delay: .05s; }
.service-card:nth-child(2) { transition-delay: .13s; }
.service-card:nth-child(3) { transition-delay: .21s; }
.service-card:nth-child(4) { transition-delay: .29s; }
.service-card:nth-child(5) { transition-delay: .37s; }

/* CARD HOVER PREMIUM */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 26px 60px rgba(15,23,42,.18);
}

/* BUTTON FLOW */
.btn-primary,
.btn-secondary,
.btn-nav {
    transition: all .3s ease;
}

.btn-primary:hover,
.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(215,176,122,.35);
}

.btn-secondary:hover {
    opacity: .75;
}
.hero {
    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { background-size: 100%; }
    to { background-size: 110%; }
}
.hero p {
    font-size: 18px;
    opacity: .9;
}
/* SERVICES PREMIUM */
.services-section {
    background:
        radial-gradient(circle at top left, rgba(215,176,122,.18), transparent 32%),
        linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
}

.section-head {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b08345;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 13px;
}

.section-head .section-title {
    margin: 0;
    font-size: 42px;
    line-height: 1.1;
    color: #0f172a;
}

.section-head p {
    margin: 18px auto 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.6;
}

.premium-services {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.premium-card {
    position: relative;
    min-height: 285px;
    padding: 26px 22px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82));
    border: 1px solid rgba(15,23,42,.08);
    overflow: hidden;
}

.premium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(215,176,122,.35), transparent 34%);
    opacity: .75;
    pointer-events: none;
}

.premium-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -45px;
    bottom: -45px;
    border-radius: 999px;
    background: rgba(15,23,42,.06);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    box-shadow: 0 16px 30px rgba(15,23,42,.18);
    position: relative;
    z-index: 2;
}

.premium-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    font-size: 22px;
    color: #0f172a;
}

.premium-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.premium-card span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    font-size: 13px;
    font-weight: 900;
    color: #b08345;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.premium-card:hover {
    transform: translateY(-14px) scale(1.025);
    box-shadow: 0 32px 80px rgba(15,23,42,.18);
}

@media(max-width: 1100px) {
    .premium-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 650px) {
    .section-head .section-title {
        font-size: 32px;
    }

    .premium-services {
        grid-template-columns: 1fr;
    }

    .premium-card {
        min-height: 240px;
    }
}
.image-card{
    position:relative;
    min-height:420px;
    padding:0;
    border-radius:28px;
    overflow:hidden;
    background:#fff;
    display:flex;
    flex-direction:column;
    box-shadow:0 24px 55px rgba(15,23,42,.14);
    border:1px solid rgba(15,23,42,.06);
}

.service-photo{
    flex:1;
    min-height:250px;
    background-size:cover;
    background-position:center;
    transition:transform .7s ease;
}

.service-bottom{
    position:relative;
    min-height:155px;
    background:#fff;
    padding:54px 24px 24px;
    border-radius:28px 28px 0 0;
    margin-top:-34px;
    z-index:2;
    transition:all .4s ease;
}

.image-card .service-icon{
    position:absolute;
    top:-34px;
    left:50%;
    transform:translateX(-50%);
    width:72px;
    height:72px;
    border-radius:22px;
    background:#0f172a;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    box-shadow:0 18px 35px rgba(15,23,42,.24);
}

.image-card h3{
    margin:0;
    text-align:center;
    font-size:28px;
    line-height:1.05;
    font-weight:900;
    color:#0f172a;
}

.image-card p{
    margin:14px 0 0;
    font-size:15px;
    line-height:1.45;
    color:#475569;
    opacity:0;
    max-height:0;
    overflow:hidden;
    transform:translateY(12px);
    transition:all .4s ease;
}

.image-card span{
    display:block;
    margin-top:14px;
    text-align:center;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.9px;
    color:#b08345;
    opacity:0;
    max-height:0;
    overflow:hidden;
    transition:all .4s ease;
}

.image-card:hover{
    transform:translateY(-10px) scale(1.02);
    box-shadow:0 34px 80px rgba(15,23,42,.22);
}

.image-card:hover .service-photo{
    transform:scale(1.08);
}

.image-card:hover .service-bottom{
    min-height:250px;
}

.image-card:hover p,
.image-card:hover span{
    opacity:1;
    max-height:140px;
    transform:translateY(0);
}

@media(max-width:900px){
    .image-card{
        min-height:420px;
    }

    .image-card p,
    .image-card span{
        opacity:1;
        max-height:150px;
        transform:none;
    }

    .image-card .service-bottom{
        min-height:240px;
    }
}
.premium-services{
    display:grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap:14px !important;
    max-width:1100px;
    margin:auto;
}

.image-card{
    position:relative !important;
    min-height:300px !important;
    padding:0 !important;
    border-radius:28px !important;
    overflow:hidden !important;
    background:#fff !important;
    display:flex !important;
    flex-direction:column !important;
    box-shadow:0 24px 55px rgba(15,23,42,.14) !important;
    border:1px solid rgba(15,23,42,.06) !important;
}

.image-card::before,
.image-card::after{
    display:none !important;
}

.service-photo{
    flex:1 !important;
    min-height:150px !important;
    background-size:cover !important;
    background-position:center !important;
    transition:transform .7s ease !important;
}

.service-bottom{
    position:relative !important;
    min-height:95px !important;
    background:#fff !important;
    padding:38px 16px 16px !important;
    border-radius:28px 28px 0 0 !important;
    margin-top:-24px !important;
    z-index:2 !important;
    transition:all .4s ease !important;
}

.image-card .service-icon{
    position:absolute !important;
    top:-34px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    width:72px !important;
    height:72px !important;
    border-radius:22px !important;
    background:#0f172a !important;
    color:#fff !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:30px !important;
    box-shadow:0 18px 35px rgba(15,23,42,.24) !important;
}

.image-card h3{
    margin:0 !important;
    text-align:center !important;
    font-size:20px !important;
    font-weight:900 !important;
    color:#0f172a !important;
}

.image-card p{
    font-size:13px !important;
}
.image-card span{
    opacity:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
    transform:translateY(12px) !important;
    transition:all .4s ease !important;
}

.image-card p{
    margin:14px 0 0 !important;
    font-size:15px !important;
    line-height:1.45 !important;
    color:#475569 !important;
}

.image-card span{
    display:block !important;
    margin-top:14px !important;
    text-align:center !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    color:#b08345 !important;
}

.image-card:hover{
    transform:translateY(-10px) scale(1.02) !important;
    box-shadow:0 34px 80px rgba(15,23,42,.22) !important;
}

.image-card:hover .service-photo{
    transform:scale(1.08) !important;
}

.image-card:hover .service-bottom{
    min-height:250px !important;
}

.image-card:hover p,
.image-card:hover span{
    opacity:1 !important;
    max-height:150px !important;
    transform:translateY(0) !important;
}
/* === COMPACT VERSION SERVICES === */

.image-card{
    min-height:340px !important;
    border-radius:22px !important;
}

.service-photo{
    min-height:180px !important;
}

.service-bottom{
    min-height:110px !important;
    padding:44px 18px 18px !important;
    margin-top:-28px !important;
}

/* ICON MÁS PEQUEÑO */
.image-card .service-icon{
    width:48px !important;
    height:48px !important;
    font-size:20px !important;
    top:-24px !important;
}

/* TITULO MÁS FINO */
.image-card h3{
    font-size:22px !important;
}

/* TEXTO MÁS COMPACTO */
.image-card p{
    font-size:14px !important;
    line-height:1.4 !important;
}

.image-card span{
    font-size:11px !important;
}

/* HOVER MÁS SUAVE */
.image-card:hover{
    transform:translateY(-4px) !important;
}

.image-card:hover .service-bottom{
    min-height:180px !important;
}
    
/* === ABOUT SECTION PRO === */

.about-section{
    background:#0b0f19;
}

.about-grid{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-text .eyebrow{
    color:#d7b07a;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:1.8px;
}

.about-text h2{
    margin:10px 0 20px;
    font-size:42px;
    line-height:1.2;
    color:#fff;
}

.about-text p{
    color:#cbd5e1;
    font-size:17px;
    line-height:1.6;
    margin-bottom:16px;
}

/* IMAGEN */
.about-image{
    min-height:320px;
    border-radius:22px;
    background:
        linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6)),
        url('/sea-system/assets/img/about-office.jpg') center/cover no-repeat;
    box-shadow:0 30px 80px rgba(0,0,0,.45);
    position:relative;
    overflow:hidden;
}

/* EFECTO SHINE */
.about-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.12),
        transparent
    );
    opacity:.3;
}

/* HOVER SUAVE */
.about-image:hover{
    transform:scale(1.02);
    transition:.5s ease;
}

/* RESPONSIVE */
@media(max-width:900px){
    .about-grid{
        grid-template-columns:1fr;
    }

    .about-text h2{
        font-size:30px;
    }

    .about-image{
        min-height:260px;
    }
}

/* === SECTION ANIMATIONS PRO === */

.about-text,
.about-image,
.cta-box {
    opacity:0;
    transform:translateY(40px);
    transition:all .9s cubic-bezier(.2,.8,.2,1);
}

.animate.show .about-text{
    opacity:1;
    transform:translateX(0);
    animation:slideLeftPro .9s ease both;
}

.animate.show .about-image{
    opacity:1;
    transform:translateX(0);
    animation:slideRightPro .9s ease .15s both;
}

@keyframes slideLeftPro{
    from{
        opacity:0;
        transform:translateX(-50px);
        filter:blur(5px);
    }
    to{
        opacity:1;
        transform:translateX(0);
        filter:blur(0);
    }
}

@keyframes slideRightPro{
    from{
        opacity:0;
        transform:translateX(50px);
        filter:blur(5px);
    }
    to{
        opacity:1;
        transform:translateX(0);
        filter:blur(0);
    }
}

.service-card.show{
    animation:cardRisePro .75s ease both;
}

@keyframes cardRisePro{
    from{
        opacity:0;
        transform:translateY(35px) scale(.96);
        filter:blur(4px);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
        filter:blur(0);
    }
}

.cta-premium{
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.28), transparent 35%),
        linear-gradient(135deg, #d7b07a, #b08345) !important;
    padding:90px 0 !important;
    text-align:center !important;
}

.cta-box{
    max-width:820px !important;
    margin:auto !important;
    background:#ffffff !important;
    border:1px solid rgba(15,23,42,.08) !important;
    border-radius:28px !important;
    padding:54px 40px !important;
    box-shadow:0 30px 80px rgba(15,23,42,.22) !important;
    opacity:1 !important;
    transform:none !important;
}

.cta-box .eyebrow{
    color:#b08345 !important;
}

.cta-box h2{
    margin:10px 0 14px !important;
    font-size:44px !important;
    color:#0f172a !important;
}

.cta-box p{
    margin:0 auto 28px !important;
    max-width:620px !important;
    font-size:18px !important;
    line-height:1.6 !important;
    color:#1f2937 !important;
}

.cta-box .btn-primary{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:14px 26px !important;
    border-radius:999px !important;
    font-weight:900 !important;
    background:#0f172a !important;
    color:#fff !important;
}

.cta-box .btn-primary:hover{
    background:#000 !important;
    transform:translateY(-3px) !important;
}
/* === CONTACT PRO === */

.contact-section{
    background:#f8fafc;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

/* LEFT SIDE */
.contact-info-box h2{
    margin:10px 0 16px;
    font-size:40px;
    color:#0f172a;
}

.contact-info-box p{
    color:#64748b;
    font-size:17px;
    margin-bottom:20px;
}

.contact-list{
    list-style:none;
    padding:0;
}

.contact-list li{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
    font-size:16px;
    color:#334155;
}

/* FORM CARD */
.contact-form-box{
    background:#ffffff;
    padding:30px;
    border-radius:22px;
    box-shadow:0 25px 60px rgba(15,23,42,.12);
    border:1px solid rgba(15,23,42,.06);
}

/* INPUTS */
.form-group{
    margin-bottom:14px;
}

.contact-form-box input,
.contact-form-box textarea{
    width:100%;
    padding:14px;
    border-radius:10px;
    border:1px solid #e2e8f0;
    font-size:15px;
    outline:none;
    transition:.25s;
    background:#f9fafb;
}

.contact-form-box textarea{
    min-height:120px;
    resize:none;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus{
    border-color:#d7b07a;
    background:#fff;
    box-shadow:0 0 0 3px rgba(215,176,122,.2);
}

/* BUTTON */
.contact-form-box .btn-primary{
    width:100%;
    margin-top:10px;
    padding:14px;
    border-radius:12px;
    font-weight:800;
    background:#0f172a;
    color:#fff;
}

.contact-form-box .btn-primary:hover{
    background:#000;
    transform:translateY(-2px);
}

/* RESPONSIVE */
@media(max-width:900px){
    .contact-grid{
        grid-template-columns:1fr;
    }

    .contact-info-box{
        text-align:center;
    }

    .contact-list li{
        justify-content:center;
    }
}
/* === FOOTER PRO === */

.footer-pro{
    background:#0b0f19 !important;
    color:#fff !important;
    padding:60px 0 0 !important;
    text-align:left !important;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.4fr .8fr 1fr;
    gap:40px;
    padding-bottom:40px;
}

.footer-brand h3{
    margin:0 0 14px;
    font-size:24px;
    letter-spacing:.8px;
}

.footer-brand p,
.footer-contact p{
    color:#cbd5e1;
    line-height:1.6;
    margin:0 0 10px;
}

.footer-links h4,
.footer-contact h4{
    margin:0 0 14px;
    color:#d7b07a;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:1.4px;
}

.footer-links{
    display:flex;
    flex-direction:column;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    margin-bottom:10px;
    transition:.25s;
}

.footer-links a:hover{
    color:#d7b07a;
    transform:translateX(4px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:18px;
    color:#94a3b8;
    font-size:14px;
}

@media(max-width:900px){
    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-links{
        align-items:center;
    }
}
footer.footer-pro{
    opacity:1 !important;
    transform:none !important;
}
/* === MOBILE NAV + RESPONSIVE FIX === */

.menu-toggle{
    display:none;
    background:#d7b07a;
    border:none;
    color:#0f172a;
    font-size:26px;
    font-weight:900;
    border-radius:10px;
    padding:6px 12px;
    cursor:pointer;
}

@media(max-width:768px){

    .header{
        position:fixed;
        top:0;
        left:0;
        right:0;
    }

    .nav{
        position:relative;
        padding:14px 0;
    }

    .logo{
        font-size:18px;
        line-height:1.1;
        max-width:140px;
    }

    .menu-toggle{
        display:block;
        margin-left:auto;
    }

    .menu{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:#0b0f19;
        padding:18px;
        border-radius:0 0 18px 18px;
        box-shadow:0 20px 45px rgba(0,0,0,.35);
        z-index:9999;
    }

    .menu.open{
        display:flex;
        flex-direction:column;
        gap:14px;
    }

    .menu a{
        margin:0;
        font-size:18px;
        text-align:center;
    }

    .btn-nav{
        display:block;
        text-align:center;
        margin-top:6px;
    }

    .section{
        padding:70px 0;
    }

    .section-head{
        text-align:center;
        margin-bottom:34px;
    }

    .section-head .section-title{
        font-size:34px;
        line-height:1.15;
    }

    .section-head p{
        font-size:18px;
        line-height:1.5;
    }

    .premium-services{
        grid-template-columns:1fr !important;
        max-width:360px !important;
        gap:22px !important;
    }

    .image-card{
        min-height:360px !important;
        width:100% !important;
    }

    .service-photo{
        min-height:190px !important;
    }

    .service-bottom{
        min-height:145px !important;
        text-align:center !important;
    }

    .image-card h3{
        font-size:26px !important;
    }

    .image-card p,
    .image-card span{
        opacity:1 !important;
        max-height:160px !important;
        transform:none !important;
    }

    .about-grid,
    .contact-grid{
        grid-template-columns:1fr !important;
        text-align:center;
        gap:32px;
    }

    .about-text h2,
    .contact-info-box h2,
    .cta-box h2{
        font-size:34px !important;
        line-height:1.15;
    }

    .contact-list li{
        justify-content:center;
        font-size:17px;
    }

    .contact-form-box{
        padding:22px !important;
        border-radius:22px;
    }

    .cta-premium{
        padding:70px 0 !important;
    }

    .cta-box{
        width:94% !important;
        padding:42px 24px !important;
    }
}
/* === MOBILE CONTACT FORM FIX === */

@media(max-width:768px){

    .contact-section{
        overflow:hidden;
    }

    .contact-grid{
        width:100%;
        max-width:100%;
        margin:0 auto;
        justify-items:center;
    }

    .contact-form-box{
        width:100%;
        max-width:340px;
        margin:0 auto;
        padding:22px 18px !important;
        box-sizing:border-box;
    }

    .contact-form-box input,
    .contact-form-box textarea{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        display:block;
    }

    .contact-form-box textarea{
        min-height:140px;
    }
}
/* === MOBILE CTA FINAL FIX === */
@media(max-width:768px){

    .cta-premium{
        padding:52px 0 !important;
    }

    .cta-box{
        width:90% !important;
        max-width:360px !important;
        padding:34px 22px !important;
        border-radius:24px !important;
        margin:0 auto !important;
    }

    .cta-box h2{
        font-size:34px !important;
        line-height:1.12 !important;
    }

    .cta-box p{
        font-size:18px !important;
        line-height:1.45 !important;
    }

    .cta-box .btn-primary{
        padding:13px 24px !important;
        font-size:16px !important;
    }
}
/* === SERVICES MOBILE FIX (SCROLL HORIZONTAL) === */
@media(max-width:768px){

    .premium-services{
        display:flex !important;
        overflow-x:auto;
        gap:16px;
        padding:10px 16px;
        scroll-snap-type:x mandatory;
    }

    .premium-services::-webkit-scrollbar{
        display:none;
    }

.image-card{
    flex:0 0 82vw !important;
    max-width:320px !important;
        border-radius:22px;
        scroll-snap-align:start;
    }

    .service-photo{
        height:180px !important;
    }

    .service-bottom{
        padding:18px !important;
        text-align:center;
    }

    .image-card h3{
        font-size:22px !important;
    }

    .image-card p,
    .image-card span{
        display:block !important;
        opacity:1 !important;
        max-height:none !important;
        transform:none !important;
        font-size:14px;
        margin-top:6px;
    }
}
.scroll-hint{
    text-align:center;
    font-size:14px;
    color:#94a3b8;
    margin-top:-10px;
    margin-bottom:10px;
}
/* oculto por defecto (desktop) */
.scroll-hint{
    display:none;
}

/* solo visible en mobile */
@media(max-width:768px){
    .scroll-hint{
        display:block;
        text-align:center;
        font-size:14px;
        color:#94a3b8;
        margin-top:-10px;
        margin-bottom:10px;
    }
}
@media(max-width:768px){
    .scroll-hint{
        animation:hintMove 1.5s infinite;
    }
}

@keyframes hintMove{
    0%{ transform:translateX(0); opacity:.6;}
    50%{ transform:translateX(6px); opacity:1;}
    100%{ transform:translateX(0); opacity:.6;}
}

.logo-area img{
  height: 48px;
  object-fit: contain;
}
.logo-area{
    display:flex;
    align-items:center;
}

.logo-area img{
    height:54px;
    width:auto;
    display:block;
    object-fit:contain;
    background:#fff;
    padding:6px 10px;
    border-radius:10px;
}

@media(max-width:768px){
    .logo-area img{
        height:46px;
        padding:5px 8px;
    }
}
.logo-area{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-area img{
    height:52px;
    width:auto;
    background:#fff;
    padding:6px 10px;
    border-radius:10px;
}

.brand-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.brand-main{
    font-size:18px;
    font-weight:800;
    color:#ffffff;
    letter-spacing:.5px;
}

.brand-sub{
    font-size:11px;
    color:#d7b07a;
    letter-spacing:1px;
    text-transform:uppercase;
}

@media(max-width:768px){
    .brand-main{ font-size:15px; }
    .brand-sub{ font-size:10px; }
}
section{
    scroll-margin-top: 90px;
}
html{
    scroll-behavior:smooth;
}
.header{
    backdrop-filter: blur(10px);
    background: rgba(10,10,10,0.85);
    border-bottom:1px solid rgba(255,255,255,.05);
}
/* === DESKTOP SERVICE CARDS STABLE HOVER FIX === */
@media(min-width:769px){

    .image-card{
        transform:none !important;
        will-change:transform;
    }

    .image-card:hover{
        transform:translateY(-6px) !important;
    }

    .image-card:hover .service-bottom{
        min-height:110px !important; /* evita brincar */
    }

    .image-card p,
    .image-card span{
        pointer-events:none;
    }

    .service-photo{
        transition:transform .8s ease !important;
    }

    .image-card:hover .service-photo{
        transform:scale(1.04) !important;
    }
}
/* === MISSION / VISION PREMIUM === */
.mv-section{
    background:#f8fafc;
}

.mv-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:26px;
}

.mv-card{
    background:#fff;
    border-radius:26px;
    padding:38px;
    box-shadow:0 24px 60px rgba(15,23,42,.10);
    border:1px solid rgba(15,23,42,.06);
}

.mv-card h2{
    margin:8px 0 16px;
    font-size:34px;
    color:#0f172a;
    line-height:1.15;
}

.mv-card p{
    color:#475569;
    font-size:17px;
    line-height:1.65;
}

@media(max-width:900px){
    .mv-grid{
        grid-template-columns:1fr;
    }

    .mv-card{
        padding:28px 22px;
        text-align:center;
    }

    .mv-card h2{
        font-size:28px;
    }
}
.values-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:30px;
}

.value-card{
    background:#fff;
    padding:26px;
    border-radius:18px;
    box-shadow:0 18px 50px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.05);
}

.value-card h3{
    margin-bottom:10px;
    color:#0f172a;
}

.value-card p{
    color:#475569;
}

@media(max-width:900px){
    .values-grid{
        grid-template-columns:1fr;
    }
}
/* CLIENT PORTAL BUTTON */
.btn-portal{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    border:1px solid rgba(255,255,255,.08);
    transition:.25s ease;
    white-space:nowrap;
}

.btn-portal:hover{
    transform:translateY(-2px);
    background:linear-gradient(135deg,#1e293b,#334155);
    box-shadow:0 10px 24px rgba(15,23,42,.25);
}
/* ============================= */
/* APPOINTMENT PAGE - CLEAN FINAL */
/* ============================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.appt-header {
    background: #061426;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.appt-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appt-logo img {
    height: 64px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 14px;
}

.appt-links {
    display: flex;
    gap: 24px;
}

.appt-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.appt-hero {
    min-height: 420px;
    background:
        linear-gradient(90deg, rgba(4,18,35,.92), rgba(4,18,35,.55)),
        url('/sea-system/assets/img/appointment-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.appt-hero-content {
    max-width: 720px;
}

.appt-hero span {
    color: #d7b07a;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.appt-hero h1 {
    font-size: 56px;
    margin: 14px 0;
}

.appt-hero p {
    font-size: 20px;
    line-height: 1.5;
}

.appointment-page {
    background: #061426 !important;
    padding: 0 20px 70px !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.appointment-card {
    width: 100%;
    max-width: 760px;
    margin-top: -90px;
    background: #fff;
    border-radius: 28px;
    padding: 42px;
    position: relative;
    z-index: 5;
    box-shadow: 0 35px 90px rgba(0,0,0,.35);
    overflow: hidden;
}

.appointment-card h1 {
    margin-top: 0;
    font-size: 40px;
    color: #0f172a;
}

.appointment-card p {
    color: #64748b;
    line-height: 1.5;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    display: block;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0 16px;
    font-size: 16px;
    color: #0f172a;
    outline: none;
    transition: all .2s ease;
}

.form-group textarea {
    min-height: 150px;
    padding: 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.form-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.form-grid .form-group {
    min-width: 0;
}

input[type="date"] {
    min-width: 0;
    padding-right: 45px;
}

.portal-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 24px 0 30px;
}

.portal-choice {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: .25s ease;
    background: #fff;
}

.portal-choice:hover {
    transform: translateY(-4px);
    border-color: #d7b07a;
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.portal-choice.active {
    border-color: #d7b07a;
    background: #fffaf3;
    box-shadow: 0 20px 50px rgba(215,176,122,.18);
}

.portal-choice h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 22px;
}

.portal-choice p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.portal-choice-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #0f172a;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.portal-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 22px;
}

.register-fields {
    display: none;
}

.register-fields.show {
    display: block;
}

.password-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 28px 0;
}

.booking-section {
    width: 100%;
    margin-top: 28px;
    margin-bottom: 24px;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    overflow: hidden;
}

.booking-section-head {
    margin-bottom: 22px;
}

.booking-section-head span {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.booking-section-head h2 {
    margin: 0;
    font-size: 26px;
    color: #0f172a;
}

.booking-section-head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 15px;
}

.btn-submit {
    width: 100%;
    min-height: 60px;
    border: 0;
    border-radius: 18px;
    margin-top: 18px;
    font-size: 17px;
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 16px 35px rgba(15,23,42,.25);
}

.success-box,
.error-box {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-box {
    background: #dcfce7;
    color: #166534;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
}

.appt-footer {
    background: #061426;
    color: #fff;
    padding: 50px 0 0;
    border-top: 1px solid rgba(215,176,122,.35);
}

.appt-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

.appt-footer img {
    height: 70px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.appt-footer p,
.appt-footer a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.appt-footer h4 {
    color: #d7b07a;
    margin: 0 0 14px;
}

.appt-footer-bottom {
    text-align: center;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #94a3b8;
}

@media(max-width: 768px) {
    .appt-nav {
        flex-direction: column;
        gap: 14px;
    }

    .appt-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .appt-hero {
        min-height: 360px;
        text-align: center;
    }

    .appt-hero h1 {
        font-size: 38px;
    }

    .appt-hero p {
        font-size: 17px;
    }

    .appointment-page {
        padding: 0 12px 50px !important;
    }

    .appointment-card {
        margin-top: -55px;
        padding: 22px 16px;
        border-radius: 22px;
    }

    .appointment-card h1 {
        font-size: 30px;
    }

    .portal-choice-grid,
    .password-grid,
    .form-grid,
    .appt-footer-grid {
        grid-template-columns: 1fr;
    }

    .booking-section {
        padding: 18px;
        border-radius: 20px;
    }

    .booking-section-head h2 {
        font-size: 22px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 56px;
        font-size: 16px;
    }

    .appt-footer-grid {
        text-align: center;
    }
}
/* APPOINTMENT MODE BUTTONS */

.appointment-mode-box{
    margin:26px 0 28px;
    padding:24px;
    border-radius:24px;
    background:linear-gradient(180deg,#ffffff,#f8fafc);
    border:1px solid #e2e8f0;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.appointment-mode-box h2{
    margin:0 0 8px;
    font-size:24px;
    color:#0f172a;
}

.appointment-mode-box p{
    margin:0 0 20px;
    color:#64748b;
    line-height:1.5;
}

.appointment-mode-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.mode-btn{
    border:2px solid #e2e8f0;
    background:#ffffff;
    border-radius:20px;
    padding:22px 18px;
    cursor:pointer;
    text-align:left;
    transition:.25s ease;
}

.mode-btn span{
    display:inline-flex;
    margin-bottom:10px;
    padding:6px 12px;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.mode-btn strong{
    display:block;
    font-size:20px;
    color:#0f172a;
}

.mode-btn:hover{
    transform:translateY(-3px);
    border-color:#d7b07a;
    box-shadow:0 18px 40px rgba(15,23,42,.10);
}

.mode-btn.active{
    border-color:#d7b07a;
    background:#fffaf3;
    box-shadow:0 20px 50px rgba(215,176,122,.20);
}

@media(max-width:768px){
    .appointment-mode-actions{
        grid-template-columns:1fr;
    }

    .appointment-mode-box{
        padding:18px;
    }

    .mode-btn{
        text-align:center;
    }
}
.guest-upgrade-box{
    margin:26px 0;
    padding:24px;
    border-radius:24px;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    box-shadow:0 20px 55px rgba(15,23,42,.25);
}

.guest-upgrade-box span{
    display:inline-flex;
    margin-bottom:10px;
    padding:6px 12px;
    border-radius:999px;
    background:#d7b07a;
    color:#0f172a;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.guest-upgrade-box h2{
    margin:0 0 8px;
    font-size:24px;
}

.guest-upgrade-box p{
    margin:0;
    color:#cbd5e1;
    line-height:1.5;
}

.guest-upgrade-btn{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 20px;
    border-radius:14px;
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    font-weight:900;
}

@media(max-width:768px){
    .guest-upgrade-box{
        flex-direction:column;
        text-align:center;
        align-items:stretch;
    }

    .guest-upgrade-btn{
        width:100%;
    }
}