@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800;900&display=swap');
:root {
    --pearl-black: #127D77;
    --pearl-ink: #10201f;
    --pearl-charcoal: #0d625d;
    --pearl-red: #0B4EA2;
    --pearl-red-2: #1565C0;
    --pearl-white: #ffffff;
    --pearl-cream: #fbfdfc;
    --pearl-soft: #edf7f5;
    --pearl-muted: #6f6f76;
    --pearl-line: rgba(20,20,20,0.10);
    --pearl-red-line: rgba(11,78,162,0.22);
    --pearl-shadow: 0 22px 60px rgba(0,0,0,0.14);
    --pearl-soft-shadow: 0 18px 46px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: Manrope, Helvetica, Arial, sans-serif;
    background: var(--pearl-cream);
    color: var(--pearl-ink);
    line-height: 1.72;
    overflow-x: hidden;
}

body:not(.has-transparent-hero) { padding-top: 116px; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

::selection { background: var(--pearl-red); color: var(--pearl-white); }

#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget,
.goog-te-balloon-frame,
.goog-logo-link,
.goog-te-menu-frame,
iframe.goog-te-banner-frame,
body > .skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

body { top: 0 !important; }

.container {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}

.section {
    position: relative;
    padding: clamp(70px, 9vw, 128px) 0;
    overflow: hidden;
}

.section-dark {
    background: #ffffff;
    color: var(--pearl-ink);
}

.section-gray {
    background:
        radial-gradient(circle at 12% 14%, rgba(11,78,162,0.055), transparent 28%),
        #f3faf8;
    color: var(--pearl-ink);
}

.section-redwash {
    background:
        linear-gradient(135deg, rgba(11,78,162,0.075), rgba(255,255,255,0.94)),
        #ffffff;
    color: var(--pearl-ink);
}

.section-black {
    background: linear-gradient(135deg, #127D77, #0d625d);
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pearl-red);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--pearl-red);
}

h1, h2, h3, h4 {
    line-height: 1.03;
    letter-spacing: -0.045em;
}

h1,
h2 {
    font-family: Manrope, Helvetica, Arial, sans-serif;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 8rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2.35rem, 5vw, 5.4rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
}

p { color: var(--pearl-muted); }

.section-black p,
.hero p,
.pearl-footer p { color: rgba(255,255,255,0.72); }

.red { color: var(--pearl-red); }
.white { color: var(--pearl-white); }

.btn-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.btn:hover { transform: translateY(-3px); }

.btn-red {
    color: #ffffff;
    background: var(--pearl-red);
    box-shadow: 0 18px 38px rgba(11,78,162,0.20);
}

.btn-red:hover { background: var(--pearl-red-2); box-shadow: 0 24px 54px rgba(11,78,162,0.26); }

.btn-outline {
    color: var(--pearl-ink);
    background: #ffffff;
    border-color: rgba(20,20,20,0.14);
}

.btn-outline:hover {
    border-color: var(--pearl-red);
    color: var(--pearl-red);
}

.hero .btn-outline,
.section-black .btn-outline {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.20);
}

.btn-white {
    color: #111;
    background: #ffffff;
}

.pearl-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 9999;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background 0.32s ease,
        border-color 0.32s ease,
        box-shadow 0.32s ease,
        backdrop-filter 0.32s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.pearl-site-header.is-scrolled,
