@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES – edit colors here in one place
   ============================================= */
:root {
  --navy:   #455073;
  --gold:   #c0904d;
  --blue:   #6077c0;
  --white:  #f5f4f0;
  --dark:   #1e2235;
  --mid:    #626478;
  --card-bg:#ffffff;
  --shadow: 0 4px 24px rgba(69,80,115,0.13);
  --radius: 12px;
  --nav-h:  70px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--dark);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.15;
}

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

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(30,34,53,0.96);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 6%;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 6% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(96,119,192,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(192,144,77,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-text .tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: #fff;
  margin-bottom: 0.4rem;
}

.hero-text h1 span { color: var(--gold); }

.hero-text .subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

.hero-text p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

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

/* =============================================
   HERO PHOTO
   ============================================= */
.hero-photo-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0.4;
  transform: rotate(3deg);
}

.hero-photo {
  width: 340px;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}

.hero-photo-placeholder {
  width: 340px;
  height: 420px;
  border-radius: var(--radius);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero-photo-placeholder svg { opacity: 0.3; }

/* =============================================
   SECTION COMMON
   ============================================= */
section { padding: 90px 6%; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.section-title span { color: var(--navy); }

.section-sub {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

/* =============================================
   ABOUT SECTION (homepage)
   ============================================= */
.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px; left: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.4;
}

.about-img {
  width: 100%;
  max-width: 420px;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

.about-content { padding-left: 1rem; }

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

.about-content p {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.78rem;
  color: var(--mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =============================================
   SERVICES PREVIEW (homepage)
   ============================================= */
.services-preview {
  background: var(--dark);
}

.services-preview .section-title { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* =============================================
   PORTFOLIO HIGHLIGHTS (homepage)
   ============================================= */
.portfolio-section {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(69,80,115,0.2);
}

.portfolio-card-img {
  width: 100%;
  height: 200px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  overflow: hidden;
  position: relative;
}

.portfolio-card-body {
  padding: 1.5rem;
}

.portfolio-card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.portfolio-card p {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.6;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(96,119,192,0.12);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

/* =============================================
   CTA STRIP
   ============================================= */
.cta-strip {
  background: var(--navy);
  padding: 70px 6%;
  text-align: center;
}

.cta-strip h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-strip p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.page-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 80px) 6% 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.services-full {
  background: var(--white);
  padding: 90px 6%;
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card-full {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.service-card-full:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-5px);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(69,80,115,0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-card-full h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.service-card-full p {
  color: var(--mid);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  background: var(--white);
  padding: 90px 6%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--mid);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(69,80,115,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item-text .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-bottom: 2px;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-item-text a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid;
  transition: all 0.25s;
}

.social-link.fb {
  border-color: #1877f2;
  color: #1877f2;
}
.social-link.fb:hover { background: #1877f2; color: #fff; }

.social-link.ig {
  border-color: #e1306c;
  color: #e1306c;
}
.social-link.ig:hover { background: #e1306c; color: #fff; }

.social-link.wa {
  border-color: #25d366;
  color: #25d366;
}
.social-link.wa:hover { background: #25d366; color: #fff; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 1.8rem;
}

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

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0dfd8;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, outline-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  background: #fff;
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
  letter-spacing: 0.04em;
}

.form-submit:hover { background: var(--gold); }

.form-success {
  display: none;
  background: rgba(37,211,102,0.1);
  border: 1.5px solid #25d366;
  border-radius: 8px;
  padding: 14px;
  color: #1a7a42;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px 6%;
  font-size: 0.85rem;
}

footer a { color: var(--gold); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner      { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-photo-wrap { order: -1; }
  .hero-text p     { margin: 0 auto 2.2rem; }
  .hero-btns       { justify-content: center; }
  .about-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .about-content   { padding-left: 0; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .form-row        { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    padding: 1.5rem 6%;
    gap: 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hamburger { display: flex; }
  .hero-photo, .hero-photo-placeholder { width: 260px; height: 320px; }
  .services-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BLOG PREVIEW SECTION (homepage)
   ============================================= */
.blog-section { background: #fff; padding: 90px 6%; }

.blog-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.2rem;
  cursor: grab;
}

.blog-grid:active { cursor: grabbing; }

/* Scrollbar styling */
.blog-grid::-webkit-scrollbar { height: 5px; }
.blog-grid::-webkit-scrollbar-track { background: #eee; border-radius: 10px; }
.blog-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 300px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(69,80,115,0.2); }

.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--navy); }

.blog-card-img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

.blog-card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
  display: inline-block;
  background: rgba(192,144,77,0.12);
  color: var(--gold);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 0.8rem;
}

.blog-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.6rem; line-height: 1.3; }
.blog-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.65; flex: 1; margin-bottom: 1.2rem; }

.blog-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--navy); transition: color 0.2s, gap 0.2s;
}
.blog-card .read-more:hover { color: var(--gold); gap: 10px; }

/* =============================================
   BLOG POST PAGES
   ============================================= */
.blog-hero { background: var(--dark); padding: calc(var(--nav-h) + 70px) 6% 60px; }
.blog-hero-inner { max-width: 820px; margin: 0 auto; }
.blog-hero .blog-tag { margin-bottom: 1rem; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.blog-hero .blog-meta { font-size: 0.85rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }

.blog-body { background: var(--white); padding: 70px 6%; }
.blog-body-inner { max-width: 820px; margin: 0 auto; }

.blog-body-inner h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.9rem;
  color: var(--navy); margin: 2.5rem 0 0.8rem;
}
.blog-body-inner h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  color: var(--dark); margin: 1.8rem 0 0.6rem;
}
.blog-body-inner p { font-size: 1rem; color: #444; line-height: 1.85; margin-bottom: 1.2rem; }
.blog-body-inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.blog-body-inner a:hover { color: var(--gold); }
.blog-body-inner ul { margin: 0.8rem 0 1.2rem 1.4rem; }
.blog-body-inner ul li { font-size: 1rem; color: #444; line-height: 1.8; margin-bottom: 0.4rem; }

.blog-tool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem; margin: 1.5rem 0 2rem;
}
.blog-tool-card {
  background: #fff; border-radius: var(--radius); padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow); border-left: 4px solid var(--gold); transition: transform 0.2s;
}
.blog-tool-card:hover { transform: translateY(-3px); }
.blog-tool-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.4rem; }
.blog-tool-card p { font-size: 0.84rem; color: var(--mid); line-height: 1.6; margin-bottom: 0.6rem; }
.blog-tool-card a { font-size: 0.8rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.blog-tool-card a:hover { color: var(--navy); }

.blog-video-wrap { border-radius: var(--radius); overflow: hidden; background: var(--dark); margin: 1.5rem 0 2rem; box-shadow: var(--shadow); }
.blog-video-wrap video { width: 100%; display: block; max-height: 460px; }
.blog-video-label { padding: 10px 16px; font-size: 0.8rem; color: rgba(255,255,255,0.45); background: var(--dark); text-align: center; }

.blog-cta-box { background: var(--navy); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; margin: 3rem 0 1rem; }
.blog-cta-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: #fff; margin-bottom: 0.7rem; }
.blog-cta-box p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 1.5rem; }

.blog-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--mid); margin-bottom: 2rem; transition: color 0.2s; }
.blog-back:hover { color: var(--gold); }

@media (max-width: 680px) { .blog-card { min-width: 270px; max-width: 270px; } }

/* =============================================
   SKIP LINK (accessibility)
   ============================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 6%;
  background: var(--gold);
  color: #fff;
  padding: 8px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* =============================================
   FORM ERROR STATES
   ============================================= */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e24b4a;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; }
}

/* =============================================
   WHATSAPP FLOATING WIDGET
   ============================================= */
.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-bubble {
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  flex-shrink: 0;
}

.wa-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.wa-bubble:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wa-bubble::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(0.88); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

.wa-card {
  width: 300px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(30,34,53,0.2);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.wa-card.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.wa-card-header {
  background: #075e54;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.wa-card-header-text { flex: 1; min-width: 0; }

.wa-name {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-status {
  color: rgba(255,255,255,0.65);
  font-size: 0.74rem;
  margin-top: 2px;
  font-family: 'Outfit', sans-serif;
}

.wa-status-dot { color: #4cff85; }

.wa-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.wa-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

.wa-body {
  padding: 16px;
  background: #ece5dd;
}

.wa-message-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: #333;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: inline-block;
  max-width: 100%;
  position: relative;
}

.wa-message-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
}

.wa-message-time {
  font-size: 0.68rem;
  color: #999;
  text-align: right;
  margin-top: 5px;
  font-family: 'Outfit', sans-serif;
}

.wa-footer {
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.wa-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.wa-cta-btn:hover { background: #1aab56; color: #fff; transform: translateY(-1px); }
.wa-cta-btn:active { transform: translateY(0); }

@media (max-width: 680px) {
  .wa-widget { bottom: 20px; right: 16px; }
  .wa-card { width: 272px; }
  .wa-bubble { width: 52px; height: 52px; }
}

/* =============================================
   MOBILE PADDING OVERRIDES
   ============================================= */
@media (max-width: 680px) {
  section,
  .blog-section,
  .services-full,
  .contact-section,
  .portfolio-section,
  .about-section { padding-top: 56px; padding-bottom: 56px; }
  .cta-strip { padding: 50px 5%; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 5% 48px; }
  .blog-body { padding: 48px 5%; }
}

/* =============================================
   AI CHAT WIDGET
   ============================================= */
#aiWidget {
  position: fixed !important;
  bottom: 100px !important;
  right: 28px !important;
  z-index: 99998 !important;
  font-family: 'Outfit', sans-serif !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 12px !important;
}

#aiWidget .ai-bubble {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1e2235, #c0904d) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(192,144,77,0.4) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  flex-shrink: 0 !important;
  pointer-events: all !important;
}

#aiWidget .ai-bubble:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 28px rgba(192,144,77,0.6) !important;
}

#aiWidget .ai-bubble:focus-visible {
  outline: 3px solid var(--gold) !important;
  outline-offset: 3px !important;
}

#aiWidget .ai-card {
  position: relative !important;
  width: 310px !important;
  background: #12122a !important;
  border: 1px solid rgba(192,144,77,0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5) !important;
  display: none !important;
  flex-direction: column !important;
  overflow: hidden !important;
  max-height: 460px !important;
  opacity: 0 !important;
  transform: translateY(14px) scale(0.96) !important;
  pointer-events: none !important;
  transition: opacity 0.28s ease, transform 0.28s ease !important;
}

