/* =============================================
   SITE 5: ArcticFresh Commercial — Edmonton
   CONCEPT: Ice Glassmorphism Ultra-Minimal
   VIBE: Frost, pristine white, icy blue, 
   translucent glass cards, heavy blur, 
   clinical and highly modern
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

:root {
  --ice-blue: #E8F0FE;
  --frost: rgba(255, 255, 255, 0.7);
  --frost-dark: rgba(232, 240, 254, 0.4);
  --glacier: #A8C7FA;
  --glacier-deep: #0B57D0;
  --text-dark: #1F1F1F;
  --text-gray: #5F6368;
  --white: #FFFFFF;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ice-blue);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at top right, #FFFFFF 0%, #E8F0FE 60%);
  min-height: 100vh;
}

::selection { background: var(--glacier-deep); color: var(--white); }
a { color: inherit; text-decoration: none; }

/* Filter hack to make earth-toned images look icy */
img.icy-filter {
  filter: grayscale(0.8) sepia(1) hue-rotate(180deg) brightness(1.3) contrast(1.1);
}

.glass-panel {
  background: var(--frost);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(11, 87, 208, 0.05);
  border-radius: 24px;
}

.af-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Fade Up Anim */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============ HEADER ============ */
.af-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
}

.af-nav-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  border-radius: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.af-logo { font-weight: 700; font-size: 1.2rem; color: var(--glacier-deep); letter-spacing: -0.03em; }

.af-links { display: flex; gap: 32px; align-items: center; }
.af-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-gray); transition: color 0.3s; }
.af-links a:hover { color: var(--glacier-deep); }

.btn-ice {
  background: var(--white);
  color: var(--glacier-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(11,87,208,0.1);
  transition: all 0.3s;
}
.btn-ice:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11,87,208,0.15);
}

.btn-solid {
  background: var(--glacier-deep);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-solid:hover { background: #0842A0; }

.af-mob-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--glacier-deep); cursor: pointer; }

/* ============ HERO ============ */
.af-hero { padding: 160px 0 100px; }
.af-hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }

.af-hero-text h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 24px; }
.af-hero-text h1 strong { font-weight: 700; color: var(--glacier-deep); }
.af-hero-text p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 40px; max-width: 460px; font-weight: 300; }
.af-hero-acts { display: flex; gap: 16px; }

.af-hero-img-wrap { position: relative; border-radius: 32px; overflow: hidden; height: 600px; box-shadow: 0 20px 40px rgba(11,87,208,0.08); }
.af-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.glass-badge { position: absolute; bottom: 30px; left: -20px; padding: 24px; border-radius: 20px; max-width: 240px; }
.glass-badge .val { display: block; font-size: 2.5rem; font-weight: 700; color: var(--glacier-deep); line-height: 1; margin-bottom: 8px; }
.glass-badge .lbl { font-size: 0.85rem; font-weight: 500; color: var(--text-gray); }

/* ============ GRID SERVICES ============ */
.af-services { padding: 100px 0; }
.af-sec-head { text-align: center; margin-bottom: 60px; }
.af-sec-head h2 { font-size: 2.5rem; font-weight: 300; letter-spacing: -0.03em; }

.af-s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.af-s-card { padding: 40px; transition: transform 0.4s; display: flex; flex-direction: column; }
.af-s-card:hover { transform: translateY(-10px); }

.af-s-icon { width: 48px; height: 48px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--glacier-deep); margin-bottom: 24px; box-shadow: 0 4px 12px rgba(11,87,208,0.06); }
.af-s-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.af-s-card p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 24px; flex-grow: 1; font-weight: 300; }
.af-s-card a { font-size: 0.9rem; font-weight: 700; color: var(--glacier-deep); }

/* ============ SEO TEXT BLOCK ============ */
.af-seo-block { padding: 100px 0; }
.af-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.af-seo-col h3 { font-size: 1.8rem; font-weight: 300; margin-bottom: 20px; color: var(--glacier-deep); }
.af-seo-col p { color: var(--text-gray); margin-bottom: 16px; font-weight: 300; }

/* ============ CONTACT ============ */
.af-contact { padding: 100px 0; }
.af-contact-box { padding: 60px; }
.af-c-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.af-c-info h2 { font-size: 2.5rem; font-weight: 300; letter-spacing: -0.03em; margin-bottom: 16px; }
.af-c-info p { color: var(--text-gray); margin-bottom: 40px; font-weight: 300; }
.af-c-line { margin-bottom: 24px; }
.af-c-line strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--glacier-deep); margin-bottom: 4px; }
.af-c-line span, .af-c-line a { font-size: 1.1rem; color: var(--text-dark); font-weight: 500; }

.af-form .f-grp { margin-bottom: 20px; }
.af-form input, .af-form select, .af-form textarea { width: 100%; padding: 16px 20px; border: 1px solid rgba(255,255,255,0.6); border-radius: 12px; background: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-dark); transition: all 0.3s; }
.af-form input:focus, .af-form select:focus, .af-form textarea:focus { outline: none; background: var(--white); box-shadow: 0 4px 12px rgba(11,87,208,0.1); border-color: var(--white); }
.af-form textarea { height: 120px; resize: vertical; }

