/* ========================================
   あおぞら設備 - Style
   Sky Blue Fresh Design
======================================== */

:root {
  --sky: #0EA5E9;
  --sky-dark: #0284C7;
  --sky-light: #38BDF8;
  --sky-pale: #F0F9FF;
  --sky-wash: #E0F2FE;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(14,165,233,.1), 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 40px rgba(14,165,233,.12), 0 2px 8px rgba(0,0,0,.06);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }

/* ---- Sample Banner ---- */
.sample-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: var(--gray-900);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  padding: 6px 12px;
  letter-spacing: .04em;
}
.sample-banner a { color: var(--sky-light); text-decoration: underline; }

/* ---- Header ---- */
.header {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14,165,233,.08);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--sky); letter-spacing: .02em; }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  transition: var(--transition); position: relative;
}
.nav-desktop a:not(.nav-cta):hover { color: var(--sky); }
.nav-desktop a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--sky); transform: scaleX(0);
  transition: transform .3s ease;
}
.nav-desktop a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--sky); color: var(--white) !important;
  padding: 8px 20px; border-radius: 50px; font-size: 13px;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--sky-dark); transform: translateY(-1px); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001;
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--gray-700);
  position: absolute; left: 0; transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }
}

/* ---- Mobile Nav ---- */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px;
  height: 100vh; background: var(--white); z-index: 999;
  padding: 100px 32px 40px; transition: right .4s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.1);
}
.mobile-nav.active { right: 0; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
  font-size: 16px; font-weight: 500; color: var(--gray-700);
  padding: 12px 0; border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--sky); padding-left: 8px; }
.mobile-cta {
  margin-top: 16px; background: var(--sky); color: var(--white) !important;
  text-align: center; padding: 14px 0 !important; border-radius: 50px;
  border-bottom: none !important;
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  padding: 120px 20px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.65) 0%, rgba(2,132,199,.45) 50%, rgba(15,23,42,.5) 100%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center; color: var(--white);
  max-width: 700px;
}
.hero-sub {
  font-size: 14px; font-weight: 500; letter-spacing: .15em;
  margin-bottom: 20px; opacity: .9;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(32px, 6vw, 52px); font-weight: 900;
  line-height: 1.3; margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.hero-desc {
  font-size: 16px; line-height: 1.9; opacity: .92; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  letter-spacing: .04em;
}
.btn-primary {
  background: var(--sky); color: var(--white);
  box-shadow: 0 4px 16px rgba(14,165,233,.3);
}
.btn-primary:hover { background: var(--sky-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(14,165,233,.35); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-full { width: 100%; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 1;
}
.hero-scroll span { color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .15em; }
.scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,.3);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--white);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ---- Numbers ---- */
.numbers {
  background: var(--sky);
  padding: 48px 0;
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.number-item { color: var(--white); }
.number-value {
  font-size: clamp(36px, 5vw, 52px); font-weight: 900;
  line-height: 1;
}
.number-unit { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.85); }
.number-label { font-size: 13px; margin-top: 6px; opacity: .85; }

@media (max-width: 768px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* ---- Section Common ---- */
.section { padding: 100px 0; }
.section-label {
  font-size: 12px; font-weight: 700; color: var(--sky);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px); font-weight: 900; text-align: center;
  line-height: 1.4; margin-bottom: 20px; color: var(--gray-900);
}
.section-desc {
  text-align: center; color: var(--gray-500); font-size: 15px;
  max-width: 600px; margin: 0 auto 48px; line-height: 1.9;
}

/* ---- About ---- */
.about { background: var(--sky-pale); }
.about-grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 60px;
  align-items: center; margin-top: 48px;
}
.about-icon-area { display: flex; justify-content: center; }
.about-icon-wrap {
  width: 220px; height: 220px; display: flex;
  align-items: center; justify-content: center;
}
.about-text p { margin-bottom: 16px; font-size: 15px; color: var(--gray-600); line-height: 2; }
.about-motto {
  margin-top: 24px; padding: 20px 24px; background: var(--white);
  border-left: 4px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px; font-weight: 700; color: var(--sky-dark);
}
.motto-mark { color: var(--sky-light); font-size: 24px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-icon-wrap { width: 160px; height: 160px; }
  .about-icon-wrap svg { width: 140px; height: 140px; }
}