#aiWidget .ai-card.open {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: all !important;
}

#aiWidget .ai-card-header {
  background: linear-gradient(135deg, #1e2235, #0d0d1f) !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid rgba(192,144,77,0.2) !important;
  flex-shrink: 0 !important;
}

#aiWidget .ai-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #c0904d, #e8c96a) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  color: #0d0d1f !important;
  flex-shrink: 0 !important;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: 0.03em !important;
}

#aiWidget .ai-card-header-text { flex: 1 !important; min-width: 0 !important; }

#aiWidget .ai-name {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  font-family: 'Outfit', sans-serif !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#aiWidget .ai-status {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.72rem !important;
  margin-top: 2px !important;
  font-family: 'Outfit', sans-serif !important;
}

#aiWidget .ai-status-dot { color: #22c55e !important; }

#aiWidget .ai-close {
  background: none !important;
  border: none !important;
  color: rgba(255,255,255,0.5) !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  padding: 4px 6px !important;
  line-height: 1 !important;
  border-radius: 4px !important;
  transition: color 0.2s, background 0.2s !important;
  flex-shrink: 0 !important;
}
#aiWidget .ai-close:hover { color: #fff !important; background: rgba(255,255,255,0.1) !important; }

#aiWidget .ai-messages {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-height: 180px !important;
  max-height: 260px !important;
}

