 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box
 }

 :root {
     --navy: #003580;
     --navy-dark: #001f4d;
     --navy-mid: #00469e;
     --saffron: #FF8C00;
     --saffron-light: #FFA733;
     --green-ind: #138808;
     --white: #ffffff;
     --off: #f5f7fc;
     --text: #1a1a2e;
     --muted: #5a6478;
     --border: #e0e7f3;
     --inv: #1565c0;
     --inv-light: #e3f2fd;
     --inv-dark: #0d47a1;
 }

 html {
     scroll-behavior: smooth
 }

 body {
     font-family: 'DM Sans', sans-serif;
     color: var(--text);
     background: var(--off);
     overflow-x: hidden
 }

 .tricolor {
     display: flex;
     height: 5px
 }

 .tricolor div {
     flex: 1
 }

 /* NAV */
 nav {
     position: sticky;
     top: 0;
     z-index: 1000;
     background: var(--white);
     border-bottom: 1px solid var(--border);
     padding: 0 5vw
 }

 .nav-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 64px
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 10px;
     font-family: 'Playfair Display', serif;
     font-size: 1.4rem;
     color: var(--navy);
     text-decoration: none;
     font-weight: 700
 }

 .logo-emblem {
     width: 36px;
     height: 36px;
     background: var(--navy);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 0.9rem;
     font-weight: 800
 }

 .nav-links {
     display: flex;
     align-items: center;
     gap: 2rem;
     list-style: none
 }

 .nav-links a {
     text-decoration: none;
     color: var(--muted);
     font-size: 0.9rem;
     font-weight: 500;
     transition: color .2s
 }

 .nav-links a:hover {
     color: var(--navy)
 }

 .nav-cta {
     background: var(--saffron);
     color: #fff !important;
     padding: 8px 20px;
     border-radius: 6px;
     font-weight: 600 !important
 }

 .nav-phone {
     font-size: 0.85rem;
     color: var(--navy);
     font-weight: 600
 }

 .hamburger {
     display: none;
     flex-direction: column;
     justify-content: center;
     gap: 5px;
     width: 40px;
     height: 40px;
     cursor: pointer;
     background: none;
     border: none;
     padding: 6px;
     border-radius: 8px
 }

 .hamburger span {
     display: block;
     width: 22px;
     height: 2px;
     background: var(--navy);
     border-radius: 2px
 }

 /* ── PAGE HERO ── */
 .page-hero {
     background: linear-gradient(135deg, var(--inv-dark) 0%, var(--inv) 55%, #1976d2 100%);
     padding: 36px 5vw 44px;
     position: relative;
     overflow: hidden
 }

 .page-hero::after {
     content: '';
     position: absolute;
     right: -60px;
     bottom: -60px;
     width: 360px;
     height: 360px;
     border-radius: 50%;
     background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%)
 }

 .hero-inner {
     max-width: 1400px;
     margin: 0 auto;
     position: relative;
     z-index: 1
 }

 .breadcrumb {
     display: flex;
     align-items: center;
     gap: 8px;
     margin-bottom: 12px;
     font-size: 0.8rem;
     color: rgba(255, 255, 255, 0.5)
 }

 .breadcrumb a {
     color: rgba(255, 255, 255, 0.5);
     text-decoration: none
 }

 .breadcrumb span {
     color: rgba(255, 255, 255, 0.25)
 }

 .hero-row {
     display: flex;
     align-items: flex-end;
     justify-content: space-between;
     gap: 24px;
     flex-wrap: wrap
 }

 .hero-left h1 {
     font-family: 'Playfair Display', serif;
     font-size: clamp(1.5rem, 2.8vw, 2.2rem);
     color: #fff;
     font-weight: 800;
     line-height: 1.2;
     margin-bottom: 8px
 }

 .hero-left h1 em {
     color: #90CAF9;
     font-style: normal
 }

 .hero-left p {
     color: rgba(255, 255, 255, 0.7);
     font-size: 0.88rem;
     font-weight: 300;
     line-height: 1.65;
     max-width: 480px
 }

 .hero-tags {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
     margin-top: 14px
 }

 .hero-tag {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.18);
     border-radius: 100px;
     padding: 4px 12px;
     font-size: 0.73rem;
     color: rgba(255, 255, 255, 0.85);
     font-weight: 500
 }

 .hero-actions {
     display: flex;
     gap: 10px;
     flex-wrap: wrap
 }

 .hero-btn {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     padding: 12px 22px;
     border-radius: 10px;
     font-size: 0.88rem;
     font-weight: 600;
     cursor: pointer;
     border: none;
     font-family: 'DM Sans', sans-serif;
     transition: all .2s;
     text-decoration: none
 }

 .hero-btn.primary {
     background: var(--saffron);
     color: #fff
 }

 .hero-btn.primary:hover {
     background: var(--saffron-light);
     transform: translateY(-2px)
 }

 .hero-btn.secondary {
     background: rgba(255, 255, 255, 0.12);
     color: #fff;
     border: 1px solid rgba(255, 255, 255, 0.22)
 }

 .hero-btn.secondary:hover {
     background: rgba(255, 255, 255, 0.2)
 }

 /* ── MAIN SPLIT LAYOUT ── */
 .gen-layout {
     max-width: 1500px;
     margin: 0 auto;
     padding: 28px 0 72px;
     display: grid;
     grid-template-columns: 55% 45%;
     gap: 24px;
     align-items: start
 }

 /* ── LEFT PANEL — FORM ── */
 .form-panel {
     display: flex;
     flex-direction: column;
     gap: 16px
 }

 /* SECTION CARD */
 .sec-card {
     background: var(--white);
     border: 1px solid var(--border);
     border-radius: 16px;
     overflow: hidden
 }

 .sec-card-head {
     background: var(--inv-dark);
     padding: 14px 20px;
     display: flex;
     align-items: center;
     gap: 10px
 }

 .sec-card-head h3 {
     font-size: 0.88rem;
     font-weight: 700;
     color: #fff
 }

 .sec-card-head .sec-icon {
     width: 30px;
     height: 30px;
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.12);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.95rem;
     flex-shrink: 0
 }

 .sec-card-body {
     padding: 18px 20px
 }

 /* TEMPLATE ROW */
 .template-row {
     display: flex;
     gap: 8px;
     margin-bottom: 0
 }

 .tmpl-btn {
     flex: 1;
     padding: 9px 10px;
     border: 1.5px solid var(--border);
     border-radius: 10px;
     text-align: center;
     font-size: 0.75rem;
     font-weight: 600;
     cursor: pointer;
     transition: all .2s;
     background: var(--white);
     color: var(--muted);
     font-family: 'DM Sans', sans-serif
 }

 .tmpl-btn:hover {
     border-color: var(--inv);
     color: var(--inv)
 }

 .tmpl-btn.active {
     background: var(--inv);
     color: #fff;
     border-color: var(--inv)
 }

 .tmpl-dot {
     width: 14px;
     height: 14px;
     border-radius: 50%;
     display: inline-block;
     margin-bottom: 4px;
     display: block;
     margin: 0 auto 5px
 }

 /* FORM ROWS */
 .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 12px;
     margin-bottom: 12px
 }

 .form-row.three {
     grid-template-columns: 1fr 1fr 1fr
 }

 .form-row.full {
     grid-template-columns: 1fr
 }

 .fg {
     display: flex;
     flex-direction: column;
     gap: 5px
 }

 .fg label {
     font-size: 0.75rem;
     font-weight: 600;
     color: var(--text)
 }

 .fg label span {
     font-weight: 300;
     color: var(--muted);
     font-size: 0.7rem
 }

 .inp {
     width: 100%;
     padding: 9px 12px;
     border: 1.5px solid var(--border);
     border-radius: 9px;
     font-size: 0.86rem;
     font-family: 'DM Sans', sans-serif;
     color: var(--text);
     outline: none;
     transition: all .2s;
     background: var(--white)
 }

 .inp:focus {
     border-color: var(--inv);
     box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.08)
 }

 .sel {
     width: 100%;
     padding: 9px 12px;
     border: 1.5px solid var(--border);
     border-radius: 9px;
     font-size: 0.86rem;
     font-family: 'DM Sans', sans-serif;
     color: var(--text);
     outline: none;
     transition: all .2s;
     appearance: none;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6478' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 10px center;
     background-color: #fff;
     cursor: pointer
 }

 .sel:focus {
     border-color: var(--inv);
     box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.08)
 }

 textarea.inp {
     resize: vertical;
     min-height: 60px
 }

 /* COLOR PICKER ROW */
 .color-row {
     display: flex;
     gap: 10px;
     align-items: center;
     margin-top: 4px;
     flex-wrap: wrap
 }

 .color-swatch {
     width: 28px;
     height: 28px;
     border-radius: 50%;
     cursor: pointer;
     border: 2px solid transparent;
     transition: all .2s;
     flex-shrink: 0
 }

 .color-swatch.active,
 .color-swatch:hover {
     border-color: var(--text);
     transform: scale(1.15)
 }

 .color-inp {
     width: 36px;
     height: 28px;
     border: 1.5px solid var(--border);
     border-radius: 6px;
     cursor: pointer;
     padding: 0
 }

 /* ITEMS TABLE */
 .items-table-wrap {
     overflow-x: auto
 }

 .items-table {
     width: 100%;
     border-collapse: collapse;
     font-size: 0.8rem
 }

 .items-table thead th {
     background: var(--off);
     padding: 8px 10px;
     text-align: left;
     font-size: 0.7rem;
     font-weight: 700;
     color: var(--muted);
     text-transform: uppercase;
     letter-spacing: .06em;
     white-space: nowrap
 }

 .items-table tbody td {
     padding: 6px 6px;
     border-bottom: 1px solid var(--off);
     vertical-align: middle
 }

 .items-table tbody tr:last-child td {
     border-bottom: none
 }

 .item-inp {
     width: 100%;
     padding: 7px 9px;
     border: 1.5px solid var(--border);
     border-radius: 8px;
     font-size: 0.81rem;
     font-family: 'DM Sans', sans-serif;
     color: var(--text);
     outline: none;
     transition: border-color .2s
 }

 .item-inp:focus {
     border-color: var(--inv)
 }

 .item-inp.desc-inp {
     min-width: 120px
 }

 .item-inp.num-inp {
     min-width: 70px;
     text-align: right
 }

 .del-item-btn {
     width: 26px;
     height: 26px;
     border: none;
     background: var(--danger-light, #ffebee);
     color: #c62828;
     border-radius: 6px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.9rem;
     transition: all .2s;
     flex-shrink: 0
 }

 .del-item-btn:hover {
     background: #c62828;
     color: #fff
 }

 .add-item-btn {
     display: flex;
     align-items: center;
     gap: 7px;
     padding: 9px 16px;
     border: 1.5px dashed var(--border);
     border-radius: 10px;
     font-size: 0.82rem;
     font-weight: 600;
     cursor: pointer;
     background: none;
     color: var(--muted);
     font-family: 'DM Sans', sans-serif;
     width: 100%;
     justify-content: center;
     transition: all .2s;
     margin-top: 8px
 }

 .add-item-btn:hover {
     border-color: var(--inv);
     color: var(--inv);
     background: var(--inv-light)
 }

 /* SUPPLY TYPE */
 .supply-toggle {
     display: flex;
     gap: 8px
 }

 .st-btn {
     flex: 1;
     padding: 9px;
     border: 1.5px solid var(--border);
     border-radius: 9px;
     font-size: 0.8rem;
     font-weight: 600;
     cursor: pointer;
     background: var(--white);
     color: var(--muted);
     font-family: 'DM Sans', sans-serif;
     transition: all .2s;
     text-align: center
 }

 .st-btn:hover {
     border-color: var(--inv);
     color: var(--inv)
 }

 .st-btn.active {
     background: var(--inv);
     color: #fff;
     border-color: var(--inv)
 }

 /* GENERATE BUTTON */
 .generate-btn {
     width: 100%;
     padding: 15px;
     background: linear-gradient(135deg, var(--inv-dark), var(--inv));
     color: #fff;
     border: none;
     border-radius: 12px;
     font-size: 1rem;
     font-weight: 700;
     cursor: pointer;
     font-family: 'DM Sans', sans-serif;
     transition: all .2s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 9px
 }

 .generate-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 22px rgba(13, 71, 161, 0.28)
 }

 /* ── RIGHT PANEL — PREVIEW ── */
 .preview-panel {
     display: flex;
     flex-direction: column;
     gap: 16px;
     position: sticky;
     top: 90px
 }

 .preview-header {
     background: var(--white);
     border: 1px solid var(--border);
     border-radius: 14px;
     padding: 16px 20px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 10px
 }

 .preview-title {
     font-size: 0.85rem;
     font-weight: 700;
     color: var(--text);
     display: flex;
     align-items: center;
     gap: 7px
 }

 .preview-actions {
     display: flex;
     gap: 8px;
     flex-wrap: wrap
 }

 .pact-btn {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 9px 16px;
     border-radius: 9px;
     font-size: 0.8rem;
     font-weight: 600;
     cursor: pointer;
     border: 1.5px solid var(--border);
     background: var(--white);
     color: var(--text);
     font-family: 'DM Sans', sans-serif;
     transition: all .2s
 }

 .pact-btn:hover {
     border-color: var(--inv);
     color: var(--inv);
     background: var(--inv-light)
 }

 .pact-btn.pdf {
     background: var(--inv);
     color: #fff;
     border-color: var(--inv)
 }

 .pact-btn.pdf:hover {
     background: var(--inv-dark)
 }

 .pact-btn.wa {
     background: #25D366;
     color: #fff;
     border-color: #25D366
 }

 .pact-btn.wa:hover {
     background: #1da855
 }

 /* INVOICE PREVIEW BOX */
 .invoice-preview-wrap {
     background: var(--white);
     border: 1px solid var(--border);
     border-radius: 16px;
     padding: 14px;
     overflow: hidden
 }

 .invoice-scale-wrap {
     transform-origin: top left;
     transition: transform .2s
 }

 /* ── INVOICE TEMPLATE ── */
 .invoice-doc {
     background: #fff;
     font-family: 'DM Sans', sans-serif;
     color: #1a1a2e;
     width: 760px;
     min-height: 900px;
     position: relative;
     overflow: hidden
 }

 /* TEMPLATE 1 — CLASSIC */
 .inv-t1 .inv-header {
     padding: 28px 32px 20px;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px;
     align-items: start
 }

 .inv-t1 .inv-brand-name {
     font-family: 'Playfair Display', serif;
     font-size: 1.6rem;
     font-weight: 800;
     line-height: 1.2
 }

 .inv-t1 .inv-brand-gstin {
     font-size: 0.7rem;
     font-weight: 600;
     color: #666;
     margin-top: 3px;
     letter-spacing: .06em
 }

 .inv-t1 .inv-brand-addr {
     font-size: 0.72rem;
     color: #666;
     margin-top: 6px;
     line-height: 1.55;
     font-weight: 300
 }

 .inv-t1 .inv-meta {
     text-align: right
 }

 .inv-t1 .inv-title-word {
     font-family: 'Playfair Display', serif;
     font-size: 1.8rem;
     font-weight: 800;
     letter-spacing: .05em
 }

 .inv-t1 .inv-num-row {
     font-size: 0.75rem;
     color: #666;
     margin-top: 6px
 }

 .inv-t1 .inv-num-val {
     font-weight: 700;
     color: #1a1a2e
 }

 .inv-t1 .inv-divider {
     height: 4px;
     margin: 0 32px
 }

 .inv-t1 .inv-parties {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 24px;
     padding: 20px 32px
 }

 .inv-t1 .party-box {}

 .inv-t1 .party-label {
     font-size: 0.65rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: .1em;
     color: #888;
     margin-bottom: 6px
 }

 .inv-t1 .party-name {
     font-size: 0.92rem;
     font-weight: 700;
     color: #1a1a2e;
     margin-bottom: 3px
 }

 .inv-t1 .party-detail {
     font-size: 0.72rem;
     color: #666;
     line-height: 1.55;
     font-weight: 300
 }

 .inv-t1 .inv-items {
     padding: 0 32px
 }

 .inv-t1 .items-head {
     display: grid;
     gap: 0;
     background: transparent;
     border-top: 1px solid #e5e7eb;
     border-bottom: 1px solid #e5e7eb;
     padding: 8px 0
 }

 .inv-t1 .items-row {
     display: grid;
     padding: 9px 0;
     border-bottom: 1px solid #f3f4f6;
     align-items: center;
     font-size: 0.78rem
 }

 .inv-t1 .items-head span {
     font-size: 0.66rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: .06em;
     color: #888
 }

 .inv-t1 .items-row.head-row span {
     font-size: 0.66rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: .06em;
     color: #888
 }

 .inv-t1 .items-row.data-row span {
     color: #1a1a2e;
     font-weight: 400
 }

 .inv-t1 .items-row.data-row .i-desc {
     font-weight: 500
 }

 .inv-t1 .items-row.data-row .i-hsn {
     font-size: 0.7rem;
     color: #888
 }

 .inv-t1 .inv-totals {
     padding: 16px 32px;
     display: flex;
     justify-content: flex-end;
     margin-top: 4px
 }

 .inv-t1 .totals-box {
     width: 260px
 }

 .totals-row {
     display: flex;
     justify-content: space-between;
     font-size: 0.78rem;
     padding: 5px 0;
     border-bottom: 1px solid #f3f4f6
 }

 .totals-row:last-child {
     border-bottom: none;
     font-size: 0.9rem;
     font-weight: 700
 }

 .totals-row.grand {
     padding-top: 10px;
     margin-top: 4px;
     border-top: 2px solid
 }

 .inv-t1 .inv-bank {
     padding: 16px 32px;
     border-top: 1px solid #e5e7eb;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px;
     margin-top: 8px
 }

 .bank-section-label {
     font-size: 0.65rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: .1em;
     color: #888;
     margin-bottom: 8px
 }

 .bank-detail-row {
     font-size: 0.72rem;
     color: #444;
     line-height: 1.65;
     font-weight: 300
 }

 .bank-detail-row strong {
     color: #1a1a2e;
     font-weight: 600
 }

 .inv-t1 .inv-notes {
     padding: 12px 32px 28px;
     border-top: 1px solid #f3f4f6
 }

 .inv-notes-label {
     font-size: 0.65rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: .1em;
     color: #888;
     margin-bottom: 5px
 }

 .inv-notes-text {
     font-size: 0.72rem;
     color: #666;
     line-height: 1.6;
     font-weight: 300
 }

 .inv-t1 .inv-footer-bar {
     padding: 14px 32px;
     text-align: center;
     font-size: 0.7rem;
     color: rgba(255, 255, 255, 0.85);
     font-weight: 400
 }

 .words-row {
     font-size: 0.74rem;
     font-weight: 600;
     color: #444;
     font-style: italic;
     margin-bottom: 4px
 }

 /* AMOUNT IN WORDS helper */
 .amount-words-box {
     padding: 10px 32px;
     background: #f8f9fa;
     border-top: 1px solid #e5e7eb;
     border-bottom: 1px solid #e5e7eb
 }

 /* SIGNATURE AREA */
 .inv-sign-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 0;
     padding: 20px 32px 24px
 }

 .sign-box {
     text-align: center
 }

 .sign-line {
     border-top: 1px solid #1a1a2e;
     margin: 32px auto 0;
     width: 70%
 }

 .sign-label {
     font-size: 0.68rem;
     color: #888;
     margin-top: 5px;
     font-weight: 500
 }

 /* TOAST */
 .toast {
     position: fixed;
     bottom: 28px;
     right: 28px;
     background: var(--text);
     color: #fff;
     padding: 12px 20px;
     border-radius: 10px;
     font-size: .84rem;
     font-weight: 500;
     z-index: 9999;
     opacity: 0;
     transform: translateY(12px);
     transition: all .3s;
     pointer-events: none
 }

 .toast.show {
     opacity: 1;
     transform: translateY(0)
 }

 /* FOOTER */
 footer {
     background: var(--navy-dark);
     color: rgba(255, 255, 255, 0.7);
     padding: 40px 5vw 0
 }

 .footer-grid {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1fr;
     gap: 40px;
     padding-bottom: 32px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1)
 }

 .footer-brand .logo {
     color: #fff;
     display: inline-flex
 }

 .footer-brand p {
     font-size: .85rem;
     line-height: 1.7;
     max-width: 260px;
     font-weight: 300;
     margin-top: 10px
 }

 .footer-col h5 {
     font-size: .82rem;
     font-weight: 700;
     color: #fff;
     margin-bottom: 12px;
     text-transform: uppercase;
     letter-spacing: .08em
 }

 .footer-col ul {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 8px
 }

 .footer-col ul li a {
     text-decoration: none;
     color: rgba(255, 255, 255, 0.6);
     font-size: .83rem;
     transition: color .2s;
     font-weight: 300
 }

 .footer-col ul li a:hover {
     color: #fff
 }

 .footer-bottom {
     max-width: 1400px;
     margin: 0 auto;
     padding: 16px 0;
     display: flex;
     justify-content: space-between;
     font-size: .76rem;
     color: rgba(255, 255, 255, 0.4);
     flex-wrap: wrap;
     gap: 8px
 }

 .fbl {
     display: flex;
     gap: 16px
 }

 .fbl a {
     color: rgba(255, 255, 255, 0.4);
     text-decoration: none
 }

 .fbl a:hover {
     color: #fff
 }

 .wa-float {
     position: fixed;
     bottom: 28px;
     right: 28px;
     z-index: 999;
     background: #25D366;
     color: #fff;
     width: 58px;
     height: 58px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     text-decoration: none;
     font-size: 1.6rem;
     box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
     transition: all .2s
 }

 .wa-float:hover {
     transform: scale(1.1)
 }

 .wa-tooltip {
     position: absolute;
     right: 70px;
     background: #fff;
     color: var(--text);
     padding: 8px 14px;
     border-radius: 8px;
     font-size: .8rem;
     font-weight: 500;
     white-space: nowrap;
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
     opacity: 0;
     pointer-events: none;
     transition: opacity .2s;
     border: 1px solid var(--border)
 }

 .wa-float:hover .wa-tooltip {
     opacity: 1
 }

 @media(max-width:1200px) {
     .gen-layout {
         grid-template-columns: 1fr
     }

     .preview-panel {
         position: static
     }
 }

 @media(max-width:768px) {

     .nav-links,
     .nav-phone {
         display: none
     }

     .hamburger {
         display: flex
     }

     .footer-grid {
         grid-template-columns: 1fr 1fr
     }

     .form-row {
         grid-template-columns: 1fr
     }

     .form-row.three {
         grid-template-columns: 1fr 1fr
     }
 }

 @media(max-width:480px) {
     .footer-grid {
         grid-template-columns: 1fr
     }
 }