/* ---- Packages ---- */
.packages { background: var(--white); }
.pkg-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 40px;
}
.pkg-card {
  background: var(--sky-pale); border-radius: var(--radius-lg); padding: 32px 20px;
  text-align: center; transition: var(--transition); border: 2px solid transparent;
}
.pkg-card:hover { border-color: var(--sky-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg-icon { margin-bottom: 16px; }
.pkg-name { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.pkg-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.pkg-features {
  list-style: none;
  margin-bottom: 16px;
  padding: 0;
}
.pkg-features li {
  font-size: 12px;
  color: var(--gray-500);
  padding: 3px 0;
  position: relative;
  padding-left: 16px;
}
.pkg-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky-light);
  opacity: .5;
}
.pkg-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price-from { font-size: 11px; color: var(--gray-500); margin-right: 4px; }
.price-num { font-size: 36px; font-weight: 900; color: var(--sky); line-height: 1; }
.price-unit { font-size: 14px; font-weight: 700; color: var(--sky-dark); }

.pkg-set { text-align: center; }
.pkg-set-inner {
  display: inline-block; background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
  color: var(--white); padding: 48px 56px; border-radius: var(--radius-lg);
  position: relative; overflow: hidden; max-width: 640px; width: 100%;
}
.pkg-set-badge {
  display: inline-block; background: #FCD34D; color: var(--gray-900);
  font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 50px;
  margin-bottom: 16px;
}
.pkg-set-title { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.pkg-set-desc { font-size: 14px; opacity: .9; margin-bottom: 24px; }
.pkg-set-price { margin-bottom: 24px; }
.set-price-label { display: block; font-size: 13px; opacity: .8; margin-bottom: 4px; }
.set-price-num { font-size: 56px; font-weight: 900; line-height: 1; }
.set-price-unit { font-size: 18px; font-weight: 700; }
.set-price-note { display: block; font-size: 12px; opacity: .7; margin-top: 4px; }
.pkg-set .btn { background: var(--white); color: var(--sky-dark); }
.pkg-set .btn:hover { background: var(--sky-pale); transform: translateY(-2px); }

@media (max-width: 768px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pkg-card { padding: 24px 14px; }
  .price-num { font-size: 28px; }
  .pkg-set-inner { padding: 36px 24px; }
  .set-price-num { font-size: 42px; }
}

/* ---- Strengths ---- */
.strengths { background: var(--sky-pale); }
.str-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.str-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 28px;
  text-align: center; transition: var(--transition);
  box-shadow: var(--shadow);
}
.str-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.str-num {
  font-size: 40px; font-weight: 900; color: var(--sky-light); opacity: .4;
  line-height: 1; margin-bottom: 12px;
}
.str-icon { margin-bottom: 16px; }
.str-title { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; }
.str-desc { font-size: 14px; color: var(--gray-500); line-height: 1.8; text-align: left; }

@media (max-width: 768px) {
  .str-grid { grid-template-columns: 1fr; gap: 16px; }
  .str-card { padding: 32px 24px; }
}

/* ---- Works ---- */
.works { background: var(--white); }
.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.work-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-img {
  position: relative; height: 220px; overflow: hidden;
}
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--sky); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px;
}
.work-body { padding: 24px; }
.work-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.work-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.work-meta { display: flex; gap: 16px; font-size: 12px; color: var(--sky-dark); font-weight: 600; }

@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-img { height: 200px; }
}

/* ---- Voices ---- */
.voices { background: var(--sky-pale); }
.voices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.voice-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.voice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.voice-stars { color: #FBBF24; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.voice-text {
  font-size: 14px; color: var(--gray-600); line-height: 1.9; margin-bottom: 16px;
  font-style: italic;
}
.voice-info { border-top: 1px solid var(--gray-100); padding-top: 12px; }
.voice-area { font-size: 12px; color: var(--gray-500); }

@media (max-width: 768px) {
  .voices-grid { grid-template-columns: 1fr; }
}

/* ---- Flow ---- */
.flow { background: var(--white); }
.flow-steps {
  max-width: 680px; margin: 48px auto 0;
}
.flow-step {
  display: flex; gap: 24px; position: relative; padding-bottom: 40px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step:not(:last-child)::after {
  content: ''; position: absolute; left: 24px; top: 52px;
  width: 2px; bottom: 0; background: var(--sky-wash);
}
.flow-num {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--sky); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; position: relative; z-index: 1;
}
.flow-content { padding-top: 4px; }
.flow-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--gray-900); }
.flow-content p { font-size: 14px; color: var(--gray-500); line-height: 1.8; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.cta-text { color: var(--white); }
.cta-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 8px;
}
.cta-desc {
  font-size: 14px;
  opacity: .9;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-white-sky {
  background: var(--white);
  color: var(--sky-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.btn-white-sky:hover {
  background: var(--sky-pale);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* ---- FAQ ---- */
.faq { background: var(--white); }
.faq-list {
  max-width: 740px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: var(--transition);
}
.faq-q:hover {
  color: var(--sky);
}
.faq-arrow {
  flex-shrink: 0;
  transition: transform .3s ease;
  color: var(--sky);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.active .faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}
.faq-a p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.9;
  padding: 0 4px;
}

/* ---- Company ---- */
.company { background: var(--sky-pale); }
.company-table {
  max-width: 740px; margin: 48px auto 0;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 16px 24px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.company-table th {
  width: 140px; background: var(--sky-pale); font-weight: 600;
  color: var(--gray-700); white-space: nowrap;
}
.company-table td { color: var(--gray-600); }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
  .company-table th,
  .company-table td { display: block; width: 100%; padding: 10px 20px; }
  .company-table th { padding-bottom: 2px; background: transparent; font-size: 12px; color: var(--sky); }
  .company-table td { padding-top: 2px; padding-bottom: 16px; }
}

/* ---- Contact ---- */
.contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  margin-top: 48px; align-items: start;
}
.contact-phone {
  background: var(--sky-pale); border-radius: var(--radius-lg); padding: 40px 32px;
  text-align: center;
}
.contact-phone-label { font-size: 13px; color: var(--gray-500); margin-bottom: 12px; }
.contact-phone-num {
  display: block; font-size: 28px; font-weight: 900; color: var(--sky);
  margin-bottom: 8px; letter-spacing: .02em;
}
.contact-phone-time { font-size: 12px; color: var(--gray-500); }

.contact-form { }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.req {
  display: inline-block; background: var(--sky); color: var(--white);
  font-size: 10px; padding: 1px 6px; border-radius: 4px; margin-left: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: var(--transition); background: var(--white);
  color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.form-group textarea { resize: vertical; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,.7); padding: 60px 0 24px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { font-size: 20px; font-weight: 700; color: var(--white); }
.footer-copy { font-size: 13px; margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-size: 13px; transition: var(--transition); }
.footer-links a:hover { color: var(--sky-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: 12px;
}
.footer-credit a { color: var(--sky-light); text-decoration: underline; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 12px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

/* Delay utilities */
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }

/* ---- Decorative Elements ---- */
.about::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.06) 0%, transparent 70%);
  pointer-events: none;
}

.about { position: relative; overflow: hidden; }

.packages::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky-wash), transparent);
}

