/* =============================================
   Choose Your UCaaS — Global Stylesheet
   UCaaS Review Network
   ============================================= */

:root {
  --primary: #0D4F4F;
  --primary-light: #156060;
  --primary-dark: #083838;
  --accent: #FFF8F0;
  --accent-border: #D4C5B0;
  --bg: #FAFAFA;
  --bg-warm: #FFF8F0;
  --text: #1C2B2B;
  --text-muted: #5A7070;
  --white: #FFFFFF;
  --border: #D9E5E5;
  --teal-light: #E8F5F5;
  --shadow-sm: 0 1px 3px rgba(13,79,79,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(13,79,79,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(13,79,79,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --radius: 8px;
  --radius-lg: 14px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--primary); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1.6rem; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; text-align: center; line-height: 1.3; font-family: var(--font); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(13,79,79,0.30); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); transform: translateY(-1px); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; border-radius: 10px; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-warm { background: var(--accent); color: var(--primary-dark); font-weight: 700; }
.btn-warm:hover { background: #f0ece4; color: var(--primary-dark); transform: translateY(-1px); }

/* Navigation */
.site-nav { background: var(--primary); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; height: 68px; max-width: var(--max-w); margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.nav-logo span { color: #A8D5D5; }
.nav-logo-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 0.95rem; font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 6px; transition: color 0.2s, background 0.2s; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-cta { background: rgba(255,255,255,0.15) !important; color: var(--white) !important; border: 1px solid rgba(255,255,255,0.3) !important; }
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 5.5rem 1.25rem 4.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 20%, rgba(168,213,213,0.1) 0%, transparent 55%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, #A8D5D5, transparent); }
.hero-eyebrow { display: inline-block; background: rgba(168,213,213,0.18); color: #A8D5D5; border: 1px solid rgba(168,213,213,0.35); padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.5px; }
.hero h1 { color: var(--white); max-width: 800px; margin: 0 auto 1.25rem; }
.hero h1 em { color: #A8D5D5; font-style: normal; }
.hero p { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 620px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-pillars { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-pillar { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.78); }
.hero-pillar-icon { width: 32px; height: 32px; background: rgba(168,213,213,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

/* Trust Bar */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 1.25rem 1.25rem; }
.trust-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
.trust-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.trust-logos { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.trust-logo { font-size: 0.88rem; font-weight: 700; color: var(--primary); padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 6px; }

/* Section Wrappers */
.section-white { padding: 5rem 1.25rem; background: var(--white); }
.section-warm { padding: 5rem 1.25rem; background: var(--bg-warm); }
.section-teal { padding: 5rem 1.25rem; background: var(--teal-light); }
.section-dark { padding: 4.5rem 1.25rem; background: var(--primary); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--primary); background: var(--teal-light); border: 1px solid var(--border); padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.65rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* How to Choose Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: var(--max-w); margin: 0 auto; }
.step-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; transition: border-color 0.2s, box-shadow 0.2s; }
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.step-num { font-size: 3rem; font-weight: 900; color: var(--teal-light); line-height: 1; margin-bottom: 0.5rem; -webkit-text-stroke: 2px var(--primary); }
.step-card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.step-card p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: var(--max-w); margin: 0 auto; }
.feature-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.feature-icon { width: 52px; height: 52px; background: var(--teal-light); border: 2px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.feature-card h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* Guide Cards */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--max-w); margin: 0 auto; }
.guide-card { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 1.75rem; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.guide-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.guide-card p { color: var(--text-muted); font-size: 0.88rem; flex: 1; margin: 0 0 1rem; }
.guide-card a { font-size: 0.88rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 0.3rem; }

/* Bottopia Form Embed */
.form-embed-section { padding: 5rem 1.25rem; background: var(--bg-warm); }
.form-embed-wrap { max-width: 760px; margin: 0 auto; background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.form-embed-header { text-align: center; margin-bottom: 2rem; }
.form-embed-header h2 { margin-bottom: 0.6rem; }
.form-embed-header p { color: var(--text-muted); }
.form-embed-wrap iframe { width: 100%; border: none; min-height: 580px; border-radius: var(--radius); }

/* Promo */
.promo-section { background: var(--primary); padding: 4.5rem 1.25rem; }
.promo-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.promo-label { display: inline-block; background: rgba(168,213,213,0.2); color: #A8D5D5; border: 1px solid rgba(168,213,213,0.4); padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1rem; }
.promo-content h2 { color: var(--white); font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 1rem; }
.promo-content p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.promo-details { list-style: none; padding: 0; margin: 0 0 2rem; }
.promo-details li { color: rgba(255,255,255,0.85); padding: 0.4rem 0; display: flex; align-items: center; gap: 0.6rem; font-size: 0.93rem; }
.promo-details li::before { content: '✓'; color: #A8D5D5; font-weight: 700; flex-shrink: 0; }
.promo-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.promo-phone-emoji { font-size: 4rem; margin-bottom: 1rem; }
.promo-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.promo-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-bottom: 1.25rem; }
.promo-highlight { background: #A8D5D5; color: var(--primary-dark); padding: 0.55rem 1.2rem; border-radius: 8px; font-size: 1rem; font-weight: 800; display: inline-block; margin-bottom: 1rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: var(--max-w); margin: 0 auto; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 145px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.blog-tag { display: inline-block; background: var(--teal-light); color: var(--primary); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-read-time { font-size: 0.78rem; color: var(--text-muted); }
.blog-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--primary-light); }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; margin: 0; }
.blog-card-footer { padding: 0.9rem 1.4rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.blog-card-date { font-size: 0.78rem; color: var(--text-muted); }
.blog-read-link { font-size: 0.83rem; font-weight: 600; color: var(--primary); }

/* CTA Banner */
.cta-banner { background: var(--primary); padding: 4rem 1.25rem; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.65rem; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* Page / Post Heros */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 4rem 1.25rem; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.post-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 4rem 1.25rem; }
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #A8D5D5; }
.breadcrumb span { margin: 0 0.4rem; }
.post-meta { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.post-tag { background: rgba(168,213,213,0.2); color: #A8D5D5; border: 1px solid rgba(168,213,213,0.35); padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.post-date, .post-read { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.post-hero h1 { color: var(--white); margin-bottom: 1rem; }
.post-intro { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin: 0; }
.post-body { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.post-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--teal-light); padding-bottom: 0.5rem; }
.post-body h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.post-body ul { list-style: none; padding: 0; }
.post-body ul li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; }
.post-body ul li::before { content: '→'; color: var(--primary); font-weight: 700; position: absolute; left: 0; }
.post-cta-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 3rem; text-align: center; }
.post-cta-box h3 { color: var(--white); margin-bottom: 0.6rem; }
.post-cta-box p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }

/* Page Content */
.page-content { max-width: 820px; margin: 0 auto; padding: 4rem 1.25rem; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--teal-light); padding-bottom: 0.5rem; }
.page-content h2:first-of-type { margin-top: 0; }
.info-card { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 1.75rem; margin: 1.5rem 0; display: flex; gap: 1.1rem; align-items: flex-start; }
.info-card-icon { font-size: 2.2rem; flex-shrink: 0; }

/* Guide Page Specific */
.guide-section { max-width: 860px; margin: 0 auto; padding: 4rem 1.25rem; }
.guide-section h2 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--primary); border-left: 4px solid var(--primary); padding-left: 1rem; }
.guide-section h2:first-of-type { margin-top: 0; }
.guide-section h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; color: var(--primary-light); }
.guide-callout { background: var(--teal-light); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.guide-callout p { margin: 0; font-size: 0.95rem; color: var(--primary-dark); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.93rem; }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '□'; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; line-height: 1.4; }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 3.5rem 1.25rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-network { font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-network a { color: #A8D5D5; font-weight: 600; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: #A8D5D5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.83rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: #A8D5D5; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid, .steps-grid, .guides-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 1rem; border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 1rem; }
  .nav-mobile-toggle { display: flex; }
  .site-nav { position: relative; }
  .features-grid, .steps-grid, .guides-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .section-white, .section-warm, .section-teal { padding: 3.5rem 1.25rem; }
  .hero-pillars { flex-direction: column; align-items: center; gap: 0.75rem; }
}
@media (max-width: 480px) {
  .post-cta-box { padding: 1.75rem 1.25rem; }
  .form-embed-wrap { padding: 1.5rem; }
}
