/* IPLUK shared frontend design system.
 * Colours are provided at runtime by Admin -> Website Theme in layouts/app.blade.php.
 * Page section files should contain layout-specific rules only.
 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--porcelain);color:var(--theme-text);font-family:var(--ff-body);font-weight:300;line-height:1.7;overflow-x:hidden}
::-webkit-scrollbar{width:3px}
::-webkit-scrollbar-thumb{background:var(--theme-text)}
::selection{background:var(--hero-soft);color:var(--theme-text)}
a{color:inherit;text-decoration:none}
section{padding:5rem 7%}

/* Shared section typography */
.section-eyebrow{display:inline-flex;align-items:center;gap:.75rem;font-size:.68rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--theme-accent);margin-bottom:1.5rem}
.section-eyebrow::before{content:'';width:20px;height:2px;background:var(--theme-accent);border-radius:1px}
h2.section-title{font-family:var(--ff-display);font-size:clamp(2rem,3.5vw,3.8rem);font-weight:400;line-height:1.15;color:var(--theme-text);margin-bottom:1.5rem}
h2.section-title em{font-style:italic;color:var(--theme-accent)}
.section-body{font-size:.95rem;font-weight:400;color:var(--muted);line-height:1.85}

/* Shared buttons */
.btn-teal{background:var(--theme-text);color:var(--theme-bg);padding:1rem 2.4rem;font-size:.8rem;font-weight:600;letter-spacing:.04em;border-radius:4px;transition:var(--transition);border:2px solid var(--theme-text);display:inline-block}
.btn-teal:hover{background:var(--theme-text);color:var(--theme-bg);border-color:var(--theme-text)}
.btn-outline{background:transparent;color:var(--theme-text);padding:.9rem 2.2rem;font-size:.8rem;font-weight:500;letter-spacing:.04em;border-radius:4px;border:2px solid var(--theme-text);transition:var(--transition);display:inline-block}
.btn-outline:hover{background:var(--theme-text);border-color:var(--theme-text);color:var(--theme-bg)}
.btn-white{background:var(--theme-bg);color:var(--theme-text);padding:1rem 2.4rem;font-size:.8rem;font-weight:600;letter-spacing:.04em;border-radius:4px;border:2px solid var(--theme-bg);transition:var(--transition);display:inline-block;text-align:center}
.btn-white:hover{background:transparent;color:var(--theme-bg)}
.btn-outline-white{background:transparent;color:var(--theme-bg);padding:.9rem 2.2rem;font-size:.8rem;font-weight:500;letter-spacing:.04em;border-radius:4px;border:2px solid rgba(var(--theme-bg-rgb),.7);transition:var(--transition);display:inline-block;text-align:center}
.btn-outline-white:hover{border-color:var(--theme-bg);background:rgba(var(--theme-bg-rgb),.1)}

/* Shared cards and surfaces */
.theme-card{background:var(--theme-bg);border:1px solid var(--border-soft);border-radius:12px;transition:var(--transition)}
.theme-card:hover{border-color:var(--theme-accent);box-shadow:0 12px 32px rgba(var(--theme-text-rgb),.08)}
.theme-surface{background:var(--theme-bg)}
.theme-surface-soft{background:var(--teal-ultra)}
.theme-surface-accent{background:var(--hero-soft)}
.theme-surface-dark{background:var(--theme-text);color:var(--theme-bg)}
.theme-special{background:var(--theme-special);color:var(--theme-bg)}
.theme-special-outline{background:var(--theme-special-soft);color:var(--theme-special);border:1px solid var(--theme-special-border)}

