/* Armadillos Ice Cream Shoppe - armadillos.co
   Simple static stylesheet. Colors and sizes measured from the live site. */

:root {
  --navy: #3e4059;
  --blue: #1f8ebc;
  --pink: #c1396c;
  --green: #5fc3ab;
  --ink: #12173f;
  --lavender: #ececf4;
  --yellow: #fee803;
  --sans-head: Helvetica, Arial, sans-serif;
  --sans-body: "Barlow", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

a { color: var(--pink); text-decoration: none; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--pink); padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Top notice bar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 8.5px 16px;
  font-size: 12.6px;
  font-weight: 300;
  line-height: 18.9px;
}
.topbar p { margin: 0 auto; max-width: 622px; }
.topbar strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  background: var(--blue);
  padding: 21px 16px 14px;
  position: relative;
  z-index: 5;
}
.logo { display: block; width: 312px; max-width: 80%; margin: 0 auto; }
.logo img { display: block; width: 100%; height: auto; }

.nav-toggle { display: none; }

.main-nav { margin-top: 28px; }
.main-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center;
  height: 62px; padding: 0 14.5px;
  color: #fff;
  font-family: var(--sans-head);
  font-size: 18.2px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.82px;
  line-height: 1;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible { opacity: .8; }

.has-sub > a::after {
  content: ""; width: 6px; height: 6px; margin: -3px 0 0 14px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; left: 50%; top: 100%;
  width: 224px; transform: translateX(-50%);
  background: var(--green);
  border-radius: 15px;
  box-shadow: 0 2.4px 32px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.sub-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: #fff; font-family: var(--sans-head);
  font-size: 16px; font-weight: 700; line-height: 1.3;
}
.sub-menu a:hover { background: rgba(255,255,255,.2); }

/* Wave under the header */
.wave {
  display: block; width: 100%; height: 30px;
  fill: var(--blue);
  margin-bottom: -28px;
  position: relative; z-index: 4;
}

/* ---------- Page layout ---------- */
.container { width: 88%; max-width: 1200px; margin: 0 auto; }
.narrow { width: 88%; max-width: 980px; margin: 0 auto; }

main { padding: 65px 0 66px; }
.page-body { padding: 65px 0; }
.pb65 { padding: 20px 0 65px; }
.home-wrap { padding: 72px 0; }

h1.page-title {
  margin: 0;
  color: var(--blue);
  font-family: var(--sans-body);
  font-size: 51.24px; font-weight: 700; line-height: 61.5px;
  text-transform: uppercase; letter-spacing: 5.124px;
  text-align: center;
}
hr.dots {
  width: 60%; margin: 10px auto 30px;
  border: 0; border-top: 2.67px dotted var(--green);
}
.draft-note {
  background: rgba(193,57,108,.08); border-left: 4px solid var(--pink);
  padding: 14px 20px; margin: 0 0 32px; font-size: 15px; line-height: 1.6;
}
.draft-note a { font-weight: 700; }
.content { font-size: 19.6px; line-height: 33.32px; }
.content p { margin: 0 0 25.7px; }
.content p:last-child { margin-bottom: 0; }
.content h2.lead {
  margin: 0;
  color: var(--navy);
  font-family: var(--sans-body); font-size: 19.6px; font-weight: 700; line-height: 27.44px;
}

