/* ============================================
   DeWitt Veterinary Clinic — Site Stylesheet
   Solar Pixel | www.solarpixel.com
   ============================================ */

/* ---- Custom Properties ---- */
:root {
  --color-primary:     #892735;
  --color-dark:        #5f031b;
  --color-darker:      #3d0110;
  --color-cream:       #e3d8c0;
  --color-cream-light: #eee7d1;
  --color-cream-mid:   #d4c9ae;
  --color-cream-tan:   #c9bfa6;
  --color-text:        #333333;
  --color-text-light:  #656565;
  --color-white:       #ffffff;
  --color-bg:          #f5f0e8;
  --color-border:      #d4c9ae;

  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --font-sans:  system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1100px;
  --radius:    6px;
  --shadow:    0 2px 8px rgba(95, 3, 27, 0.12);
  --shadow-sm: 0 1px 4px rgba(95, 3, 27, 0.10);

  --transition: 0.2s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-dark);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: normal;
  line-height: 1.3;
}

h1 { font-size: 2rem;    margin-bottom: 0.6rem; }
h2 { font-size: 1.6rem;  margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
h4 { font-size: 1.1rem;  margin-bottom: 0.35rem; }

p {
  margin-bottom: 0.9rem;
  line-height: 1.65;
}

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}

li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
}

/* ---- Layout Utility ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


/* ============================================
   HEADER
   ============================================ */
#site-header {
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-logo a {
  display: inline-block;
}

.header-logo img {
  height: auto;
  max-height: 90px;
  width: auto;
  border: none;
}

.header-contact {
  text-align: right;
  font-family: var(--font-serif);
}

.header-phone {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: normal;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-phone a {
  color: var(--color-primary);
  text-decoration: none;
}

.header-phone a:hover {
  color: var(--color-dark);
  text-decoration: none;
}

.header-tagline {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 0.1rem;
}


/* ============================================
   NAVIGATION
   ============================================ */
#site-nav {
  background-color: var(--color-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  position: relative;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 1rem;
  color: var(--color-cream);
  font-size: 1.5rem;
  line-height: 1;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  margin: 5px 0;
  transition: all var(--transition);
}

/* Main nav list */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: stretch;
  padding: 0;
  margin: 0;
}

.nav-menu > li {
  position: relative;
  margin-bottom: 0;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.85rem 1.1rem;
  color: var(--color-cream-light);
  font-family: var(--font-serif);
  font-size: 1rem;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background-color: var(--color-darker);
  color: var(--color-white);
  text-decoration: none;
}

/* Dropdown arrow */
.nav-menu > li.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.7rem;
  margin-left: 0.3rem;
  opacity: 0.7;
}

/* Dropdown */
.nav-menu .dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--color-dark);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.nav-menu li.has-dropdown:hover .dropdown,
.nav-menu li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .dropdown li a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--color-cream-light);
  font-size: 0.92rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.nav-menu .dropdown li a:hover {
  background-color: var(--color-darker);
  color: var(--color-white);
}


/* ============================================
   HERO / MARKETING BANNER
   ============================================ */
#hero {
  background: linear-gradient(180deg, var(--color-cream-light) 0%, var(--color-cream-tan) 100%);
  border-top: 1px solid #dbcebb;
  border-bottom: 2px solid #887f72;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  min-height: 220px;
}

.hero-text {
  padding: 2rem 1.5rem 2rem 1.25rem;
}

.hero-text h1 {
  font-size: 1.9rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image {
  max-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image img {
  height: 260px;
  width: auto;
  object-fit: cover;
  display: block;
}

/* Full-bleed photo hero — all pages */
#hero.hero-photo {
  background-color: #261808;
  background-size: cover;
  background-position: center;
  border-top: none;
  border-bottom: 3px solid rgba(0,0,0,0.3);
  position: relative;
}

#hero.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(45,32,15,0.72) 0%, rgba(70,55,28,0.55) 100%);
  pointer-events: none;
}

#hero.hero-photo .container {
  position: relative;
  z-index: 1;
}

#hero.hero-photo .hero-inner {
  min-height: 270px;
  grid-template-columns: 1fr;
}

#hero.hero-photo .hero-text {
  padding: 2.5rem 1.25rem;
  max-width: 680px;
}

#hero.hero-photo .hero-text h1 {
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

#hero.hero-photo .hero-text p {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

#hero.hero-photo .btn-outline {
  color: var(--color-cream);
  border-color: rgba(227,216,192,0.65);
}

#hero.hero-photo .btn-outline:hover {
  background: rgba(227,216,192,0.15);
  border-color: var(--color-cream);
  color: var(--color-white);
}

