body.tands-study-cost-philippines-view main.inner-page {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.study-cost-page {
    --sc-navy: #10233f;
    --sc-navy-soft: #1d3554;
    --sc-green: #22c98a;
    --sc-green-dark: #087a58;
    --sc-mint: #eafaf4;
    --sc-gold: #f3b744;
    --sc-coral: #e86f51;
    --sc-ink: #17243a;
    --sc-muted: #5c6878;
    --sc-line: #dbe4ea;
    --sc-soft: #f5f8fa;
    --sc-white: #fff;
    color: var(--sc-ink);
    background: var(--sc-white);
    direction: rtl;
    font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.9;
}

.study-cost-page *,
.study-cost-page *::before,
.study-cost-page *::after { box-sizing: border-box; }

.sc-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.sc-hero {
    position: relative;
    min-height: 570px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--sc-navy);
}

.sc-hero__image,
.sc-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sc-hero__image { object-fit: cover; object-position: center 42%; z-index: -2; }
.sc-hero__shade { z-index: -1; background: linear-gradient(90deg, rgba(9, 26, 49, .52), rgba(9, 26, 49, .94) 69%); }

.sc-hero__content { max-width: 720px; padding-block: 92px 84px; color: var(--sc-white); }
.sc-kicker { margin: 0 0 10px; color: var(--sc-green-dark); font-size: 14px; font-weight: 800; }
.sc-hero .sc-kicker { color: #81edc4; }
.sc-hero h1 { margin: 0; color: var(--sc-white); font-size: 46px; line-height: 1.35; font-weight: 900; }
.sc-hero__lead { max-width: 670px; margin: 22px 0 0; color: #e8eef6; font-size: 19px; }

.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sc-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 20px;
    font: inherit;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none !important;
    cursor: pointer;
}
.sc-button--primary { color: #052f24 !important; background: var(--sc-green); }
.sc-button--ghost { color: #fff !important; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.08); }
.sc-button--dark { color: #fff !important; background: var(--sc-navy); }
.sc-button--light { color: var(--sc-navy) !important; background: #fff; }
.sc-button:focus-visible { outline: 3px solid var(--sc-gold); outline-offset: 3px; }
.sc-button.is-disabled { cursor: default; }

.sc-facts { border-bottom: 1px solid var(--sc-line); background: #fff; }
.sc-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sc-facts__grid > div { min-width: 0; padding: 22px 20px; border-inline-start: 1px solid var(--sc-line); }
.sc-facts__grid > div:first-child { border-inline-start: 0; }
.sc-facts strong, .sc-facts span { display: block; }
.sc-facts strong { color: var(--sc-navy); font-size: 15px; }
.sc-facts span { color: var(--sc-muted); font-size: 13px; }

.sc-section { padding-block: 76px; }
.sc-section--soft { background: var(--sc-soft); }
.sc-section--mint { background: var(--sc-mint); }
.sc-section--navy { color: #fff; background: var(--sc-navy); }
.sc-section--navy .sc-kicker { color: #7be9bf; }
.sc-section--navy h2, .sc-section--navy h3 { color: #fff; }
.sc-section--navy p { color: #dce6f1; }
.sc-section--compact { padding-block: 52px; }

.sc-heading { max-width: 790px; margin-bottom: 30px; }
.sc-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.sc-heading h2, .sc-section h2 { margin: 0; color: var(--sc-navy); font-size: 32px; line-height: 1.45; font-weight: 900; }
.sc-heading p { margin: 12px 0 0; color: var(--sc-muted); }
.sc-section--navy .sc-heading p { color: #dce6f1; }
.sc-subheading { margin: 34px 0 16px; color: var(--sc-navy); font-size: 22px; }

.sc-component-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sc-component-grid article,
.sc-variable-list article,
.sc-save-grid article {
    min-width: 0;
    border: 1px solid var(--sc-line);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}
.sc-component-grid span,
.sc-save-grid span { display: inline-block; margin-bottom: 12px; color: var(--sc-green-dark); font-weight: 900; }
.sc-component-grid h3, .sc-save-grid h3 { margin: 0 0 8px; color: var(--sc-navy); font-size: 18px; }
.sc-component-grid p, .sc-save-grid p, .sc-variable-list p { margin: 0; color: var(--sc-muted); }

.sc-note {
    margin-top: 22px;
    border-inline-start: 4px solid var(--sc-gold);
    padding: 16px 18px;
    background: #fff8e8;
    color: #664a12;
}
.sc-section--navy .sc-note { border-color: var(--sc-gold); background: rgba(255,255,255,.08); color: #fff; }

.sc-formula-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; }
.sc-formula-flow article { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 24px; background: rgba(255,255,255,.06); }
.sc-formula-flow__currency { margin: 0 0 8px !important; color: #7be9bf !important; font-size: 13px; font-weight: 900; }
.sc-formula-flow h3 { margin: 0 0 8px; font-size: 18px; }
.sc-formula-flow > span { align-self: center; color: var(--sc-gold); font-size: 28px; font-weight: 900; }

.sc-conversion { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.sc-conversion__steps { display: grid; gap: 10px; }
.sc-conversion__steps div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--sc-line); padding: 13px 0; }
.sc-conversion__steps span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--sc-navy); background: var(--sc-mint); font-weight: 900; }
.sc-conversion__steps p { margin: 0; }

.sc-source-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.sc-source-bar span { border: 1px solid var(--sc-line); border-radius: 999px; padding: 5px 11px; color: var(--sc-muted); background: #fff; font-size: 12px; font-weight: 700; }
.sc-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sc-price-card { border: 1px solid var(--sc-line); border-radius: 8px; padding: 26px; background: #fff; }
.sc-price-card--featured { border-color: var(--sc-green); box-shadow: inset 0 4px 0 var(--sc-green); }
.sc-price-card__label { margin: 0; color: var(--sc-muted); font-size: 14px; font-weight: 800; }
.sc-price-card__amount { margin: 8px 0; color: var(--sc-navy); font-size: 34px; line-height: 1.2; font-weight: 900; }
.sc-price-card__amount small { font-size: 14px; }
.sc-price-card ul { margin: 16px 0 0; padding: 0 20px 0 0; color: var(--sc-muted); }

.sc-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--sc-line); border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
.sc-table-wrap table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: right; }
.sc-table-wrap th, .sc-table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--sc-line); vertical-align: top; }
.sc-table-wrap th { color: #fff; background: var(--sc-navy); font-size: 14px; }
.sc-table-wrap tr:last-child td { border-bottom: 0; }
.sc-table-wrap tbody tr:nth-child(even) { background: #f8fafb; }
.sc-table-wrap tfoot td { color: var(--sc-navy); background: var(--sc-mint); font-weight: 900; }

.sc-callout { border: 1px solid #f0d594; border-radius: 8px; padding: 28px; background: #fff9ea; }
.sc-callout h2 { margin: 0 0 12px; }
.sc-callout p:last-child { margin-bottom: 0; }

.sc-variable-list { display: grid; gap: 10px; }
.sc-variable-list article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 20px; }
.sc-variable-list article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: var(--sc-navy); font-weight: 900; }
.sc-variable-list h3 { margin: 0 0 5px; color: var(--sc-navy); font-size: 18px; }

.sc-city-grid, .sc-expense-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sc-city-grid article, .sc-expense-grid article { border: 1px solid var(--sc-line); border-radius: 8px; padding: 28px; background: #fff; }
.sc-city-grid article > span { display: inline-grid; place-items: center; min-width: 52px; height: 34px; border-radius: 5px; color: #fff; background: var(--sc-navy); font-size: 12px; font-weight: 900; }
.sc-city-grid h3, .sc-expense-grid h3 { margin: 14px 0 8px; color: var(--sc-navy); font-size: 21px; }
.sc-city-grid p, .sc-expense-grid li { color: var(--sc-muted); }
.sc-city-grid a, .sc-expense-grid a { color: var(--sc-green-dark); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sc-expense-grid__label { margin: 0; color: var(--sc-coral); font-size: 13px; font-weight: 900; }

.sc-comparison { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.sc-comparison__criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sc-comparison__criteria div { border: 1px solid var(--sc-line); border-radius: 6px; padding: 15px; background: #fff; }
.sc-comparison__criteria strong, .sc-comparison__criteria span { display: block; }
.sc-comparison__criteria strong { color: var(--sc-navy); }
.sc-comparison__criteria span { color: var(--sc-muted); font-size: 13px; }

.sc-save-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.sc-save-grid article { padding: 20px; }

.sc-steps-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: sc-step; }
.sc-steps-list li { counter-increment: sc-step; position: relative; min-height: 52px; padding: 10px 56px 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sc-steps-list li::before { content: counter(sc-step); position: absolute; right: 0; top: 7px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--sc-navy); background: var(--sc-green); font-weight: 900; }

.sc-faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: start; }
.sc-faq-list { border-top: 1px solid var(--sc-line); }
.sc-faq-list details { border-bottom: 1px solid var(--sc-line); }
.sc-faq-list summary { position: relative; padding: 19px 0 19px 38px; color: var(--sc-navy); font-weight: 900; cursor: pointer; list-style: none; }
.sc-faq-list summary::-webkit-details-marker { display: none; }
.sc-faq-list summary::after { content: "+"; position: absolute; left: 0; top: 17px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--sc-green-dark); background: var(--sc-mint); }
.sc-faq-list details[open] summary::after { content: "−"; }
.sc-faq-list details p { margin: -4px 0 18px; color: var(--sc-muted); }

.sc-final { color: #fff; background: var(--sc-green-dark); }
.sc-final__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.sc-final h2 { color: #fff; }
.sc-final p { margin: 10px 0 0; max-width: 760px; color: #e7fff6; }

@media (max-width: 980px) {
    .sc-hero h1 { font-size: 39px; }
    .sc-component-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-formula-flow { grid-template-columns: 1fr; }
    .sc-formula-flow > span { transform: rotate(90deg); justify-self: center; }
    .sc-save-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-conversion, .sc-comparison, .sc-faq-layout { grid-template-columns: 1fr; }
    .sc-final__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .sc-shell { width: min(100% - 28px, 1180px); }
    .sc-hero { min-height: 610px; align-items: end; }
    .sc-hero__shade { background: linear-gradient(0deg, rgba(9,26,49,.96), rgba(9,26,49,.28) 92%); }
    .sc-hero__content { padding-block: 70px 48px; }
    .sc-hero h1 { font-size: 34px; }
    .sc-hero__lead { font-size: 17px; }
    .sc-actions, .sc-final .sc-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .sc-button { width: 100%; }
    .sc-facts__grid { grid-template-columns: repeat(2, 1fr); }
    .sc-facts__grid > div { border-bottom: 1px solid var(--sc-line); }
    .sc-section { padding-block: 56px; }
    .sc-heading h2, .sc-section h2 { font-size: 27px; }
    .sc-heading--split { display: block; }
    .sc-component-grid, .sc-price-grid, .sc-city-grid, .sc-expense-grid, .sc-save-grid, .sc-steps-list { grid-template-columns: 1fr; }
    .sc-price-card__amount { font-size: 30px; }
    .sc-comparison__criteria { grid-template-columns: 1fr; }
    .study-cost-page .sc-table-wrap table { min-width: 680px !important; }
    .sc-table-wrap th, .sc-table-wrap td { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .study-cost-page { scroll-behavior: auto; }
}
