/* =========================================================
   Analyn L. Alexandre — Digital Marketing Portfolio
   Recreation of ltwhdigital.eu
   ========================================================= */

:root {
  --teal: #12b5ac;
  --teal-dark: #0e948d;
  --navy: #14283c;
  --ink: #1b2a3a;
  --muted: #5b6b7b;
  --line: #e6ebf0;
  --card-border: #d4dbe4;
  --bg: #ffffff;
  --bg-alt: #edf7f5;
  --gold: #f4a723;
  --shadow: 0 22px 50px rgba(20, 40, 60, .16);
  --shadow-sm: 0 10px 30px rgba(20, 40, 60, .13);
  --radius: 16px;
  --maxw: 1180px;
  --font-display: "Teko", "Titillium Web", sans-serif;
  --font-head: "Titillium Web", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 90px 0; }

.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  display: inline-block;
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  padding: 13px 26px; border-radius: 40px;
  font-size: .98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(18,181,172,.32); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 74px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.brand .brand-name { font-size: 1.05rem; color: #fff; line-height: 1.1; white-space: nowrap; }
.brand .brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }

.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { font-family: var(--font-head); font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.85); position: relative; transition: color .2s ease; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--teal); transition: width .25s ease; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-cta .btn { padding: 10px 20px; font-size: .85rem; white-space: nowrap; }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 40px; background: linear-gradient(160deg, #f2fbfa 0%, #ffffff 55%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -.5px; }
.hero-role { font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: 1.25rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .04em; }
.hero-text p { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .portrait {
  position: relative; z-index: 2; width: 100%; border-radius: 24px;
  filter: drop-shadow(0 30px 45px rgba(20,40,60,.18));
}
.hero-media .blob { position: absolute; z-index: 1; }
.blob-teal { width: 320px; height: 320px; background: rgba(18,181,172,.16); top: -20px; right: -30px; border-radius: 40% 60% 55% 45%; }
.blob-navy { width: 210px; height: 210px; background: rgba(20,40,60,.08); bottom: 10px; left: -30px; border-radius: 55% 45% 40% 60%; }

.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--navy); font-weight: 500; }
.stat .num span { color: var(--teal); }
.stat .lbl { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.service-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(18,181,172,.4); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(18,181,172,.12); color: var(--teal); margin-bottom: 18px; flex: none;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--muted); font-size: .97rem; margin: 0 0 12px; }
.service-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .93rem; }
.service-card ul li { margin-bottom: 6px; }

