/* Standalone enhancements; original layout, colours and animation timing are preserved. */
html { scroll-behavior: smooth; }
.contact-form { width:100%; margin:24px 0; }
.contact-form .form-name-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form input:not([type=hidden]), .contact-form textarea { box-sizing:border-box; width:100%; margin:0 0 20px; padding:10px; border:1px solid #ccc; border-radius:0; background:#fff; color:#333; font:16px/1.3 'Open Sans',sans-serif; }
.contact-form input:not([type=hidden]) { height:38px; }
.contact-form textarea { min-height:120px; resize:vertical; }
.contact-form .kontakt-btn { background:#eee; color:#333; border:1px solid #ddd; padding:10px 15px; font-size:1em; cursor:pointer; transition:background .2s,color .2s; }
.contact-form .kontakt-btn:hover { background:var(--accent); color:#fff; }
.contact-form .kontakt-btn:disabled { opacity:.6; cursor:wait; }
.contact-form .form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-form .form-privacy { font-size:12px; line-height:1.6; margin:0 0 20px; }
.form-success, .form-errors { padding:18px; margin:0 0 24px; border-left:3px solid var(--accent); background:#f6f4ed; color:#302b24; }
.form-errors { border-color:#a03030; }
.form-errors p { margin-bottom:8px; }
.form-errors ul { margin-bottom:0; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
@media (max-width:480px) { .contact-form .form-name-row { grid-template-columns:1fr; gap:0; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .animated, .hidden-animated { visibility:visible!important; opacity:1!important; animation:none!important; } *, *:before, *:after { transition-duration:.01ms!important; } }
/* Prevent the five-column footer overflowing on tablets. */
.inside-footer-widgets > div { min-width:0; }
@media (min-width:769px) and (max-width:1100px) {
  .inside-footer-widgets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:32px; }
}
/* Keep horizontal entrance animations inside the viewport. */
body { overflow-x:clip; }
html { overflow-x:hidden; }
