/* =====================================================================
   Google Workspace page (/google-workspace), page-specific styles.
   Bootstrap 3 sets html{font-size:10px}, so sizes here are in px.
   ===================================================================== */

* { font-family: inherit; }

:root {
    --ink: #111b2c;
    --ink-2: #44506a;
    --ink-3: #7a86a0;
    --hero-ink: #0d1626;
    --card: #fff;
    --line: #e3e8f2;
    --chip-blue: #e8effc;
    --brand: #e6c946;
    --brand-hover: #f8ba07;
    --accent: #a52a2a;
    --navy: #17364f;
    --ok: #1a7f37;
}

/* ---------- layout ---------- */
.container { max-width: 90%; margin: 0 auto; }
@media (min-width: 1790px) { .container { width: 80%; } }
@media (min-width: 1970px) { .container { width: 70%; } }
@media (max-width: 480px)  { .container { max-width: 95%; } }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.wrap.container { padding: 0 1em 5em; }

section { padding: 44px 0 8px; }

/* ---------- type ---------- */
h1 {
    font-weight: 800;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.08;
    margin: 0 0 22px;
    color: var(--hero-ink);
    text-wrap: balance;
}
h1 .u { box-shadow: inset 0 -.18em 0 var(--chip-blue); }

h2 {
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 34px);
    margin: 0 0 10px;
    text-wrap: balance;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    flex: none;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand);
}

.lede { font-size: 20px; color: var(--ink-2); max-width: 90%; margin: 0 0 30px; }
.sub  { font-size: 17px; color: var(--ink-2); max-width: 52em; margin: 0 0 30px; }

label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #333; }

/* ---------- buttons ---------- */
.cta-wrap { margin: 28px 0 20px; }

.banner-btn,
.quick-contact-btn {
    display: inline-block;
    background: var(--brand);
    color: #000;
    border: 0;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.banner-btn { min-width: 180px; padding: 12px 28px; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.quick-contact-btn { padding: 10px 18px; font-size: 15px; margin-right: 0; }
.banner-btn:hover,
.quick-contact-btn:hover { background: var(--brand-hover); transform: translateY(-1px); }

.banner-btn:focus-visible,
.quick-contact-btn:focus-visible,
.currency-toggle-btn:focus-visible,
.pricing-table__button:focus-visible,
.accordion-question:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- banner ---------- */
section.banner-section { padding-top: 25px; margin-bottom: 20px; }
section.banner-section .banner-wrapper {
    background: url('https://storage.googleapis.com/infiflexnew.appspot.com/6293838771519488') center / cover no-repeat;
    padding: 9% 0 5%;
}

/* ---------- products ---------- */
section.google-workspace-products { padding: 40px 0; }
.google-workspace-products h2,
.google-workspace-features h2 { margin-bottom: 20px; }

.google-workspace-products .product-cards {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
    margin: 15px 0;
    padding: 14px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: transform .3s;
}
.google-workspace-products .product-cards:hover { transform: scale(1.05); }
.google-workspace-products .products-icon { flex: none; width: 32px; height: 32px; object-fit: contain; }
.google-workspace-products .product-cards p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }

/* ---------- features ---------- */
.google-workspace-features .features-row { display: flex; flex-wrap: wrap; }
.google-workspace-features .features-row::before,
.google-workspace-features .features-row::after { content: none; }
.google-workspace-features .features-row > [class*="col-"] { display: flex; float: none; }

.google-workspace-features .services-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    padding: 18px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: none;
}
.services-panel .service-image { width: 48px; height: auto; margin-bottom: 16px; }
.services-panel h5 { margin: 0 0 10px; font-size: 17px; font-weight: 700; text-transform: capitalize; }
.services-panel .digital-line-services { width: 40px; height: 3px; border-radius: 3px; background: var(--brand); }
.services-panel p { margin: 16px 0 0; font-size: 16px; line-height: 1.55; }

/* ---------- cards / get in touch ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; }
.card h3 { margin: 0; font-size: 22.5px; font-weight: 600; }
.card p { margin: 0; font-size: 16px; color: var(--ink-2); }

.get-in-touch-container .card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 2em 0;
}

/* ---------- pricing header ---------- */
.title-with-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.title-with-link h2 { margin: 0; }

.price-currency-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.currency-switch-label { font-size: 14px; font-weight: 600; }
.price-currency-toggle { display: inline-flex; }
.currency-toggle-btn {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--accent);
    background: #fff;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.currency-toggle-btn:first-child { border-radius: 4px 0 0 4px; }