#aiWidget .ai-msg {
  max-width: 86% !important;
  padding: 10px 13px !important;
  border-radius: 12px !important;
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
  font-family: 'Outfit', sans-serif !important;
  animation: aiMsgIn 0.2s ease !important;
}

@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

#aiWidget .ai-msg.bot {
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.85) !important;
  align-self: flex-start !important;
  border-bottom-left-radius: 4px !important;
}

#aiWidget .ai-msg.user {
  background: linear-gradient(135deg, #c0904d, #e8c96a) !important;
  color: #1e2235 !important;
  align-self: flex-end !important;
  font-weight: 500 !important;
  border-bottom-right-radius: 4px !important;
}

#aiWidget .ai-msg.thinking {
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.35) !important;
  align-self: flex-start !important;
  font-style: italic !important;
  font-size: 0.78rem !important;
}

#aiWidget .ai-msg.error {
  background: rgba(239,68,68,0.15) !important;
  color: #fca5a5 !important;
  align-self: flex-start !important;
}

#aiWidget .ai-input-row {
  display: flex !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  background: rgba(255,255,255,0.03) !important;
  flex-shrink: 0 !important;
}

#aiWidget .ai-input {
  flex: 1 !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  color: #fff !important;
  font-size: 0.84rem !important;
  font-family: 'Outfit', sans-serif !important;
  outline: none !important;
  resize: none !important;
  transition: border-color 0.2s !important;
  line-height: 1.4 !important;
}

#aiWidget .ai-input:focus {
  border-color: rgba(192,144,77,0.55) !important;
}

#aiWidget .ai-input::placeholder {
  color: rgba(255,255,255,0.3) !important;
}

#aiWidget .ai-send {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #c0904d, #e8c96a) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  align-self: flex-end !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

#aiWidget .ai-send:hover { opacity: 0.85 !important; transform: scale(1.05) !important; }
#aiWidget .ai-send:disabled { opacity: 0.35 !important; cursor: not-allowed !important; transform: none !important; }

@media (max-width: 680px) {
  #aiWidget { bottom: 90px !important; right: 16px !important; }
  #aiWidget .ai-card { width: 272px !important; }
  #aiWidget .ai-bubble { width: 52px !important; height: 52px !important; }
}
