/* Trust Kitchen company profile — original identity, responsive layouts. */
:root {
    color-scheme: light;
    --navy: #003366;
    --navy-light: #075294;
    --orange: #ff9900;
    --ink: #222e3a;
    --text: #505c68;
    --line: #dce5ee;
    --paper: #fff;
    --soft-blue: #edf5ff;
    --card-shadow: 0 4px 14px rgb(0 51 102 / 7%);
    --hover-shadow: 0 14px 28px rgb(0 51 102 / 20%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
    margin: 0;
    padding: clamp(12px, 3vw, 28px);
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--navy); text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #b36b00; outline-offset: 4px; border-radius: 3px; }
a { -webkit-tap-highlight-color: transparent; }
.document-container {
    width: 100%;
    max-width: 210mm;
    margin-inline: auto;
    padding: clamp(24px, 5vw, 50px);
    background: rgb(255 255 255 / 97%);
    border-top: 6px solid var(--navy);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgb(0 51 102 / 15%);
    overflow: hidden;
    overflow: clip;
}
section, .logo-container, .header-contact { min-width: 0; }
h1, h2, h3, .company-name { font-family: 'Poppins', 'Segoe UI', sans-serif; }
h1 { margin: 0 0 20px; font-size: clamp(26px, 3.5vw, 28px); line-height: 1.35; color: var(--navy); font-weight: 700; letter-spacing: -.5px; }
h2 { margin: 38px 0 20px; padding: 10px 15px; border-left: 6px solid var(--orange); border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #f0f4f8 0%, transparent 100%); color: var(--navy); font-size: 20px; line-height: 1.45; text-transform: uppercase; letter-spacing: 1px; overflow-wrap: anywhere; }
h3 { margin: 0 0 10px; color: var(--ink); font-size: 17px; line-height: 1.5; font-weight: 600; }
p, li { margin-top: 0; margin-bottom: 12px; color: var(--text); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
ul { margin-block: 12px 0; padding-inline-start: 22px; }
li:last-child { margin-bottom: 0; }
strong { color: #344454; }
header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.logo-container { display: flex; align-items: center; gap: 18px; }
.company-logo { display: block; height: 86px; width: auto; max-width: 120px; flex-shrink: 0; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 10px rgb(0 0 0 / 10%); }
.company-name { color: var(--navy); font-size: 23px; line-height: 1.35; font-weight: 700; letter-spacing: .3px; }
.tagline { margin-top: 6px; color: #5c6670; font-size: 12px; line-height: 1.6; font-weight: 500; letter-spacing: .5px; }
.header-contact { text-align: right; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.header-contact strong { display: block; margin-bottom: 3px; color: #344454; }
.header-contact a { display: block; padding-block: 3px; color: inherit; text-decoration: none; transition: color .2s, background-color .2s; overflow-wrap: anywhere; }
.header-contact a:hover { color: var(--navy); text-decoration: underline; }
.intro-copy { font-size: 16px; color: #444; }
.intro-section { margin-bottom: 38px; }
.services-section { margin-bottom: 34px; }
.equipment-section { margin-bottom: 28px; }
.team-section p { margin-bottom: 0; }

/* Reveal transforms belong to profile.js; hover uses independent translate/scale. */
.anim-hidden { opacity: 1; }
.anim-flip { transform-origin: top; }
.vm-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 30px; }
.vm-box {
    min-width: 0;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--navy);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}
.vm-box p:last-child { margin-bottom: 0; }
.service-item {
    margin-bottom: 16px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    border-radius: 9px;
    box-shadow: var(--card-shadow);
}
.service-item p:last-child { margin-bottom: 0; }
.equip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.equip-item {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 66px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.equip-item::before {
    content: '✓';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border-radius: 50%;
    color: var(--navy);
    background: var(--orange);
    font-size: 13px;
    font-weight: 700;
}
.vm-box, .service-item, .equip-item {
    translate: 0 0;
    scale: 1;
    transition: translate .24s ease, scale .16s ease, box-shadow .24s ease, background-color .24s ease, border-color .24s ease, color .2s ease;
}
.safety-box { padding: 24px; background: linear-gradient(to right, #eef7e6, #f9fcf7); border: 1px solid #c3e6cb; border-radius: 8px; }
.safety-box p:last-child { margin-bottom: 0; }
table { width: 100%; margin-top: 15px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; table-layout: fixed; }
table th, table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
table th { width: 35%; background: var(--navy); color: white; font-weight: 600; }
table tr:last-child th, table tr:last-child td { border-bottom: 0; }
.footer { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.footer h3 { color: var(--navy); }
.footer p { text-align: center; }
.footer a { overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font: 600 14px/1.5 'Open Sans', sans-serif; translate: 0 0; scale: 1; transition: translate .2s, scale .16s, box-shadow .2s, background-color .2s, border-color .2s; }
.whatsapp-button { color: white; background: var(--navy); box-shadow: 0 3px 8px rgb(0 51 102 / 14%); }
.email-button { color: var(--navy); background: #fff7eb; border-color: #edc68b; }
.button-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer .contact-actions { justify-content: center; margin-top: 20px; }
.footer .whatsapp-button { color: white; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 10; padding: 10px 16px; background: var(--navy); color: white; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* Clear hover feedback for mice, including a mouse connected to a touch device. */
@media (any-hover: hover) {
    .vm-box:hover { translate: 0 -6px; border-color: #a8c1dc; border-top-color: var(--orange); background-color: #f0f6ff; box-shadow: var(--hover-shadow); }
    .service-item:hover { translate: 0 -5px; border-color: #a8c1dc; border-left-color: var(--navy); background-color: #edf5ff; box-shadow: var(--hover-shadow); }
    .vm-box:hover h3, .service-item:hover h3 { color: var(--navy); }
    .equip-item:hover { translate: 0 -5px; border-color: var(--navy); background-color: var(--navy); color: white; box-shadow: var(--hover-shadow); }
    .contact-button:hover { translate: 0 -3px; box-shadow: 0 8px 18px rgb(0 51 102 / 23%); }
    .whatsapp-button:hover { background-color: var(--navy-light); }
    .email-button:hover { background-color: #ffdfad; border-color: var(--orange); }
}

/* Taps receive feedback independently of hover and reveal animations. */
.vm-box:active, .service-item:active { scale: .985; background-color: #e5f0ff; border-color: #8baacb; box-shadow: 0 2px 7px rgb(0 51 102 / 12%); }
.equip-item:active { scale: .98; background-color: var(--navy); border-color: var(--navy); color: white; }
.contact-button:active { scale: .97; box-shadow: 0 2px 5px rgb(0 51 102 / 16%); }

/* Tablet: retain useful two-column content with a deliberately stacked header. */
@media screen and (max-width: 800px) {
    header { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
    .header-contact { width: 100%; text-align: center; }
    .header-contact a { padding-block: 4px; }
    .logo-container { max-width: 100%; }
    .company-logo { height: 76px; max-width: 100px; }
}

/* Phones: one-column cards, readable type, comfortable spacing and touch targets. */
@media screen and (max-width: 599px) {
    body { padding: 10px; background: #edf2f8; }
    .document-container { padding: 24px 20px; border-radius: 9px; box-shadow: 0 6px 18px rgb(0 51 102 / 8%); }
    header { gap: 16px; padding-bottom: 22px; margin-bottom: 24px; }
    .logo-container { gap: 13px; }
    .company-logo { height: 64px; max-width: 78px; }
    .company-name { font-size: clamp(20px, 5.4vw, 23px); letter-spacing: 0; }
    .tagline { font-size: 10px; letter-spacing: .3px; }
    .header-contact { border-top: 1px solid var(--line); padding-top: 13px; font-size: 13px; }
    .header-contact a { min-height: 44px; padding-block: 10px; line-height: 1.6; }
    h1 { margin-bottom: 16px; font-size: 27px; }
    h2 { margin-top: 30px; margin-bottom: 18px; padding: 10px 12px; font-size: 17px; letter-spacing: .5px; }
    h3 { font-size: 16px; }
    p, li, .intro-copy { font-size: 15px; line-height: 1.8; text-align: left; }
    .intro-section { margin-bottom: 30px; }
    .services-section { margin-bottom: 28px; }
    .vm-container { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
    .vm-box { padding: 20px; }
    .service-item { padding: 20px 18px; margin-bottom: 15px; }
    .service-item ul { padding-inline-start: 20px; }
    .equip-grid { grid-template-columns: 1fr; gap: 12px; }
    .equip-item { min-height: 62px; padding: 15px; font-size: 15px; }
    .safety-box { padding: 20px 18px; }
    table th, table td { padding: 12px 10px; font-size: 12px; }
    table th { width: 36%; }
    .contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; gap: 12px; }
    .contact-button { width: 100%; min-height: 50px; padding-inline: 12px; }
    .footer { margin-top: 34px; padding-top: 25px; }
    .footer .contact-actions { margin-inline: auto; }
    .footer p { text-align: center; font-size: 14px; }
}
@media screen and (max-width: 440px) {
    .contact-actions { grid-template-columns: 1fr; max-width: none; }
    .vm-box { padding: 19px 17px; }
    .service-item { padding: 20px 16px; }
    .equip-item { padding: 14px; }
    .safety-box { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .vm-box, .service-item, .equip-item, .contact-button { translate: none !important; scale: none !important; }
}
@page { size: A4; margin: 12mm; }
@media print {
    body { margin: 0; padding: 0; background: white; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .document-container { max-width: none; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
    .contact-actions, .skip-link { display: none !important; }
    .anim-hidden, .equip-item { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .vm-box, .service-item, .equip-item, .contact-button { translate: none !important; scale: none !important; box-shadow: none !important; }
    .vm-box, .service-item, .equip-item { color: #333 !important; background: white !important; border-color: #ccc !important; break-inside: avoid; }
    h2, h3 { break-after: avoid; }
    h2 { color: var(--navy) !important; }
    table { break-inside: avoid; }
    p { orphans: 3; widows: 3; }
}
