:root {
    --color-corapura:    #f2ab53;
    --color-bjob:        #243cae;
    --color-onlinesalon: #19a2ef;
    --color-grandlion:   #79bec0;
    --color-dellamall:   #f12686;
    --color-marchedor:   #138143;
    --color-bolidesjapan:#D36756;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: #efefef;
    border: none;
}
/* ========================= */
/* SITE HEADER */

.site-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 100;
    border: none;
    outline: none;
}

/* ========================= */
/* TOP BAR */

.header-topbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.header-topbar-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.services-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 11px;
    color: #333;
    cursor: pointer;
    position: relative;
    z-index: 50;
}

.arrow-down {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #333;
    border-bottom: 1.5px solid #333;
    transform: rotate(45deg) translateY(-1px);
}

.logo {
    width: 140px;
    height: auto;
    display: block;
}

.header-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================= */
/* RIGHT AREA */

.icons-area {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}

/* ========================= */
/* BUTTONS */

.login-btn,
.login-btn:visited,
.register-btn,
.register-btn:visited {
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    text-decoration: none;
}

.login-btn {
    width: 90px;
    height: 36px;
    background: #239be8;
    transition: background .22s ease;
}

.login-btn:hover {
    background: #0081C4;
    color: #fff;
    text-decoration: none;
}

.register-btn {
    width: 108px;
    height: 36px;
    background: #f4a623;
    gap: 6px;
    transition: background .22s ease;
}

.register-btn:hover {
    background: #EB8A00;
    color: #fff;
    text-decoration: none;
}

.register-arrow {
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translateY(-2px);
    display: inline-block;
    flex-shrink: 0;
}

/* ========================= */
/* FLOATING REGISTER WIDGET */

.floating-register {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 268px;
    height: 188px;
    padding: 0 58px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3a6cf6 0%, #0b1f6b 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    box-sizing: border-box;
}

.floating-register-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-register-text {
    color: #fff;
    font-weight: 400;
    font-size: 15px;
    text-align: center;
    line-height: 1.4;
    margin: 0 0 auto;
    padding-top: 28px;
    white-space: nowrap;
    font-family: 'Noto Sans JP', sans-serif;
}

.floating-register-btn {
    width: 100%;
    height: 38px;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    transition: opacity .22s ease;
}

.floating-register-btn:hover {
    opacity: 0.85;
}

