/*-----------------------------------------------------------------------------------
    Selberry - Shared page sections (CTA sections + inquiry)
    Used by resources/views/include/common-section.blade.php and its parts:
      cta-why, cta-dealership, cta-business-head, cta-catalogue, inquiry-section.
    The inquiry section (also used on the home page) keeps the CSS it had in home.css.
    Colours follow the Selberry logo gradient: #63A04A (leaf) > #2E7D44 (mid) > #076342 (deep).
-----------------------------------------------------------------------------------*/

/* Colour variables for pages that do not load home.css (the home page sets the same ones on :root) */
.sb-sec {
    --theme: #2E7D44;
    --theme-2: #076342;
    --theme-2dark: #0A4A32;
    --theme-3: #B8DC8E;
    --header: #0B3A28;
    --text-3: #0B3A28;
    --sb-leaf: #63A04A;
    --sb-tint: #F1F7EC;
    --sb-dark: #0E1F17;
}
.sb-cta-why .sub-title,
.sb-cta-cat .sub-title,
.sb-cta-grow .sub-title {
    color: var(--theme-3);
}
.sb-cta-grow .sub-title {
    color: #E3F5C9;
}

/*---------------- 1. Why Selberry (dark: reasons left, photo arch right) ----------------*/
.sb-cta-why {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 8% 0%, rgba(99, 160, 74, 0.28) 0%, rgba(99, 160, 74, 0) 45%),
        radial-gradient(circle at 100% 100%, rgba(184, 220, 142, 0.12) 0%, rgba(184, 220, 142, 0) 45%),
        linear-gradient(135deg, #0B3A28 0%, #07281B 100%);
}
.sb-cta-why h2 {
    color: #ffffff;
}
.sb-cta-why h2 span {
    color: var(--theme-3);
}
.sb-why-lead {
    max-width: 560px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.85;
}
.sb-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}
.sb-why-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.06);
    transition: all 0.35s ease;
}
.sb-why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 220, 142, 0.55);
    background-color: rgba(255, 255, 255, 0.1);
}
.sb-why-card .ic {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #B8DC8E 0%, #63A04A 100%);
    color: #0B3A28;
    font-size: 20px;
}
.sb-why-card h4 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.3;
}
.sb-why-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
}
.sb-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 36px;
    border-radius: 40px;
    background: var(--sb-grad-light); /* dark sections: footer newsletter button */
    color: #0B3A28;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}
.sb-pill-btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #0B3A28;
}
.sb-why-visual {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
}
.sb-why-visual::before {
    content: "";
    position: absolute;
    inset: -16px 16px 16px -16px;
    border: 2px dashed rgba(184, 220, 142, 0.45);
    border-radius: 235px 235px 28px 28px;
}
.sb-why-visual .photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 235px 235px 28px 28px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.sb-why-visual .float-card {
    position: absolute;
    left: -34px;
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: 18px;
    background-color: #ffffff;
    color: #0B3A28;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    animation: sb-float 4.5s ease-in-out infinite;
}
.sb-why-visual .float-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #63A04A 0%, #076342 100%);
    color: #ffffff;
    font-size: 18px;
}
.sb-why-visual .float-card strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}
.sb-why-visual .float-card span {
    font-size: 13px;
    color: #5b6e64;
}
@keyframes sb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes sb-spin {
    to { transform: rotate(360deg); }
}

/*---------------- 2. Growth Partner (green card: steps + circle art) ----------------*/
.sb-cta-grow {
    background-color: var(--sb-tint);
}
.sb-cta-grow.is-white {
    background-color: #ffffff;
}
.sb-grow-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 40px;
    padding: 64px 64px 64px 70px;
    overflow: hidden;
    border-radius: 40px;
    color: #ffffff;
    background-color: #076342;
    background-image:
        linear-gradient(100deg, rgba(7, 99, 66, 0.96) 0%, rgba(11, 90, 58, 0.9) 45%, rgba(46, 125, 68, 0.45) 100%),
        var(--sb-grow-img);
    background-size: cover;
    background-position: right center;
    box-shadow: 0 30px 60px rgba(7, 99, 66, 0.25);
}
.sb-grow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.6px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
    mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}
