/* Light, colourful content sections for Octa's connected-growth website. */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 56px;
  margin-bottom: 48px;
}
.section-heading > div { flex: 1; min-width: 0; }
.section-heading h2 { max-width: 800px; }
.section-intro {
  flex: 0 1 310px;
  max-width: 340px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  background: #edf9fd;
  border: 1px solid #dceff5;
  border-radius: 24px;
}
.service:nth-child(2) { background: #eff9ef; border-color: #e0eedc; }
.service:nth-child(3) { background: #f4f1fd; border-color: #e9e3f8; }
.service-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; margin-bottom: 30px; }
.service-top > span { font-size: 11px; font-weight: 500; letter-spacing: .07em; color: #466b77; }
.service-top svg { width: 44px; height: 44px; color: #007692; }
.service:nth-child(2) .service-top > span, .service:nth-child(2) .service-top svg { color: #4a7135; }
.service:nth-child(3) .service-top > span, .service:nth-child(3) .service-top svg { color: #7560aa; }
.service h3 { font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1.13; letter-spacing: -.035em; }
.service > p { margin: 22px 0 25px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.service ul { width: 100%; padding-top: 18px; margin-top: auto; border-top: 1px solid #ccdfe5; }
.service li { padding: 6px 0; font-size: 13px; line-height: 1.6; }
.service li::before { content: '↗'; margin-right: 9px; color: #007692; }
.service:nth-child(2) li::before { color: #4a7135; }
.service:nth-child(3) li::before { color: #7560aa; }
.service-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding-top: 28px; font-size: 13px; font-weight: 500; color: #006f88; }
.service-link svg { width: 19px; height: 19px; transition: transform .2s; }
.service-link:hover svg { transform: translate(2px, -2px); }
.service-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.connected { background: #edfaf7; color: var(--ink); }
.connected .section-intro { color: var(--muted); }
.connected .section-heading { margin-bottom: 38px; }
.journey-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.journey-tabs button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid #d4e9e4;
  border-radius: 14px;
  background: #fff;
  color: #42636a;
  font-size: 12px;
  text-align: left;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.journey-tabs button > span:first-child { font-size: 14px; font-weight: 500; }
.journey-tabs button > span:last-child { margin-left: auto; font-size: 21px; }
.journey-tabs button[aria-selected="true"] { color: #fff; background: #007f9b; border-color: #007f9b; box-shadow: 0 7px 18px #007f9b18; }
.journey-tabs button:hover { border-color: #007f9b; }
.journey-panel { padding: 38px; background: #fff; border: 1px solid #dceee8; border-radius: 24px; box-shadow: 0 12px 30px #214e3f05; }
.journey-description { display: flex; justify-content: space-between; align-items: flex-start; gap: 44px; margin-bottom: 38px; }
.journey-description h3 { max-width: 520px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.journey-description p { flex: 0 1 390px; max-width: 390px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.journey-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; min-height: 180px; }
.journey-steps li { position: relative; min-width: 0; padding-top: 2px; }
.step-number { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 50%; background: #e5f5f9; color: #006f88; font-size: 12px; font-weight: 500; }
.journey-steps li:nth-child(2) .step-number { background: #ecf5df; color: #52752c; }
.journey-steps li:nth-child(3) .step-number { background: #f0eafb; color: #7752a0; }
.journey-steps li:nth-child(4) .step-number { background: #fff0e3; color: #996135; }
.journey-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 52px;
  right: 0;
  top: 16px;
  height: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='m4 1 4 4-4 4' fill='none' stroke='%239bbfc1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center/10px 10px no-repeat,
    linear-gradient(#9bbfc1,#9bbfc1) left center/calc(100% - 2px) 1px no-repeat;
}
.journey-steps h4 { margin-bottom: 10px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.journey-steps p { max-width: 245px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.journey-note { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-top: 25px; }
.journey-note p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.journey-note p .dot { width: 5px; height: 5px; margin-right: 6px; }
.journey-note a { display: flex; align-items: center; gap: 12px; color: #006f88; font-size: 12px; font-weight: 500; white-space: nowrap; }
.journey-note a:hover { text-decoration: underline; text-underline-offset: 5px; }
.journey-note svg { width: 17px; height: 17px; }
.connected :focus-visible { outline-color: #007f9b; }

.work-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.project { min-width: 0; }
.project-visual { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; height: 360px; border-radius: 24px; }
.project-hospital { background: #e5f3fb; padding: 45px 34px; }
.project-image-frame { width: 100%; box-shadow: 0 15px 30px #36738b20; transform: rotate(-3deg); border-radius: 6px; overflow: hidden; transition: transform .4s; }
.project-visual:hover .project-image-frame { transform: rotate(0) scale(1.025); }
.browser-bar { display: flex; align-items: center; gap: 4px; background: #fff; padding: 8px; }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #c2d6dc; }
.browser-bar span { margin-inline: auto; padding-right: 20px; color: #667e82; font-size: 7px; }
.project-dori { background: #fff0e4; padding: 30px; }
.project-dori > img { width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 12px 24px #a3693b0c; transition: transform .4s; }
.project-dori:hover > img { transform: scale(1.03); }
.project-open { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #006f88; box-shadow: 0 4px 12px #3f757512; transition: transform .2s, background .2s; }
.project-open svg { width: 21px; height: 21px; }
.project-visual:hover .project-open { transform: rotate(6deg); background: #d9f3fa; }
.project-caption { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 24px 0 12px; }
.project-caption h3 { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.project-caption > span { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.project > p { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.about { background: #fff; border-block: 1px solid #e7f0ef; }
.about-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; }
.about-intro > .section-label { align-self: start; margin-top: 6px; }
.about-intro h2 { margin-bottom: 28px; }
.about-intro > div > p { max-width: 700px; margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.approach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: 60px; }
.approach article { min-width: 0; padding-top: 22px; border-top: 1px solid #dcebec; }
.approach article > span { display: inline-block; padding: 7px 11px; border-radius: 20px; background: #e9f7fb; color: #006f88; font-size: 10px; letter-spacing: .04em; font-weight: 500; }
.approach article:nth-child(2) > span { background: #eef7e5; color: #51752e; }
.approach article:nth-child(3) > span { background: #f2ecfb; color: #7958a4; }
.approach h3 { margin: 19px 0 13px; font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.approach p { max-width: 350px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 31px; height: 31px; padding: 7px; border-radius: 50%; color: #006f88; background: #edf8fa; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 42px 25px 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.contact { padding: 82px 0 65px; background: linear-gradient(115deg,#e3f7fd 0%,#e9faf2 70%,#f3fadd 100%); }
.contact .dot { background: #009cbd; }
.contact-main { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact h2 { max-width: 950px; font-size: clamp(46px,5.2vw,72px); line-height: 1.1; letter-spacing: -.045em; }
.contact h2 span { color: #007692; }
.contact-round { display: grid; place-items: center; width: 112px; height: 112px; flex-shrink: 0; border-radius: 50%; background: #007f9b; color: #fff; box-shadow: 0 10px 24px #007f9b15; transition: transform .2s, background .2s; }
.contact-round svg { width: 45px; height: 45px; }
.contact-round:hover { transform: rotate(7deg); background: #006f88; }
.contact-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-top: 40px; padding-top: 29px; border-top: 1px solid #c7e4df; }
.contact-bottom p { color: #4f6d73; font-size: 15px; line-height: 1.8; }
.email-link { display: inline-flex; align-items: center; gap: 30px; color: #006f88; font-size: 23px; letter-spacing: -.02em; }
.email-link svg { width: 23px; height: 23px; }
.email-link:hover { text-decoration: underline; text-underline-offset: 6px; }

@media (max-width:1150px) {
  .section-heading { gap: 35px; }
  .section-intro { flex-basis: 280px; font-size: 14px; }
  .service-grid { gap: 20px; }
  .service { padding: 25px; }
  .service h3 { font-size: 31px; }
  .service > p { font-size: 14px; }
  .service li, .service-link { font-size: 13px; }
  .journey-panel { padding: 30px; }
  .journey-description { gap: 30px; }
  .journey-description h3 { font-size: 25px; }
  .journey-description p { flex-basis: 340px; font-size: 13px; }
  .journey-steps { gap: 23px; }
  .journey-steps p { font-size: 13px; }
  .journey-tabs button { padding: 17px 18px; }
  .journey-note { align-items: flex-start; }
  .journey-note a { font-size: 11px; }
  .project-visual { height: 310px; }
  .project-caption { align-items: flex-start; flex-direction: column; gap: 8px; }
  .about-intro { grid-template-columns: 1fr 2fr; gap: 30px; }
  .about-intro > .section-label { max-width: 260px; }
  .approach { gap: 30px; }
  .approach h3 { font-size: 19px; }
  .faq { gap: 55px; }
}
@media (max-width:900px) {
  .section-heading { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 35px; }
  .section-intro { flex: auto; max-width: 590px; font-size: 15px; }
  .service-grid { gap: 16px; }
  .service { padding: 22px; border-radius: 20px; }
  .service h3 { font-size: 29px; }
  .service-top { margin-bottom: 24px; }
  .service-top > span { font-size: 11px; }
  .service-top svg { width: 35px; height: 35px; }
  .service li { font-size: 13px; }
  .service-link { font-size: 12px; line-height: 1.6; }
  .journey-description { flex-direction: column; gap: 16px; margin-bottom: 30px; }
  .journey-description h3 { max-width: 600px; }
  .journey-description p { flex: auto; max-width: 580px; font-size: 14px; }
  .journey-steps { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 36px; row-gap: 28px; min-height: 0; }
  .journey-steps li:nth-child(2)::after { display: none; }
  .journey-steps p { max-width: 320px; font-size: 14px; }
  .journey-tabs button { gap: 10px; padding: 15px; }
  .journey-tabs button > span:first-child { font-size: 12px; }
  .journey-note { flex-direction: column; gap: 13px; }
  .journey-note a { font-size: 12px; }
  .work-grid { gap: 24px; }
  .project-visual { height: 280px; }
  .project-hospital, .project-dori { padding: 25px; }
  .about-intro { grid-template-columns: 1fr; gap: 0; }
  .about-intro > .section-label { max-width: none; }
  .about-intro > div > p { font-size: 15px; }
  .approach { gap: 26px; margin-top: 45px; }
  .approach h3 { font-size: 18px; }
  .faq { grid-template-columns: 1fr 1.2fr; gap: 35px; }
  .faq summary { font-size: 14px; }
  .contact-round { width: 88px; height: 88px; }
  .contact-round svg { width: 36px; height: 36px; }
  .contact-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width:760px) {
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service { padding: 28px; }
  .service h3 { font-size: 31px; }
  .service h3 br { display: none; }
  .service-top { margin-bottom: 24px; }
  .service-top > span { font-size: 11px; }
  .service-top svg { width: 40px; height: 40px; }
  .service > p { max-width: 550px; font-size: 15px; margin: 20px 0; }
  .service li { font-size: 14px; }
  .service-link { font-size: 14px; padding-top: 24px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq summary { font-size: 15px; }
}
@media (max-width:650px) {
  .section-heading { gap: 21px; margin-bottom: 31px; }
  .section-intro { font-size: 14px; }
  .service { padding: 25px; border-radius: 22px; }
  .service > p { font-size: 14px; }
  .service li { font-size: 13px; }
  .service-link { font-size: 13px; }
  .connected .section-heading { margin-bottom: 29px; }
  .journey-tabs { gap: 7px; margin-bottom: 18px; }
  .journey-tabs button { flex-direction: column; align-items: flex-start; gap: 6px; padding: 13px 10px; border-radius: 12px; font-size: 10px; line-height: 1.5; }
  .journey-tabs button > span:first-child { font-size: 11px; }
  .journey-tabs button > span:last-child { display: none; }
  .journey-panel { padding: 26px 22px; border-radius: 20px; }
  .journey-description { margin-bottom: 29px; gap: 15px; }
  .journey-description h3 { font-size: 24px; }
  .journey-description p { font-size: 14px; }
  .journey-steps { grid-template-columns: 1fr; gap: 0; }
  .journey-steps li { padding: 0 0 27px 54px; min-height: 110px; }
  .journey-steps li:last-child { min-height: 0; padding-bottom: 0; }
  .step-number { position: absolute; top: 0; left: 0; width: 35px; height: 35px; margin: 0; }
  .journey-steps li:not(:last-child)::after { display: block; content: ''; left: 17px; top: 43px; right: auto; bottom: 8px; width: 1px; height: auto; background: #d5e8e8; }
  .journey-steps h4 { padding-top: 4px; margin-bottom: 8px; font-size: 14px; }
  .journey-steps p { font-size: 13px; max-width: none; }
  .journey-note p { font-size: 10px; }
  .journey-note a { white-space: normal; font-size: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-visual { height: 300px; border-radius: 20px; }
  .project-hospital { padding: 30px; }
  .project-dori { padding: 25px; }
  .project-caption { gap: 8px; margin-top: 21px; }
  .project-caption h3 { font-size: 23px; }
  .project-caption > span { font-size: 10px; }
  .project > p { font-size: 14px; }
  .about-intro h2 { margin-bottom: 22px; }
  .about-intro > div > p { font-size: 14px; }
  .approach { grid-template-columns: 1fr; gap: 27px; margin-top: 36px; }
  .approach article { padding-top: 24px; }
  .approach h3 { margin: 16px 0 10px; font-size: 20px; }
  .approach p { max-width: none; font-size: 14px; }
  .faq summary { padding-block: 22px; gap: 17px; }
  .faq details p { padding-right: 10px; font-size: 14px; }
  .contact { padding: 58px 0 43px; }
  .contact-main { flex-direction: column; align-items: flex-start; gap: 25px; }
  .contact h2 { font-size: clamp(39px,9vw,55px); line-height: 1.13; }
  .contact-round { width: 66px; height: 66px; }
  .contact-round svg { width: 29px; height: 29px; }
  .contact-bottom { margin-top: 28px; padding-top: 25px; gap: 22px; }
  .contact-bottom p { font-size: 14px; }
  .email-link { font-size: 21px; gap: 22px; }
  .email-link svg { width: 20px; height: 20px; }
}
@media (max-width:370px) {
  .service { padding: 22px; }
  .service h3 { font-size: 28px; }
  .journey-tabs { gap: 6px; }
  .journey-tabs button { padding: 11px 8px; }
  .journey-tabs button > span:first-child { font-size: 10px; }
  .journey-panel { padding: 23px 18px; }
  .journey-description h3 { font-size: 22px; }
  .journey-steps li { padding-left: 47px; }
  .journey-steps p { font-size: 12px; }
  .project-visual { height: 255px; }
  .project-hospital { padding: 25px; }
  .project-dori { padding: 22px; }
  .contact h2 { font-size: 37px; }
  .email-link { font-size: 19px; gap: 17px; }
}

/* Contact enquiry form */
.contact-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: start; }
.contact-intro { padding-top: 15px; }
.contact-intro h2 { font-size: clamp(38px,3.6vw,52px); line-height: 1.13; }
.contact-description { color: #4f6d73; max-width: 390px; margin-top: 25px; font-size: 16px; line-height: 1.8; }
.contact-direct { margin-top: 40px; padding-top: 27px; border-top: 1px solid #c7e4df; }
.contact-direct>p { color: #54757a; font-size: 12px; margin-bottom: 12px; }
.contact-direct .email-link { font-size: 21px; gap: 20px; }
.contact-phone { display: block; width: fit-content; color: #37676f; font-size: 14px; margin-top: 14px; }
.contact-phone:hover { color: #006f88; text-decoration: underline; text-underline-offset: 4px; }
.contact-form { min-width: 0; padding: 35px; background: #fff; border: 1px solid #e1eeea; border-radius: 26px; box-shadow: 0 16px 45px #396a6f09; }
.form-heading { margin-bottom: 26px; }
.form-heading h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.3; }
.form-heading p { font-size: 11px; color: #536b70; margin-top: 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; }
.form-field { display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.form-field-wide { grid-column: 1/-1; }
.form-field label { color: #274e57; font-size: 12px; font-weight: 500; line-height: 1.5; }
.form-field label>span:not(.optional) { color: #007692; }
.form-field .optional { font-weight: 400; color: #536b70; font-size: 10px; }
.form-field input,.form-field select,.form-field textarea { box-sizing: border-box; width: 100%; min-width: 0; font: 14px/1.5 var(--sans); color: var(--ink); background: #fbfefd; border: 1px solid #d5e5e6; border-radius: 11px; padding: 13px 14px; transition: border-color .2s,box-shadow .2s; }
.form-field select { height: 49px; padding-right: 24px; }
.form-field textarea { min-height: 134px; resize: vertical; }
.form-field input::placeholder,.form-field textarea::placeholder { color: #536b70; opacity: 1; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { outline: 2px solid #007f9b; outline-offset: 2px; border-color: #007f9b; background: #fff; }
.form-note { color: #5c7379; font-size: 12px; line-height: 1.7; margin: 19px 0; max-width: 440px; }
.form-note a { text-decoration: underline; }
.form-submit { padding: 14px 22px; margin-top: 24px; }
.form-feedback { padding: 16px 18px; background: #edf9f4; border: 1px solid #d5eade; border-radius: 12px; margin-top: 20px; color: #315c53; }
.form-feedback p { font-size: 12px; line-height: 1.7; }
.form-feedback a { display: inline-block; font-size: 12px; font-weight: 500; color: #006f88; margin-top: 10px; text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:1150px) {
  .contact-layout { gap: 40px; grid-template-columns: .83fr 1.17fr; }
  .contact-form { padding: 28px; }
  .contact-direct .email-link { font-size: 19px; gap: 13px; }
}
@media(max-width:900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .contact-intro { padding-top: 0; }
  .contact-intro h2 { font-size: 44px; }
  .contact-description { max-width: 580px; font-size: 15px; }
  .contact-direct { margin-top: 24px; padding-top: 20px; }
  .contact-form { max-width: 720px; width: 100%; }
}
@media(max-width:650px) {
  .contact-layout { gap: 30px; }
  .contact-intro h2 { font-size: 38px; }
  .contact-description { font-size: 14px; margin-top: 20px; }
  .contact-direct .email-link { font-size: 19px; }
  .contact-form { padding: 24px 20px; border-radius: 22px; }
  .form-heading h3 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-field input,.form-field select,.form-field textarea { font-size: 16px; padding: 13px; }
  .form-field select { height: 52px; }
  .form-field label { font-size: 13px; }
  .form-note { font-size: 11px; }
  .form-submit { width: 100%; justify-content: center; gap: 25px; }
}
