:root { color-scheme: light; font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif; color: #20242b; background: #fffff0; accent-color: #f26a4f; --navy: #182b49; --coral: #f26a4f; --coral-deep: #d9533d; --ink: #20242b; --muted: #5f6370; --ivory: #fffff0; --cream: #fffff0; --lilac: #ede7f6; --line: #dcd6cf; --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --section-y: 32px; --section-x: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; word-break: keep-all; overflow-x: clip; background: var(--ivory);
}
body::before { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { color: #fff9f2; background: #f26a4f; }
:focus-visible { outline: 3px solid #f26a4f; outline-offset: 4px; } .scroll-progress { position: fixed; top: 0; left: 0; z-index: 50; width: 100%; height: 3px; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, #f26a4f, #182b49); pointer-events: none;
} .skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-160%); border-radius: 8px; padding: 12px 16px; color: #fff9f2; background: #182b49; font-weight: 800; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); } .site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; width: min(1120px, 100%); margin: 0 auto; padding: 10px 18px; background: var(--ivory); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: rgb(24 43 73 / 0.08); box-shadow: 0 8px 24px rgb(24 43 73 / 0.06);
} .brand { display: inline-flex; align-items: center; gap: 10px; color: #182b49; text-decoration: none; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 4px 10px rgb(24 43 73 / 0.16)); transition: transform 0.25s var(--ease-out);
}
.brand:hover .brand-logo { transform: scale(1.08) rotate(-2deg); }
.brand-text { display: inline-flex; align-items: center; gap: 8px; }
.brand-name { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; color: #182b49; transition: color 0.15s ease;
}
.brand:hover .brand-name { color: #f26a4f; }
.brand-badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 800; color: #f26a4f; background: rgb(242 106 79 / 0.1); border: 1px solid rgb(242 106 79 / 0.28); padding: 2px 7px; border-radius: 999px; letter-spacing: -0.02em; line-height: 1.3;
} .header-cta, .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 18px; font-weight: 700; text-decoration: none; transition: transform 0.35s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}
.header-cta { --cta-ring-angle: 0deg; color: #182b49; padding: 2px; border: 0; background: conic-gradient(from var(--cta-ring-angle), #f26a4f, #ffb3a2 24%, #182b49 48%, #8da0bc 68%, #f26a4f 100%); box-shadow: 0 2px 6px rgb(24 43 73 / 0.04); animation: header-cta-pulse 2.4s var(--ease-out) 1.2s 2, header-cta-ring 3.2s linear infinite;
}
.header-cta > span { width: 100%; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: inherit; background: #ffffff;
}
.header-cta:hover { color: #f26a4f; transform: translateY(-1px) scale(1.02); box-shadow: 0 4px 12px rgb(242 106 79 / 0.15);
}
.header-cta:hover > span { background: #fff9f2; }
.header-cta:active, .button:active { transform: scale(0.98); }
@keyframes header-cta-pulse { 0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 2px 6px rgb(24 43 73 / 0.04); } 48% { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 18px rgb(242 106 79 / 0.28); }
}
@property --cta-ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes header-cta-ring { to { --cta-ring-angle: 1turn; } } .hero, .estimate-shell, .section, .proof { max-width: 1120px; margin: 0 auto; padding: var(--section-y) var(--section-x);
}
.hero { min-height: min(62dvh, 640px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; gap: 16px; padding: 28px 24px; border-radius: 20px; color: #182b49; background: radial-gradient(ellipse 70% 80% at 88% 18%, rgb(242 106 79 / 0.12), transparent 52%), radial-gradient(ellipse 50% 60% at 8% 100%, rgb(24 43 73 / 0.05), transparent 48%), #e8edf4;
}
.hero-copy { display: grid; gap: 10px; padding-left: 48px;
}
.hero h1 { color: #182b49; }
.hero-lead { max-width: 36rem; color: #5f6370;
}
.hero-line { display: block; overflow: hidden;
}
.hero-word { display: inline-block; }
.js-ready .hero-word { opacity: 0; transform: translateY(110%);
}
.js-ready .hero-lead { opacity: 0; }
.js-ready .hero-copy.is-visible .hero-word { animation: hero-word-in 0.72s var(--ease-out) both;
}
.js-ready .hero-copy.is-visible .hero-line:nth-child(1) .hero-word:nth-child(1) { animation-delay: 40ms; }
.js-ready .hero-copy.is-visible .hero-line:nth-child(1) .hero-word:nth-child(2) { animation-delay: 110ms; }
.js-ready .hero-copy.is-visible .hero-line:nth-child(1) .hero-word:nth-child(3) { animation-delay: 180ms; }
.js-ready .hero-copy.is-visible .hero-line:nth-child(2) .hero-word:nth-child(1) { animation-delay: 280ms; }
.js-ready .hero-copy.is-visible .hero-line:nth-child(2) .hero-word:nth-child(2) { animation-delay: 350ms; }
.js-ready .hero-copy.is-visible .hero-lead { animation: hero-lead-in 0.7s var(--ease-out) 0.48s both;
}
@keyframes hero-word-in { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-lead-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); }
}
.hero-mascot { width: min(100%, 420px); height: auto; aspect-ratio: 840 / 868; object-fit: contain; justify-self: end; filter: drop-shadow(0 20px 24px rgb(24 43 73 / .18));
} h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 760px; margin: 0; color: #182b49; font-size: clamp(2.7rem, 8vw, 5.8rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 900;
}
p { max-width: 620px; color: #5f6370; font-size: 1.0625rem; line-height: 1.65; margin: 0;
}
.button-primary { width: fit-content; margin-top: 2px; padding: 0 22px; min-height: 48px; font-size: 1.05rem; color: #fff9f2; background: #f26a4f; box-shadow: 0 12px 24px rgb(242 106 79 / .24);
}
.button-primary:hover { background: #d9533d; transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 32px rgb(242 106 79 / .32);
} .estimate-shell { background: #ede7f6; border-radius: 24px 24px 0 0; padding-top: 28px; padding-bottom: 36px;
}
.estimate-invite { display: grid; gap: 12px; justify-items: start; }
.estimate-shell form { max-width: 720px; }
.estimate-note { max-width: 42rem; }
dialog.estimate-modal { width: min(720px, calc(100vw - 48px)); max-width: 720px; height: min(100dvh, 920px); max-height: 100dvh; margin: auto; padding: 20px 32px 28px; border: 0; border-radius: 20px; overflow: hidden; background: #ede7f6; box-shadow: 0 28px 80px rgb(24 43 73 / 0.28);
}
dialog.estimate-modal:not([open]) { display: none !important; }
dialog.estimate-modal[open] { display: flex; flex-direction: column; }
dialog.estimate-modal::backdrop { background: rgb(24 43 73 / 0.5);
}
dialog.estimate-modal form { max-width: none; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px;
}
.estimate-sticky { flex: 0 0 auto; position: sticky; top: 0; z-index: 4; display: grid; gap: 10px; padding: 14px 16px 12px; background: #fff9f2; border: 1px solid rgb(24 43 73 / 0.08); border-radius: 14px; box-shadow: 0 8px 18px rgb(24 43 73 / 0.08);
}
.estimate-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.estimate-modal-head h2 { margin: 0; font-size: 1.15rem;
}
.estimate-modal-head [data-action="close-estimate"] { flex: 0 0 auto; min-height: 40px; min-width: 40px; border: 0; border-radius: 999px; padding: 0 14px; color: #182b49; background: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.estimate-modal-head [data-action="close-estimate"]:hover { color: #f26a4f;
}
.estimate-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.estimate-progress-row [data-action="reset"] { flex: 0 0 auto; min-height: 40px; min-width: 88px; border: 1px solid rgb(24 43 73 / 0.18); border-radius: 999px; padding: 0 14px; color: #182b49; background: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.estimate-progress-row [data-action="reset"]:hover { border-color: #f26a4f; color: #f26a4f;
}
.estimate-modal-body { flex: 1; min-height: 0; overflow: auto; padding: 4px 4px 8px;
}
.estimate-footer { flex: 0 0 auto; position: sticky; bottom: 0; z-index: 4; display: grid; gap: 8px; padding: 12px 16px; background: #fff9f2; border: 1px solid rgb(24 43 73 / 0.08); border-radius: 14px; box-shadow: 0 -8px 18px rgb(24 43 73 / 0.08);
}
.estimate-footer p { margin: 0; }
.estimate-footer .form-error:empty,
.estimate-footer #form-status:empty { display: none; }
.estimate-footer .form-actions { margin-top: 0; justify-content: flex-end;
}
.estimate-footer .form-actions [data-action="back"] { margin-right: auto; }
.estimate-stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; gap: 0; margin: 0; padding: 0; list-style: none;
}
.estimate-stepper li { position: relative; display: grid; justify-items: center; gap: 4px; color: #5f6370; font-size: 0.78rem; font-weight: 700;
}
.estimate-stepper li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: #dcd6cf;
}
.estimate-stepper li.is-done:not(:last-child)::after,
.estimate-stepper li.is-active:not(:last-child)::after { background: #f26a4f; }
.estimate-stepper span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #dcd6cf; color: #5f6370; font-variant-numeric: tabular-nums; z-index: 1;
}
.estimate-stepper li.is-done span,
.estimate-stepper li.is-active span { border-color: #f26a4f; background: #f26a4f; color: #fff9f2;
}
.estimate-stepper li.is-active { color: #182b49; }
#estimate-progress { margin: 0; flex: 1; min-width: 0; font-size: 0.95rem; font-weight: 700; color: #182b49; }
[hidden], .estimate-shell fieldset[hidden] { display: none !important; }
.estimate-shell fieldset { position: relative; display: grid; gap: 12px; padding: 0; border: 0; }
.estimate-shell legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.chat-thread { display: grid; gap: 10px; margin: 0 0 16px; }
.estimate-state { margin: 0 0 16px; }
.estimate-state-card { width: min(100%, 36rem); padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 8px 18px rgb(24 43 73 / 0.06);
}
.estimate-state-card h3 { margin: 0 0 8px; color: #182b49; font-size: 1rem; }
.estimate-state-card p { margin: 4px 0; line-height: 1.5; }
.estimate-exception .estimate-state-card { border: 1px solid rgb(166 41 41 / .24); }
.estimate-state-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.estimate-state-actions button { min-height: 44px; border: 1px solid #182b49; border-radius: 10px; padding: 0 14px; color: #182b49; background: #fff; font: inherit; font-weight: 800;
}
.estimate-state-actions button:last-child { border-color: #f26a4f; color: #fff; background: #f26a4f; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; }
}
.chat-row-bot,
.chat-row-user { animation: chat-in 0.28s var(--ease-out); scroll-margin-top: 8px;
}
.chat-row-bot { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; align-items: flex-end; justify-items: start;
}
.chat-row-user { display: flex; justify-content: flex-end;
}
.chat-mascot { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(24 43 73 / 0.16));
}
.chat-layout { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; align-items: start;
}
.chat-layout > .chat-mascot { align-self: start; margin-top: 4px; }
.chat-body { display: grid; gap: 12px; }
.bot-bubble { max-width: min(36rem, 78%); margin: 0; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: #182b49; font-size: 1.02rem; font-weight: 700; line-height: 1.45; box-shadow: 0 8px 18px rgb(24 43 73 / 0.06);
}
.intro-bubble { font-size: .92rem; }
.field-feedback { min-height: 1.2em; color: #c62828; font-size: .82rem; font-weight: 700; }
.user-bubble { justify-self: end; max-width: min(36rem, 78%); margin: 0; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #fee500; color: #191919; font-size: 1.02rem; font-weight: 700; line-height: 1.45; box-shadow: 0 6px 14px rgb(24 43 73 / 0.08);
}
.choice-row { display: flex; flex-direction: column; align-items: stretch; width: min(100%, 16rem); margin-inline: auto; gap: 6px; padding: 4px 8px 2px; counter-reset: choice;
}
.chat-body > .choice-row,
.chat-follow > .choice-row { margin-left: auto; margin-right: 0; }
.choice-row button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; border: 1px solid rgb(24 43 73 / 0.1); border-radius: 10px; padding: 6px 12px; color: #182b49; background: #e8edf4; font: inherit; font-size: 0.92rem; font-weight: 700; text-align: left; cursor: pointer; transition: transform 0.3s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.choice-row button::before { counter-increment: choice; content: counter(choice) ". "; flex: 0 0 1.35em; color: #5f6370; font-variant-numeric: tabular-nums;
}
.choice-row button:hover { border-color: #f26a4f; color: #f26a4f; background: #fff; transform: translateY(-1px);
}
.choice-row button[aria-pressed="true"] { color: #fff9f2; background: #f26a4f; border-color: #f26a4f;
}
.choice-row button[aria-pressed="true"]::before { color: #fff9f2; }
.choice-source { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.chat-follow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px 4px; align-items: start;
}
.chat-follow > .chat-mascot { align-self: start; margin-top: 4px; }
.chat-follow > .choice-row { grid-column: 2; }
.estimate-shell label { display: grid; gap: 8px; font-weight: 700; }
.estimate-shell label span { color: #5f6370; font-size: .9rem; font-weight: 500; }
.estimate-shell input, .estimate-shell select { min-height: 48px; border: 1px solid #aaa2bd; border-radius: 10px; padding: 0 12px; font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.estimate-shell input:focus, .estimate-shell select:focus { border-color: #f26a4f; box-shadow: 0 0 0 3px rgb(242 106 79 / 0.18); outline: none;
}
.estimate-shell input[aria-invalid="true"], .estimate-shell select[aria-invalid="true"] { border-color: #c62828;
}
.input-shake { animation: input-shake 0.32s ease; }
@keyframes input-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) { .input-shake { animation: none; }
}
.estimate-shell .check { display: flex; align-items: center; font-size: .9rem; }
.estimate-shell .check input { min-height: 20px; width: 20px; }
.consent-row { display: grid; gap: 4px; justify-items: start; }
.consent-policy { min-height: 44px; display: inline-flex; align-items: center; color: #d9533d; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.consent-policy:hover { color: #f26a4f; }
.address-guidance { margin: -8px 0 4px; font-size: .95rem; }
.date-input-wrap { display: grid; gap: 8px; }
.date-picker-box { position: relative; display: flex; align-items: center; width: 100%;
}
.date-display-input { width: 100%; min-height: 48px; border: 1px solid #aaa2bd; border-radius: 10px; padding: 0 44px 0 14px; font: inherit; font-size: 1rem; font-weight: 700; color: #182b49; background: #fff; cursor: text; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.date-display-input::placeholder { color: #767676; font-weight: 500;
}
.date-display-input:focus,
.date-picker-box:focus-within .date-display-input { border-color: #f26a4f; box-shadow: 0 0 0 3px rgb(242 106 79 / 0.18); outline: none;
}
.date-display-input:disabled { background: #ede7f6; color: #5f6370; cursor: not-allowed; border-color: #dcd6cf;
}
.date-picker-btn { position: absolute; right: 12px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; color: #182b49; cursor: pointer; width: 44px; height: 44px; border-radius: 8px;
}
.date-picker-btn svg { width: 22px; height: 22px; display: block;
}
.native-date-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none;
}
.date-badge { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.summary-card { margin: 16px 0; padding: 16px 18px; background: #fff; border: 1px solid rgb(24 43 73 / 0.08); border-radius: 12px; box-shadow: 0 4px 12px rgb(24 43 73 / 0.04);
}
.summary-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.95rem; color: #20242b;
}
.summary-list li { display: flex; gap: 12px; line-height: 1.5;
}
.summary-list strong { color: #182b49; min-width: 80px; flex: 0 0 auto;
}
.chat-body > .address-group { width: 100%; min-width: 0;
}
.address-group { display: grid; gap: 8px; }
.address-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.address-input-row button, .postcode-dialog-header button { min-height: 48px; border: 1px solid #182b49; border-radius: 10px; padding: 0 14px; color: #182b49; background: #fff9f2; font: inherit; font-weight: 800; transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}
.address-input-row button:hover, .postcode-dialog-header button:hover { color: #fff9f2; background: #182b49;
}
.address-input-row button:active, .postcode-dialog-header button:active { transform: scale(0.98); }
.summary-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.summary-actions button, .form-actions button { min-height: 48px; border: 0; border-radius: 999px; padding: 0 20px; font: inherit; font-weight: 800; background: #f26a4f; color: #fff9f2; transition: transform 0.3s var(--ease-out), background 0.2s ease;
}
.summary-actions button:hover, .form-actions button:hover { transform: scale(1.02); }
.summary-actions button:active, .form-actions button:active { transform: scale(0.98); }
.summary-actions button + button, .form-actions button:first-child { background: #dcd5e8; color: #182b49; }
.summary-fallback textarea { width: 100%; resize: vertical; }
.receipt-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1.5px solid #2e7d32; border-radius: 12px; padding: 14px 18px; margin: 16px 0 12px; box-shadow: 0 4px 12px rgb(46 125 50 / 0.08);
}
.receipt-header { display: flex; flex-direction: column; gap: 2px;
}
.receipt-label { font-size: 0.8rem; font-weight: 700; color: #5f6370; text-transform: uppercase; letter-spacing: 0.03em;
}
.receipt-number { font-size: 1.15rem; font-weight: 900; color: #182b49; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.receipt-badge { display: inline-flex; align-items: center; padding: 6px 12px; font-size: 0.88rem; font-weight: 800; color: #1b5e20; background: #e8f5e9; border-radius: 999px; white-space: nowrap;
}
.receipt-note { font-size: 0.88rem; color: #5f6370; margin: 8px 0 16px; line-height: 1.45;
}
.receipt-tag { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: 800; color: #2e7d32;
}
.summary-actions .btn-subtle { background: #fff !important; color: #182b49 !important; border: 1px solid rgb(24 43 73 / 0.2) !important; font-size: 0.9rem !important; min-height: 42px !important;
}
.summary-actions .btn-subtle:hover { background: #ede7f6 !important; border-color: #182b49 !important;
}
.form-actions button.draft-btn { background: transparent !important; color: #182b49 !important; border: 1px solid #aaa2bd !important;
}
.form-actions button.draft-btn:hover { background: #ede7f6 !important; border-color: #182b49 !important;
}
.form-error { color: #a62929; font-weight: 700; }
.swal2-popup.ongim-swal { font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif; color: #20242b; background: #fff9f2; border-radius: 16px;
}
.swal2-popup.ongim-swal .swal2-title { color: #182b49; }
.swal2-popup.ongim-toast { font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif; background: #182b49; color: #fff9f2;
}
.swal2-popup.ongim-toast .swal2-title { color: #fff9f2; font-size: 0.95rem; } html.modal-open,
body.modal-open { overflow: hidden !important; overscroll-behavior: none !important;
} #postcode-dialog:not([open]) { display: none !important;
} #postcode-dialog { display: flex; flex-direction: column; width: min(100% - 32px, 500px); max-width: 500px; height: fit-content; max-height: min(92dvh, 660px); border: 0; border-radius: 16px; padding: 0; color: #20242b; box-shadow: 0 24px 60px rgb(24 43 73 / .35); overflow: hidden; background: #fff;
}
#postcode-dialog::backdrop { background: rgb(24 43 73 / .6);
}
.postcode-dialog-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #fff9f2; border-bottom: 1px solid #ede7f6;
}
.postcode-dialog-header h3 { margin: 0; color: #182b49; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em;
}
.postcode-dialog-header button { flex: 0 0 auto; min-height: 36px; min-width: 36px; border: 1px solid rgb(24 43 73 / .18); border-radius: 8px; padding: 0 10px; color: #182b49; background: #ffffff; font: inherit; font-size: 0.9rem; font-weight: 800; cursor: pointer; transition: all 0.2s ease;
}
.postcode-dialog-header button:hover { color: #fff9f2; background: #182b49;
}
#postcode-container { width: 100%; min-height: 440px; background: #fff; position: relative; overflow: hidden;
}
#postcode-container iframe { width: 100% !important; height: 100% !important; display: block;
} .proof { padding-top: 8px; padding-bottom: 32px;
}
.proof-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.proof-step { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; margin: 0; padding: 28px 20px; color: #182b49; background: #fff; border-radius: 14px; border: 1px solid rgb(24 43 73 / 0.04); box-shadow: 0 8px 20px rgb(24 43 73 / 0.04); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.proof-step:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgb(24 43 73 / 0.1);
}
.proof-step:not(:last-child)::after { content: ""; position: absolute; top: 52px; left: calc(100% + 2px); width: 12px; height: 2px; background: repeating-linear-gradient( 90deg, #f26a4f 0 6px, transparent 6px 10px ); opacity: 0.55; pointer-events: none;
}
.proof-index { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: #f26a4f; font-variant-numeric: tabular-nums;
}
.proof-icon { display: grid; place-items: center; width: 48px; height: 48px; color: #182b49;
}
.proof-icon svg { width: 48px; height: 48px; display: block; }
.proof-step strong { color: #182b49; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.2;
}
.proof-step > span:last-child,
.process span { color: #5f6370; font-size: 0.98rem; line-height: 1.45; max-width: 16rem;
}
.proof-status { width: fit-content; padding: 4px 9px; border: 1px solid rgb(166 41 41 / 0.24); border-radius: 999px; color: #8b2f20; background: #fff; font-size: 0.76rem; font-weight: 800;
}
.proof-asof { margin: 14px auto 0; color: var(--muted); font-size: 0.82rem; text-align: center;
} .section { border-top: 1px solid #dcd6cf; }
.section h2 { margin: 0 0 12px; color: #182b49; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.04em; font-weight: 800;
}
.service-grid, .case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.service-grid article, .case-grid article { padding: 16px; background: #fff; border-radius: 14px; border: 1px solid rgb(24 43 73 / 0.04); box-shadow: 0 8px 20px rgb(24 43 73 / 0.04); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.service-grid article:hover, .case-grid article:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgb(24 43 73 / 0.1);
}
.service-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; color: #f26a4f; background: rgb(242 106 79 / 0.1);
}
.service-icon svg { width: 16px; height: 16px; display: block; }
.service-grid h3, .case-grid h3 { margin-top: 0; color: #182b49; }
.service-grid h3 { display: flex; align-items: center; gap: 8px;
}
.service-grid a, .policy a { min-height: 44px; display: inline-flex; align-items: center; color: #d9533d; font-weight: 700; transition: color 0.2s ease, transform 0.2s var(--ease-out);
}
.service-grid a:hover, .policy a:hover { color: #f26a4f; transform: translateX(3px); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.split ol { margin: 0; padding: 0; list-style: none; counter-reset: factors; }
.split li { counter-increment: factors; padding: 10px 0; border-bottom: 1px solid #dcd6cf; transition: transform 0.3s var(--ease-out);
}
.split li:hover { transform: translateX(6px); }
.split li::before { content: "0" counter(factors); margin-right: 10px; color: #f26a4f; font-weight: 800; font-variant-numeric: tabular-nums;
} .process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; list-style: none;
}
.process li { display: grid; gap: 6px; border-top: 2px solid #f26a4f; padding-top: 10px;
} .cases,
.policy { border-top: 0; border-radius: 16px; max-width: calc(1120px + 32px); margin-left: auto; margin-right: auto;
}
.cases { background: #182b49; }
.cases h2, .cases h3 { color: #fff9f2; }
.cases p, .cases span { color: #d7d7e2; }
.case-grid { grid-template-columns: repeat(2, 1fr); }
.case-grid article { background: #243957; border-color: transparent; } .policy { background: #fff; border: 1px solid var(--line); margin-top: 20px;
}
.expansion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px;
}
.expansion-grid article { padding: 22px 18px; background: #fff; border-radius: 14px; border: 1px solid rgb(242 106 79 / 0.18); box-shadow: 0 10px 24px rgb(24 43 73 / 0.06); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.expansion-grid article:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgb(242 106 79 / 0.14);
}
.expansion-grid h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #182b49; font-size: 1.35rem; letter-spacing: -0.03em;
}
.expansion-grid p { max-width: none; }
.faq details { max-width: 720px; padding: 10px 0; border-bottom: 1px solid #c7c1cf;
}
.faq summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: #f26a4f; font-size: 1.25rem; font-weight: 800; transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-bottom: 0; padding-top: 4px; } .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0);
}
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0);
}
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1);
}
.stagger > .reveal:nth-child(1) { --reveal-delay: 0; }
.stagger > .reveal:nth-child(2) { --reveal-delay: 80; }
.stagger > .reveal:nth-child(3) { --reveal-delay: 160; }
.stagger > .reveal:nth-child(4) { --reveal-delay: 240; } .hero-copy.reveal-left.is-visible .button-primary { animation: cta-pulse 2.4s var(--ease-out) 0.9s 2;
}
@keyframes cta-pulse { 0%, 100% { box-shadow: 0 12px 24px rgb(242 106 79 / .24); } 50% { box-shadow: 0 12px 32px rgb(242 106 79 / .45); }
} @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal, .reveal-left, .reveal-scale { opacity: 1; transform: none; transition: none; } .header-cta, .hero-mascot, .hero-copy.reveal-left.is-visible .button-primary, .chat-row-bot, .chat-row-user { animation: none; } .js-ready .hero-word, .js-ready .hero-lead { opacity: 1; transform: none; animation: none; } .service-grid article:hover, .case-grid article:hover, .proof-step:hover, .expansion-grid article:hover { transform: none; }
} @media (max-width: 700px) { :root { --section-y: 24px; --section-x: 16px; } .hero, .estimate-shell, .section { padding: 24px 16px; } .hero { grid-template-columns: 1fr; gap: 10px; min-height: auto; padding: 22px 18px; border-radius: 16px; } .hero-copy { padding-left: 24px; } .hero-mascot { width: min(70vw, 280px); justify-self: center; order: -1; } h1 { font-size: 1.75rem; } .proof-flow, .service-grid, .process ol, .split, .expansion-grid { grid-template-columns: 1fr; } .proof { padding-top: 4px; padding-bottom: 24px; } .proof-step { padding: 24px 18px; } .proof-step:not(:last-child)::after { display: none; } .proof-step > span:last-child { max-width: none; } .cases, .policy { border-radius: 0; max-width: none; } .policy { margin-top: 16px; } .estimate-shell { border-radius: 16px 16px 0 0; padding-top: 24px; padding-bottom: 28px; } dialog.estimate-modal { width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh; padding: 12px 16px 20px; border-radius: 0; } .estimate-sticky { padding: 12px 14px 10px; } .estimate-modal-body { padding: 14px 0 12px; } .chat-layout { grid-template-columns: 1fr; gap: 8px; } .chat-row-bot { grid-template-columns: 40px minmax(0, 1fr); } .chat-mascot { width: 40px; height: 40px; } .estimate-stepper { min-width: 0; width: 100%; } .estimate-stepper li { font-size: 0.7rem; } #postcode-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; } .postcode-dialog-header { padding: max(14px, env(safe-area-inset-top)) 16px 12px; } #postcode-container { flex: 1 1 auto; height: calc(100dvh - 65px - env(safe-area-inset-top)); min-height: 0; }
} .cases > p { max-width: 42rem; margin-bottom: 24px; }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-grid .case-card { display: flex; min-height: 250px; flex-direction: column; padding: 0; overflow: hidden; background: #243957; }
.case-grid .case-media { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #182b49; }
.case-grid .case-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-grid .case-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; padding: 20px 22px 22px; }
.case-grid .case-meta { margin: 0; color: #b9c5d6; font-size: .82rem; font-variant-numeric: tabular-nums; line-height: 1.45; }
.case-verification { width: fit-content; padding: 4px 8px; border: 1px solid rgb(255 249 242 / .28); border-radius: 999px; color: #ffd8a8; font-size: .78rem; font-weight: 700;
}
.case-service { width: fit-content; padding: 5px 9px; border: 1px solid rgb(255 249 242 / .28); border-radius: 999px; color: #fff9f2; font-size: .8rem; font-weight: 700; }
.case-grid .case-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; }
.case-grid .case-card h3 a { color: inherit; text-decoration: none;
}
.case-grid .case-card h3 a:hover { color: #ffb3a2; }
.case-grid .case-detail { margin: 0; color: #d7d7e2; font-size: .94rem; line-height: 1.65; }
.site-footer { background: #182b49; color: #fff9f2;
}
.consult-widget { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 8; color: #191919;
}
.consult-widget summary { min-height: 48px; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 0 16px; border: 1px solid rgb(25 25 25 / 0.16); border-radius: 999px; background: #fee500; box-shadow: 0 8px 24px rgb(24 43 73 / 0.18); font-weight: 850; cursor: pointer; list-style: none;
}
.consult-widget summary::-webkit-details-marker { display: none; }
.consult-widget summary:focus-visible { outline: 3px solid #182b49; outline-offset: 3px; }
.consult-widget-panel { width: min(320px, calc(100vw - 36px)); margin: 8px 0 0 auto; padding: 16px; border: 1px solid rgb(24 43 73 / 0.16); border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgb(24 43 73 / 0.2);
}
.consult-widget-panel strong { color: #182b49; }
.consult-widget-panel p { margin: 7px 0 12px; color: #5f6370; font-size: 0.86rem; line-height: 1.55; }
.consult-widget-panel a { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: #182b49; font-weight: 800; text-decoration: none;
}
body.modal-open .consult-widget { display: none; }
.footer-inner { width: min(1120px, 100%); margin: 0 auto; padding: 28px 18px calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 10px;
}
.footer-brand { margin: 0; color: #fff9f2; font-size: 1.15rem; font-weight: 900; letter-spacing: -0.04em;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; width: fit-content; color: #ffb3a2; font-weight: 700; text-decoration: none;
}
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #f26a4f; }
.footer-note { margin: 0; max-width: none; color: #b9c5d6; font-size: 0.9rem;
}
.legal-page .page-title { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.15;
}
.legal-doc { width: min(760px, calc(100% - 36px)); margin: 28px auto 64px; padding: 32px 28px 40px; display: grid; gap: 0; background: #fff; border: 1px solid rgb(24 43 73 / 0.2); border-radius: 20px; box-shadow: 0 10px 28px rgb(24 43 73 / 0.08);
}
.legal-head, .legal-doc section { display: grid; gap: 10px; }
.legal-head, .legal-doc section { padding: 22px 0; border-bottom: 1px solid rgb(24 43 73 / 0.16);
}
.legal-head { padding-top: 0; }
.legal-updated { color: #8a8f9c; font-size: 0.9rem; }
.legal-kicker { margin: 0; color: #f26a4f; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.legal-doc h2 { margin: 0; color: #182b49; font-size: 1.15rem;
}
.legal-doc h3 { margin: 0 0 6px; color: #182b49; font-size: 1rem;
}
.legal-doc p, .legal-doc li { max-width: none; }
.legal-doc ul, .legal-doc ol { margin: 0; padding-left: 1.2em; color: #5f6370; line-height: 1.65;
}
.legal-doc > section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-doc a:not(.button) { color: #d9533d; font-weight: 700; }
.legal-doc a.button-primary,
.legal-doc a.button-primary:hover { color: #fff9f2;
}
.about-services { display: grid; gap: 12px; }
.about-services article { padding: 16px 18px; border: 1px solid rgb(24 43 73 / 0.2); border-radius: 14px; background: var(--ivory);
}
.about-services p { margin: 0; font-size: 0.95rem; }
.legal-doc .timeline { list-style: none; margin: 0; padding: 0 18px; border: 1px solid rgb(24 43 73 / 0.2); border-radius: 14px; background: var(--ivory);
}
.timeline li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid rgb(24 43 73 / 0.14);
}
.timeline li:first-child { border-top: 0; }
.timeline time { color: #f26a4f; font-weight: 800; font-variant-numeric: tabular-nums;
}
.timeline strong { display: block; margin-bottom: 4px; color: #182b49; }
.about-cta { margin-top: 22px; color: #fff9f2;
}
.section-more { margin-top: 18px;
}
.section-more a { min-height: 44px; display: inline-flex; align-items: center; color: #ffb3a2; font-weight: 700; text-decoration: none;
}
.section-more a:hover { color: #f26a4f; }
.content-page .review-list { display: grid; gap: 16px; margin: 8px 0 24px;
}
.review-card { display: grid; gap: 8px; padding: 18px; border: 1px solid rgb(24 43 73 / 0.16); border-radius: 14px; background: var(--ivory);
}
.review-card h2 { margin: 0; font-size: 1.15rem; line-height: 1.35;
}
.review-meta { margin: 0; color: #5f6370; font-size: 0.9rem; line-height: 1.5; font-variant-numeric: tabular-nums;
}
.review-verification { width: fit-content; margin: 0; padding: 4px 8px; border-radius: 999px; border: 1px solid rgb(24 43 73 / 0.16); color: #8a5a00; background: #fff4d6; font-size: 0.78rem; font-weight: 700;
}
.review-tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; color: #5f6370; font-size: 0.85rem; font-weight: 700;
}
.review-media { margin: 0 0 8px;
}
.review-media img { display: block; width: 100%; height: auto; border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; background: #edf0f4;
}
.empty-state { display: grid; gap: 8px; margin: 12px 0 24px; padding: 28px 20px; border: 1px dashed rgb(24 43 73 / 0.28); border-radius: 14px; background: var(--ivory); text-align: left;
}
.empty-state h2 { margin: 0; font-size: 1.1rem;
}
.empty-state p { margin: 0; }
@media (min-width: 640px) { .about-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) { .legal-doc { padding: 24px 18px 32px; border-radius: 16px; } .timeline li { grid-template-columns: 1fr; gap: 6px; }
}
.case-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: #d7d7e2; font-size: .82rem; }
.case-tag { color: #ffb3a2; font-weight: 700; }
.case-demo { color: #b9c5d6; }
@media (max-width: 760px) { .case-grid { --case-card-w: min(86vw, 330px); --case-side: calc((100vw - var(--case-card-w)) / 2); display: grid; grid-template-columns: none; grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: var(--case-card-w); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--case-side); padding: 4px var(--case-side) 16px; margin-inline: -16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .case-grid::-webkit-scrollbar { display: none; } .case-grid .case-card { display: flex; flex-direction: row; align-items: stretch; width: var(--case-card-w); height: 120px; min-height: 120px; scroll-snap-align: center; scroll-snap-stop: always; border-radius: 14px; overflow: hidden; background: #243957; opacity: 1 !important; transform: none !important; } .case-grid .case-media { flex: 0 0 108px; width: 108px; height: 100%; aspect-ratio: auto; } .case-grid .case-media img { width: 100%; height: 100%; object-fit: cover; } .case-grid .case-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 12px; } .case-grid .case-meta { font-size: 0.74rem; color: #b9c5d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .case-service { display: none; } .case-grid .case-card h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: #fff9f2; margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .case-grid .case-detail { font-size: 0.82rem; line-height: 1.4; color: #d7d7e2; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .case-footer { display: none; }
} dialog.estimate-modal { background: #ede7f6; }
.estimate-sticky { background: #fff9f2; box-shadow: 0 8px 18px rgb(24 43 73 / 0.08); }
.estimate-footer { background: #fff9f2; box-shadow: 0 -8px 18px rgb(24 43 73 / 0.08); }
.estimate-modal-head h2 { margin-right: auto; }
.estimate-tools { position: relative; font-size: .85rem; }
.estimate-tools summary, .estimate-history summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #46536a; font-weight: 700;
}
.estimate-tools summary { padding: 0 8px; }
.estimate-tools[open] summary { color: #182b49; }
.estimate-tools > div { position: absolute; right: 0; top: 100%; width: 144px; padding: 6px; background: #fff; border: 1px solid #d6dce4; border-radius: 12px; box-shadow: 0 8px 24px #182b4920; z-index: 6;
}
.estimate-tools button { display: block; width: 100%; min-height: 44px; border: 0; background: #fff; border-radius: 8px; font: inherit; cursor: pointer; color: #182b49; }
.estimate-tools button:hover { background: #f1f4f8; }
.estimate-progress-row { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.estimate-modal-body { scroll-padding: 8px; }
.chat-body, .chat-layout, .address-group, .address-input-row { min-width: 0; }
.estimate-shell input, .estimate-shell select { min-width: 0; width: 100%; box-sizing: border-box; }
.estimate-shell .check input { flex: 0 0 20px; }
.estimate-shell .check { min-height: 44px; }
.bot-bubble { max-width: min(36rem, 78%); box-shadow: 0 8px 18px rgb(24 43 73 / 0.06); }
.user-bubble { background: #fee500; color: #191919; box-shadow: 0 6px 14px rgb(24 43 73 / 0.08); }
.choice-row { width: min(100%, 16rem); padding: 4px 8px 2px; gap: 6px; }
.choice-row button { min-height: 48px; background: #e8edf4; border-color: rgb(24 43 73 / 0.1); flex-wrap: wrap; position: relative; padding: 10px 12px; }
.choice-row button::before { content: counter(choice) ". "; }
.choice-row button > span { display: block; flex-basis: 100%; margin-left: 1.35em; color: #5f6370; font-size: .82rem; font-weight: 500; line-height: 1.4; }
.choice-row button[aria-pressed="true"] { background: #f26a4f; border: 1px solid #f26a4f; color: #fff9f2; padding: 10px 12px; }
.choice-row button[aria-pressed="true"] > span { color: #fff9f2; }
.chat-follow { margin-top: 12px; }
.field-feedback:empty { display: none; }
.estimate-review { padding: 14px; border: 1px solid #d6dce4; border-radius: 12px; background: #fff; }
.estimate-review h3 { margin: 0; font-size: 1rem; }
.estimate-review > p { font-size: .82rem; color: #596579; margin: 6px 0; }
#review-conditions > div { display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0f4; padding: 8px 0; }
#review-conditions p { display: grid; gap: 4px; flex: 1; min-width: 0; margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
#review-conditions strong { font-size: .8rem; color: #596579; }
#review-conditions button { flex: 0 0 48px; min-height: 44px; border: 1px solid #d6dce4; background: #fff; border-radius: 8px; color: #182b49; font: inherit; cursor: pointer; }
.estimate-footer .form-actions { display: flex; flex-wrap: nowrap; }
.estimate-footer .form-actions [data-action="next"] { flex: 1; background: #bd4028; color: #fff; }
.estimate-footer .form-actions [data-action="back"] { background: #edf0f4; }
.estimate-stepper li.is-active span, .estimate-stepper li.is-done span { background: #bd4028; border-color: #bd4028; color: #fff; }
.estimate-shell button:focus-visible, .estimate-shell summary:focus-visible { outline: 3px solid #182b49; outline-offset: 3px; }
.estimate-stepper [role="button"] { cursor: pointer; min-height: 44px; }
.estimate-stepper [role="button"]:focus-visible { outline: 2px solid #182b49; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 700px) { dialog.estimate-modal { padding: max(8px, env(safe-area-inset-top)) 12px max(8px, env(safe-area-inset-bottom)); height: min(100dvh, var(--estimate-viewport-height, 100dvh)); max-height: min(100dvh, var(--estimate-viewport-height, 100dvh)); margin: 0; top: var(--estimate-viewport-top, 0px); } dialog.estimate-modal form { gap: 8px; } .estimate-sticky { padding: 8px 12px 10px; gap: 6px; } .estimate-modal-head { gap: 4px; } .estimate-modal-head h2 { font-size: 1rem; } .estimate-modal-head [data-action="close-estimate"] { min-height: 44px; padding: 0 8px; } .estimate-modal-body { padding: 4px 0 8px; } .estimate-footer { padding: 10px; } .chat-layout { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 8px; } .chat-layout > .chat-mascot { width: 32px; height: 32px; } .chat-layout > .chat-body { display: grid; } .estimate-shell .address-group label { gap: 4px; } .address-group label span { display: inline; } .form-actions button { padding: 0 18px; }
} .photo-upload { display: grid; gap: 8px; padding: 14px; border: 1px dashed rgb(24 43 73 / 0.25); border-radius: 12px; background: rgb(255 255 255 / 0.55);
}
.photo-title { margin: 0; font-weight: 700; color: #182b49; }
.photo-title span { color: #5f6370; font-size: .82rem; font-weight: 500; }
.photo-hint { margin: 0; color: #596579; font-size: .85rem; line-height: 1.5; }
.photo-example { font-size: .8rem; }
.photo-add { justify-self: start; min-height: 44px; padding: 0 18px; border: 1px solid #f26a4f; border-radius: 10px; background: #fff; color: #f26a4f; font: inherit; font-weight: 700; cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.photo-add:hover { background: #f26a4f; color: #fff9f2; }
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none;
}
.photo-list:empty { display: none; }
.photo-item { display: grid; gap: 4px; padding: 6px; border: 1px solid #d6dce4; border-radius: 10px; background: #fff; font-size: .75rem;
}
.photo-item.is-error { border-color: #c62828; }
.photo-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #edf0f4;
}
.photo-thumb { position: relative; display: grid; place-items: center; width: 100%; min-height: 96px; padding: 0; overflow: hidden; border: 0; border-radius: 6px; color: #596579; background: #edf0f4; font: inherit; cursor: zoom-in;
}
.photo-thumb img { grid-area: 1 / 1; }
.photo-fallback { grid-area: 1 / 1; padding: 8px; text-align: center; }
.photo-preview { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgb(24 43 73 / .82);
}
.photo-preview-panel { width: min(100%, 680px); max-height: calc(100% - 16px); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-radius: 14px; background: #fff;
}
.photo-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.photo-preview-head h3 { margin: 0; color: #182b49; font-size: 1rem; }
.photo-preview-head button { min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: #ede7f6; font: inherit; font-weight: 800; }
.photo-preview-stage { min-height: 220px; display: grid; place-items: center; padding: 12px; overflow: auto; background: #edf0f4; }
.photo-preview-stage p { max-width: 28rem; text-align: center; }
.photo-preview-stage img { max-width: 100%; max-height: 70dvh; object-fit: contain; border-radius: 8px; } @media (max-width: 430px) { .estimate-state-card { padding: 12px; } .estimate-state-actions { display: grid; grid-template-columns: 1fr; } .photo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .address-input-row { grid-template-columns: 1fr; } .address-input-row button { width: 100%; } .consult-widget { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
}
.photo-meta { display: grid; gap: 2px; margin: 0; min-width: 0; }
.photo-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #182b49;
}
.photo-state { color: #596579; }
.photo-item.is-error .photo-state { color: #c62828; font-weight: 700; }
.photo-actions { display: flex; gap: 4px; }
.photo-actions button { flex: 1; min-height: 32px; border: 1px solid #d6dce4; border-radius: 6px; background: #fff; color: #182b49; font: inherit; font-size: .75rem; cursor: pointer;
}
.photo-actions button:hover { border-color: #f26a4f; color: #f26a4f; }