.sb-grow-main {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.sb-grow-main h2 {
    color: #ffffff;
}
.sb-grow-main > p {
    max-width: 600px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.8;
}
.sb-grow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0 0 38px;
    padding: 0;
    list-style: none;
}
.sb-grow-steps li {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.1);
}
.sb-grow-steps b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #076342;
    font-size: 14px;
}
.sb-grow-steps strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}
.sb-grow-steps span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
}
.sb-grow-card .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 34px;
    border-radius: 40px;
    background: var(--sb-grad-light); /* dark green card: footer newsletter button */
    color: #0B3A28;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(3, 40, 27, 0.25);
    transition: all 0.3s ease;
}
.sb-grow-card .btn-white:hover {
    background: #ffffff;
    color: #0B3A28;
    transform: translateY(-3px);
}
.sb-grow-art {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    margin: 0 auto;
}
.sb-grow-art .ring {
    position: absolute;
    border-radius: 50%;
}
.sb-grow-art .r1 {
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, 0.45);
    animation: sb-spin 30s linear infinite;
}
.sb-grow-art .r2 {
    inset: 15%;
    background-color: rgba(255, 255, 255, 0.1);
}
.sb-grow-art .core {
    position: absolute;
    inset: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ffffff;
    color: #076342;
    font-size: 54px;
    box-shadow: 0 20px 40px rgba(3, 40, 27, 0.3);
}
.sb-grow-art .chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    background-color: #ffffff;
    color: #0B3A28;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(3, 40, 27, 0.25);
    animation: sb-float 5s ease-in-out infinite;
}
.sb-grow-art .chip i {
    color: var(--theme);
}
.sb-grow-art .c1 { top: 2%; left: -6%; }
.sb-grow-art .c2 { top: 40%; right: -8%; animation-delay: 1s; }
.sb-grow-art .c3 { bottom: 2%; left: 4%; animation-delay: 2s; }

/*---------------- 3. Business team (two cards, zigzag) ----------------*/
.sb-cta-head {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(46, 125, 68, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 125, 68, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
}
.sb-cta-head .head {
    margin-bottom: 50px;
}
.sb-cta-head .head h2 {
    color: #0B3A28;
}
.sb-cta-head .head h2 span {
    color: var(--theme);
    font-weight: 400;
}
.sb-team-list {
    display: grid;
    gap: 32px;
    margin: 0 auto;
}
.sb-team-card {
    display: grid;
    grid-template-columns: 540px 1fr;
    overflow: hidden;
    border: 1px solid #dfeccf;
    border-radius: 28px;
    background-color: #ffffff;
    box-shadow: 0 20px 50px rgba(6, 40, 27, 0.08);
}
.sb-team-card.is-rev {
    grid-template-columns: 1fr 540px;
}
.sb-team-card.is-rev .sb-team-photo {
    order: 2;
}
.sb-team-photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(160deg, #F1F7EC 0%, #E1EED6 100%);
}
.sb-team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: multiply;
}
.sb-team-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px;
}
.sb-team-info h3 {
    margin: 0 0 8px;
    color: #0B3A28;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 700;
}
.sb-team-info .role {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 16px;
    border-radius: 30px;
    background-color: #E7F0DF;
    color: var(--theme-2);
    font-size: 14px;
    font-weight: 700;
}
.sb-team-info p {
    margin: 0 0 22px;
    color: #4a5f55;
    font-size: 16px;
    line-height: 1.8;
}
.sb-team-contact {
    display: grid;
    gap: 10px;
    width: 100%;
    margin: 0 0 26px;
    padding: 18px 0;
    border-top: 1px solid #e3ecdc;
    border-bottom: 1px solid #e3ecdc;
    list-style: none;
}
.sb-team-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #0B3A28;
    font-weight: 500;
}
.sb-team-contact i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #E7F0DF;
    color: var(--theme);
    font-size: 14px;
}
.sb-team-contact a {
    color: inherit;
    word-break: break-word;
}
.sb-team-contact a:hover {
    color: var(--theme);
}
.sb-head-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sb-head-btns a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 40px;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    transition: all 0.3s ease;
}
.sb-head-btns a i {
    font-size: 18px;
}
/* real brand colours */
.sb-head-btns a.linkedin {
    background-color: #0A66C2;
}
.sb-head-btns a.linkedin:hover {
    background-color: #004182;
}
.sb-head-btns a.whatsapp {
    background-color: #25D366;
}
.sb-head-btns a.whatsapp:hover {
    background-color: #1DA851;
}
.sb-head-btns a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