/* Homepage tall variant */
#hero.hero-photo.hero-photo-home .hero-inner {
  min-height: 380px;
}

#hero.hero-photo.hero-photo-home .hero-text {
  padding: 3rem 1.25rem;
}

#hero.hero-photo.hero-photo-home .hero-text h1 {
  font-size: 2.6rem;
}

#hero.hero-photo.hero-photo-home .hero-text p {
  font-size: 1.2rem;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-outline:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-light {
  background-color: var(--color-cream);
  color: var(--color-dark);
  border-color: var(--color-cream-mid);
}

.btn-light:hover {
  background-color: var(--color-cream-mid);
  color: var(--color-darker);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-cream);
  border-color: rgba(227, 216, 192, 0.5);
}

.btn-outline-light:hover {
  background-color: rgba(227, 216, 192, 0.12);
  border-color: var(--color-cream);
  color: var(--color-white);
}

.btn-lg {
  padding: 0.8rem 1.8rem;
  font-size: 1.05rem;
}


/* ============================================
   HOMEPAGE — THREE COLUMNS
   ============================================ */
#content-home {
  padding: 2rem 0;
}

.home-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.home-col {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.home-col-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  padding: 1.1rem 1.25rem;
  text-align: center;
}

.home-col-header h2 {
  font-size: 1.2rem;
  color: var(--color-white);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  letter-spacing: 0.04em;
  margin: 0;
}

.home-col-header a {
  color: var(--color-white);
  text-decoration: none;
}

.home-col-header a:hover {
  text-decoration: underline;
  color: var(--color-cream);
}

.home-col-body {
  padding: 1.25rem;
  flex: 1;
}

.home-col-body p {
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.home-col-body ul {
  font-size: 0.92rem;
  padding-left: 1.2rem;
}

.home-col-body li {
  margin-bottom: 0.4rem;
}

.home-col-body .btn {
  margin-top: 0.5rem;
}

/* Service icon images in homepage columns */
.col-icon {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}


/* ============================================
   INTERIOR PAGE — SIDEBAR LAYOUT
   ============================================ */
#content-interior {
  padding: 2rem 0;
}

.interior-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.interior-layout.sidebar-left {
  grid-template-columns: 300px 1fr;
}

.main-content h1 {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.main-content h2 {
  margin-top: 1.5rem;
}

.main-content img {
  border-radius: var(--radius);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  margin: 0.5rem 0 1rem;
}

.main-content img.float-right {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 280px;
}

.main-content img.float-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 280px;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 1.5rem;
}

.sidebar-box {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.sidebar-box-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  padding: 0.8rem 1rem;
}

.sidebar-box-header h3 {
  font-size: 1rem;
  color: var(--color-white);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  letter-spacing: 0.04em;
  margin: 0;
}

.sidebar-box-body {
  padding: 1rem;
}

.sidebar-box-body p {
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.sidebar-box-body ul {
  font-size: 0.88rem;
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--color-bg);
  color: var(--color-primary);
  padding-left: 1.3rem;
}

/* Staff profiles */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.staff-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
}

.staff-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--color-cream);
  box-shadow: var(--shadow);
}

.staff-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.staff-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin: 0;
}

/* Service animal buttons */
.service-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.service-btn-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  min-width: 140px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-btn-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--color-primary);
  text-decoration: none;
}

.service-btn-card img {
  width: 55px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
  border: none;
  box-shadow: none;
}

.service-btn-card span {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: normal;
}


/* ============================================
   CONTACT / INFO BOXES
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.info-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}

.info-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.info-box p, .info-box a:not(.btn) {
  font-size: 0.92rem;
  color: var(--color-text);
}

.info-box a:not(.btn):hover {
  color: var(--color-primary);
}


/* ============================================
   FORMS
   ============================================ */
.form-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 680px;
}

.form-section-title {
  font-size: 1.1rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
  margin: 1.5rem 0 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.88rem;
  color: var(--color-text);
  font-family: var(--font-serif);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--color-text);
  background: #fdfaf5;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(137, 39, 53, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.4rem 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.policy-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1rem 0;
  color: var(--color-text-light);
}

.policy-box h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.policy-box p, .policy-box li {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  align-items: center;
}

.error-msg {
  background: #fff0f0;
  border: 1px solid #ffaaaa;
  color: #cc0000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.success-msg {
  background: #f0fff4;
  border: 1px solid #aaddaa;
  color: #186f2e;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}


/* ============================================
   GOOGLE MAP
   ============================================ */
.map-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  margin: 0.75rem 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}


/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darker) 100%);
  color: var(--color-cream-light);
  padding: 2rem 0 1rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.25);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(227, 216, 192, 0.2);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(227, 216, 192, 0.35);
}