.pearl-site-header.is-menu-open {
    background: rgba(255,255,255,0.96);
    border-bottom-color: rgba(20,20,20,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.pearl-top-bar {
    width: 100%;
    background: rgba(7,7,7,0.60);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 13px;
    max-height: 92px;
    opacity: 1;
    overflow: visible;
    transform: translateY(0);
    transform-origin: top;
    will-change: transform, opacity, max-height;
    transition:
        background 0.32s ease,
        border-color 0.32s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.34s ease,
        max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.pearl-site-header.is-scrolled .pearl-top-bar,
.pearl-site-header.is-menu-open .pearl-top-bar {
    background: var(--pearl-red);
    border-bottom-color: rgba(255,255,255,0.18);
}

.pearl-top-inner {
    width: min(100%, 1280px);
    margin: 0 auto;
    min-height: 36px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: padding 0.32s ease, min-height 0.42s cubic-bezier(0.22,1,0.36,1);
}

.pearl-top-contact, .pearl-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pearl-top-contact a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 650;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pearl-top-contact a:hover { opacity: 0.78; transform: translateY(-1px); }
.pearl-top-contact span { font-weight: 850; }

.pearl-translate-box { position: relative; display: inline-flex; align-items: center; line-height: 1; }

.pearl-translate-toggle {
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    padding: 7px 12px;
    min-width: 142px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pearl-translate-toggle:hover,
.pearl-translate-box.open .pearl-translate-toggle {
    background: rgba(255,255,255,0.20);
    transform: translateY(-1px);
}

.pearl-translate-toggle span:last-child { flex: 1; text-align: left; white-space: nowrap; }

.pearl-translate-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 9px);
    min-width: 245px;
    background: #ffffff;
    border: 1px solid rgba(11,78,162,0.16);
    box-shadow: 0 22px 55px rgba(0,0,0,0.18);
    padding: 8px;
    z-index: 3000;
    display: none;
}

.pearl-translate-box.open .pearl-translate-dropdown {
    display: block;
    animation: pearlTranslateDrop 0.22s ease forwards;
}

@keyframes pearlTranslateDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.pearl-translate-title {
    padding: 9px 11px 8px;
    color: var(--pearl-red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(11,78,162,0.12);
    margin-bottom: 5px;
}

.pearl-translate-option {
    width: 100%;
    border: none;
    background: transparent;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 11px;
    font-size: 13.2px;
    font-weight: 650;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.pearl-translate-option:hover,
.pearl-translate-option.active { background: rgba(11,78,162,0.09); color: var(--pearl-red); }

.pearl-translate-option span { opacity: 0; color: var(--pearl-red); font-weight: 900; }
.pearl-translate-option.active span { opacity: 1; }
.pearl-translate-divider { height: 1px; background: rgba(11,78,162,0.14); margin: 7px 0; }
.pearl-translate-note { padding: 8px 11px 4px; color: #777; font-size: 11.8px; line-height: 1.35; }

.pearl-header-inner {
    width: min(100%, 1280px);
    margin: 0 auto;
    min-height: 82px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    transition: min-height 0.42s cubic-bezier(0.22,1,0.36,1), padding 0.32s ease;
}

.pearl-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }

.pearl-logo {
    width: auto;
    height: 56px;
    max-width: 210px;
    object-fit: contain;
    transition: opacity 0.22s ease;
}

.pearl-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex: 1;
    white-space: nowrap;
}

.pearl-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 760;
    line-height: 1;
    transition: color 0.25s ease, background 0.25s ease;
    text-shadow: 0 1px 10px rgba(0,0,0,0.22);
}

.pearl-site-header.is-scrolled .pearl-nav-link,
.pearl-site-header.is-menu-open .pearl-nav-link {
    color: var(--pearl-ink);
    text-shadow: none;
}

.pearl-nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 7px;
    height: 3px;
    background: var(--pearl-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.pearl-nav-link:hover,
.pearl-nav-link.is-active { background: rgba(11,78,162,0.12); }

.pearl-nav-link:hover::after,
.pearl-nav-link.is-active::after { transform: scaleX(1); }

.pearl-invoice-btn {
    margin-left: 8px;
    min-height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--pearl-red);
    color: #ffffff;
    border: 1px solid var(--pearl-red);
    font-weight: 850;
    font-size: 0.83rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.pearl-invoice-btn:hover {
    transform: translateY(-2px);
    background: var(--pearl-red-2);
}

.pearl-nav-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.22);
}

.pearl-site-header.is-scrolled .pearl-nav-socials,
.pearl-site-header.is-menu-open .pearl-nav-socials {
    border-left-color: rgba(20,20,20,0.12);
}

.pearl-nav-socials a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.10);
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pearl-site-header.is-scrolled .pearl-nav-socials a,
.pearl-site-header.is-menu-open .pearl-nav-socials a {
    color: var(--pearl-red);
    border-color: rgba(11,78,162,0.20);
    background: rgba(11,78,162,0.055);
}

.pearl-nav-socials a:hover {
    background: var(--pearl-red);
    color: #ffffff;
    transform: translateY(-1px);
}

.pearl-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.pearl-site-header.is-scrolled .pearl-menu-toggle,
.pearl-site-header.is-menu-open .pearl-menu-toggle {
    border-color: rgba(11,78,162,0.22);
    background: #ffffff;
}

.pearl-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.pearl-site-header.is-scrolled .pearl-menu-toggle span,
.pearl-site-header.is-menu-open .pearl-menu-toggle span { background: var(--pearl-red); }