.packages { position: relative; }

.strengths::after {
  content: '';
  position: absolute;
  top: 40px;
  left: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(14,165,233,.04);
  pointer-events: none;
}

.strengths { position: relative; overflow: hidden; }

/* ---- Cloud decoration for hero ---- */
.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

/* ---- Hover Micro-interactions ---- */
.str-card .str-num {
  transition: var(--transition);
}
.str-card:hover .str-num {
  color: var(--sky);
  opacity: 1;
  transform: scale(1.1);
}

.flow-num {
  transition: var(--transition);
}
.flow-step:hover .flow-num {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(14,165,233,.3);
}

.voice-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 60px;
  line-height: 1;
  color: var(--sky);
  opacity: .08;
  font-family: Georgia, serif;
}

.voice-card { position: relative; overflow: hidden; }

/* ---- CTA highlight pulse ---- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(14,165,233,.3); }
  50% { box-shadow: 0 4px 28px rgba(14,165,233,.5); }
}

.pkg-set .btn {
  animation: pulse 2.5s ease-in-out infinite;
}

.pkg-set .btn:hover {
  animation: none;
}

/* ---- Selection color ---- */
::selection {
  background: rgba(14,165,233,.2);
  color: var(--gray-900);
}

::-moz-selection {
  background: rgba(14,165,233,.2);
  color: var(--gray-900);
}

/* ---- Scrollbar styling ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--sky-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sky);
}

/* ---- Focus styles for accessibility ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

/* ---- Loading shimmer for images ---- */
.work-img {
  background: linear-gradient(110deg, var(--gray-100) 8%, var(--sky-wash) 18%, var(--gray-100) 33%);
  background-size: 200% 100%;
}

.work-img img {
  position: relative;
  z-index: 1;
}

/* ---- Number section divider ---- */
.numbers::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-light), var(--sky-dark), var(--sky-light));
}

.numbers { position: relative; }

/* ---- Print styles ---- */
@media print {
  .header, .sample-banner, .hero-scroll, .hamburger, .mobile-nav { display: none !important; }
  .hero { min-height: auto; padding: 40px 20px; }
  .section { padding: 40px 0; }
  body { font-size: 12px; }
}

/* ---- Tablet breakpoint ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 32px; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .str-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .str-card { padding: 28px 20px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid .work-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid .voice-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .contact-grid { grid-template-columns: 280px 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 240px 1fr; gap: 40px; }
  .nav-desktop { gap: 20px; }
  .nav-desktop a { font-size: 13px; }
}

/* ---- Small phone ---- */
@media (max-width: 360px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .number-value { font-size: 32px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; }
  .contact-phone-num { font-size: 22px; }
  .set-price-num { font-size: 36px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

/* ---- Responsive Utility ---- */
@media (max-width: 480px) {
  .hero { min-height: 90vh; padding: 100px 16px 60px; }
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 14px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 13px; margin-bottom: 32px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .about-motto { font-size: 15px; padding: 16px 20px; }
  .flow-step { gap: 16px; }
  .flow-num { width: 42px; height: 42px; font-size: 17px; }
  .flow-step:not(:last-child)::after { left: 20px; }
  .pkg-set-title { font-size: 22px; }
  .str-num { font-size: 32px; }
}

/* ---- Landscape phones ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 100px 20px 60px; }
  .hero-scroll { display: none; }
}

/* ---- Prefers reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- Dark mode hint (optional enhancement) ---- */
@media (prefers-color-scheme: dark) {
  /* Placeholder: site is light-theme by design for the fresh sky concept */
}