/* Shared forms */
.form-title{font-family:var(--ff-display);font-size:1.5rem;font-weight:500;color:var(--theme-text);margin-bottom:2rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.2rem}
.form-label{font-size:.68rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.form-control{background:var(--teal-ultra);border:1px solid var(--border-soft);border-radius:6px;padding:.9rem 1.1rem;font-family:var(--ff-body);font-size:.88rem;color:var(--theme-text);outline:none;transition:var(--transition);width:100%}
.form-control:focus{border-color:var(--theme-accent);background:var(--theme-bg)}
.form-control.is-error{border-color:var(--status-error)}
select.form-control{cursor:pointer;-webkit-appearance:none}
textarea.form-control{resize:vertical;min-height:100px}
.form-submit{background:var(--theme-text);color:var(--theme-bg);padding:1rem 2.4rem;font-family:var(--ff-body);font-size:.8rem;font-weight:600;letter-spacing:.04em;border:none;cursor:pointer;transition:var(--transition);border-radius:4px;width:100%;margin-top:.5rem}
.form-submit:hover{background:var(--theme-text);color:var(--theme-bg)}
.form-submit:disabled{opacity:.5;cursor:not-allowed}
.form-consent{display:flex;align-items:flex-start;gap:.75rem;margin:1rem 0 1.2rem}
.form-consent input[type="checkbox"]{width:16px;height:16px;flex-shrink:0;margin-top:2px;accent-color:var(--theme-accent);cursor:pointer}
.form-consent-text{font-size:.75rem;color:var(--muted);line-height:1.6}
.form-consent-text a{color:var(--theme-accent);text-decoration:underline}
.form-error{font-size:.72rem;color:var(--status-error);margin-top:.25rem}
.form-success{display:none;text-align:center;padding:3rem 2rem;border-radius:12px;background:var(--status-success-soft);border:1px solid var(--status-success-border)}
.form-success-icon{width:72px;height:72px;background:var(--status-success);color:var(--theme-bg);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;box-shadow:0 8px 24px color-mix(in srgb,var(--status-success) 18%,transparent)}
.form-success-icon svg{width:36px;height:36px;stroke:var(--theme-bg);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.form-success-heading{font-family:var(--ff-display);font-size:1.6rem;font-weight:600;color:var(--theme-text);margin-bottom:.75rem}
.form-success-body{font-size:.88rem;color:var(--muted);line-height:1.7;max-width:360px;margin:0 auto 1.5rem}
.form-success-ref{display:inline-block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--theme-accent);border:1px solid var(--theme-accent);border-radius:40px;padding:.4rem 1.2rem}

/* Shared reveal animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
.animate{opacity:0;transform:translateY(28px)}
.animate.visible{animation:fadeUp .75s cubic-bezier(.25,.46,.45,.94) forwards}
.anim-card{opacity:0;transform:translateY(28px);transition:opacity .55s ease,transform .55s ease}
.anim-card.in-view{opacity:1;transform:translateY(0)}
.anim-slide-left{opacity:0;transform:translateX(-36px);transition:opacity .5s ease,transform .5s ease}
.anim-slide-left.in-view{opacity:1;transform:translateX(0)}
.anim-slide-right{opacity:0;transform:translateX(36px);transition:opacity .5s ease,transform .5s ease}
.anim-slide-right.in-view{opacity:1;transform:translateX(0)}

@media(max-width:640px){.form-row{grid-template-columns:1fr}}
/* Semantic feedback messages — colours are managed in Admin → Website Theme. */
.status-alert{display:grid;grid-template-columns:20px 1fr;align-items:start;column-gap:.75rem;border:1px solid;border-radius:10px;padding:1rem 1.25rem;margin-bottom:1.25rem;font-size:.84rem;line-height:1.55}
.status-alert::before{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;border-radius:50%;color:var(--theme-bg);font-size:.72rem;font-weight:700;line-height:1}
.status-alert ul{grid-column:2;margin:.35rem 0 0;padding-left:1.1rem}
.status-alert-success{background:var(--status-success-soft);border-color:var(--status-success-border);color:var(--status-success)}
.status-alert-success::before{content:'✓';background:var(--status-success)}
.status-alert-error{background:var(--status-error-soft);border-color:var(--status-error-border);color:var(--status-error)}
.status-alert-error::before{content:'!';background:var(--status-error)}
.status-alert-warning{background:var(--status-warning-soft);border-color:var(--status-warning-border);color:var(--theme-text)}
.status-alert-warning::before{content:'!';background:var(--status-warning)}
.status-alert-info{background:var(--status-info-soft);border-color:var(--status-info-border);color:var(--status-info)}
.status-alert-info::before{content:'i';background:var(--status-info);font-family:serif}