/*---------------- 4. Catalogue (dark, 3D book) ----------------*/
.sb-cta-cat {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 30%, rgba(99, 160, 74, 0.3) 0%, rgba(99, 160, 74, 0) 42%),
        radial-gradient(circle at 0% 100%, rgba(184, 220, 142, 0.1) 0%, rgba(184, 220, 142, 0) 40%),
        linear-gradient(180deg, #0B3A28 0%, #07281b 100%); /* the footer gradient (was flat #0E1F17) */
}
.sb-cta-cat h2 {
    color: #ffffff;
}
.sb-cta-cat h2 span {
    color: var(--theme-3);
}
.sb-cat-text > p {
    max-width: 520px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.85;
}
.sb-cat-list {
    display: grid;
    gap: 14px;
    margin: 0 0 38px;
    padding: 0;
    list-style: none;
}
.sb-cat-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-weight: 500;
}
.sb-cat-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(184, 220, 142, 0.18);
    color: var(--theme-3);
    font-size: 13px;
}
.sb-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 38px;
    border-radius: 40px;
    background: var(--sb-grad-light); /* dark section: footer newsletter button */
    color: #0B3A28;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}
.sb-cat-btn small {
    padding: 3px 10px;
    border-radius: 20px;
    background-color: rgba(11, 58, 40, 0.14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.sb-cat-btn:hover {
    color: #0B3A28;
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
}

/* the book: every face is a flat element placed in 3D space */
.sb-book-scene {
    --w: 370px;
    --h: 475px;
    --d: 64px;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 30px 0;
    perspective: 1600px;
}
.sb-book-float {
    animation: sb-book-float 6s ease-in-out infinite;
}
@keyframes sb-book-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.sb-book {
    position: relative;
    width: var(--w);
    height: var(--h);
    transform-style: preserve-3d;
    transform: rotateX(-8deg) rotateY(-15deg);
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sb-book-scene:hover .sb-book {
    transform: rotateX(-6deg) rotateY(-12deg);
}
.sb-book > div {
    position: absolute;
}
.sb-book .front,
.sb-book .back {
    inset: 0;
}
.sb-book .front {
    transform: translateZ(calc(var(--d) / 2));
    overflow: hidden;
    border-radius: 3px 8px 8px 3px;
    padding: 0 28px 30px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    background:
        radial-gradient(circle at 0% 100%, rgba(99, 160, 74, 0.5) 0%, rgba(99, 160, 74, 0) 55%),
        linear-gradient(150deg, #2E7D44 0%, #076342 55%, #0B3A28 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 10px 0 14px -6px rgba(0, 0, 0, 0.35);
}
.sb-book .front .pic {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.sb-book .front .pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 99, 66, 0.3) 0%, rgba(7, 99, 66, 0) 45%);
}
.sb-book .front::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}
.sb-book .front::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 3px;
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 3px 0 0 rgba(255, 255, 255, 0.1);
}
.sb-book .front img {
    position: absolute;
    top: 24px;
    left: 40px;
    z-index: 1;
    width: 124px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.sb-book .front .t1,
.sb-book .front .t2,
.sb-book .front .t3 {
    position: relative;
    z-index: 1;
}
.sb-book .front .t1 {
    display: block;
    color: var(--theme-3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.sb-book .front .t2 {
    display: block;
    margin: 8px 0 14px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.05;
}
.sb-book .front .t3 {
    display: block;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.6;
}
.sb-book .back {
    transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
    border-radius: 8px 3px 3px 8px;
    background: linear-gradient(150deg, #076342 0%, #0B3A28 100%);
}
.sb-book .spine {
    top: 0;
    left: calc((var(--w) - var(--d)) / 2);
    width: var(--d);
    height: 100%;
    transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #072a1d 0%, #0d5a3d 35%, #17784f 50%, #0d5a3d 65%, #072a1d 100%);
    border-radius: 6px 0 0 6px;
}
.sb-book .spine span {
    color: var(--theme-3);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.sb-book .pages {
    top: 3px;
    left: calc((var(--w) - var(--d) + 8px) / 2);
    width: calc(var(--d) - 8px);
    height: calc(100% - 6px);
    transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
    background:
        repeating-linear-gradient(90deg, rgba(60, 50, 30, 0.16) 0, rgba(60, 50, 30, 0.16) 1px, transparent 1px, transparent 3px),
        linear-gradient(90deg, #cfcbb8 0%, #f6f3e6 18%, #fffdf4 60%, #e9e5d3 100%);
}
.sb-book .top,
.sb-book .bottom {
    left: 3px;
    width: calc(100% - 6px);
    height: calc(var(--d) - 8px);
    top: calc((var(--h) - var(--d) + 8px) / 2);
    background:
        repeating-linear-gradient(0deg, rgba(60, 50, 30, 0.16) 0, rgba(60, 50, 30, 0.16) 1px, transparent 1px, transparent 3px),
        linear-gradient(0deg, #cfcbb8 0%, #f6f3e6 18%, #fffdf4 60%, #e9e5d3 100%);
}
.sb-book .top {
    transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 3px));
}
.sb-book .bottom {
    transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 3px));
}
.sb-book-shadow {
    position: absolute;
    left: 50%;
    bottom: -28px;
    width: 400px;
    height: 40px;
    margin-left: -170px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(6px);
    animation: sb-shadow 6s ease-in-out infinite;
}
@keyframes sb-shadow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.88); opacity: 0.7; }
}