.pearl-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pearl-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.pearl-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pearl-mobile-menu {
    display: none;
    width: min(332px, calc(100% - 28px));
    max-width: 332px;
    position: absolute;
    right: 14px;
    top: calc(100% + 8px);
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(11,78,162,0.18);
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pearl-mobile-menu.is-open { display: block; animation: pearlMenuDrop 0.22s ease; }

@keyframes pearlMenuDrop {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pearl-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    color: var(--pearl-ink);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 720;
    border-bottom: 1px solid rgba(20,20,20,0.08);
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.pearl-mobile-link:hover {
    color: var(--pearl-red);
    background: rgba(11,78,162,0.07);
    padding-left: 23px;
}

.pearl-mobile-link.is-active,
.pearl-mobile-cta {
    background: var(--pearl-red);
    color: #ffffff;
}

.pearl-mobile-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 16px 15px;
    background: rgba(11,78,162,0.055);
}

.pearl-mobile-socials a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pearl-red);
    background: #ffffff;
    border: 1px solid rgba(11,78,162,0.18);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.pearl-mobile-socials a:hover { background: var(--pearl-red); color: #ffffff; transform: translateY(-1px); }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #127D77;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    animation: pearlHeroZoom 20s ease-in-out infinite alternate;
}

@keyframes pearlHeroZoom {
    0% { transform: scale(1.04); }
    100% { transform: scale(1.10); }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(105deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.66) 48%, rgba(0,0,0,0.45) 100%),
        radial-gradient(circle at 78% 40%, rgba(11,78,162,0.30), transparent 28%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(90deg, black, transparent 88%);
}

.hero-wave {
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -35%;
    width: 22%;
    z-index: 1;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.08) 43%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.07) 58%, rgba(255,255,255,0) 80%, transparent 100%);
    filter: blur(2px);
    transform: skewX(-18deg) translateX(-130%);
    animation: pearlHeroWave 8.8s ease-in-out infinite;
    mix-blend-mode: screen;
    pointer-events: none;
}

@keyframes pearlHeroWave {
    0%, 20% { transform: skewX(-18deg) translateX(-140%); opacity: 0; }
    36% { opacity: 0.42; }
    58% { transform: skewX(-18deg) translateX(650%); opacity: 0.28; }
    78%, 100% { opacity: 0; transform: skewX(-18deg) translateX(650%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 138px;
    padding-bottom: 80px;
    max-width: 900px;
}

.hero p {
    max-width: 720px;
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    margin: 22px 0 34px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 44px;
}

.hero-stat {
    min-width: 155px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
}

.hero-stat strong {
    display: block;
    color: var(--pearl-red-2);
    font-size: 1.4rem;
    line-height: 1;
}

.hero-stat span {
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.grid-2 { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.section-head { max-width: 820px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.card {
    position: relative;
    padding: 30px;
    min-height: 250px;
    background: #ffffff;
    border: 1px solid rgba(20,20,20,0.08);
    box-shadow: var(--pearl-soft-shadow);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pearl-red), transparent);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(11,78,162,0.28);
    background: #f8fbff;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pearl-red);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.card h3 { margin-bottom: 14px; }

.price-pill {
    display: inline-flex;
    margin-top: 18px;
    color: var(--pearl-red);
    background: rgba(11,78,162,0.08);
    border: 1px solid rgba(11,78,162,0.18);
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 850;
}

.image-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #0d625d;
    border: 1px solid rgba(20,20,20,0.10);
    box-shadow: var(--pearl-shadow);
    isolation: isolate;
}

.image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-card:hover img { transform: scale(1.07); }

.image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78));
}

.image-card-content {
    position: relative;
    z-index: 2;
    min-height: inherit;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.image-card-content p { color: rgba(255,255,255,0.78); }

.flipbook-section {
    position: relative;
}

.flipbook-row {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 18px 4px 28px;
    scroll-snap-type: x mandatory;
}

.flipbook-row::-webkit-scrollbar { height: 9px; }
.flipbook-row::-webkit-scrollbar-thumb { background: rgba(11,78,162,0.34); }
.flipbook-row::-webkit-scrollbar-track { background: rgba(0,0,0,0.08); }

.flip-card {
    position: relative;
    flex: 0 0 min(310px, 78vw);
    height: 410px;
    perspective: 1300px;
    scroll-snap-align: start;
}

.flip-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(.22,1,.36,1);
}