/* ---------- Work Best With ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.audience-item .tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal);
  color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 700;
}
.audience-item p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool-card { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.tool-card h4 { color: var(--teal); font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: 30px; padding: 6px 14px; font-size: .84rem; color: var(--ink); font-weight: 500; }

/* ---------- Certifications Carousel ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 14px; }
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  padding: 8px 4px 18px; flex: 1; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.cert-card {
  flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0;
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-card img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.cert-card figcaption {
  padding: 16px 18px; font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: .98rem; text-align: center;
}
.carousel-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--card-border); color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: scale(1.06); }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background .2s ease, width .2s ease;
}
.carousel-dots button.active { background: var(--teal); width: 26px; border-radius: 6px; }

/* ---------- Smart Scroll-to-Top Widget ---------- */
.scroll-top {
  position: fixed; right: 22px; bottom: 94px; z-index: 900;
  width: 56px; height: 56px; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(18,181,172,.5);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { background: var(--navy); }
.scroll-ring { position: absolute; inset: 0; width: 56px; height: 56px; transform: rotate(-90deg); }
.scroll-ring .ring-bg { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 3.5; }
.scroll-ring .ring-progress {
  fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round;
  transition: stroke-dashoffset .1s linear;
}
.scroll-arrow { position: relative; width: 24px; height: 24px; z-index: 1; }

/* ---------- WhatsApp Floating Widget ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 56px; height: 56px; display: grid; place-items: center;
}
.wa-btn {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.4s infinite;
}
.wa-btn svg { width: 32px; height: 32px; }
.wa-float:hover .wa-btn { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37,211,102,.55); }
.wa-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; padding: 9px 16px; border-radius: 30px; white-space: nowrap;
  box-shadow: var(--shadow-sm); border: 1px solid var(--card-border);
  opacity: 0; transform: translateY(-50%) translateX(10px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-float:hover .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-btn { animation: none; } }

/* ---------- Lightbox Gallery ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; gap: 12px; padding: 24px;
  background: rgba(10, 18, 26, .88); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-content {
  margin: 0; max-width: min(920px, 92vw); max-height: 88vh; position: relative;
  display: flex; flex-direction: column; align-items: center;
  transform: scale(.96); transition: transform .25s ease;
}
.lightbox.open .lb-content { transform: scale(1); }
.lb-content img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.5); background: #fff;
}
.lb-content figcaption {
  margin-top: 16px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; text-align: center;
}
.lb-counter { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 4px; }
.lb-close {
  position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .2s ease;
}
.lb-close:hover { background: var(--teal); }
.lb-close svg { width: 24px; height: 24px; }
.lb-nav {
  flex: none; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 0; color: #fff;
  display: grid; place-items: center; transition: background .2s ease, transform .2s ease;
}
.lb-nav:hover { background: var(--teal); transform: scale(1.06); }
.lb-nav svg { width: 26px; height: 26px; }

/* ---------- Experience / Timeline ---------- */
.timeline { max-width: 860px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 38px 62px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--teal); }
.tl-item .role { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.tl-item .org { color: var(--teal); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.tl-item p { color: var(--muted); margin: 0 0 8px; font-size: .96rem; }
.tl-item ul { color: var(--muted); font-size: .93rem; margin: 8px 0 0; padding-left: 18px; }
.tl-item ul li { margin-bottom: 6px; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.skill-block { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.skill-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.skill-tags .chip { background: rgba(18,181,172,.08); border-color: rgba(18,181,172,.25); }
.soft-list { list-style: none; margin: 10px 0 0; padding: 0; }
.soft-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.soft-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------- Specializations ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.spec-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--card-border); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.spec-card .img { aspect-ratio: 16/10; overflow: hidden; }
.spec-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.spec-card:hover .img img { transform: scale(1.06); }
.spec-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.spec-card h3 { font-size: 1.15rem; }
.spec-card p { color: var(--muted); font-size: .94rem; margin: 0 0 16px; }
.spec-card .body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 960px; margin: 0 auto; }
.testi-card { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); position: relative; }
.testi-card .quote-mark { font-family: var(--font-display); font-size: 4rem; color: rgba(18,181,172,.22); line-height: .6; }
.testi-card p { color: var(--ink); font-size: 1.02rem; font-style: italic; margin: 0 0 20px; }
.testi-author { display: flex; flex-direction: column; align-items: flex-start; }
.testi-author .name { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.testi-author .role { color: var(--teal); font-size: .88rem; }
.stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, #0e2233 100%); color: #fff; text-align: center; border-radius: 24px; padding: 60px 30px; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; width: 260px; height: 260px; background: rgba(18,181,172,.18); border-radius: 50%; top: -80px; right: -40px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 26px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.contact-info p { color: var(--muted); margin-bottom: 26px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(18,181,172,.12); color: var(--teal); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list .meta span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list .meta a, .contact-list .meta strong { font-weight: 600; color: var(--navy); font-family: var(--font-head); }

.contact-image {
  margin: 0; position: relative; border-radius: var(--radius);
  padding: 22px; isolation: isolate;
}
/* Soft blurred ambient glow of the same photo behind the frame */
.contact-image::before {
  content: ""; position: absolute; inset: 8px; z-index: -1;
  background: url("https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=500,fit=crop/AGBzoP7Bk3H1GGE6/an-l-alexander_11zon-1-mjEGaawzpPFVVRJ1.webp") center/cover no-repeat;
  filter: blur(34px) saturate(1.3); opacity: .55; transform: scale(1.04); border-radius: 24px;
}
.contact-image img {
  position: relative; width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--card-border); box-shadow: var(--shadow);
  filter: saturate(1.06) contrast(1.03) brightness(1.02);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .93rem; max-width: 320px; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--teal); }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: background .2s ease, transform .2s ease; }
.social a svg { width: 20px; height: 20px; }
.social a:hover { background: var(--teal); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .86rem; color: rgba(255,255,255,.6); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Collapse the nav to a hamburger before it can crowd */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 74px; left: -24px; right: -24px;
    margin: 0; background: #000; padding: 18px 24px 24px; gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 12px 4px; font-size: 1rem; }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-links.open .nav-cta-mobile a { text-align: center; padding: 13px 20px; font-size: .95rem; }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 380px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .services-grid, .tools-grid, .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cert-card { flex-basis: calc((100% - 24px) / 2); }
}

/* Large phone / small tablet */
@media (max-width: 760px) {
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .services-grid, .audience-grid, .tools-grid, .skills-grid, .spec-grid, .testi-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 26px; }
  .hero-stats { gap: 24px; }
  .stat .num { font-size: 2.4rem; }
  .cert-card { flex-basis: 100%; }
  .carousel { gap: 8px; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn svg { width: 18px; height: 18px; }
  .cta-banner { padding: 48px 22px; }
  .lightbox { padding: 16px; }
  .lb-close { top: 12px; right: 14px; }
  .lb-nav { position: fixed; top: auto; bottom: 20px; transform: none; z-index: 2; }
  .lb-prev { left: 28%; }
  .lb-next { right: 28%; }
  .lb-nav:hover { transform: scale(1.06); }
  .lb-content img { max-height: 68vh; }
  .wa-label { display: none; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-btn { width: 52px; height: 52px; }
  .wa-btn svg { width: 30px; height: 30px; }
  .scroll-top { right: 16px; bottom: 80px; width: 52px; height: 52px; }
  .scroll-ring { width: 52px; height: 52px; }
  .scroll-arrow { width: 22px; height: 22px; }
}

/* Small phone */
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 30px; }
  .hero-text h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-role { font-size: 1.05rem; }
  .hero-text p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 14px; }
  .stat .num { font-size: 2rem; }
  .stat .lbl { font-size: .72rem; }
  .section-head { margin-bottom: 40px; }
  .service-card, .skill-block, .testi-card, .contact-form { padding: 24px 20px; }
  .brand .brand-name { font-size: .95rem; }
  .brand img { width: 38px; height: 38px; }
  .cta-banner { padding: 40px 18px; }
  .cta-banner .btn, .contact-form .btn { width: 100%; justify-content: center; }
  .lb-prev { left: 18%; }
  .lb-next { right: 18%; }
}
