/* Shared IZSPA teal, ivory and gold theme for legacy content pages. */
html { scroll-behavior:smooth; }
body { background:#f7f4eb; color:#183c37; font-family:'Source Sans Pro',Arial,sans-serif; }
body p { color:#344d48; line-height:1.75; }
h1,h2,h3,h4,h5,h6 { color:#15594f; line-height:1.25; }
.color { color:#344d48 !important; }
.color1 { color:#14584f !important; background:transparent !important; }
#pageintro .color1,#pageintro article .color1 { color:#fffdf6 !important; }
a { transition:color .18s ease, background-color .18s ease, border-color .18s ease; }

.bgded.overlay { background-position:center; background-size:cover; }
.bgded.overlay:before { background:linear-gradient(120deg,rgba(8,40,35,.79),rgba(10,54,47,.62) 55%,rgba(71,49,21,.35)); }
#headers { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px 24px; max-width:1240px; padding:18px 22px; }
#headers .logo1 { display:block; width:72px; height:72px; object-fit:contain; }
#headers #logo { margin:0; color:#fffdf5; font-size:clamp(1.45rem,3vw,2.1rem); }
#headers #logo a { color:inherit; text-decoration:none; }
#headers #callnow { width:62px; height:auto; object-fit:contain; }
#headers #tel { margin:0; }
#headers #tel a { color:#fffdf5; font-size:1.08rem; font-weight:700; text-decoration:none; }
.legacy-header-actions { display:flex; gap:9px; align-items:center; }
.legacy-chat { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:9px 14px; border:1px solid transparent; border-radius:999px; font-size:.94rem; font-weight:700; line-height:1; text-decoration:none; white-space:nowrap; }
.legacy-chat svg { width:18px; height:18px; flex:0 0 18px; }
.legacy-chat.whatsapp { background:#086b45; color:#fff; }
.legacy-chat.telegram { background:#126584; color:#fff; }
.legacy-chat:hover { filter:brightness(.92); }
.legacy-chat:focus-visible { outline:3px solid #d4ae61; outline-offset:3px; }

#mainav { background:#fffdf6; border-block:1px solid #d6b16a; box-shadow:0 4px 14px rgba(17,55,48,.08); }
#mainav ul { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0; }
#mainav li { position:relative; }
#mainav li a { color:#174d45 !important; font-weight:700; text-decoration:none; }
#mainav li:hover > a,#mainav li.active > a,#mainav a:focus-visible { background:#14584f; color:#fffdf6 !important; }
#mainav ul ul { background:#fffdf6; box-shadow:0 12px 30px rgba(17,55,48,.2); }
#mainav ul ul a { color:#174d45 !important; }
#mainav ul ul li:hover > a,#mainav ul ul a:focus-visible { background:#e6efe9; color:#123f39 !important; }
#mainav ul ul li { border-color:rgba(20,88,79,.12); }
#pageintro { padding-block:clamp(48px,8vw,96px); }
#pageintro article { max-width:900px; margin-inline:auto; padding:clamp(22px,4vw,42px); border:1px solid rgba(220,190,125,.45); border-radius:20px; background:rgba(13,55,48,.72); color:#fffdf6; text-align:center; }
#pageintro article h1,#pageintro article h2,#pageintro article h3,#pageintro article p { color:#fffdf6; }
#pageintro article p { font-size:1.12rem; }
.btn,.button { border:1px solid #d1ad66; border-radius:999px; background:#d1ad66; color:#173e38; font-weight:700; }
.btn:hover,.button:hover { background:#fff5df; color:#14584f; }
.wrapper,section,main { color:#183c37; }
.wrapper.row2,.wrapper.row3,.wrapper.row4,.wrapper.row5 { background:#f7f4eb; }
.wrapper.row1 { background:#14584f; }
.group.demo,.group.btmspace-50 { align-items:center; }
.group.demo { max-width:1240px; padding:clamp(18px,3vw,32px); border:1px solid rgba(198,160,82,.35); border-radius:20px; background:#fffdf6; box-shadow:0 12px 32px rgba(20,65,58,.08); }
.group.demo p { color:#344d48 !important; background:transparent !important; }
.group.demo h1,.group.demo h2,.group.demo h3,.group.demo h4,.group.demo h5,.group.demo h6 { color:#14584f !important; background:transparent !important; }
.group.demo > .two_third { min-width:0; }
.group.demo > .two_third p { max-width:72ch; margin:0 0 1.2rem; }
section.flex { display:flex; flex-direction:column; gap:20px; max-width:1240px; margin:28px auto; padding:clamp(18px,3vw,32px); border:1px solid rgba(198,160,82,.35); border-radius:20px; background:#fffdf6; box-shadow:0 12px 32px rgba(20,65,58,.08); }
section.flex > .heading { width:100%; margin:0; color:#14584f !important; text-align:center; }
.group.demo img,.group img,section img,article img { max-width:100%; height:auto; }
.one_third img,.one_quarter img,.two_quarter img { display:block; width:100%; border-radius:14px; }
.demo { margin-inline:auto; }
.group.btmspace-50.demo { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,2vw,22px); max-width:none; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.group.btmspace-50.demo::after { display:none; }
.group.btmspace-50.demo > .one_quarter { float:none; width:auto; min-width:0; margin:0; }
.group.btmspace-50.demo > .one_quarter img { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; object-position:center; border:1px solid rgba(198,160,82,.45); border-radius:16px; box-shadow:0 8px 22px rgba(20,65,58,.12); }
.investment_plans { background-color:#174c43; }
.investment_overlay { background:rgba(12,51,44,.78); }
.investment_plans h3,.investment_plans h4,.investment_plans .sv_heading_wraper { color:#fffdf6; }
.investment_plans .sv_heading_wraper h4,.investment_plans .sv_heading_wraper h3 { color:#fffdf6 !important; }
.investment_box_wrapper { border:1px solid rgba(210,174,98,.55); border-radius:16px; background:#fffdf6; color:#263f3a; }
.investment_box_wrapper h3,.investment_box_wrapper h3 a { color:#14584f; }
.investment_box_wrapper p { color:#344d48; }
footer,#footer,.wrapper.row5 { background:#123f39; color:#f8f2e5; }
footer h1,footer h2,footer h3,footer h4,footer h5,footer h6,footer p,footer a,#footer h1,#footer h2,#footer h3,#footer h4,#footer p,#footer a { color:#f8f2e5; }
#backtotop { background:#c6a052; color:#173e38; }

/* Align legacy page footers with the homepage's deep teal, ivory and gold palette. */
.wrapper.row4 { background:#123f39 !important; }
#footer { max-width:1240px; padding:clamp(32px,5vw,58px) clamp(16px,3vw,32px); background:transparent; color:#f8f2e5; }
#footer > .center.btmspace-50 { max-width:760px; margin:0 auto 36px; padding:0 10px 24px; border-bottom:1px solid rgba(214,177,106,.38); }
#footer > .center.btmspace-50 h6 { margin:0 0 12px; color:#e2c27f !important; font-size:1.6rem; }
#footer > .center.btmspace-50 p.flex { display:block !important; max-width:68ch; margin:0 auto; color:#eee7d8 !important; text-align:center; }
#footer > hr { display:none; }
#footer > .group { display:flex !important; flex-direction:column; gap:0; max-width:820px; margin:0 auto; }
#footer > .group > .one_quarter { float:none; width:auto; min-width:0; margin:0; padding:24px 8px; border:0; border-bottom:1px solid rgba(214,177,106,.32); border-radius:0; background:transparent; }
#footer .one_quarter h6.heading { margin:0 0 16px; color:#e2c27f !important; font-size:1.08rem; line-height:1.4; }
#footer .one_quarter h4 { color:#fffdf6 !important; }
#footer .one_quarter p,#footer .one_quarter address,#footer .one_quarter li { color:#eee7d8 !important; line-height:1.65; }
#footer .one_quarter a { color:#f0cf86 !important; }
#footer .one_quarter a:hover { color:#fffdf6 !important; }
#footer .one_quarter .linklist li { border-color:rgba(255,253,246,.12); }
#footer .one_quarter article { margin:0 0 16px; }
#footer .one_quarter article h4 { margin:0 0 6px; color:#e2c27f !important; }
#footer .one_quarter .faico a { color:#fffdf6 !important; }
#footer .one_quarter img { display:block; width:min(100%,150px); height:auto; border-radius:12px; }
#footer > .group > .one_quarter:last-child { display:flex; flex-direction:column; align-items:center; padding:28px 8px 8px; border:0; background:transparent; box-shadow:none; text-align:center; }
#footer > .group > .one_quarter:last-child h6.heading { margin-bottom:8px; font-size:1.25rem; }
#footer > .group > .one_quarter:last-child h4 { margin:0 0 12px; color:#fffdf6 !important; font-size:1.35rem; }
#footer > .group > .one_quarter:last-child p { max-width:72ch; margin:0 auto; }
#footer > .group > .one_quarter:last-child ul.flex { display:block !important; width:100%; margin:18px 0 0; padding:0; text-align:center; }
#footer > .group > .one_quarter:last-child ul.flex a { display:inline-flex; }
#footer > .group > .one_quarter:last-child ul.flex img { width:clamp(120px,18vw,176px); max-width:100%; margin:0 auto; border:2px solid rgba(226,194,127,.7); border-radius:16px; box-shadow:0 10px 24px rgba(0,0,0,.2); }

@media(max-width:760px) {
  #headers { gap:10px 14px; padding:14px 12px; }
  #headers .logo1 { width:58px; height:58px; }
  #headers #callnow { width:48px; }
  .legacy-header-actions { width:100%; justify-content:center; flex-wrap:wrap; }
  .legacy-chat { min-height:42px; padding:9px 12px; font-size:.88rem; }
  #mainav ul { justify-content:flex-start; }
  #pageintro article p { font-size:1.02rem; line-height:1.7; }
  #footer > .group { display:flex !important; flex-direction:column; }
  #footer > .group > .one_quarter { padding:18px 14px; }
  .group.demo,.group.btmspace-50 { display:flex; flex-wrap:wrap; gap:20px; }
  .group.btmspace-50.demo { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .group.demo > .one_third,.group.demo > .two_third { width:100%; margin:0; }
  .group.btmspace-50 > .one_quarter { width:calc(50% - 10px); margin:0; }
  section.flex { padding-inline:16px; }
  .investment_plans .container { width:100%; padding-inline:14px; }
}
@media screen and (max-width:978px) {
  #mainav { padding:0 8px; }
  #mainav ul { display:flex !important; flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
  #mainav li { flex:0 0 auto; margin:0; }
  #mainav li a { padding:14px 12px; font-size:.9rem; }
  #mainav ul ul { display:none !important; }
}
@media(max-width:380px) {
  .legacy-chat { flex:1 1 42%; }
  #headers #tel a { font-size:.98rem; }
  #footer > .group { grid-template-columns:1fr; }
  .group.btmspace-50 > .one_quarter { width:100%; }
}
