:root {
    --base: #fcf8fa;
    --white: #ffffff;
    --berry: #b45d78;
    --berry-strong: #a45472;
    --berry-light: #f8e8ee;
    --berry-pale: #fdf3f7;
    --leaf: #7ca16e;
    --leaf-strong: #6d9260;
    --leaf-light: #e8f5e7;
    --lavender: #e8eaf9;
    --blue: #849ec9;
    --ink: #65788a;
    --ink-strong: #617187;
    --line: #e6d9e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--base); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--berry-strong); }
a:focus-visible { outline: 3px solid var(--leaf); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 40px; font-weight: 840; line-height: 1.16; letter-spacing: -.035em; color: var(--berry-strong); margin-bottom: 20px; }
h2 { font-size: 28px; font-weight: 820; line-height: 1.27; letter-spacing: -.021em; color: var(--berry-strong); margin-bottom: 20px; }
h3 { font-size: 21px; font-weight: 800; line-height: 1.3; color: #866883; margin-bottom: 11px; }
p { font-size: 16px; line-height: 1.65; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.container { width: min(calc(100% - 76px), 1290px); margin-inline: auto; }
.section-space { padding-block: 70px; }
.overline { display: inline-block; width: fit-content; color: var(--leaf-strong); padding: 0 0 6px; border-bottom: 3px solid #a8cba2; font-size: 12px; font-weight: 850; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.action { display: inline-flex; justify-content: center; align-items: center; padding: 10px 19px; min-height: 47px; border: 2px solid transparent; border-radius: 3px; font-size: 15px; font-weight: 820; line-height: 1.3; text-align: center; transition: color .15s, background-color .15s, border-color .15s; }
.action-main { background: var(--berry); border-color: var(--berry); color: #fff; }
.action-main:hover { color: #fff; background: var(--berry-strong); border-color: var(--berry-strong); }
.action-main:active { background: #944a66; }
.action-quiet { border-color: #a1bca2; color: var(--leaf-strong); background: #fff; }
.action-quiet:hover { color: #587e58; border-color: #87ab84; background: #eff9ee; }

.topbar { background: #fff; border-bottom: 4px solid #dbe9dc; }
.topbar-inner { display: flex; align-items: center; gap: 26px; min-height: 91px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--berry-strong); white-space: nowrap; font-weight: 750; font-size: 25px; letter-spacing: -.046em; }
.brand strong { color: var(--leaf-strong); font-weight: 870; }
.brand:hover { color: var(--berry-strong); }
.brand-symbol { position: relative; width: 35px; height: 35px; flex: 0 0 35px; border: 6px solid var(--berry); border-radius: 5px; background: #f9e8ed; }
.brand-symbol::before { content: ""; position: absolute; left: 5px; top: 7px; width: 13px; height: 13px; border-radius: 50%; border: 4px solid var(--leaf); }
.brand-symbol::after { content: ""; position: absolute; top: 2px; left: 4px; right: 4px; height: 3px; background: #91b59b; }
.header-nav { display: flex; gap: 21px; align-items: center; margin-left: auto; }
.header-nav a { display: inline-flex; align-items: center; padding: 10px 2px; color: #6a8290; font-size: 14px; font-weight: 780; white-space: nowrap; border-bottom: 3px solid transparent; }
.header-nav a.selected, .header-nav a:hover { color: var(--berry-strong); border-color: var(--leaf); }
.topbar-inner > .action { flex: 0 0 auto; }

.opening { background: #f7eaf0; padding: 46px 0 54px; }
.opening-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 27px; align-items: stretch; }
.opening-copy { display: flex; flex-direction: column; justify-content: center; padding: 7px 0; }
.opening-copy h1 { margin-top: 18px; }
.opening-copy > p { margin-bottom: 18px; }
.opening-actions, .home-actions, .console-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 7px; }
.hour-ribbon { margin-top: 23px; padding: 16px 18px; background: #fff; border-left: 5px solid var(--leaf); }
.hour-ribbon strong { display: block; font-size: 16px; color: var(--leaf-strong); margin-bottom: 6px; }
.hour-ribbon p { margin: 0; }
.coffee-case { display: flex; flex-direction: column; background: #fff; min-width: 0; border-bottom: 6px solid #b7d7b1; }
.coffee-illustration { display: grid; place-items: center; padding: 20px; min-height: 235px; background: #e8f2e9; }
.coffee-body { position: relative; width: 185px; height: 200px; background: #fefafe; border: 9px solid #bd7892; border-radius: 11px 11px 7px 7px; box-shadow: 11px 10px 0 #bddbbd; }
.coffee-body::before { position: absolute; content: ""; height: 51px; left: 0; right: 0; top: 0; background: #f1dfeb; border-bottom: 6px solid #d3a3b8; border-radius: 2px 2px 0 0; }
.coffee-screen { position: absolute; width: 62px; height: 24px; left: 13px; top: 13px; background: #c8e6e2; border: 5px solid #92b9b8; z-index: 1; }
.coffee-dial { position: absolute; width: 25px; height: 25px; right: 20px; top: 12px; background: #e6f4e6; border: 6px solid #86ac87; border-radius: 50%; z-index: 1; }
.coffee-spout { position: absolute; width: 54px; height: 12px; left: 57px; top: 73px; background: #b67a97; border-radius: 4px; }
.coffee-spout::after { position: absolute; content: ""; width: 20px; height: 17px; background: #ad7d9b; left: 17px; top: 5px; }
.coffee-drip-left, .coffee-drip-right { position: absolute; display: block; width: 4px; height: 29px; background: #b8d4bb; top: 91px; }
.coffee-drip-left { left: 77px; }
.coffee-drip-right { left: 91px; }
.coffee-cup { position: absolute; width: 77px; height: 49px; left: 45px; bottom: 13px; border: 7px solid #cf97ac; border-top-width: 5px; border-radius: 0 0 13px 13px; background: #f5e4ed; }
.coffee-handle { position: absolute; width: 26px; height: 31px; border: 7px solid #cf97ac; border-left: 0; border-radius: 0 12px 12px 0; right: 24px; bottom: 24px; }
.coffee-tray { position: absolute; width: 119px; height: 6px; bottom: 7px; left: 24px; background: #9cbca5; border-radius: 2px; }
.coffee-case-copy { display: flex; flex-direction: column; justify-content: center; padding: 22px 27px 25px; flex: 1; }
.coffee-case-copy h2 { margin: 12px 0 12px; }
.coffee-case-copy p { margin-bottom: 12px; }
.coffee-case-copy .action { width: 100%; margin-top: 4px; }

.district-section { background: #fff; padding: 42px 0 49px; }
.district-section h2 { margin: 11px 0 22px; }
.territory-lines { border-top: 3px solid #d7e6d3; }
.territory-line { display: grid; grid-template-columns: 195px minmax(0, 1fr); border-bottom: 1px solid #e5e4e9; align-items: center; }
.territory-line:nth-child(odd) { background: #fcf8fb; }
.territory-line h3 { padding: 21px 20px; margin: 0; color: var(--berry-strong); }
.territory-line p { margin: 0; padding: 19px 22px; border-left: 3px solid #c8e1c2; }
.territory-line strong { font-weight: 850; color: #95647e; }

.appliance-section { background: #fcf8fa; }
.appliance-section h2 { margin: 12px 0 28px; }
.appliance-register { border-top: 5px solid var(--berry); background: #fff; }
.appliance-row { display: grid; grid-template-columns: 54px minmax(170px, .27fr) minmax(0, .73fr); align-items: center; gap: 15px; padding: 21px 25px; border-bottom: 1px solid #eee0e8; }
.appliance-row:nth-child(even) { background: #fff9fc; }
.row-id { font-size: 22px; font-weight: 860; color: var(--leaf); }
.appliance-row h3 { font-size: 20px; margin: 0; }
.appliance-row p { margin: 0; }

.course-section { background: #eaf3e7; }
.course-section h2 { margin: 12px 0 27px; }
.course-register { border-top: 4px solid var(--leaf); }
.course-line { display: grid; grid-template-columns: 55px minmax(180px, .35fr) minmax(0, .65fr); gap: 15px; align-items: center; padding: 14px 21px; background: #fff; border-bottom: 1px solid #dce8d8; }
.course-line:nth-child(even) { background: #f7fcf6; }
.course-line > span { color: var(--berry); font-size: 20px; font-weight: 860; }
.course-line strong { font-size: 17px; color: #837387; }
.course-line p { margin: 0; }

.decision-section { background: #fff; }
.decision-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 29px; align-items: stretch; }
.decision-copy { align-self: center; }
.decision-copy h2 { margin-top: 13px; }
.decision-contact { display: flex; flex-direction: column; justify-content: center; padding: 29px; background: #f6e7ee; border-left: 6px solid var(--berry); }
.decision-contact h3 { margin-top: 14px; font-size: 24px; }
.decision-contact .action { margin-top: 10px; }

.bearing-hero { background: #f5eaf3; padding: 45px 0 54px; }
.bearing-hero h1 { margin: 16px 0 24px; }
.bearing-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 25px; align-items: stretch; }
.bearing-panel { background: #fff; border-bottom: 6px solid var(--leaf); display: flex; flex-direction: column; }
.bearing-art { display: grid; place-items: center; min-height: 256px; background: #e7f4e5; padding: 20px; }
.bearing-rim { width: 206px; height: 206px; position: relative; border: 16px solid #b97a92; border-radius: 50%; background: #fdf4f7; box-shadow: 12px 10px 0 #c4dec4; }
.bearing-rim::before { position: absolute; content: ""; inset: 18px; border: 11px solid #dfaebd; border-radius: 50%; }
.bearing-track { position: absolute; inset: 37px; border: 7px solid #9ab6a0; border-radius: 50%; }
.bearing-core { position: absolute; width: 48px; height: 48px; border: 11px solid #d58caa; border-radius: 50%; top: 63px; left: 63px; background: #f3e2ea; }
.bearing-ball { position: absolute; width: 23px; height: 23px; border-radius: 50%; background: #9cbd95; border: 5px solid #fff; }
.ball-a { top: 15px; left: 76px; }
.ball-b { top: 43px; right: 20px; }
.ball-c { bottom: 41px; right: 18px; }
.ball-d { bottom: 15px; left: 75px; }
.ball-e { bottom: 41px; left: 18px; }
.ball-f { top: 43px; left: 19px; }
.bearing-label { padding: 21px 26px 24px; }
.bearing-label strong { display: block; margin-bottom: 8px; color: var(--berry-strong); font-size: 19px; }
.bearing-label p { margin: 0; }
.bearing-copy { display: flex; flex-direction: column; justify-content: center; }
.bearing-copy p { margin-bottom: 18px; }
.bearing-extra { padding: 14px 18px; margin-top: 19px; border-left: 4px solid #aacda6; background: #fff; }
.bearing-extra strong { display: block; margin-bottom: 7px; color: var(--leaf-strong); }
.bearing-extra p { margin: 0; }

.repairs-side { background: #fff; }
.repairs-side h2 { margin: 13px 0 25px; }
.service-extract { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); border-left: 6px solid var(--berry); background: #f9eff4; margin-bottom: 17px; }
.extract-second { background: #edf6ec; border-left-color: var(--leaf); }
.extract-title { display: flex; flex-direction: column; justify-content: center; padding: 24px 25px; }
.extract-title > span { color: var(--leaf-strong); font-size: 12px; font-weight: 870; letter-spacing: .12em; }
.extract-title h3 { font-size: 26px; margin: 13px 0; }
.extract-title p { margin: 0; }
.extract-content { display: flex; flex-direction: column; justify-content: center; padding: 24px 27px; background: #fff; border-left: 1px solid #ead9e4; }
.extract-content p { margin-bottom: 15px; }

.tests-section { background: #edf5eb; }
.tests-section h2 { margin: 12px 0 23px; }
.test-list { border-top: 4px solid var(--berry); }
.test-line { display: grid; grid-template-columns: minmax(190px, .3fr) minmax(0, .7fr); gap: 20px; align-items: center; padding: 20px 23px; background: #fff; border-bottom: 1px solid #dce8d9; }
.test-line:nth-child(even) { background: #f8fcf7; }
.test-line strong { color: var(--berry-strong); font-size: 17px; }
.test-line p { margin: 0; }
.test-note { margin: 21px 0 0; }
.home-contact { padding: 40px 0; background: #edd0df; }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.home-contact h2 { margin: 13px 0; }
.home-contact p { margin: 0; }
.home-contact .action { flex: 0 0 auto; }

.service-intro { padding: 46px 0 53px; background: #eef5eb; }
.service-intro h1 { margin: 16px 0 18px; }
.service-lead { max-width: 1170px; margin-bottom: 25px; }
.console-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 27px; align-items: stretch; }
.dial-console { display: flex; flex-direction: column; background: #fff; border-top: 5px solid var(--leaf); }
.dial-art { display: grid; place-items: center; padding: 20px; min-height: 251px; background: #f1e2ed; }
.dial-base { position: relative; width: 258px; height: 207px; background: #fff9fc; border: 11px solid #c58ba3; border-radius: 15px; box-shadow: 12px 10px 0 #c5dcc4; }
.dial-base::before { position: absolute; content: ""; inset: 14px; border: 4px dotted #e4c4d6; border-radius: 9px; }
.dial-ring { position: absolute; width: 133px; height: 133px; left: 52px; top: 27px; border: 16px solid #b37b99; background: #eaf3e8; border-radius: 50%; }
.dial-center { position: absolute; width: 62px; height: 62px; left: 87px; top: 62px; border-radius: 50%; border: 10px solid #9fbea0; background: #f7eaf0; }
.dial-pointer { position: absolute; top: 46px; left: 113px; width: 10px; height: 35px; border-radius: 5px; background: var(--berry); z-index: 1; transform: rotate(22deg); transform-origin: center 40px; }
.dial-scale { display: block; position: absolute; width: 4px; height: 17px; border-radius: 2px; background: #93b797; }
.scale-one { left: 43px; top: 16px; transform: rotate(-35deg); }
.scale-two { left: 117px; top: 8px; }
.scale-three { right: 44px; top: 16px; transform: rotate(35deg); }
.scale-four { left: 34px; bottom: 20px; transform: rotate(35deg); }
.scale-five { left: 117px; bottom: 7px; }
.scale-six { right: 34px; bottom: 20px; transform: rotate(-35deg); }
.dial-note { padding: 19px 25px 23px; }
.dial-note strong { display: block; color: var(--berry-strong); font-size: 19px; margin-bottom: 8px; }
.dial-note p { margin: 0; }
.console-copy { display: flex; flex-direction: column; justify-content: center; }
.console-copy h2 { margin-bottom: 16px; }
.console-copy p { margin-bottom: 15px; }

.jobs-section { background: #fff; }
.jobs-section h2 { margin: 12px 0 26px; }
.jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.job-line { padding: 25px 26px; border-top: 5px solid #c27d99; background: #fdf5f8; }
.job-line:nth-child(2), .job-line:nth-child(3) { border-color: #94b78b; background: #f3faf1; }
.job-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-bottom: 13px; }
.job-heading span { color: var(--leaf-strong); font-size: 12px; font-weight: 870; letter-spacing: .09em; }
.job-heading h3 { font-size: 22px; margin: 0; }
.job-line p { margin: 0; }

.service-process { background: #f6e7ee; }
.service-process h2 { margin: 12px 0 26px; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.process-part { padding: 23px 23px; background: #fff; border-left: 5px solid #adc9a8; }
.process-part:nth-child(2) { border-color: #c58aa3; }
.process-part strong { display: block; font-size: 18px; color: var(--berry-strong); margin-bottom: 12px; }
.process-part p { margin: 0; }

.service-ending { background: #fff; }
.ending-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 31px; align-items: stretch; }
.ending-layout > div { align-self: center; }
.ending-layout h2 { margin: 13px 0; }
.ending-card { display: flex; flex-direction: column; justify-content: center; padding: 26px 29px; background: #eaf4e8; border-top: 5px solid var(--leaf); }
.ending-card strong { font-size: 22px; color: var(--berry-strong); margin-bottom: 12px; }
.ending-card .action { margin-top: 11px; }

.footer { background: #e9e3ed; border-top: 1px solid #dfd2de; padding: 30px 0; }
.footer-inside { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; }
.footer-logo { color: var(--berry-strong); font-size: 20px; font-weight: 760; }
.footer-logo strong { color: var(--leaf-strong); }
.footer-inside p { margin: 0; font-size: 16px; }
.footer-inside nav { display: flex; flex-wrap: wrap; gap: 10px 23px; margin-left: auto; }
.footer-inside nav a { color: #8d6486; font-size: 14px; font-weight: 800; }
.footer-inside nav a:hover { color: var(--berry-strong); }

@media (max-width: 1160px) {
    .container { width: min(calc(100% - 54px), 1290px); }
    .topbar-inner { gap: 18px; }
    .header-nav { gap: 12px; }
    .opening-grid, .bearing-layout, .console-layout { gap: 19px; }
    .coffee-case-copy { padding: 20px; }
    .dial-base { transform: scale(.9); }
    .dial-art { min-height: 230px; }
}

@media (max-width: 960px) {
    .topbar-inner { flex-wrap: wrap; padding: 13px 0; justify-content: space-between; }
    .header-nav { order: 3; flex: 1 0 100%; margin-left: 0; border-top: 1px solid #ecdee8; padding-top: 7px; }
    .opening-grid, .bearing-layout, .console-layout { grid-template-columns: 1fr; }
    .opening-copy { display: block; }
    .coffee-case { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
    .coffee-illustration { min-height: 285px; }
    .coffee-case-copy { padding: 22px 26px; }
    .bearing-copy { order: -1; }
    .bearing-art { min-height: 240px; }
    .bearing-label { padding: 23px; }
    .dial-art { min-height: 240px; }
    .dial-note { padding: 23px; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 36px), 1290px); }
    .section-space { padding-block: 52px; }
    .opening, .bearing-hero, .service-intro { padding: 36px 0 43px; }
    .territory-line { grid-template-columns: 1fr; padding: 17px 20px; }
    .territory-line h3 { padding: 0 0 6px; }
    .territory-line p { border-left: 0; padding: 0; }
    .appliance-row { grid-template-columns: 38px 1fr; gap: 7px 13px; padding: 19px; }
    .appliance-row p { grid-column: 2; }
    .course-line { grid-template-columns: 40px 1fr; gap: 5px 12px; padding: 15px 17px; }
    .course-line p { grid-column: 2; }
    .decision-layout, .ending-layout { grid-template-columns: 1fr; gap: 19px; }
    .service-extract { grid-template-columns: 1fr; }
    .extract-content { border-left: 0; border-top: 1px solid #ead9e4; }
    .extract-title { padding: 22px 23px; }
    .extract-content { padding: 22px 23px; }
    .test-line { grid-template-columns: 1fr; gap: 7px; }
    .job-heading { display: block; }
    .job-heading h3 { margin-top: 7px; }
    .process-grid { grid-template-columns: 1fr; }
    .home-contact-inner { display: block; }
    .home-contact .action { margin-top: 22px; }
}

@media (max-width: 570px) {
    .container { width: min(calc(100% - 28px), 1290px); }
    .topbar-inner { gap: 10px; }
    .brand { font-size: 22px; }
    .brand-symbol { width: 30px; height: 30px; border-width: 5px; flex-basis: 30px; }
    .brand-symbol::before { width: 11px; height: 11px; border-width: 3px; left: 4px; top: 6px; }
    .topbar-inner > .action { padding-inline: 11px; font-size: 14px; }
    .header-nav { flex-wrap: wrap; gap: 4px 20px; }
    .header-nav a { padding: 8px 0; font-size: 13px; }
    .opening-actions, .home-actions, .console-actions { display: grid; grid-template-columns: 1fr; }
    .coffee-case, .bearing-panel, .dial-console { display: flex; flex-direction: column; }
    .coffee-illustration { width: 100%; min-height: 245px; }
    .coffee-case-copy { width: 100%; padding: 21px; }
    .bearing-art { width: 100%; min-height: 240px; }
    .bearing-label { width: 100%; }
    .dial-art { width: 100%; min-height: 240px; }
    .dial-note { width: 100%; }
    .jobs-grid { grid-template-columns: 1fr; }
    .job-line, .decision-contact, .ending-card { padding: 22px 20px; }
    .hour-ribbon { padding: 14px; }
}

@media (max-width: 365px) {
    .container { width: min(calc(100% - 22px), 1290px); }
    .brand { flex: 1 0 100%; }
    .topbar-inner > .action { margin-left: 0; }
    .header-nav { gap: 0 16px; }
    .coffee-body { transform: scale(.91); }
    .bearing-rim { transform: scale(.9); }
    .dial-base { transform: scale(.78); }
}