/*---------------- Responsive (CTA sections) ----------------*/
@media (max-width: 991px) {
    .sb-cta-why { padding: 80px 0; }
    .sb-why-visual { margin-top: 50px; }
    .sb-cta-grow { padding: 70px 0; }
    .sb-grow-card {
        grid-template-columns: 1fr;
        padding: 44px 34px;
    }
    .sb-grow-art { max-width: 300px; }
    .sb-cta-head { padding: 70px 0; }
    .sb-cta-head .head { margin-bottom: 40px; }
    .sb-team-card,
    .sb-team-card.is-rev { grid-template-columns: 1fr; }
    .sb-team-card.is-rev .sb-team-photo { order: 0; }
    .sb-team-photo { min-height: 0; max-height: 360px; }
    .sb-team-photo img { max-width: 360px; }
    .sb-team-info { padding: 34px 30px 38px; }
    .sb-cta-cat { padding: 80px 0; }
    .sb-book-scene { margin-top: 40px; }
}
@media (max-width: 575px) {
    .sb-why-grid { grid-template-columns: 1fr; }
    .sb-why-visual .float-card { left: -8px; }
    .sb-grow-card {
        padding: 36px 22px;
        border-radius: 28px;
    }
    .sb-grow-steps { grid-template-columns: 1fr; }
    .sb-grow-art .c1 { left: 0; }
    .sb-grow-art .c2 { right: 0; display: none;}
    .sb-team-info { padding: 28px 22px 32px; }
    .sb-head-btns a { padding: 12px 20px; }
    .sb-book-scene {
        --w: 280px;
        --h: 360px;
        --d: 50px;
    }
    .sb-book .front { padding: 0 20px 22px 30px; }
    .sb-book .front img { width: 84px; top: 16px; left: 30px; }
    .sb-book .front .t2 { font-size: 28px; }
    .sb-book .front .t3 { font-size: 11px; }
    .sb-book-shadow { width: 290px; margin-left: -120px; }
}

/*---------------- Inquiry ----------------*/
.sb-inquiry {
    background-color: var(--sb-tint);
}
.sb-inq-head {
    margin: 0 auto 50px;
    text-align: start;
}
.sb-inq-head .sub-title {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--theme);
    font-weight: 600;
}

/* Phone number with country code dropdown (used by the inquiry form below) */
.sb-phone {
    display: flex;
    align-items: flex-start;
}
.sb-code {
    position: relative;
    flex: none;
}
.sb-code-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 52px;
    padding: 14px 0 0;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    color: var(--white);
    white-space: nowrap;
    transition: border-color 0.3s;
}
.sb-code-btn:hover,
.sb-code-btn:focus-visible {
    outline: none;
    border-bottom-color: var(--theme-3);
}
.sb-code-btn .iso {
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-3);
}
.sb-code-btn .dial {
    font-size: 15px;
    font-weight: 600;
}
.sb-code-btn i {
    font-size: 11px;
}
.sb-code-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 310px;
    max-width: calc(100vw - 60px);
    padding: 10px;
    border: 1px solid #d6e2d0;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.sb-code-panel[hidden] {
    display: none;
}
.sb-code-panel .sb-code-search {
    display: block;
    width: 100%;
    height: 44px;
    margin-bottom: 8px;
    padding: 0 14px;
    border: 1px solid #d6e2d0;
    border-radius: 10px;
    background: var(--white);
    color: var(--header);
    font-size: 15px;
}
.sb-code-panel .sb-code-search:focus {
    outline: none;
    border-color: var(--theme);
    box-shadow: 0 0 0 3px rgba(99, 160, 74, 0.18);
}
.sb-code-list {
    max-height: 250px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}