.floating-register-signup {
    background: linear-gradient(180deg, #f7b733 0%, #e8821c 100%);
}

.floating-register-login {
    background: linear-gradient(180deg, #4fb6f0 0%, #2477c4 100%);
}

/* ========================= */
/* NAV BAR */

.header-navbar {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 44px;
}

.navbar-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 0 36px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color .2s ease;
    white-space: nowrap;
}

.navbar-link:hover {
    color: #1A9FE4;
}

/* SERVICE PANEL */

.service-panel-wrapper {
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 100;
}

.service-menu {
    width: 375px;
    background: #f5f5f5;
    overflow: hidden;
    max-height: 0;
    transition: max-height .55s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
}

.service-menu.open { max-height: 1000px; }

.service-item {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 0 28px;
    border-bottom: 1px solid #d8d8d8;
    transition: background .2s ease;
    cursor: pointer;
}

.service-item:hover { background: #fff7e2; }

.service-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.corapura_icon    { background: var(--color-corapura); }
.bjob_icon        { background: var(--color-bjob); }
.onlinesalon_icon { background: var(--color-onlinesalon); }
.grandlion_icon   { background: var(--color-grandlion); }
.dellamall_icon   { background: var(--color-dellamall); }
.marchedor_icon   { background: var(--color-marchedor); }

.service-title {
    font-size: 18px;
    color: #333;
}

.service-arrow {
    width: 26px;
    height: 26px;
    border: 1px solid #555;
    border-radius: 50%;
    position: relative;
}

.service-arrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 1px solid #555;
    border-right: 1px solid #555;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -50%) rotate(45deg);
}

/* ========================= */
/* HAMBURGER */

.hamburger {
    display: none;
    width: 24px;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #1f367d;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

.navbar-login-mobile,
.navbar-register-mobile { display: none; }

/* ========================= */
/* MOBILE MENU */

.mobile-menu {
    display: none;
}

.mobile-menu-buttons { display: none; }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.home-link     { background: #fff; color: #111; }
.home-link:hover { background: #f5f5f5; }

.login-link    { background: #fff; color: #e03030; }
.login-link:hover { background: #f5f5f5; }

.register-link { background: #f4a623; color: #fff; }
.register-link:hover { background: #EB8A00; }

.mobile-bullet {
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    flex-shrink: 0;
    margin-top: -1px;
}

/* ========================= */
/* MOBILE BREAKPOINT */

@media (max-width: 900px) {

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .floating-register {
        display: none;
    }

    .header-topbar {
        height: 52px;
        padding: 0 16px;
    }

    .login-btn,
    .register-btn { display: none; }

    .hamburger { display: flex; }

    .service-menu { width: 100vw; }

    .service-panel-wrapper { top: 52px; }

    /* Navbar becomes the mobile dropdown */
    .header-navbar {
        display: block;
        background: #fff;
        position: absolute;
        top: 52px;
        left: 0;
        width: 100%;
        height: auto;
        border-top: none;
        overflow: hidden;
        max-height: 0;
        transition: max-height .55s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
    }

    .header-navbar.open {
        max-height: 600px;
    }

    .navbar-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 20px;
        font-size: 17px;
        font-weight: 500;
        color: #111;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        background: #fff;
        height: auto;
    }

    .navbar-link::before {
        content: '›';
        font-size: 20px;
        line-height: 1;
        font-weight: 400;
        color: #111;
    }

    .navbar-link:hover {
        background: #f5f5f5;
        color: #111;
    }

    .navbar-login-mobile {
        display: flex;
        background: #239be8;
        color: #fff;
    }

    .navbar-login-mobile:hover {
        background: #0081C4;
        color: #fff;
    }

    .navbar-login-mobile::before {
        display: none;
    }

    .navbar-register-mobile {
        display: flex;
        background: #f4a623;
        color: #fff;
    }

    .navbar-register-mobile:hover {
        background: #d4870a;
        color: #fff;
    }

    .navbar-register-mobile::before {
        display: none;
    }

    /* Mobile menu (ログアウト) appends below navbar links */
    .mobile-menu {
        display: block;
        position: absolute;
        top: 52px;
        left: 0;
        width: 100%;
        z-index: 997;
        background: #fff;
        overflow: hidden;
        max-height: 0;
        transition: max-height .55s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu.open {
        max-height: 400px;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 20px;
        text-decoration: none;
        font-size: 17px;
        font-weight: 500;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        background: #fff;
        color: #e03030;
    }

    .mobile-menu-buttons {
        display: flex;
        gap: 10px;
        padding: 14px 20px;
        background: #fff;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    #mobileMenu .login-btn,
    #mobileMenu .register-btn {
        display: flex;
        flex: 1;
        justify-content: center;
        font-size: 14px;
        padding: 8px 0;
    }

}

/* ========================= */
/* HERO SECTION              */
/* ========================= */

.hero-section {
    width: 100%;
    height: 830px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1820px;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-logo-col {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 0;
}

.hero-logo {
    max-height: 680px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hero-text-col {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;
}

.hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* HERO — Mobile */
@media (max-width: 900px) {
    .hero-section {
        height: auto;
        padding-top: 52px;
    }

    .hero-bg {
        position: absolute;
        height: 100%;
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        height: auto;
        gap: 20px;
    }

    .hero-logo-col {
        flex: none;
        width: 100%;
        height: auto;
        padding: 0;
        justify-content: center;
    }

    .hero-logo {
        max-height: 280px;
        width: auto;
        mix-blend-mode: multiply;
    }

    .hero-text-col {
        flex: none;
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 13px;
    }
}

/* ========================= */
/* ABOUT SECTION */

.about-section {
  width: 100%;
  background-image: url('../assets/images/about-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0;
  position: relative;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.about-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 52px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 40px;
  line-height: 1.4;
}

.about-title-strong {
  font-weight: 900;
}

.about-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  line-height: 1.9;
  margin: 0;
}

.about-break-mobile-only {
  display: none;
}

/* ABOUT — Mobile */
@media (max-width: 900px) {
  .about-section {
    background-image: url('../assets/images/about-bg-sp.webp');
    padding: 24px 0;
    background-size: cover;
    background-position: center;
  }

  .about-inner {
    text-align: left;
    padding: 0 20px;
  }

  .about-title {
    font-size: 18px;
    margin-bottom: 16px;
    white-space: normal;
    text-align: center;
  }

  .about-text {
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
  }

  .about-break-mobile-only {
    display: inline;
  }
}

/* ========================= */
/* BJ SERVICES SECTION */

.bjservices-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30px 0 90px 0;
}

.bjservices-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bjservices-bg-mobile {
  display: none;
}

.bjservices-inner {
  position: relative;
  z-index: 1;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Heading */
.bjservices-heading {
  text-align: center;
  margin-bottom: 70px;
}

.bjservices-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0 0 36px;
  line-height: 1.3;
}

.bjservices-title-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 100px;
  background: linear-gradient(90deg, #1b2a8c 0%, #4f7fe0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  vertical-align: baseline;
}

.bjservices-title-break {
  display: none;
}

.bjservices-cta {
  display: inline-block;
  padding: 24px 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3d8a 0%, #c2006e 100%);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(194, 0, 110, 0.35);
  transition: opacity .22s ease;
}

.bjservices-cta:hover {
  opacity: 0.88;
}

/* Grid */
.bjservices-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
}

.bjservices-card {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: calc((100% - 40px * 3) / 4);
  box-sizing: border-box;
}

.bjservices-photo {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #000;
  box-sizing: border-box;
}

.bjservices-content {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 145px;
}

.bjservices-content::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #000;
}

.bjservices-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.4;
  position: absolute;
  bottom: 50%;
  left: 10px;
  right: 0;
  padding-bottom: 8px;
}

.bjservices-freelance-mobile {
  display: none;
}

.bjservices-card-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #4aa8e0;
  margin: 0;
  position: absolute;
  top: calc(50% + 8px);
  left: 10px;
  right: 0;
}

/* BJ SERVICES — 2 columnas (< 1320px) */
@media (max-width: 1319px) {
  .bjservices-title-brand {
    font-size: 72px;
  }

  .bjservices-grid {
    justify-content: center;
    gap: 32px 40px;
  }

  .bjservices-card {
    width: calc((100% - 40px) / 2);
  }
}

/* BJ SERVICES — Mobile */
@media (max-width: 900px) {
  .bjservices-section {
    padding: 36px 0 70px 0;
  }

  .bjservices-bg-desktop {
    display: none;
  }

  .bjservices-bg-mobile {
    display: block;
  }

  .bjservices-inner {
    padding: 0 20px;
  }

  .bjservices-heading {
    margin-bottom: 50px;
  }

  .bjservices-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .bjservices-title-brand {
    font-size: 30px;
  }

  .bjservices-title-break {
    display: block;
  }

  .bjservices-cta {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    box-sizing: border-box;
  }

  .bjservices-grid {
    flex-direction: column;
    gap: 48px;
  }

  .bjservices-card {
    width: 100%;
    gap: 0;
  }

  .bjservices-photo {
    width: 72px;
    height: 72px;
  }

  .bjservices-content {
    height: 72px;
  }

  .bjservices-card-title {
    font-size: 15px;
  }

  .bjservices-freelance-desktop {
    display: none;
  }

  .bjservices-freelance-mobile {
    display: inline;
  }

  .bjservices-card-subtitle {
    font-size: 11px;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  width: 100%;
}

/* --- Desktop / Tablet --- */
.footer-desktop {
  background: #e0e0e0;
  padding: 36px 0 28px;
}

.footer-nav-area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  border-bottom: 1px solid #bbb;
  padding-bottom: 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav-label {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  min-width: 100px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap:20px;
}

.footer-nav-links span {
  font-size: 13px;
  color: #333;
  padding: 0 14px;
  border-right: 1px solid #888;
  line-height: 1;
  white-space: nowrap;
}

.footer-nav-links span:first-child {
  border-left: 1px solid #888;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-brand-name {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.footer-brand-sub {
  font-size: 12px;
  color: #555;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.footer-legal-links span {
  font-size: 12px;
  color: #333;
  padding: 0 12px;
  border-right: 1px solid #888;
  line-height: 1;
  white-space: nowrap;
}

.footer-legal-links span:last-child {
  border-right: none;
  padding-right: 0;
}

/* --- Mobile --- */
.footer-mobile {
  display: none;
  background: #0d4a8a;
  padding: 20px;
  text-align: center;
}

.footer-mobile-url {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .footer-desktop {
    display: none;
  }
  .footer-mobile {
    display: block;
  }
}


/* =========================
   HERO SLIDER SECTION
========================= */
.hero-slider-section {
  width: 100%;
  height: 752px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at left, #4830c8 0%, transparent 35%),
    radial-gradient(circle at right, #2f8dff 0%, transparent 30%),
    url('../assets/images/bluebg.webp') center center / cover no-repeat,
    linear-gradient(135deg, #3c3fd1 0%, #2f78ff 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bg-circle-slider {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08);
}

.bg-circle-slider.left {
  width: 1500px;
  height: 1500px;
  left: -1000px;
  bottom: -1000px;
}

.bg-circle-slider.right {
  width: 1300px;
  height: 1300px;
  right: -900px;
  bottom: -900px;
}

.hero-slider-section .slider-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 720px;
  padding: 0 180px;
}

.hero-slider-section .slide {
  position: absolute;
  width: 920px;
  height: 545px;
  left: 50%;
  top: 50%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition:
    transform 1s cubic-bezier(.22,.61,.36,1),
    opacity 1s ease,
    filter 1s ease;
  transform: translate(-50%, -50%) scale(.5);
}

.hero-slider-section .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.hero-slider-section .slide.active {
  opacity: 1;
  z-index: 10;
  filter: grayscale(0%);
  transform: translate(-50%, -50%) scale(1);
}

.hero-slider-section .slide.next1 {
  opacity: .7;
  z-index: 6;
  filter: grayscale(100%);
  transform: translate(calc(-50% + 430px), -50%) scale(.58);
}

.hero-slider-section .slide.next2 {
  opacity: .42;
  z-index: 4;
  filter: grayscale(100%);
  transform: translate(calc(-50% + 610px), -50%) scale(.46);
}

.hero-slider-section .slide.next3 {
  opacity: .20;
  z-index: 2;
  filter: grayscale(100%);
  transform: translate(calc(-50% + 760px), -50%) scale(.36);
}

.hero-slider-section .slide.prev1 {
  opacity: .7;
  z-index: 6;
  filter: grayscale(100%);
  transform: translate(calc(-50% - 430px), -50%) scale(.58);
}

.hero-slider-section .slide.prev2 {
  opacity: .42;
  z-index: 4;
  filter: grayscale(100%);
  transform: translate(calc(-50% - 610px), -50%) scale(.46);
}

.hero-slider-section .slide.prev3 {
  opacity: .20;
  z-index: 2;
  filter: grayscale(100%);
  transform: translate(calc(-50% - 760px), -50%) scale(.36);
}

/* Flechas */
.slider-arrows {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 20;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.3);
}

@media (max-width: 800px) {
  .hero-slider-section {
    height: 452px;
  }

  .hero-slider-section .slider-container {
    height: 420px;
    padding: 0 20px;
  }

  .hero-slider-section .slide {
    width: 82%;
    height: auto;
    aspect-ratio: 16/10;
  }

  .hero-slider-section .slide.prev1 {
    transform: translate(calc(-50% - 120px), -50%) scale(.68);
  }

  .hero-slider-section .slide.next1 {
    transform: translate(calc(-50% + 120px), -50%) scale(.68);
  }

  .hero-slider-section .slide.prev2,
  .hero-slider-section .slide.prev3,
  .hero-slider-section .slide.next2,
  .hero-slider-section .slide.next3 {
    display: none;
  }

  .slider-arrows {
    bottom: 20px;
  }
}

/* =========================
   FEATURES SECTION
========================= */
.features-section {
  background: #fff;
  padding: 60px 24px 80px;
  position: relative;
}

.features-inner {
  max-width: 1770px;
  margin: 0 auto;
}

.features-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
  gap: 24px;
  position: relative;
  min-height: 120px;
}

.features-header::before {
  content: '';
  display: none;
}

.features-title-block {
  text-align: center;
}

.features-title {
  font-size: 48px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.04em;
}

.features-subtitle {
  font-size: 20px;
  color: #888;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

.features-badge-img {
  max-height: 100px;
  width: auto;
  height: auto;
  flex-shrink: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: #00A4E1;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  outline: 2px solid white;
  outline-offset: -7px;
}

.feature-name {
  font-size: 12px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 3px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
}

/* Load more button */
.features-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.features-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #00A4E1;
  border-radius: 999px;
  background: #fff;
  color: #00A4E1;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 36px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.features-more-btn:hover {
  background: #00A4E1;
  color: #fff;
}

/* =========================
   MERITS SECTION
========================= */
.merits-section {
  background: linear-gradient(135deg, #e0f7ff 0%, #f0f8ff 100%);
  padding: 60px 24px;
  position: relative;
}

.merits-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.merits-header {
  text-align: center;
  margin-bottom: 40px;
}

.merits-title {
  font-size: 48px;
  font-weight: 500;
  color: #111;
  margin-bottom: 8px;
}

.merits-subtitle {
  font-size: 18px;
  color: #888;
  letter-spacing: 0.05em;
}

.merits-description {
  font-size: 20px;
  color: #555;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* CIRCLES AND FLOW */
.merits-flow {
  margin-bottom: 60px;
}

.merits-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.merits-circle {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.circle-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.circle-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

.circle-label {
  font-size: 14px;
  margin-bottom: 8px;
}

.circle-content {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.merits-arrows {
  display: block;
  width: calc(100% - 60px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* BANNER */
.merits-banner {
  text-align: center;
  margin: 60px 0;
}

.merits-banner-img {
  width: calc(100% - 60px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* BEFORE/AFTER */
.merits-before-after {
  text-align: center;
}

.before-after-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* BOTTOM CTA */
.merits-bottom {
  position: relative;
  text-align: center;
}

.yellow-line {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.merits-cta {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.highlight {
  color: #0099ff;
  font-size: 52px;
  font-weight: 900;
  position: relative;
  padding-bottom: 8px;
  background: linear-gradient(to right, #ffc107, #ffb300) no-repeat bottom;
  background-size: 100% 6px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 900px) {
  .merits-section {
    padding: 60px 20px;
  }

  .merits-title {
    font-size: 32px;
  }

  .merits-subtitle {
    font-size: 16px;
  }

  .merits-description {
    font-size: 14px;
    margin-bottom: 50px;
  }

  .merits-circles {
    gap: 20px;
  }

  .merits-circle {
    width: 160px;
    height: 160px;
  }

  .circle-label {
    font-size: 12px;
  }

  .circle-content {
    font-size: 16px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .merits-cta {
    font-size: 22px;
  }

  .highlight {
    font-size: 26px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
  .merits-section {
    padding: 50px 16px;
  }

  .merits-title {
    font-size: 26px;
  }

  .merits-subtitle {
    font-size: 14px;
  }

  .merits-description {
    font-size: 13px;
    margin-bottom: 40px;
  }

  .merits-circles {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .merits-circle {
    width: 100px;
    height: 100px;
  }

  .circle-label {
    font-size: 8px;
  }

  .circle-content {
    font-size: 10px;
  }

  .merits-flow {
    margin-bottom: 20px;
  }

  .merits-banner {
    margin: 20px 0;
  }

  .merits-before-after {
    margin: 20px 0;
  }

  .merits-bottom {
    margin-top: 20px;
  }

  .merits-cta {
    font-size: 18px;
  }

  .highlight {
    font-size: 20px;
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-title {
    font-size: 36px;
  }
  .features-subtitle {
    font-size: 16px;
  }
  .features-badge-img {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-left: 12px;
    margin-top: 15px;
  }
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature-text {
    text-align: center;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .features-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
  }
  .features-header::before {
    display: none;
  }
  .features-title-block {
    text-align: center;
    width: 100%;
    flex-basis: 100%;
  }
  .features-title {
    font-size: 28px;
  }
  .features-subtitle {
    font-size: 13px;
  }
  .features-badge-img {
    max-height: 100px;
    width: auto;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: -30px;
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
  }
  .feature-item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 26px;
    outline-offset: -5px;
  }
  .feature-text {
    text-align: center;
  }
  .feature-name {
    font-size: 11px;
  }
  .feature-desc {
    display: none;
  }
}

/* =========================
   SERVICE INTRO SECTION
========================= */
.service-intro-section {
  background: #fff url('../assets/images/bolid-bg.webp') no-repeat center center;
  background-size: cover;
  padding: 60px 24px;
  position: relative;
}

.service-intro-inner {
  max-width: 1770px;
  margin: 0 auto;
}

.service-intro-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-intro-title {
  font-size: 48px;
  font-weight: 500;
  color: #111;
  margin-bottom: 8px;
}

.service-intro-subtitle {
  font-size: 18px;
  color: #888;
  letter-spacing: 0.05em;
}

.service-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 44px;
  border: 2px dashed #b9d4e8;
  border-radius: 28px;
  background: linear-gradient(135deg, #f4f2ee 0%, #eef3f6 100%);
  padding: 60px 68px;
  overflow: hidden;
}

.service-intro-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 28px;
}

.mini-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
}

.mini-feature-icon {
  width: 64px;
  height: 64px;
  background: #00A4E1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  margin-bottom: 6px;
}

.mini-feature-label {
  font-size: 9px;
  font-weight: 500;
  color: #00A4E1;
  text-align: center;
  line-height: 1.3;
}

.service-intro-brand-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}

.service-intro-brand {
  font-size: 37px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.service-intro-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.service-intro-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
}

.dot-blue   { background: #1e88e5; }
.dot-orange { background: #f5a623; }
.dot-pink   { background: #e0219e; }

.service-intro-text {
  font-size: 1.25rem; /* 20px */
  color: #444;
  line-height: 1.9;
  margin-bottom: 32px;
}

.service-intro-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.service-intro-diagram {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
}

/* Photo cards (salon / liondor / marchedor): bleed the photo flush to the
   card's right + bottom edges, clipped by the card's own rounded corner. */
.service-intro-card--salon .service-intro-right,
.service-intro-card--liondor .service-intro-right,
.service-intro-card--marchedor .service-intro-right {
  align-self: stretch;
  margin: -60px -68px -60px 0;
  align-items: flex-end;
  justify-content: flex-end;
}

.service-intro-card--salon .service-intro-diagram,
.service-intro-card--liondor .service-intro-diagram,
.service-intro-card--marchedor .service-intro-diagram {
  max-width: 720px;
}

/* =========================
   CORAPURA CARD (secondary service-intro-card)
========================= */
.service-intro-card--corapura {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 32px;
  border: 2px dashed #9cc9e8;
  border-radius: 28px;
  background: linear-gradient(135deg, #eaf6fd 0%, #dcefff 100%);
  padding: 32px 56px;
  overflow: hidden;
}

/* Photo bleeds flush to the card's left + top + bottom edges (clipped by
   the card's own rounded corner) while the text column keeps its padding. */
.corapura-media {
  flex: 0 0 auto;
  align-self: stretch;
  margin: -32px 0 -32px -56px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.corapura-media-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.corapura-content {
  flex: 1 1 auto;
  min-width: 0;
}

.corapura-content-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.corapura-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.corapura-icons {
  margin-bottom: 0;
  flex-wrap: nowrap;
}

.corapura-text {
  margin-bottom: 28px;
}

.dot-teal { background: #598D93; }
.dot-gold { background: #E0B159; }

.service-intro-card--salon {
  margin-top: 32px;
}

.service-intro-card--bjob {
  margin-top: 32px;
}

.dot-salon-blue   { background: #2f96fc; }
.dot-salon-green  { background: #67bb1f; }
.dot-salon-orange { background: #f5652e; }

.dot-bjob-navy   { background: #3a4aae; }
.dot-bjob-orange { background: #f9b05c; }
.dot-bjob-blue   { background: #3088dd; }

.service-intro-card--liondor {
  margin-top: 32px;
}

.dot-liondor-black { background: #000000; }
.dot-liondor-gray  { background: #c3c3c3; }
.dot-liondor-gold  { background: #9c8222; }

.service-intro-card--marchedor {
  margin-top: 32px;
}

.dot-marchedor-green { background: #138143; }
.dot-marchedor-brown { background: #7b4b2a; }
.dot-marchedor-gold  { background: #c9a227; }

.service-intro-card--della {
  margin-top: 32px;
}

.dot-della-blue  { background: #4dc2fd; }
.dot-della-pink  { background: #fa007e; }
.dot-della-green { background: #8eb51a; }

/* STACKED LAYOUT (below 1200px) — fluid, proportional scaling */
@media (max-width: 1200px) {
  .service-intro-section {
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 24px);
  }

  .service-intro-header {
    margin-bottom: clamp(20px, 4vw, 40px);
  }

  .service-intro-title {
    font-size: clamp(22px, 4.5vw, 40px);
  }

  .service-intro-subtitle {
    font-size: clamp(12px, 2.2vw, 18px);
  }

  .service-intro-card {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(20px, 5vw, 40px) clamp(16px, 5vw, 32px);
    border-radius: clamp(16px, 3vw, 28px);
    gap: clamp(12px, 2.5vw, 24px);
  }

  /* Flatten so children reorder alongside .service-intro-right */
  .service-intro-left {
    display: contents;
  }

  .service-intro-icons {
    display: none;
  }

  .service-intro-brand-wrap {
    order: 1;
    align-items: center;
    width: 100%;
  }

  .service-intro-brand {
    font-size: clamp(18px, 4vw, 34px);
    text-align: center;
    margin-bottom: 0;
  }

  .service-intro-dots {
    justify-content: center;
    margin-bottom: 0;
  }

  .service-intro-text {
    order: 2;
    width: 100%;
    text-align: left;
    font-size: clamp(0.92rem, 2vw, 1.25rem); /* ~14.7px - 20px, proportional to desktop 1.25rem */
    line-height: 1.8;
    margin-bottom: 0;
  }

  .service-intro-right {
    order: 3;
    width: 100%;
    margin: 0;
    align-self: center;
    justify-content: center;
    align-items: center;
  }

  /* Reset the desktop right/bottom bleed (salon / liondor / marchedor)
     so photos don't overlap the text in the stacked mobile layout. */
  .service-intro-card--salon .service-intro-right,
  .service-intro-card--liondor .service-intro-right,
  .service-intro-card--marchedor .service-intro-right {
    margin: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
  }

  .service-intro-card--salon .service-intro-diagram,
  .service-intro-card--liondor .service-intro-diagram,
  .service-intro-card--marchedor .service-intro-diagram {
    max-width: 100%;
  }

  .service-intro-diagram {
    width: min(85%, 420px);
    max-width: 100%;
  }

  /* --- CORAPURA CARD --- */
  .service-intro-card--corapura {
    flex-direction: column;
    align-items: center;
    padding: clamp(20px, 5vw, 40px) clamp(16px, 5vw, 32px);
    gap: clamp(12px, 2.5vw, 24px);
  }

  /* Flatten so children reorder alongside .corapura-media */
  .corapura-content {
    display: contents;
  }

  .corapura-media {
    order: 3;
    width: 100%;
    margin: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .corapura-media-image {
    width: min(85%, 420px);
    max-width: 100%;
  }

  .corapura-content-top {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 0;
  }

  .corapura-brand-wrap {
    align-items: center;
    width: 100%;
  }

  .corapura-icons {
    display: none;
  }

  .corapura-text {
    order: 2;
    width: 100%;
    text-align: left;
    font-size: clamp(0.92rem, 2vw, 1.25rem); /* ~14.7px - 20px, proportional to desktop 1.25rem */
    line-height: 1.8;
    margin-bottom: 0;
  }

  .corapura-btn {
    order: 4;
    font-size: clamp(12px, 2vw, 17px);
    padding: clamp(10px, 2vw, 15px) clamp(12px, 3vw, 16px) clamp(10px, 2vw, 15px) clamp(20px, 4vw, 34px);
  }
}

/* =========================================================
   SMOOTH ANCHOR NAVIGATION
   (does not alter existing design/spacing/animations)
========================================================= */

/* Enable native smooth scrolling site-wide */
html {
    scroll-behavior: smooth;
}

/* Keep section titles clear of the header after an anchor jump.
   The offset targets the title elements themselves (not the outer
   section), so it is not affected by each section's own internal
   padding — no padding/margin was added to any section for this. */
#home {
    scroll-margin-top: 0;
}

#about,
#features,
#services {
    scroll-margin-top: 40px;
}

/* On tablet/mobile the header becomes fixed (52px tall), so anchored
   titles need the header height plus ~40px of visual breathing room. */
@media (max-width: 900px) {
    #home {
        scroll-margin-top: 52px;
    }

    #about,
    #features,
    #services {
        scroll-margin-top: 92px;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ========================= */
/* BACK-TO-TOP BUTTON (single, fixed, site-wide) */

.back-to-top {
    position: fixed;
    left: 28px;
    bottom: 28px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid #00A4E1;
    color: #00A4E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    opacity: 0.85;
    transition: background .22s ease, transform .22s ease, opacity .22s ease;
    z-index: 500;
}

.back-to-top i,
.back-to-top svg,
.back-to-top .fa-arrow-up {
    color: #00A4E1 !important;
    fill: currentColor;
    stroke: currentColor;
}

.back-to-top i::before {
    color: #00A4E1 !important;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: #1A9FE4;
    opacity: 1;
    transform: translateY(-4px);
}

.back-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .back-to-top {
        width: 38px;
        height: 38px;
        left: 24px;
        bottom: 24px;
        font-size: 13px;
    }
}


/* =========================
   UNDER CONSTRUCTION LIGHTBOX
========================= */
.uc-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.uc-overlay.uc-hidden {
    opacity: 0;
    pointer-events: none;
}

.uc-modal {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 420px;
    width: 88%;
    padding: 40px 28px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.uc-overlay.uc-hidden .uc-modal {
    transform: scale(0.9);
}

.uc-text {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin: 0;
}

.uc-text-en {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    color: #555;
}

.uc-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.uc-close:hover,
.uc-close:focus-visible {
    color: #1A9FE4;
}

@media (max-width: 480px) {
    .uc-modal {
        padding: 32px 20px 24px;
    }

    .uc-text {
        font-size: 14px;
    }
}