.currency-toggle-btn:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.currency-toggle-btn.active { background: var(--accent); color: #fff; }

.currency-note { max-width: 60em; margin: 12px 0 4px; font-size: 15px; color: var(--ink-2); }
.price-updated-note { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---------- pricing cards ---------- */
section.price-table-wrapper {
    padding: 0 0 40px;
    background: url('https://storage.googleapis.com/infiflexnew.appspot.com/4906323816742912') center / cover no-repeat;
}

.price-flex-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #c8c8c8;
    text-align: center;
    transition: box-shadow .3s, transform .3s;
}
.pricing-table:hover { box-shadow: 0 4px 8px 3px rgb(60 64 67 / 15%); transform: translateY(-3px); }

.pricing-table__header {
    margin: 0;
    padding: 14px;
    background: var(--brand);
    color: #000;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .02em;
}

.pricing-table__price { margin: 0; padding: 20px; color: #000; }
.pricing-table__price .price-primary { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; line-height: 1.2; }
.pricing-table__price .price-unit { font-size: 15px; color: var(--ink-2); }
.pricing-table__price .price-secondary,
.pricing-table__price .price-terms { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.pricing-table__price .price-secondary { font-weight: 600; color: var(--ink); }
.contact-for-buy { color: #1d7a4a; text-decoration: underline; word-break: break-word; }

.pricing-table__button {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 16px;
    background: var(--brand);
    color: #000;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .3s, color .3s;
}
.pricing-table__button::before {
    content: "";
    position: absolute;
    left: -20%;
    top: -10%;
    width: 60%;
    height: 220%;
    background: #fff;
    opacity: .3;
    transform: rotate(-30deg);
    transition: .3s;
    pointer-events: none;
}
.pricing-table__button:hover,
.pricing-table__button:focus { background: #000; color: #fff; text-decoration: none; }
.pricing-table:hover .pricing-table__button::before { top: -80%; width: 100%; transform: rotate(0); }

.pricing-table__includes { margin: 20px 20px 0; font-size: 14px; font-weight: 700; color: var(--ink); text-align: left; }

.pricing-table__list { list-style: none; margin: 8px 20px 20px; padding: 0; color: #000; text-align: left; }
.pricing-table__button + .pricing-table__list { margin-top: 16px; }
.pricing-table__list li {
    position: relative;
    padding: 10px 0 10px 26px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.45;
}
.pricing-table__list li:last-child { border-bottom: 0; }
.pricing-table__list li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    top: 10px;
    font-weight: 700;
    color: var(--ok);
}

.pricePlan-modal { display: none; }

.pricing-note { margin: 2em 0; }
.pricing-note p { margin: 0 0 20px; text-align: left; }
.pricing-note p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.wrap h3.as-h2 {
    margin: 26px 0 21px;
    font: 700 25px/1.3 Arial, Helvetica, sans-serif;
    color: var(--navy);
    text-wrap: balance;
}

.accordion-item { margin-bottom: 12px; border: 1px solid #e3e9ec; border-radius: 14px; overflow: hidden; }

.accordion-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    border: 0;
    background: none;
    font: 700 18px/1.4 Arial, Helvetica, sans-serif;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
}
.accordion-icon { flex: none; font-size: 30px; font-weight: 400; color: var(--navy); transition: transform .25s ease; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-answer { max-height: 0; overflow: hidden; padding: 0 22px; transition: max-height .3s ease; }
.accordion-item.open .accordion-answer { max-height: 1200px; padding: 0 22px 20px; }
.accordion-answer p { margin: 0 0 20px; font-size: 17px; font-weight: 400; color: #2b353c; }
.accordion-answer p:empty { display: none; }
.accordion-answer p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (min-width: 1970px) {
    .wrap h3.as-h2 { font-size: 29px; }
    .accordion-question { font-size: 20px; }
    .accordion-answer p { font-size: 19px; }
}

@media (max-width: 1199px) {
    .price-flex-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .google-workspace-features .features-row > [class*="col-"] { width: 50%; }
}

@media (max-width: 767px) {
    section.banner-section { padding-top: 70px; }
    section.banner-section .banner-wrapper { padding: 12% 0 6%; }
    .lede { max-width: 100%; font-size: 17px; }
    .banner-btn { display: block; width: 100%; }

    .price-flex-container { grid-template-columns: 1fr; }

    .accordion-question { padding: 16px 18px; font-size: 17px; }
    .accordion-answer { padding: 0 18px; }
    .accordion-item.open .accordion-answer { padding: 0 18px 16px; }
    .accordion-answer p { font-size: 16px; }
}

@media (max-width: 600px) {
    .get-in-touch-container .card { flex-direction: column; align-items: flex-start; }
    .card h3 { font-size: 19px; }
}

@media (max-width: 575px) {
    .google-workspace-features .features-row > [class*="col-"] { width: 100%; }
}

@media (max-width: 480px) {
    .wrap { padding: 0 16px; }
    .accordion-question { font-size: 16px; }
    .accordion-answer p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .product-cards,
    .pricing-table,
    .pricing-table__button,
    .pricing-table__button::before,
    .banner-btn,
    .quick-contact-btn,
    .accordion-icon,
    .accordion-answer { transition: none; }
    .google-workspace-products .product-cards:hover,
    .pricing-table:hover { transform: none; }
}