.sb-code-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--header);
    font-size: 15px;
    cursor: pointer;
}
.sb-code-list li b {
    flex: none;
    color: var(--theme);
    font-weight: 600;
}
.sb-code-list li:hover,
.sb-code-list li.is-active {
    background-color: var(--sb-tint);
}
.sb-code-list li.is-selected {
    background-color: #e3f0d9;
}
.sb-code-list li.sb-code-empty {
    cursor: default;
    color: #6b7c73;
}


/*---------------- Inquiry 2 (light form card + rounded green panel) ----------------*/
.sb-inq2-card {
    display: flex;
    margin: 0 auto;
    border-radius: 28px;
    background-color: var(--white);
    box-shadow: 0 25px 60px rgba(6, 40, 27, 0.12);
}
.sb-inq2-form {
    flex: 0 0 58%;
    padding: 50px 56px;
}
.sb-inq2-form h3 {
    margin-bottom: 8px;
    font-size: 34px;
}
.sb-inq2-form .lead {
        font-size: 16px;
    margin-bottom: 28px;
    color: #5b6e64;
}
.sb-inq2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sb-inq2-grid .full {
    grid-column: 1 / -1;
}
.sb-inq2-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--header);
    font-size: 14px;
    font-weight: 600;
}
.sb-inq2-form label em,
.sb-inq2-actions .note em {
    color: #d64545;
    font-style: normal;
}
.sb-inq2-form .fld input,
.sb-inq2-form .fld select,
.sb-inq2-form .fld textarea {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: #eef3ea;
    color: var(--header);
    font-size: 15px;
    transition: all 0.3s ease;
}
.sb-inq2-form .fld textarea {
    height: auto;
    padding: 14px 16px;
    resize: vertical;
}
.sb-inq2-form .fld select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%232E7D44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
.sb-inq2-form .fld input::placeholder,
.sb-inq2-form .fld textarea::placeholder {
    color: #8a9a91;
}
.sb-inq2-form .fld input:focus,
.sb-inq2-form .fld select:focus,
.sb-inq2-form .fld textarea:focus {
    outline: none;
    border-color: var(--theme);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 160, 74, 0.16);
}
.sb-inq2-form .sb-phone {
    gap: 0;
    margin-bottom: 0;
}
.sb-inq2-form .sb-phone > input[type="tel"] {
    min-width: 0;
    border-radius: 0 10px 10px 0;
}
.sb-inq2-form .sb-code-btn {
    height: 52px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-right: 1px solid #d6e2d0;
    border-radius: 10px 0 0 10px;
    background-color: #e2ecdb;
    color: var(--header);
}
.sb-inq2-form .sb-code-btn:hover,
.sb-inq2-form .sb-code-btn:focus-visible {
    background-color: #d8e6cf;
    border-bottom-color: transparent;
}
.sb-inq2-form .sb-code-btn .iso {
    color: #5b6e64;
}
.sb-inq2-form .sb-code-btn i {
    color: var(--theme);
}
.sb-inq2-form .sb-code-panel {
    box-shadow: 0 20px 40px rgba(6, 40, 27, 0.2);
}
.sb-inq2-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
}
.sb-inq2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 34px;
    border: 0;
    border-radius: 30px;
    background: var(--sb-grad); /* light card: the footer gradient */
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(7, 99, 66, 0.3);
    transition: all 0.3s ease;
}
.sb-inq2-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(7, 99, 66, 0.4);
}
.sb-inq2-actions .note {
    color: #6b7c73;
    font-size: 14px;
}
.sb-inq2-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 44px;
    border-radius: 130px 28px 28px 130px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}
.sb-inq2-panel h3 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 36px;
}
.sb-inq2-panel p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}
.sb-inq2-ghost {
    display: inline-block;
    padding: 13px 34px;
    border: 0;
    border-radius: 30px;
    background: var(--sb-grad-light); /* dark green panel: footer newsletter button */
    color: #0B3A28;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.sb-inq2-ghost:hover {
    background: var(--white);
    color: #0B3A28;
}
@media (max-width: 991px) {
    .sb-inq2-card {
        flex-direction: column;
        margin-top: 50px;
    }
    .sb-inq2-form {
        flex: none;
        padding: 38px 30px;
    }
    .sb-inq2-panel {
        padding: 56px 30px;
        border-radius: 0 0 28px 28px;
    }
}
@media (max-width: 575px) {
    .sb-inq2-form {
        padding: 30px 20px;
    }
    .sb-inq2-grid {
        grid-template-columns: 1fr;
    }
    .sb-inq2-form h3 {
        font-size: 28px;
    }
}