.footer-col p,
.footer-col address {
  font-size: 0.88rem;
  color: rgba(227, 216, 192, 0.8);
  font-style: normal;
  line-height: 1.65;
}

.footer-col a {
  color: var(--color-cream);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
}

.footer-nav-list li {
  margin-bottom: 0.4rem;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: rgba(227, 216, 192, 0.8);
}

.footer-nav-list a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(227, 216, 192, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-bottom a {
  color: rgba(227, 216, 192, 0.6);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-cream);
}

/* Facebook link */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-cream);
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(227, 216, 192, 0.3);
  border-radius: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.social-link:hover {
  background: rgba(227, 216, 192, 0.1);
  border-color: rgba(227, 216, 192, 0.6);
  text-decoration: none;
  color: var(--color-white);
}


/* ============================================
   DECORATIVE & UTILITY
   ============================================ */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.5rem 0;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }

.notice {
  background: #fff8f0;
  border-left: 4px solid var(--color-primary);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  margin: 1rem 0;
}

.img-shadow {
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  :root { --max-width: 100%; }

  .interior-layout,
  .interior-layout.sidebar-left {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .header-contact {
    text-align: center;
  }

  .header-phone {
    font-size: 1.25rem;
  }

  /* Mobile nav */
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: var(--color-cream-light);
  }

  .nav-toggle .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle .hamburger-icon span {
    margin: 0;
  }

  .nav-menu {
    flex-direction: column;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li > a {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-menu .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    border-top: none;
    border-left: 3px solid var(--color-primary);
    box-shadow: none;
    padding: 0;
  }

  .nav-menu .dropdown li a {
    padding-left: 2rem;
  }

  .home-columns {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  #hero.hero-photo.hero-photo-home .hero-inner {
    min-height: 180px;
  }

  #hero.hero-photo.hero-photo-home .hero-text {
    padding: 1.25rem 1.25rem;
  }

  #hero.hero-photo.hero-photo-home .hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
  }

  #hero.hero-photo.hero-photo-home .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Resource buttons */
.resource-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.resource-btns-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.resource-btn {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.resource-btn:hover {
  background: var(--color-cream);
  border-color: var(--color-cream-mid);
  box-shadow: var(--shadow);
  transform: translateX(4px);
  color: var(--color-text);
  text-decoration: none;
}

.resource-btn-icon {
  font-size: 1.6rem;
  color: var(--color-primary);
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
  transition: color 0.2s;
}

.resource-btn:hover .resource-btn-icon {
  color: var(--color-primary);
}

.resource-btn-text {
  flex: 1;
}

.resource-btn-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.resource-btn-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 0.1rem;
  transition: color 0.2s;
}

.resource-btn:hover .resource-btn-desc {
  color: var(--color-text-light);
}

.resource-btn-chevron {
  font-size: 0.85rem;
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: color 0.2s;
}

.resource-btn:hover .resource-btn-chevron {
  color: var(--color-text-light);
}

/* Staff full profiles (photo + bio layout) */
.staff-profiles {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 1.5rem 0;
}

.staff-profile {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.staff-profile img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.staff-profile-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.staff-profile-info .staff-role {
  font-style: italic;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.staff-profile-info p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .staff-profile {
    grid-template-columns: 1fr;
  }

  .staff-profile img {
    width: 140px;
    height: 175px;
    margin: 0 auto;
  }
}

/* Facebook feeds section */
#facebook-feeds {
  background: var(--color-cream);
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}

#facebook-feeds h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

.fb-feeds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.fb-feed-col h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fb-feed-col .fb-page {
  display: block;
  width: 100%;
}

.fb-feeds-grid .fb-feed-col {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateZ(0); /* forces GPU compositing layer — required to clip iframe corners */
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari iframe clip fix */
}

.sidebar-fb .fb-feed-col {
  padding: 0.75rem 1rem;
}

.sidebar-fb-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

@media (max-width: 700px) {
  .fb-feeds-grid {
    grid-template-columns: 1fr;
  }
}

/* Staff photo strip */
#staff-photo-strip {
  background: var(--color-bg);
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.photo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-strip-item {
  position: relative;
  margin-left: -28px;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.photo-strip-item:first-child {
  margin-left: 0;
}

.photo-strip-item:hover {
  transform: rotate(0deg) translateY(-18px) scale(1.08);
  z-index: 20;
}

.photo-strip-item img {
  width: 145px;
  height: 185px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 7px solid #fff;
  box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.25);
}

/* Print */
@media print {
  #site-nav, .sidebar, .hero-actions, #site-footer .social-links { display: none; }
  body { background: white; color: black; }
}
