/*
Theme Name: Upwave Studio
Theme URI: https://upwavestudio.com
Author: Upwave Studio
Author URI: https://upwavestudio.com
Description: Official Upwave Studio website theme — clean, modern web design agency site with deep blue palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: upwave-studio
Tags: business, agency, custom-colors, custom-logo, full-width-template
*/

/* ── CSS VARIABLES ── */
:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3a6b;
  --blue: #1e5bb5;
  --blue-bright: #2d7dd2;
  --sky: #5ba4f5;
  --accent: #4fc3f7;
  --white: #ffffff;
  --off-white: #f4f7fc;
  --muted: #8899bb;
  --border: rgba(255,255,255,0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  max-width: 100%;
}
input, select, textarea, button { box-sizing: border-box; max-width: 100%; }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--blue-bright) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--sky) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(30,91,181,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(79,195,247,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(79,195,247,0.12);
  border: 1px solid rgba(79,195,247,0.3);
  color: var(--accent);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  margin-bottom: 2rem; width: fit-content;
  animation: fadeUp 0.6s ease both;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--white);
  line-height: 1.08; max-width: 780px; margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem; line-height: 1.7;
  color: rgba(255,255,255,0.6); max-width: 560px;
  margin-bottom: 2.5rem; font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }
.btn-primary {
  background: var(--blue-bright); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 5px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em; display: inline-block;
}
.btn-primary:hover { background: var(--sky); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 0.85rem 2rem; border-radius: 5px;
  font-weight: 500; font-size: 0.9rem;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2.5rem; border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; letter-spacing: 0.05em; text-transform: uppercase; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── PROCESS ── */
.process-strip { background: var(--navy-mid); padding: 5rem 5%; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--white); line-height: 1.2; margin-bottom: 3.5rem; max-width: 520px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.process-card { background: var(--navy-mid); padding: 2rem 1.8rem; transition: background 0.2s; }
.process-card:hover { background: var(--navy-light); }
.process-num { font-family: var(--font-display); font-size: 2.8rem; color: rgba(79,195,247,0.15); line-height: 1; margin-bottom: 1rem; }
.process-card h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.process-card p { font-size: 0.875rem; line-height: 1.65; color: var(--muted); }

/* ── PAGE HEROES ── */
.page-hero { padding: 140px 5% 80px; position: relative; overflow: hidden; }
.page-hero { background: var(--navy); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(30,91,181,0.2) 0%, transparent 70%); pointer-events: none; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); color: var(--white); line-height: 1.1; max-width: 600px; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.55); font-size: 1rem; max-width: 480px; line-height: 1.7; font-weight: 300; margin-left: auto; margin-right: auto; }

