Files
OTSSigns-Website/wp-content/themes/ots-signs/assets/css/main.css
Matt Batchelder 9fddd43a2c Add custom page templates for Home, Contact, and Services
- Created a new Contact Page template with a contact form and information section.
- Developed a Home Page template featuring a hero section, core capabilities, and pricing details.
- Introduced a Services Page template outlining core services and industry solutions.
- Added a default page template for standard pages without a custom template.
- Implemented a single post template for displaying individual blog posts.
- Created a style.css file for theme metadata and styling.
2026-02-19 09:10:01 -05:00

1043 lines
28 KiB
CSS

/* =============================================================
OTS Signs — Main Stylesheet
============================================================= */
/* ── 1. CSS Variables ───────────────────────────────────────── */
:root {
--color-primary: #0A74DA;
--color-primary-dk: #0860b8;
--color-primary-lt: #e8f2fd;
--color-accent: #00C6AE;
--color-dark: #0D1321;
--color-dark-2: #1a2236;
--color-text: #2d3748;
--color-text-muted: #718096;
--color-border: #e2e8f0;
--color-bg: #ffffff;
--color-bg-alt: #f7f9fc;
--color-bg-dark: #0D1321;
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
--radius-sm: 6px;
--radius-md: 12px;
--radius-lg: 20px;
--radius-xl: 32px;
--shadow-sm: 0 1px 3px rgba(0,0,0,.08);
--shadow-md: 0 4px 16px rgba(0,0,0,.10);
--shadow-lg: 0 12px 40px rgba(0,0,0,.14);
--transition: 0.2s ease;
--container-max: 1200px;
--container-pad: clamp(1rem, 5vw, 2rem);
}
/* ── 2. Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
font-family: var(--font-sans);
color: var(--color-text);
background: var(--color-bg);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
/* ── 3. Layout Utilities ───────────────────────────────────── */
.container {
width: 100%;
max-width: var(--container-max);
margin-inline: auto;
padding-inline: var(--container-pad);
}
.section {
padding-block: clamp(4rem, 8vw, 7rem);
}
.section-alt { background: var(--color-bg-alt); }
.section-dark {
background: var(--color-bg-dark);
color: #fff;
}
.section-header {
text-align: center;
max-width: 680px;
margin-inline: auto;
margin-bottom: 3.5rem;
}
.section-header .section-label {
display: inline-block;
font-size: .75rem;
font-weight: 700;
letter-spacing: .1em;
text-transform: uppercase;
color: var(--color-primary);
margin-bottom: .75rem;
}
.section-dark .section-header .section-label { color: var(--color-accent); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 960px) {
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
/* ── 4. Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
color: var(--color-dark);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead {
font-size: clamp(1rem, 2vw, 1.2rem);
color: var(--color-text-muted);
line-height: 1.75;
}
.section-dark .lead { color: rgba(255,255,255,.75); }
/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .8rem 1.75rem;
border-radius: var(--radius-sm);
font-size: .95rem;
font-weight: 600;
transition: all var(--transition);
white-space: nowrap;
cursor: pointer;
}
.btn-primary {
background: var(--color-primary);
color: #fff;
}
.btn-primary:hover {
background: var(--color-primary-dk);
color: #fff;
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(10,116,218,.3);
}
.btn-outline {
border: 2px solid var(--color-primary);
color: var(--color-primary);
background: transparent;
}
.btn-outline:hover {
background: var(--color-primary);
color: #fff;
transform: translateY(-1px);
}
.btn-ghost {
border: 2px solid rgba(255,255,255,.35);
color: #fff;
background: transparent;
}
.btn-ghost:hover {
background: rgba(255,255,255,.1);
border-color: rgba(255,255,255,.6);
color: #fff;
}
.btn-sm { padding: .55rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-group {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
/* ── 6. Header ─────────────────────────────────────────────── */
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
padding-block: 1rem;
background: transparent;
transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
overflow: hidden;
}
.site-header.scrolled {
background: rgba(255,255,255,.97);
box-shadow: var(--shadow-sm);
padding-block: .65rem;
backdrop-filter: blur(8px);
}
.site-header.scrolled .logo-text { color: var(--color-dark); }
.site-header.scrolled .nav-menu a { color: var(--color-text); }
.header-inner {
display: flex;
align-items: center;
gap: 2rem;
height: 50px;
overflow: hidden;
position: relative;
}
/* Logo */
.site-logo {
display: flex;
align-items: center;
flex-shrink: 0;
max-height: 40px;
overflow: hidden;
}
.site-logo a { display: flex; align-items: center; }
.custom-logo-link { display: flex; align-items: center; }
.site-logo img,
.custom-logo-link img,
.custom-logo,
.header-inner img {
max-height: 40px !important;
max-width: 180px !important;
width: auto !important;
height: auto !important;
display: block !important;
object-fit: contain;
position: static !important;
float: none !important;
}
/* Ensure SVG logos get explicit dimensions (SVGs without intrinsic size can overflow) */
.site-logo img[src$=".svg"],
.custom-logo-link img[src$=".svg"],
img.custom-logo[src$=".svg"] {
height: 36px !important;
width: auto !important;
}
/* Nuclear logo containment — clip-path fallback for overflow edge cases */
.logo-constraint {
max-height: 40px !important;
max-width: 180px !important;
overflow: hidden !important;
clip-path: inset(0) !important;
}
.site-header .site-logo {
max-height: 40px !important;
overflow: hidden !important;
clip-path: inset(0) !important;
}
.site-header img,
.site-header .custom-logo {
max-height: 40px !important;
max-width: 180px !important;
width: auto !important;
height: auto !important;
object-fit: contain !important;
clip-path: inset(0) !important;
}
.logo-text {
font-size: 1.35rem;
font-weight: 300;
color: #fff;
letter-spacing: -.01em;
transition: color var(--transition);
}
.logo-text strong { font-weight: 800; color: var(--color-accent); }
/* When header is over light background (services, about, contact pages) */
.page-header-light .site-header { background: var(--color-bg); box-shadow: var(--shadow-sm); }
.page-header-light .logo-text { color: var(--color-dark); }
.page-header-light .nav-menu a { color: var(--color-text); }
/* Nav */
.site-nav { margin-left: auto; }
.nav-menu {
display: flex;
align-items: center;
gap: 2rem;
}
.nav-menu a {
font-size: .9rem;
font-weight: 500;
color: rgba(255,255,255,.85);
position: relative;
padding-bottom: 2px;
}
.nav-menu a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background: var(--color-accent);
transition: width var(--transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: #fff; }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { width: 100%; }
.site-header.scrolled .nav-menu a { color: var(--color-text-muted); }
.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu .current-menu-item > a { color: var(--color-primary); }
.header-cta { margin-left: 1rem; }
/* Mobile toggle */
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
margin-left: auto;
padding: 4px;
}
.nav-toggle span {
display: block;
width: 24px;
height: 2px;
background: #fff;
border-radius: 2px;
transition: all var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--color-dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
.nav-toggle { display: flex; }
.site-nav, .header-cta { display: none; }
.site-nav.open {
display: block;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: var(--color-dark);
z-index: 99;
padding: 5rem 2rem 2rem;
}
.site-nav.open .nav-menu {
flex-direction: column;
align-items: flex-start;
gap: 1.5rem;
}
.site-nav.open .nav-menu a {
color: #fff;
font-size: 1.25rem;
}
}
/* ── 7. Hero ───────────────────────────────────────────────── */
.hero {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
overflow: hidden;
background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 50%, #0a2550 100%);
color: #fff;
}
.hero-bg-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
background-size: 60px 60px;
opacity: .6;
}
.hero-glow {
position: absolute;
width: 700px;
height: 700px;
border-radius: 50%;
background: radial-gradient(circle, rgba(10,116,218,.35) 0%, transparent 70%);
top: -20%;
right: -10%;
pointer-events: none;
}
.hero-glow-2 {
position: absolute;
width: 500px;
height: 500px;
border-radius: 50%;
background: radial-gradient(circle, rgba(0,198,174,.18) 0%, transparent 70%);
bottom: -10%;
left: 5%;
pointer-events: none;
}
.hero-inner {
position: relative;
z-index: 2;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
padding-block: 8rem 5rem;
}
.hero-label {
display: inline-flex;
align-items: center;
gap: .5rem;
background: rgba(0,198,174,.15);
border: 1px solid rgba(0,198,174,.35);
color: var(--color-accent);
font-size: .75rem;
font-weight: 700;
letter-spacing: .1em;
text-transform: uppercase;
padding: .4rem 1rem;
border-radius: 100px;
margin-bottom: 1.5rem;
}
.hero-title {
font-size: clamp(2.2rem, 5vw, 3.8rem);
font-weight: 900;
line-height: 1.1;
color: #fff;
margin-bottom: 1.5rem;
}
.hero-title .highlight {
color: var(--color-accent);
}
.hero-description {
font-size: 1.1rem;
color: rgba(255,255,255,.75);
max-width: 520px;
margin-bottom: 2.5rem;
line-height: 1.8;
}
.hero-stats {
display: flex;
gap: 2.5rem;
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-value {
font-size: 1.75rem;
font-weight: 800;
color: #fff;
}
.hero-stat-label {
font-size: .8rem;
color: rgba(255,255,255,.55);
margin-top: .2rem;
}
/* Hero visual */
.hero-visual {
display: flex;
justify-content: center;
align-items: center;
}
.hero-screen-mock {
position: relative;
width: 100%;
max-width: 480px;
}
.hero-screen-outer {
background: #1a2236;
border-radius: var(--radius-lg);
border: 2px solid rgba(255,255,255,.1);
padding: 1.5rem;
box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05);
position: relative;
overflow: hidden;
}
.hero-screen-bar {
display: flex;
gap: .5rem;
margin-bottom: 1rem;
}
.hero-screen-bar span {
width: 10px; height: 10px;
border-radius: 50%;
}
.hero-screen-bar span:nth-child(1) { background: #ff5f57; }
.hero-screen-bar span:nth-child(2) { background: #febc2e; }
.hero-screen-bar span:nth-child(3) { background: #28c840; }
.hero-screen-content {
background: #0d1321;
border-radius: var(--radius-md);
overflow: hidden;
aspect-ratio: 16/9;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
padding: 1.5rem;
}
.hero-screen-logo {
font-size: 1.5rem;
font-weight: 900;
color: #fff;
letter-spacing: -.02em;
}
.hero-screen-logo span { color: var(--color-accent); }
.hero-screen-tagline {
font-size: .7rem;
color: rgba(255,255,255,.5);
letter-spacing: .12em;
text-transform: uppercase;
}
.hero-screen-bars {
display: flex;
gap: .4rem;
align-items: flex-end;
margin-top: .5rem;
}
.hero-screen-bars div {
width: 10px;
border-radius: 3px 3px 0 0;
background: var(--color-primary);
opacity: .8;
animation: bar-grow 1.5s ease-in-out infinite alternate;
}
.hero-screen-bars div:nth-child(1) { height: 20px; animation-delay: 0s; }
.hero-screen-bars div:nth-child(2) { height: 35px; animation-delay: .15s; background: var(--color-accent); }
.hero-screen-bars div:nth-child(3) { height: 25px; animation-delay: .3s; }
.hero-screen-bars div:nth-child(4) { height: 42px; animation-delay: .45s; background: var(--color-accent); }
.hero-screen-bars div:nth-child(5) { height: 18px; animation-delay: .6s; }
.hero-screen-bars div:nth-child(6) { height: 30px; animation-delay: .75s; }
@keyframes bar-grow {
from { opacity: .5; transform: scaleY(.8); }
to { opacity: 1; transform: scaleY(1); }
}
/* Floating badges */
.hero-badge {
position: absolute;
background: rgba(255,255,255,.95);
border-radius: var(--radius-sm);
padding: .5rem .9rem;
box-shadow: var(--shadow-md);
display: flex;
align-items: center;
gap: .5rem;
font-size: .78rem;
font-weight: 600;
color: var(--color-dark);
backdrop-filter: blur(4px);
}
.hero-badge-dot {
width: 8px; height: 8px;
border-radius: 50%;
background: var(--color-accent);
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.3); opacity: .7; }
}
.hero-badge-1 { bottom: 20px; left: -30px; }
.hero-badge-2 { top: 20px; right: -30px; }
@media (max-width: 900px) {
.hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero-description { margin-inline: auto; }
.btn-group { justify-content: center; }
.hero-stats { justify-content: center; }
.hero-visual { margin-top: 2rem; }
.hero-badge { display: none; }
}
/* ── 8. Feature Cards ──────────────────────────────────────── */
.feature-card {
background: var(--color-bg);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
padding: 2rem;
transition: all var(--transition);
}
.feature-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-4px);
border-color: var(--color-primary-lt);
}
.feature-icon {
width: 52px; height: 52px;
background: var(--color-primary-lt);
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.25rem;
font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.feature-card p { color: var(--color-text-muted); font-size: .95rem; }
/* ── 9. Industry Cards ─────────────────────────────────────── */
.industry-card {
background: var(--color-dark-2);
border: 1px solid rgba(255,255,255,.08);
border-radius: var(--radius-md);
padding: 2rem;
transition: all var(--transition);
cursor: default;
}
.industry-card:hover {
border-color: var(--color-accent);
transform: translateY(-4px);
box-shadow: 0 8px 32px rgba(0,198,174,.15);
}
.industry-card-icon {
font-size: 2rem;
margin-bottom: 1rem;
}
.industry-card h3 { color: #fff; margin-bottom: .5rem; font-size: 1.05rem; }
.industry-card p { color: rgba(255,255,255,.6); font-size: .9rem; }
/* ── 10. Pricing ───────────────────────────────────────────── */
.pricing-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
max-width: 800px;
margin-inline: auto;
}
.pricing-card {
background: var(--color-bg);
border: 2px solid var(--color-border);
border-radius: var(--radius-lg);
padding: 2.5rem;
position: relative;
transition: all var(--transition);
}
.pricing-card.featured {
border-color: var(--color-primary);
box-shadow: 0 0 0 4px rgba(10,116,218,.1);
}
.pricing-badge {
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%);
background: var(--color-primary);
color: #fff;
font-size: .72rem;
font-weight: 700;
letter-spacing: .1em;
text-transform: uppercase;
padding: .35rem 1rem;
border-radius: 100px;
}
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-price { margin-bottom: 1.5rem; }
.pricing-amount {
font-size: 2.5rem;
font-weight: 900;
color: var(--color-dark);
line-height: 1;
}
.pricing-amount sup { font-size: 1.25rem; vertical-align: super; }
.pricing-per { font-size: .85rem; color: var(--color-text-muted); margin-top: .35rem; }
.pricing-features {
list-style: none;
margin-bottom: 2rem;
}
.pricing-features li {
display: flex;
align-items: flex-start;
gap: .6rem;
font-size: .9rem;
padding: .5rem 0;
border-bottom: 1px solid var(--color-border);
color: var(--color-text);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-check { color: var(--color-accent); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 640px) {
.pricing-grid { grid-template-columns: 1fr; }
}
/* ── 11. Platform Feature Rows ─────────────────────────────── */
.platform-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
padding-block: 2rem;
}
.platform-row + .platform-row {
border-top: 1px solid var(--color-border);
margin-top: 2rem;
}
.platform-row.reverse .platform-text { order: 2; }
.platform-row.reverse .platform-visual { order: 1; }
.platform-text h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.platform-text p { color: var(--color-text-muted); }
.platform-visual {
background: var(--color-bg-alt);
border-radius: var(--radius-md);
aspect-ratio: 4/3;
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
border: 1px solid var(--color-border);
}
@media (max-width: 768px) {
.platform-row { grid-template-columns: 1fr; }
.platform-row.reverse .platform-text,
.platform-row.reverse .platform-visual { order: unset; }
}
/* ── 12. Page Hero (inner pages) ───────────────────────────── */
.page-hero {
background: linear-gradient(135deg, var(--color-dark) 0%, #0a2550 100%);
color: #fff;
padding: 8rem 0 5rem;
text-align: center;
position: relative;
overflow: hidden;
}
.page-hero::before {
content: '';
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
background-size: 50px 50px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,.7); }
/* ── 13. Service page cards ────────────────────────────────── */
.service-industry-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.service-industry-card {
background: var(--color-bg);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
padding: 2rem;
transition: all var(--transition);
}
.service-industry-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-4px);
border-color: var(--color-primary);
}
.service-industry-card .industry-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.service-industry-card h3 { margin-bottom: .5rem; }
.service-industry-card p { color: var(--color-text-muted); font-size: .9rem; }
@media (max-width: 900px) {
.service-industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
.service-industry-grid { grid-template-columns: 1fr; }
}
/* ── 14. About page ────────────────────────────────────────── */
.about-intro {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.about-intro-visual {
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
border-radius: var(--radius-xl);
aspect-ratio: 1;
max-width: 420px;
display: flex;
align-items: center;
justify-content: center;
font-size: 6rem;
color: #fff;
box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
.about-intro { grid-template-columns: 1fr; }
.about-intro-visual { max-width: 280px; margin-inline: auto; }
}
.value-card {
text-align: center;
padding: 2rem;
}
.value-icon {
width: 64px; height: 64px;
background: var(--color-primary-lt);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-inline: auto;
margin-bottom: 1.25rem;
font-size: 1.5rem;
}
/* ── 15. Contact ────────────────────────────────────────────── */
.contact-layout {
display: grid;
grid-template-columns: 1fr 1.6fr;
gap: 4rem;
align-items: start;
}
@media (max-width: 768px) {
.contact-layout { grid-template-columns: 1fr; }
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info .lead { margin-bottom: 2rem; }
.contact-method {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1.5rem;
}
.contact-method-icon {
width: 44px; height: 44px;
background: var(--color-primary-lt);
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
flex-shrink: 0;
}
.contact-method-label { font-size: .8rem; color: var(--color-text-muted); }
.contact-method-value { font-weight: 600; color: var(--color-dark); font-size: .95rem; }
.contact-form-wrap {
background: var(--color-bg);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: 2.5rem;
box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
display: block;
font-size: .85rem;
font-weight: 600;
color: var(--color-text);
margin-bottom: .4rem;
}
.form-group label .req { color: var(--color-primary); }
.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: .75rem 1rem;
font-family: var(--font-sans);
font-size: .95rem;
color: var(--color-text);
background: var(--color-bg-alt);
border: 1.5px solid var(--color-border);
border-radius: var(--radius-sm);
transition: border-color var(--transition), box-shadow var(--transition);
outline: none;
resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(10,116,218,.12);
background: #fff;
}
.form-group textarea { min-height: 140px; }
.form-notice {
margin-top: 1rem;
font-size: .85rem;
padding: .75rem 1rem;
border-radius: var(--radius-sm);
display: none;
}
.form-notice.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; display: block; }
.form-notice.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; display: block; }
/* ── 16. Demo CTA Banner ───────────────────────────────────── */
.cta-banner {
background: linear-gradient(135deg, var(--color-primary) 0%, #0556a8 100%);
color: #fff;
padding-block: 5rem;
text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.1rem; }
/* ── 17. Footer ────────────────────────────────────────────── */
.site-footer {
background: var(--color-dark);
color: rgba(255,255,255,.7);
padding-top: 4rem;
}
.footer-inner {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 2rem;
padding-bottom: 3rem;
border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) {
.footer-inner { grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
.footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .logo-text { font-size: 1.5rem; color: #fff; }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: .75rem; margin-bottom: .5rem; }
.footer-parent { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-parent a { color: var(--color-accent); }
.footer-parent a:hover { color: #fff; }
.footer-links { display: contents; }
.footer-col h4 {
font-size: .8rem;
font-weight: 700;
letter-spacing: .1em;
text-transform: uppercase;
color: rgba(255,255,255,.4);
margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
font-size: .875rem;
color: rgba(255,255,255,.6);
transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
padding-block: 1.5rem;
}
.footer-bottom p {
font-size: .8rem;
color: rgba(255,255,255,.3);
text-align: center;
margin: 0;
}
/* ── 18. Misc ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
/* Demo link pill */
.demo-link {
display: inline-flex;
align-items: center;
gap: .5rem;
background: rgba(0,198,174,.12);
border: 1px solid rgba(0,198,174,.35);
color: var(--color-accent);
font-size: .85rem;
font-weight: 600;
padding: .45rem 1.1rem;
border-radius: 100px;
transition: all var(--transition);
margin-bottom: 2rem;
}
.demo-link:hover {
background: rgba(0,198,174,.25);
color: var(--color-accent);
}
/* Divider */
.divider {
border: none;
border-top: 1px solid var(--color-border);
margin-block: 3rem;
}
/* Screen reader only */
.sr-only {
position: absolute;
width: 1px; height: 1px;
margin: -1px; padding: 0;
overflow: hidden; clip: rect(0,0,0,0);
white-space: nowrap; border: 0;
}
/* Scroll to top */
.scroll-top {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 44px; height: 44px;
background: var(--color-primary);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
box-shadow: var(--shadow-md);
opacity: 0;
transform: translateY(10px);
transition: all var(--transition);
z-index: 50;
cursor: pointer;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--color-primary-dk); color: #fff; }