/* ---------- Home cards ---------- */
.cards {
  background: var(--lavender);
  box-shadow: 0 26.46px 53.9px rgba(18,23,63,.16);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.card {
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 45px 20px;
  color: var(--navy);
  font-size: 19.6px; line-height: 31.36px;
}
.card img { width: 128px; height: 128px; display: block; }
.card h3 {
  margin: 19.6px 0 3.3px;
  color: var(--ink);
  font-family: var(--sans-head);
  font-size: 39.8px; font-weight: 700; line-height: 47.8px;
}
.card p { margin: 0; max-width: 294px; }
.card:hover h3 { color: var(--pink); }

/* ---------- Location & hours ---------- */
.address-line {
  text-align: center; margin: 24px 0 0;
  font-size: 19.6px; font-weight: 700; line-height: 1.5;
}
.address-line a { color: var(--pink); }
h2.green-head {
  margin: 0 0 39.2px;
  color: var(--green);
  font-family: var(--sans-head);
  font-size: 43.12px; font-weight: 700; line-height: 47.4px; text-align: center;
  text-transform: uppercase;
}
.map-frame { display: block; width: 100%; height: 477px; border: 0; }
.location-grid {
  max-width: 600px; margin: 0 auto;
}
.hours-box {
  background: rgba(193,57,108,.08);
  padding: 30px;
  font-size: 19.6px; line-height: 33.32px;
}
.hours-box h2, .connect h2, .reach h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--sans-head);
  font-size: 39.2px; font-weight: 700; line-height: 54.9px;
}
.hours-box h2 { letter-spacing: 3.92px; }
.hours-box p { margin: 0 0 25.7px; }
.hours-box p:last-child { margin-bottom: 0; }
.contact-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: 980px; margin: 58.8px auto 0;
}
.connect h2, .reach h2 { color: var(--pink); padding-bottom: 19.6px; }
.social-buttons { display: flex; gap: 78.4px; }
.social-buttons a {
  display: flex; align-items: center; justify-content: center;
  width: 108px; height: 108px;
  background: var(--yellow); color: var(--blue);
  border-radius: 20px;
}
.social-buttons svg { width: 49px; height: 49px; fill: currentColor; }
.social-buttons a:hover { filter: brightness(.95); }
.reach a.phone {
  display: block;
  color: var(--blue);
  font-family: var(--sans-head); font-size: 33.6px; font-weight: 700; line-height: 47px; letter-spacing: -1.18px;
}

/* ---------- Flavor of the day ---------- */
.flavor-head {
  margin: 0 auto 40px; text-align: center;
  font-family: var(--sans-body); font-size: 32.9px; font-weight: 400; font-style: italic; line-height: 39.5px; letter-spacing: -1.15px;
}
.flavor-head span { color: var(--blue); }
.calendar-frame { display: block; width: 100%; height: 600px; border: 0; }
.cal-links { display: flex; justify-content: space-evenly; margin-top: 9px; flex-wrap: wrap; gap: 12px; }
.cal-links a {
  display: flex; align-items: center; gap: 17px;
  min-height: 53px; padding: 7.9px 11.66px;
  background: var(--blue); color: #fff; border-radius: 4.8px;
  text-align: left;
}
.cal-links svg { width: 27px; height: 27px; fill: var(--yellow); flex: none; }
.cal-links .t1 { display: block; font-size: 13.72px; line-height: 13.72px; }
.cal-links .t2 { display: block; font-size: 10.29px; line-height: 10.29px; margin-top: 2px; }
.cal-links a:hover { filter: brightness(.92); }

/* ---------- Business opportunities ---------- */
.biz {
  display: grid; grid-template-columns: 313fr 646fr; gap: 20px; align-items: center;
  font-size: 19.6px; line-height: 33.32px;
}
.biz img { display: block; width: 100%; height: auto; }
.biz p { margin: 0; }

/* ---------- Footer ---------- */
.wave-top { display: block; width: 100%; height: 30px; fill: var(--blue); margin: -30px 0 -1px; position: relative; }
.site-footer { background: var(--blue); padding: 15px 0; }
.footer-inner {
  width: 88%; max-width: 1200px; margin: 20px auto 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: #fff; min-height: 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 700; line-height: 21px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; color: #fff; }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .contact-row { grid-template-columns: 1fr; }
  .social-buttons { gap: 40px; }
  h1.page-title { font-size: 34px; line-height: 42px; letter-spacing: 3px; overflow-wrap: anywhere; }
  .biz { grid-template-columns: 1fr; }
  h2.green-head { font-size: 30px; line-height: 36px; }
  .hours-box h2, .connect h2 { font-size: 30px; line-height: 40px; }
  .cards { grid-template-columns: 1fr; }
  .card h3 { font-size: 32px; line-height: 40px; }
  .content, .hours-box { font-size: 18px; line-height: 30px; }
  .map-frame { height: 360px; }
  .flavor-head { font-size: 26px; line-height: 32px; }
  .calendar-frame { height: 500px; }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block; margin: 12px auto 0;
    background: none; border: 2px solid #fff; border-radius: 6px;
    color: #fff; font-family: var(--sans-head); font-weight: 700;
    font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 8px 18px; cursor: pointer;
  }
  .main-nav { display: none; margin-top: 12px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { height: 48px; justify-content: center; }
  .sub-menu {
    position: static; transform: none; width: auto; margin: 0 0 8px;
    opacity: 1; visibility: visible; box-shadow: none;
  }
  .has-sub > a::after { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