/* ============ BLOG TEASER ============ */
.af-blog { padding: 80px 0 120px; }
.af-b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.af-b-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s; }
.af-b-card:hover { transform: translateY(-8px); }
.af-b-img { height: 260px; overflow: hidden; }
.af-b-img img { width: 100%; height: 100%; object-fit: cover; }
.af-b-txt { padding: 32px; flex-grow: 1; }
.af-b-meta { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--glacier-deep); margin-bottom: 12px; }
.af-b-txt h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.af-b-txt p { color: var(--text-gray); font-weight: 300; }

/* ============ FOOTER ============ */
.af-footer { padding: 80px 0 40px; position: relative; border-top: 1px solid rgba(255,255,255,0.8); }
.af-f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.af-f-brand { font-size: 1.5rem; font-weight: 700; color: var(--glacier-deep); letter-spacing: -0.03em; margin-bottom: 16px; }
.af-f-desc { color: var(--text-gray); font-weight: 300; font-size: 0.95rem; max-width: 300px; }
.af-footer h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; }
.af-footer ul { list-style: none; }
.af-footer li { margin-bottom: 12px; }
.af-footer a { color: var(--text-gray); font-weight: 300; transition: color 0.3s; }
.af-footer a:hover { color: var(--glacier-deep); }
.af-f-bot { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.6); font-size: 0.85rem; color: var(--text-gray); }
.af-f-links a { margin-left: 24px; }

/* ============ INNER PAGES ============ */
.af-inner-head { padding: 180px 0 80px; text-align: center; }
.af-inner-head h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; margin-bottom: 20px; }
.af-inner-head p { font-size: 1.15rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; font-weight: 300; }

.af-page-wrap { padding: 40px 0 120px; }

/* Detail */
.af-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 60px; }
.af-prose img { border-radius: 24px; margin-bottom: 40px; }
.af-prose h2 { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; margin: 40px 0 20px; color: var(--glacier-deep); }
.af-prose h3 { font-size: 1.3rem; font-weight: 700; margin: 30px 0 16px; }
.af-prose p { margin-bottom: 16px; font-weight: 300; font-size: 1.05rem; color: var(--text-gray); }
.af-prose ul { margin: 20px 0 30px; padding-left: 20px; }
.af-prose li { margin-bottom: 10px; font-weight: 300; color: var(--text-gray); }
.af-prose strong { color: var(--text-dark); }
.af-sidebar { position: sticky; top: 120px; }
.af-sidebar-menu { padding: 20px; margin-bottom: 30px; }
.af-sidebar-menu a { display: block; padding: 12px 16px; font-weight: 500; color: var(--text-gray); transition: all 0.3s; border-radius: 8px; margin-bottom: 4px; }
.af-sidebar-menu a:hover, .af-sidebar-menu a.active { background: var(--white); color: var(--glacier-deep); box-shadow: 0 4px 12px rgba(11,87,208,0.05); }
.af-sidebar-contact { padding: 32px; text-align: center; }
.af-sidebar-contact h4 { font-size: 1.1rem; margin-bottom: 12px; }
.af-sidebar-contact p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 16px; font-weight: 300; }

/* Thank you */
.af-ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.af-step { padding: 40px; text-align: center; }
.af-step-num { font-size: 2.5rem; font-weight: 700; color: var(--glacier-deep); margin-bottom: 16px; opacity: 0.3; }
.af-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }

/* Cookie */
.af-cookie { position: fixed; bottom: 30px; left: 30px; max-width: 400px; padding: 32px; z-index: 9999; transform: translateY(150%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.af-cookie.show { transform: translateY(0); }
.af-cookie p { font-size: 0.85rem; font-weight: 300; margin-bottom: 20px; color: var(--text-gray); }
.af-cookie a { color: var(--glacier-deep); font-weight: 500; text-decoration: underline; }
.af-c-btns { display: flex; gap: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .af-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .af-hero-text p { margin: 0 auto 40px; }
  .af-hero-acts { justify-content: center; }
  .af-s-grid { grid-template-columns: 1fr 1fr; }
  .af-seo-grid { grid-template-columns: 1fr; gap: 40px; }
  .af-c-split { grid-template-columns: 1fr; }
  .af-detail-grid { grid-template-columns: 1fr; }
  .af-ty-steps { grid-template-columns: 1fr; }
  .af-f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .af-container { padding: 0 24px; }
  .af-s-grid { grid-template-columns: 1fr; }
  .af-b-grid { grid-template-columns: 1fr; }
  .af-f-grid { grid-template-columns: 1fr; }
  .af-f-bot { flex-direction: column; gap: 16px; text-align: center; }
  .af-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--frost); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); flex-direction: column; padding: 24px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.8); }
  .af-links.active { display: flex; }
  .af-mob-btn { display: block; }
  .af-cookie { left: 20px; right: 20px; max-width: none; bottom: 20px; }
}
