/* ============================================================
   WebDesignCompanyRI.com — Stylesheet
   JPG Designs | Rhode Island Web Design & Digital Marketing
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --blue-primary:    #1a6fbf;
  --blue-dark:       #14508a;
  --blue-light:      #e8f2fc;
  --red-logo:        #cc1e24;
  --green-logo:      #1e8c3a;
  --dark:            #1a1a2e;
  --dark-mid:        #2d3748;
  --gray:            #64748b;
  --gray-light:      #f1f5f9;
  --white:           #ffffff;
  --text:            #2d3748;
  --border:          #e2e8f0;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:       0 10px 40px rgba(0,0,0,.13);
  --radius:          8px;
  --radius-lg:       16px;
  --transition:      .22s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-primary); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,111,191,.35);
}
.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}
.btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

/* --- Section Wrapper --- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-blue { background: var(--blue-primary); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 14px; }
.section-header .subhead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 10px;
}
.section-dark .eyebrow, .section-blue .eyebrow { color: rgba(255,255,255,.7); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 7px 0;
  text-align: center;
}
.header-top-bar a { color: rgba(255,255,255,.85); }
.header-top-bar a:hover { color: var(--white); }
.header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.site-logo { flex-shrink: 0; }
.site-logo img {
  height: 52px;
  width: auto;
}
.site-logo span {
  display: none;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  flex-wrap: nowrap;
}
.header-nav a {
  color: var(--dark-mid);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a.active {
  background: var(--blue-light);
  color: var(--blue-primary);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-phone {
  font-weight: 700;
  color: var(--dark) !important;
  font-size: .9rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue-primary) !important; }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all .3s;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--dark-mid);
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1c3a5e 55%, #1a6fbf 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
}
.hero-content h1 span { color: #7dc3f5; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.trust-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  backdrop-filter: blur(4px);
}
.trust-item .number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #7dc3f5;
  display: block;
  line-height: 1;
}
.trust-item .label {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.hero-visual {
  position: relative;
}
.hero-video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}
.hero-video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-content h2 { margin-bottom: 20px; }
.intro-content p { color: var(--gray); }
.intro-points {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.intro-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.intro-point .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.intro-point h4 { margin-bottom: 4px; }
.intro-point p { font-size: .9rem; color: var(--gray); margin: 0; }
.intro-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .92rem; color: var(--gray); margin-bottom: 20px; }
.service-card .card-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link:hover { gap: 10px; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--white);
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,111,191,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-info {
  padding: 18px 20px;
}
.portfolio-info h3 { font-size: 1rem; margin-bottom: 6px; }
.portfolio-info p { font-size: .85rem; color: var(--gray); margin: 0; }
.portfolio-cta-row { text-align: center; margin-top: 44px; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.video-caption {
  text-align: center;
  margin-top: 12px;
  font-size: .88rem;
  color: var(--gray);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-placeholder {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: var(--gray);
  margin-bottom: 32px;
}
.reviews-placeholder .stars {
  font-size: 2rem;
  margin-bottom: 12px;
  letter-spacing: 4px;
}
.reviews-placeholder p { margin: 0; }
.reviews-cta-row { text-align: center; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-date {
  font-size: .78rem;
  color: var(--blue-primary);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-body h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body h3 a { color: var(--dark); }
.blog-body h3 a:hover { color: var(--blue-primary); }
.blog-excerpt {
  font-size: .88rem;
  color: var(--gray);
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}
.blog-fallback {
  text-align: center;
  padding: 40px;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  display: none;
}
.blog-cta-row { text-align: center; margin-top: 40px; }

/* ============================================================
   CONTACT CTA BLOCK (no form)
   ============================================================ */
.contact-cta-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.contact-cta-block h2 { color: var(--white); margin-bottom: 16px; }
.contact-cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact-cta-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact-cta-details .contact-detail {
  text-align: left;
  flex-direction: row;
}
.contact-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-cta-buttons .btn { flex-shrink: 0; }

@media (max-width: 768px) {
  .contact-cta-details { gap: 20px; flex-direction: column; align-items: center; }
  .contact-cta-buttons { flex-direction: column; align-items: center; }
  .contact-cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ============================================================
   EDUCATIONAL / WHAT TO LOOK FOR
   ============================================================ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.edu-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.edu-item:hover { box-shadow: var(--shadow-md); }
.edu-num {
  width: 40px;
  height: 40px;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.edu-item h4 { margin-bottom: 6px; }
.edu-item p { font-size: .9rem; color: var(--gray); margin: 0; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.industry-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}
.industry-icon { font-size: 2.2rem; margin-bottom: 14px; }
.industry-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.industry-card p { font-size: .88rem; color: rgba(255,255,255,.72); margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--blue-light); }
.faq-item.open .faq-question { background: var(--blue-light); color: var(--blue-primary); }
.faq-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s;
  font-size: .8rem;
  color: var(--blue-primary);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--blue-primary); color: var(--white); }
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: .94rem;
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.contact-detail a { color: var(--white); font-weight: 600; font-size: 1.05rem; }
.contact-form-area {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.contact-form-area h3 { margin-bottom: 8px; }
.form-note {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.form-placeholder {
  background: var(--gray-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--gray);
  font-size: .9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img {
  height: 58px;
  width: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-phone:hover { color: #7dc3f5; }
.footer-note {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   BADGE BAR
   ============================================================ */
.badge-bar {
  background: var(--dark);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.badge-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.badge-item {
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.badge-number {
  display: block;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

/* ============================================================
   STICKY CTA BAR (mobile)
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  padding: 12px 16px;
  z-index: 999;
  gap: 10px;
  box-shadow: 0 -3px 16px rgba(0,0,0,.25);
}
.sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-blue { color: var(--blue-primary); }
.text-white { color: var(--white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
  .intro-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Header */
  .header-main { padding: 12px 16px; }
  .header-nav { display: none; }
  .header-right { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  #hero { padding: 50px 0 60px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }

  /* Content */
  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badge-bar-inner { gap: 24px; }

  /* Sticky CTA */
  .sticky-cta { display: flex; }
  footer { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}