.flip-card:hover .flip-inner {
    transform: rotateY(-180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: #fff;
    border: 1px solid rgba(20,20,20,0.10);
    box-shadow: var(--pearl-shadow);
    overflow: hidden;
}

.flip-front img,
.flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-front::after {
    content: attr(data-title);
    position: absolute;
    inset: auto 18px 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.92);
    color: var(--pearl-ink);
    font-weight: 850;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.flip-back {
    padding: 28px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-back h3 { color: var(--pearl-red); margin-bottom: 14px; }
.flip-back p { color: var(--pearl-muted); }

.profile-book {
    position: relative;
    min-height: 430px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background: #fff;
    box-shadow: var(--pearl-shadow);
    border: 1px solid rgba(20,20,20,0.10);
    overflow: hidden;
}

.profile-book::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 49%;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18), transparent);
    z-index: 3;
}

.profile-book-cover {
    position: relative;
    overflow: hidden;
    background: #0d625d;
}

.profile-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-book-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,78,162,0.25), rgba(0,0,0,0.50));
}

.profile-book-pages {
    padding: clamp(28px, 4vw, 56px);
    display: grid;
    align-content: center;
    gap: 18px;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px),
        #fff;
    background-size: 46px 46px;
}

.profile-book-pages ul {
    display: grid;
    gap: 10px;
    color: var(--pearl-muted);
    padding-left: 18px;
}

.form-shell {
    background: #ffffff;
    border: 1px solid rgba(20,20,20,0.08);
    box-shadow: var(--pearl-shadow);
    padding: clamp(24px, 4vw, 46px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label:not(.check-row) {
    color: var(--pearl-ink);
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid rgba(20,20,20,0.12);
    background: #fbfdfc;
    color: var(--pearl-ink);
    padding: 14px 14px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-field input[type="file"] {
    padding: 12px;
    background: #ffffff;
}

.form-field textarea { min-height: 130px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--pearl-red);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(11,78,162,0.08);
}

.form-note {
    padding: 16px;
    border: 1px solid rgba(11,78,162,0.20);
    background: rgba(11,78,162,0.06);
    color: #46464d;
    font-size: 0.92rem;
    margin: 16px 0 22px;
}

.check-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #54545c;
    font-size: 0.9rem;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.6;
}

.check-row input {
    width: auto;
    margin-top: 5px;
    accent-color: var(--pearl-red);
}

.field-help {
    font-size: 0.78rem;
    color: var(--pearl-muted);
    margin-top: -2px;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.alert {
    padding: 16px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(20,20,20,0.10);
    background: #fff;
    color: var(--pearl-ink);
}

.alert.success {
    border-color: rgba(40,160,90,0.30);
    background: rgba(40,220,120,0.08);
}

.alert.error {
    border-color: rgba(11,78,162,0.30);
    background: rgba(11,78,162,0.08);
}

.process-list { display: grid; gap: 16px; }

.process-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(20,20,20,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

.process-num {
    width: 44px;
    height: 44px;
    background: var(--pearl-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.map-wrap {
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(20,20,20,0.10);
    box-shadow: var(--pearl-shadow);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: none;
    filter: grayscale(1) contrast(1.05);
}

.pearl-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #127D77;
    color: #ffffff;
    border-top: 1px solid rgba(11,78,162,0.24);
}

.pearl-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(11,78,162,0.12), transparent 22%),
        radial-gradient(circle at 88% 72%, rgba(255,255,255,0.05), transparent 24%),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: auto, auto, 76px 76px, 76px 76px;
}

.pearl-footer-grid {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
    padding: 78px 0 56px;
    display: grid;
    grid-template-columns: 1.45fr 0.75fr 0.75fr 1.15fr;
    gap: 36px;
}

.pearl-footer-logo {
    width: auto;
    height: 92px;
    max-width: 340px;
    object-fit: contain;
    margin-bottom: 22px;
}

.pearl-footer h4 {
    color: var(--pearl-red-2);
    font-size: 0.96rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pearl-footer-link {
    position: relative;
    width: fit-content;
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: color 0.25s ease;
}

.pearl-footer-link:hover,
.pearl-footer-link.pearl-current-page,
.pearl-footer-link[aria-current="page"] { color: #ffffff; }

.pearl-footer-link.pearl-current-page::after,
.pearl-footer-link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 34px;
    height: 2px;
    background: var(--pearl-red);
}

.pearl-footer-socials {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.pearl-footer-socials a,
.pearl-footer-contact i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pearl-red);
    color: #fff;
    text-decoration: none;
}

.pearl-footer-contact { display: grid; gap: 18px; }

.pearl-footer-contact a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #ffffff;
}

.pearl-footer-contact small {
    display: block;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.pearl-footer-address { color: rgba(255,255,255,0.58); font-size: 0.92rem; }

.pearl-footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 20px;
    text-align: center;
    color: rgba(255,255,255,0.50);
    font-size: 0.82rem;
}

.pearl-footer-bottom a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
}