/* ── SERVICES ── */
.services-body { background: var(--off-white); padding: 5rem 5%; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 5rem; }
.service-card { background: var(--white); border: 1px solid #e2e8f4; border-radius: 10px; padding: 2.2rem; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(10,22,40,0.1); transform: translateY(-2px); }
.service-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(30,91,181,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.3rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.875rem; line-height: 1.7; color: #5a6a8a; }

/* ── PRICING ── */
.pricing-section { padding: 5rem 5%; background: var(--white); }
.pricing-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin-bottom: 0.75rem; }
.pricing-sub { color: #6b7fa3; font-size: 0.95rem; margin-bottom: 3.5rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 960px; }
.pricing-card { border: 1px solid #e2e8f4; border-radius: 12px; padding: 2.2rem; position: relative; transition: box-shadow 0.2s; }
.pricing-card:hover { box-shadow: 0 8px 32px rgba(10,22,40,0.1); }
.pricing-card.featured { background: var(--navy); border-color: var(--blue-bright); }
.featured-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue-bright); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.85rem; border-radius: 20px; }
.pricing-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 0.5rem; }
.pricing-card.featured .pricing-tier { color: var(--accent); }
.pricing-price { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy); line-height: 1; margin-bottom: 0.3rem; }
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-price span { font-size: 1rem; font-weight: 400; font-family: var(--font-body); }
.pricing-desc { font-size: 0.82rem; color: #6b7fa3; margin-bottom: 1.5rem; line-height: 1.5; }
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.5); }
.pricing-divider { height: 1px; background: #e2e8f4; margin-bottom: 1.5rem; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.pricing-features li { font-size: 0.85rem; color: #4a5a7a; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.4; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.75); }
.pricing-features li::before { content: '✓'; color: var(--blue-bright); font-weight: 700; font-size: 0.8rem; flex-shrink: 0; margin-top: 1px; }
.pricing-card.featured .pricing-features li::before { color: var(--accent); }
.btn-pricing { display: block; text-align: center; background: var(--off-white); color: var(--navy); padding: 0.8rem; border-radius: 6px; font-weight: 600; font-size: 0.875rem; text-decoration: none; border: 1px solid #dde5f4; transition: all 0.2s; cursor: pointer; }
.btn-pricing:hover { background: var(--navy); color: var(--white); }
.pricing-card.featured .btn-pricing { background: var(--blue-bright); color: var(--white); border-color: transparent; }
.pricing-card.featured .btn-pricing:hover { background: var(--sky); }

/* ── PORTFOLIO ── */
.portfolio-body { background: var(--off-white); padding: 5rem 5%; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.portfolio-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f4; transition: box-shadow 0.2s, transform 0.2s; }
.portfolio-card:hover { box-shadow: 0 12px 40px rgba(10,22,40,0.12); transform: translateY(-3px); }
.portfolio-thumb { height: 200px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--white); letter-spacing: 0.02em; position: relative; overflow: hidden; }
.portfolio-thumb::after { content: 'View project →'; position: absolute; bottom: 1rem; right: 1rem; background: rgba(255,255,255,0.15); color: var(--white); font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; padding: 0.3rem 0.75rem; border-radius: 20px; backdrop-filter: blur(4px); }
.portfolio-info { padding: 1.5rem; }
.portfolio-tag { display: inline-block; background: rgba(30,91,181,0.08); color: var(--blue); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.65rem; border-radius: 20px; margin-bottom: 0.6rem; }
.portfolio-info h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.portfolio-info p { font-size: 0.82rem; color: #6b7fa3; line-height: 1.6; }
.portfolio-results { display: flex; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eef1f8; }
.result-item { font-size: 0.75rem; color: #6b7fa3; }
.result-item strong { display: block; font-size: 1.1rem; color: var(--navy); font-weight: 700; }

/* ── CONTACT ── */
.contact-body { background: var(--off-white); padding: 5rem 5%; display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { font-size: 0.9rem; color: #6b7fa3; line-height: 1.7; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(30,91,181,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 0.15rem; }
.contact-item-text span { font-size: 0.85rem; color: #6b7fa3; }
.contact-form { background: var(--white); border: 1px solid #e2e8f4; border-radius: 12px; padding: 2.5rem; }
.contact-form h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #dde5f4; border-radius: 6px; font-family: var(--font-body); font-size: 0.875rem; color: var(--navy); background: var(--off-white); transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-bright); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 0.9rem; background: var(--blue-bright); color: var(--white); border: none; border-radius: 6px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--navy); }

/* ── FOOTER ── */
.site-footer { background: var(--navy); padding: 3rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--border); }
.footer-logo img { height: 36px; width: auto; display: block; opacity: 0.92; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .contact-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .nav-links { display: none; }
  .site-header { padding: 0 4%; }
}


/* ── HOME ABOUT ── */
.home-about {
  background: var(--navy-mid);
  padding: 6rem 5%;
  border-top: 1px solid var(--border);
}
.home-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.home-about-text .section-title {
  margin-bottom: 1.5rem;
}
.home-about-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
}
.home-about-features {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.haf-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.haf-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.haf-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .home-about-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 200;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(10,22,40,0.99);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  padding: 2rem 5%;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.mobile-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-drawer-close {
  align-self: flex-end;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--white);
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}
.mobile-drawer-close:hover { background: rgba(255,255,255,0.15); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-link:first-of-type { border-top: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-link:hover { color: var(--accent); }
.mobile-nav-link svg { color: rgba(255,255,255,0.3); flex-shrink: 0; transition: color 0.2s; }
.mobile-nav-link:hover svg { color: var(--accent); }
.mobile-drawer-cta {
  margin-top: 2.5rem;
}
.mobile-drawer-cta .btn-primary {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
}

/* ── PORTFOLIO THUMB — real images ── */
.portfolio-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
  display: block;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 6s ease;
}
.portfolio-card:hover .portfolio-thumb img {
  transform: translateY(calc(-100% + 200px));
}
/* Keep ::after label for text-only fallback cards */
.portfolio-thumb:not(:has(img))::after {
  content: 'View project →';
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15); color: var(--white);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.75rem; border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ── RESPONSIVE UPDATES ── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-hamburger { display: flex !important; }
  .nav-links { display: none !important; }
  .site-header { padding: 0 4%; }

  /* Pricing stacks cleanly */
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-section { padding: 2rem 0; text-align: center; }

  /* Portfolio full width */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Services full width */
  .services-grid { grid-template-columns: 1fr; }

  /* Contact stacks */
  .contact-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Hero stats wrap */
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  /* Process stacks */
  .process-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
  .mobile-drawer { display: none !important; }
  .nav-links { display: flex !important; }
}

/* ════════════════════════════════════════
   NEW PORTFOLIO — Reference layout
   Dark navy, alternating 2-col projects
   ════════════════════════════════════════ */

.pf-hero {
  background: var(--navy);
  padding: 140px 5% 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.pf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(30,91,181,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.pf-hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 0.35rem 1rem; margin-bottom: 2rem;
}
.pf-hero-tag::before { content: "•"; color: var(--accent); }
.pf-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08; font-weight: 400;
  color: var(--white); margin-bottom: 1.5rem;
}
.pf-hero h1 em { font-style: italic; color: var(--accent); }
.pf-hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.5);
  max-width: 500px; line-height: 1.8; font-weight: 300;
}

/* Projects list */
.pf-list {
  background: var(--navy);
  padding: 5rem 5% 6rem;
  display: flex; flex-direction: column; gap: 6rem;
}

.pf-project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pf-project.pf-visible { opacity: 1; transform: translateY(0); }
.pf-project.pf-flip { grid-template-columns: 1fr 1.1fr; }
.pf-project.pf-flip .pf-mockup { order: 2; }
.pf-project.pf-flip .pf-info  { order: 1; }

/* Browser mockup */
.pf-browser {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.07);
}
.pf-browser-bar {
  background: #0d1a2e; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pf-dots { display: flex; gap: 5px; }
.pf-dot { width: 10px; height: 10px; border-radius: 50%; }
.pf-dot-r { background: #ff5f57; }
.pf-dot-y { background: #ffbd2e; }
.pf-dot-g { background: #28ca41; }
.pf-url {
  flex: 1; background: rgba(255,255,255,0.05); border-radius: 4px;
  padding: 4px 10px; font-size: 0.68rem; color: rgba(255,255,255,0.3);
  font-family: monospace; letter-spacing: 0.02em;
}
.pf-screen {
  width: 100%; aspect-ratio: 3/2; overflow: hidden;
  display: block; position: relative; background: #1a2d48;
}
.pf-screen img {
  width: 100%; height: auto; display: block;
  object-fit: cover; object-position: top;
  transition: transform 8s ease;
}
.pf-browser:hover .pf-screen img { transform: translateY(calc(-100% + 66.67%)); }

/* Project info */
.pf-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 0.75rem;
}
.pf-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white); line-height: 1.15; font-weight: 400;
  margin-bottom: 0.75rem;
}
.pf-desc {
  font-size: 0.9rem; color: rgba(255,255,255,0.45);
  line-height: 1.8; font-weight: 300;
  max-width: 380px; margin-bottom: 2rem;
}
.pf-results {
  display: flex; gap: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.pf-result-num {
  font-family: var(--font-display);
  font-size: 1.8rem; color: var(--white); line-height: 1;
}
.pf-result-num span { color: var(--accent); font-style: italic; }
.pf-result-label {
  font-size: 0.65rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem;
}
.pf-features {
  display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem;
}
.pf-feature {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.pf-feature::before {
  content: "✓"; color: var(--accent);
  font-weight: 700; font-size: 0.72rem; flex-shrink: 0; margin-top: 2px;
}
.pf-cta-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(79,195,247,0.3);
  padding-bottom: 2px; transition: all 0.2s;
}
.pf-cta-link:hover { gap: 0.8rem; border-color: var(--accent); }
.pf-divider { height: 1px; background: var(--border); }

/* Bottom CTA */
.pf-cta-section {
  background: var(--navy-mid);
  padding: 6rem 5%; text-align: center;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.pf-cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 1rem;
}
.pf-cta-section p {
  font-size: 0.95rem; color: rgba(255,255,255,0.45); margin-bottom: 2.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .pf-project,
  .pf-project.pf-flip {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pf-project.pf-flip .pf-mockup { order: 0; }
  .pf-project.pf-flip .pf-info   { order: 1; }
  .pf-desc { max-width: 100%; }
}
@media (max-width: 600px) {
  .pf-list { padding: 3rem 5% 4rem; gap: 4rem; }
  .pf-results { gap: 1.5rem; flex-wrap: wrap; }
}

/* ════════════════════════════════════════
   SERVICES — Dark navy restyle
   Matches site theme, plain-English copy
   ════════════════════════════════════════ */

/* Override light body bg for services page */
.services-body {
  background: var(--navy) !important;
  padding: 5rem 5% !important;
}

/* Section intro */
.sv-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.sv-intro .section-label { display: block; margin-bottom: 0.6rem; }
.sv-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.sv-intro p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* New service cards — dark */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem;
}
.sv-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.sv-card:hover {
  border-color: rgba(79,195,247,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.sv-icon {
  width: 46px; height: 46px;
  background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: background 0.25s;
}
.sv-card:hover .sv-icon {
  background: rgba(79,195,247,0.18);
}
.sv-icon svg {
  width: 20px; height: 20px;
  color: var(--accent);
  stroke: var(--accent);
}
.sv-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}
.sv-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
}
.sv-card-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79,195,247,0.1);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.9rem;
}

/* Pricing — keep centered, dark bg */
.pricing-section {
  background: var(--navy) !important;
  padding: 0 0 2rem !important;
}
.pricing-title { color: var(--white) !important; }
.pricing-sub   { color: rgba(255,255,255,0.4) !important; }

/* Responsive */
@media (max-width: 900px) {
  .sv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sv-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   PRICING — White text fix + featured standout
   ════════════════════════════════════════ */

/* All text in pricing cards → white / legible */
.pricing-card                        { background: var(--navy-mid); border-color: var(--border); }
.pricing-tier                        { color: var(--accent) !important; }
.pricing-price                       { color: var(--white) !important; }
.pricing-price span                  { color: rgba(255,255,255,0.5) !important; }
.pricing-desc                        { color: rgba(255,255,255,0.55) !important; }
.pricing-divider                     { background: rgba(255,255,255,0.08) !important; }
.pricing-features li                 { color: rgba(255,255,255,0.75) !important; }
.pricing-features li::before        { color: var(--accent) !important; }
.btn-pricing                         { background: rgba(255,255,255,0.06) !important; color: var(--white) !important; border-color: rgba(255,255,255,0.12) !important; }
.btn-pricing:hover                   { background: var(--blue-bright) !important; border-color: var(--blue-bright) !important; }

/* Featured card — bright blue gradient to stand out */
.pricing-card.featured {
  background: linear-gradient(145deg, #1a4a8a 0%, #1e5bb5 60%, #2d7dd2 100%) !important;
  border: 2px solid #4fc3f7 !important;
  box-shadow: 0 0 0 1px rgba(79,195,247,0.2), 0 24px 60px rgba(30,91,181,0.45) !important;
  transform: translateY(-6px);
}
.pricing-card.featured:hover {
  transform: translateY(-9px);
  box-shadow: 0 0 0 1px rgba(79,195,247,0.35), 0 32px 80px rgba(30,91,181,0.55) !important;
}
.pricing-card.featured .pricing-tier  { color: #a8e6ff !important; }
.pricing-card.featured .pricing-price { color: var(--white) !important; }
.pricing-card.featured .pricing-price span { color: rgba(255,255,255,0.65) !important; }
.pricing-card.featured .pricing-desc  { color: rgba(255,255,255,0.75) !important; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.2) !important; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.9) !important; }
.pricing-card.featured .pricing-features li::before { color: #a8e6ff !important; }
.pricing-card.featured .btn-pricing {
  background: rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.pricing-card.featured .btn-pricing:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
}
.featured-tag {
  background: var(--accent) !important;
  color: var(--navy) !important;
  font-weight: 800 !important;
}

/* Pricing grid — ensure all 3 cards align nicely */
.pricing-grid {
  align-items: start !important;
}

/* ── Center services page hero ── */
.services-body ~ .page-hero,
.page-hero + .services-body { }

/* Target the page-hero specifically on services page */
.template-services-pricing .page-hero,
body.page-template-template-services .page-hero {
  text-align: center;
}
.page-hero h1,
.page-hero p,
.page-hero .section-label {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Tighten gap between hero and services section ── */
.page-hero          { padding-bottom: 3rem !important; }
.services-body      { padding-top: 3rem !important; }

/* ════════════════════════════════════════
   CONTACT PAGE — Dark navy restyle
   ════════════════════════════════════════ */

/* Body sections → dark */
.contact-body {
  background: var(--navy) !important;
  padding: 4rem 5% 6rem !important;
}

/* Left info panel */
.contact-info h2 {
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}
.contact-info > p {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* Contact detail items */
.contact-item-icon {
  background: rgba(79,195,247,0.1) !important;
  border: 1px solid rgba(79,195,247,0.2) !important;
  color: var(--accent) !important;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { color: var(--accent); stroke: var(--accent); }
.contact-item-text strong { color: var(--white) !important; font-size: 0.85rem; }
.contact-item-text span   { color: rgba(255,255,255,0.45) !important; }

/* Form card */
.contact-form {
  background: var(--navy-mid) !important;
  border: 1px solid var(--border) !important;
}
.contact-form h3 {
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.75rem;
}

/* Form labels */
.form-group label {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Form inputs */
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--white) !important;
  border-radius: 6px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25) !important; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent) !important;
  background: rgba(79,195,247,0.04) !important;
  outline: none;
}
.form-group select { appearance: none; }
.form-group select option { background: var(--navy-mid); color: var(--white); }

/* Submit button */
.form-submit {\n  background: var(--blue-bright) !important;\n  color: var(--white) !important;\n  font-size: 0.95rem;\n  letter-spacing: 0.02em;\n  transition: background 0.2s, transform 0.15s !important;\n}\n.form-submit:hover {\n  background: var(--sky) !important;\n  transform: translateY(-1px);\n}\n\n/* ── CONTACT PAGE — Mobile fixes ── */\n@media (max-width: 768px) {\n  .contact-body {\n    padding: 3rem 4% 4rem !important;\n    gap: 2.5rem !important;\n    grid-template-columns: 1fr !important;\n  }\n  .contact-form {\n    padding: 1.5rem !important;\n  }\n  .contact-form h3 {\n    font-size: 1.15rem !important;\n  }\n  .form-row {\n    grid-template-columns: 1fr !important;\n    gap: 0 !important;\n  }\n  .page-hero h1 {\n    font-size: clamp(1.8rem, 7vw, 3rem) !important;\n  }\n  .page-hero p {\n    max-width: 100% !important;\n    padding: 0 1rem;\n  }\n}