.pearl-footer-bottom a:hover { color: var(--pearl-red-2); }

.pearl-whatsapp-float,
.pearl-back-to-top {
    position: fixed;
    right: 22px;
    z-index: 99999;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 38px rgba(0,0,0,0.24);
    text-decoration: none;
    transition:
        opacity 0.34s ease,
        visibility 0.34s ease,
        transform 0.42s cubic-bezier(0.22,1,0.36,1),
        bottom 0.42s cubic-bezier(0.22,1,0.36,1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.pearl-whatsapp-float { bottom: 88px; background: #25d366; font-size: 1.45rem; }

.pearl-back-to-top {
    bottom: 22px;
    flex-direction: column;
    gap: 1px;
    background: var(--pearl-red);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.96);
}

.pearl-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.pearl-back-to-top.pearl-back-to-top-lifted { bottom: 88px !important; }

.pearl-back-to-top span {
    font-size: 0.58rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pearl-back-to-top:hover,
.pearl-whatsapp-float:hover {
    transform: translateY(-4px) scale(1);
    box-shadow: 0 22px 48px rgba(0,0,0,0.32);
}

.fly-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.75s cubic-bezier(.22,1,.36,1);
}

.fly-in.is-visible { opacity: 1; transform: translateY(0); }

.admin-wrap {
    min-height: 100vh;
    padding: 42px 20px;
    background: #f4fbfa;
    color: var(--pearl-ink);
}

.admin-card {
    width: min(100%, 1180px);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(20,20,20,0.10);
    padding: 24px;
    box-shadow: var(--pearl-shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid rgba(20,20,20,0.10);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.admin-table th { color: var(--pearl-red); }

.admin-delete-btn {
    border: none;
    background: var(--pearl-red);
    color: #fff;
    padding: 8px 11px;
    cursor: pointer;
    font-weight: 800;
}

@media (max-width: 1120px) {
    body:not(.has-transparent-hero) { padding-top: 110px; }
    .pearl-desktop-nav { display: none; }
    .pearl-menu-toggle { display: inline-flex; }
    .pearl-header-inner { min-height: 76px; padding: 0 20px; }
    .pearl-logo { height: 48px; max-width: 176px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pearl-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    body:not(.has-transparent-hero) { padding-top: 104px; }

    .pearl-site-header.is-mobile-topbar-hidden:not(.is-menu-open) .pearl-top-bar {
        transform: translateY(-18px);
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .pearl-site-header.is-mobile-topbar-hidden:not(.is-menu-open) .pearl-header-inner { min-height: 68px; }

    .pearl-top-inner {
        min-height: auto;
        padding: 7px 16px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 7px;
    }

    .pearl-top-contact, .pearl-top-right { justify-content: center; gap: 8px 12px; }
    .pearl-top-contact a { font-size: 12.2px; }

    .pearl-translate-toggle {
        min-width: 174px;
        justify-content: center;
        padding: 7px 10px;
    }

    .pearl-translate-toggle span:last-child { text-align: center; }

    .pearl-translate-dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        min-width: 250px;
    }

    .pearl-translate-box.open .pearl-translate-dropdown { animation: pearlTranslateDropMobile 0.22s ease forwards; }

    @keyframes pearlTranslateDropMobile {
        from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
        to { opacity: 1; transform: translateX(-50%) translateY(0); }
    }

    .container { width: min(100% - 28px, 1240px); }
    .hero-content { padding-top: 150px; }
    .grid-2, .grid-3, .grid-4, .form-grid, .pearl-footer-grid, .profile-book { grid-template-columns: 1fr; }
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
    .profile-book::before { display: none; }
    .flip-card { height: 360px; }
    .pearl-footer-logo { height: 78px; }
    .pearl-footer-grid { padding-top: 60px; }
    .pearl-whatsapp-float { right: 16px; bottom: 82px; }
    .pearl-back-to-top { right: 16px; bottom: 16px; }
    .pearl-back-to-top.pearl-back-to-top-lifted { bottom: 96px !important; }
}

@media (max-width: 520px) {
    .pearl-header-inner { min-height: 68px; padding: 0 16px; }
    .pearl-logo { height: 42px; max-width: 150px; }
    .pearl-menu-toggle { width: 40px; height: 40px; }
    .pearl-mobile-menu { width: min(300px, calc(100% - 24px)); max-width: 300px; right: 12px; }
    .hero-stats { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* Green/blue premium update */
.card {
    border-radius: 22px;
}

.form-shell,
.image-card,
.profile-book,
.process-item,
.flipbook-shell,
.admin-card {
    border-radius: 26px;
}

.btn,
.pearl-invoice-btn,
.pearl-menu-toggle,
.pearl-mobile-menu,
.pearl-translate-toggle,
.pearl-translate-dropdown,
.pearl-back-to-top,
.pearl-whatsapp-float {
    border-radius: 999px;
}

.pearl-mobile-menu {
    border-radius: 24px;
}

.pearl-mobile-link:first-child {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.pearl-mobile-socials {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

/* Real flipbook / single-view slider */
.flipbook-shell {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(16,32,31,0.10);
    box-shadow: var(--pearl-shadow);
    overflow: hidden;
}

.flipbook-view {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(11,78,162,0.10), transparent 26%),
        linear-gradient(135deg, #f8fbff, #ffffff);
    perspective: 1600px;
}

.flipbook-page {
    position: absolute;
    inset: 34px;
    opacity: 0;
    visibility: hidden;
    transform: rotateY(22deg) translateX(42px) scale(0.96);
    transform-origin: left center;
    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.72s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 28px 70px rgba(16,32,31,0.20);
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
}

.flipbook-page.is-active {
    opacity: 1;
    visibility: visible;
    transform: rotateY(0deg) translateX(0) scale(1);
    z-index: 2;
}

.flipbook-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f7fbff;
}

.flipbook-empty {
    padding: 58px 28px;
    text-align: center;
    color: var(--pearl-muted);
}

.flipbook-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.flipbook-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: var(--pearl-red);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(11,78,162,0.24);
    pointer-events: auto;
    transition: transform .25s ease, background .25s ease;
}

.flipbook-btn:hover {
    transform: translateY(-2px);
    background: var(--pearl-red-2);
}

.flipbook-count {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.90);
    color: var(--pearl-ink);
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(16,32,31,0.10);
    pointer-events: auto;
}

/* Smart modal form */
.pearl-form-trigger {
    cursor: pointer;
}

.pearl-modal {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pearl-modal.is-open {
    display: flex;
}

.pearl-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16,32,31,0.46);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pearl-modal-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 980px);
    max-height: min(92vh, 900px);
    overflow: auto;
    background: #ffffff;
    border: 1px solid rgba(16,32,31,0.12);
    border-radius: 30px;
    box-shadow: 0 34px 90px rgba(16,32,31,0.30);
}

.pearl-modal-close-x {
    position: sticky;
    top: 16px;
    left: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: 16px 0 -58px 16px;
    border: none;
    border-radius: 999px;
    background: var(--pearl-red);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 34px rgba(11,78,162,0.28);
}

.pearl-modal-content {
    padding: clamp(24px, 4vw, 50px);
}

.pearl-conditional-group {
    display: none;
}

.pearl-conditional-group.is-visible {
    display: contents;
}

.pearl-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-soft {
    background: #edf7f5;
    color: var(--pearl-ink);
    border-color: rgba(16,32,31,0.10);
}

.btn-soft:hover {
    color: var(--pearl-red);
}

@media (max-width: 760px) {
    .flipbook-view {
        min-height: 430px;
    }

    .flipbook-page {
        inset: 22px 16px 76px;
    }

    .pearl-modal {
        padding: 10px;
    }

    .pearl-modal-panel {
        border-radius: 22px;
        max-height: 94vh;
    }

    .pearl-modal-content {
        padding: 26px 16px 20px;
    }

    .pearl-modal-close-x {
        margin-left: 12px;
    }
}


/* Final typography override: keep the whole website consistent */
html,
body,
button,
input,
textarea,
select,
a,
span,
p,
small,
strong,
label,
h1,
h2,
h3,
h4,
h5,
h6,
.eyebrow,
.pearl-nav-link,
.pearl-mobile-link,
.hero-content,
.section-head,
.card,
.form-shell,
.pearl-loader-main,
.pearl-loader-sub {
    font-family: Manrope, Helvetica, Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.025em;
}
