/*
Theme Name: TailorFit
Theme URI:
Author:
Author URI:
Description: Custom WordPress theme for TailorFit tailoring and garment care services.
Version: 1.0.0
Requires at least: 6.0
Tested up to:
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tailorfit
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

:root {
	--section-bg-hero: transparent;
	--section-bg-services: transparent;
	--section-bg-why: transparent;
	--section-bg-delivery: #dcecf6;
	--section-bg-testimonials: transparent;
	--section-bg-contact: #dcecf6;
	--section-bg-footer: #041f38;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: var(--tailorfit-font-sans);
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
:root {
	--tailorfit-page-background: #E6F1F8;
	--tailorfit-bg: var(--tailorfit-page-background);
	--tailorfit-surface: #ffffff;
	--tailorfit-surface-soft: #dcecf6;
	--tailorfit-surface-strong: #a9d0e8;
	--tailorfit-text: #17212b;
	--tailorfit-muted: #5e6b75;
	--tailorfit-primary: #062b4c;
	--tailorfit-primary-dark: #041f38;
	--tailorfit-accent: #1f5b8f;
	--tailorfit-accent-soft: #a9d0e8;
	--tailorfit-accent-pale: #dcecf6;
	--tailorfit-gold: #b8924a;
	--tailorfit-gold-deep: #062b4c;
	--tailorfit-dark: #17212b;
	--tailorfit-border: #d9e2e8;
	--tailorfit-border-strong: #c7d5de;
	--tailorfit-shadow: 0 20px 55px rgba(6, 43, 76, 0.08);
	--tailorfit-shadow-soft: 0 10px 22px rgba(6, 43, 76, 0.08);
	--tailorfit-shadow-card: 0 24px 60px rgba(6, 43, 76, 0.12);
	--tailorfit-radius: 22px;
	--tailorfit-radius-pill: 999px;
	--tailorfit-radius-card: 24px;
	--tailorfit-font-sans: "Inter", Arial, sans-serif;
	--tailorfit-font-primary: var(--tailorfit-font-sans);
	--tailorfit-font-display: "Cormorant Garamond", Georgia, serif;
	--tailorfit-font-size-body: 1rem;
	--tailorfit-font-size-lead: 1.02rem;
	--tailorfit-font-size-eyebrow: 0.78rem;
	--tailorfit-heading-1: clamp(2.6rem, 4.5vw, 3.8rem);
	--tailorfit-heading-2: clamp(2rem, 3.6vw, 3.3rem);
	--tailorfit-transition: 0.24s ease;
	--tailorfit-button-shadow: 0 14px 32px rgba(31, 91, 143, 0.22);
	--tailorfit-space-sm: 1rem;
	--tailorfit-space-md: 1.5rem;
	--tailorfit-space-lg: 2rem;
	--tailorfit-space-xl: 4.8rem;
	--tailorfit-container: 1280px;
	--tailorfit-grid-gap: 1.35rem;
}

body,
.site,
.site-main {
	background-color: var(--tailorfit-page-background);
}

body {
	color: var(--tailorfit-text);
	font-family: var(--tailorfit-font-sans);
	font-size: var(--tailorfit-font-size-body);
	line-height: 1.7;
}

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

::selection {
	background: rgba(200, 162, 107, 0.28);
	color: var(--tailorfit-text);
}

.site-main {
	overflow: hidden;
}

.container,
.site-header__inner,
.section-heading,
.card-grid,
.product-grid,
.process-grid,
.testimonial-grid,
.site-footer__grid,
.home-hero,
.spotlight-banner {
	max-width: var(--tailorfit-container);
	margin-inline: auto;
}

.site-header__inner,
.section-heading,
.card-grid,
.product-grid,
.process-grid,
.testimonial-grid,
.site-footer__grid,
.home-hero,
.spotlight-banner {
	max-width: 1280px;
	margin: 0 auto;
}

.home-hero {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 2rem;
	align-items: center;
	padding: 7.5rem 1.5rem 4.5rem;
	min-height: 92vh;
	background: linear-gradient(135deg, #f8fafc, #dcecf6);
	border-radius: 0 0 30px 30px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.home-hero__decoration {
	position: absolute;
	top: 3%;
	bottom: 3%;
	width: clamp(210px, 24vw, 350px);
	height: auto;
	z-index: 0;
	pointer-events: none;
	opacity: 0.26;
	filter: drop-shadow(0 0 18px rgba(182, 138, 83, 0.12));
	left: -2.2%;
	right: auto;
}

[dir="rtl"] .home-hero__decoration {
	left: -2.2%;
	right: auto;
}

[dir="ltr"] .home-hero__decoration {
	right: -2.2%;
	left: auto;
}

.home-hero__decoration svg {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(-7deg) scale(1.08);
}

.home-hero__media {
	position: relative;
	z-index: 1;
	width: 522px;
	height: 721px;
	max-width: 100%;
	overflow: hidden;
	border-radius: 28px;
}

.home-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(16, 16, 16, 0.08), rgba(16, 16, 16, 0.42));
	z-index: 1;
	pointer-events: none;
}

.hero-carousel {
	position: relative;
	width: 522px;
	height: 721px;
	max-width: 100%;
	overflow: hidden;
	border-radius: 28px;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.9s ease;
	border-radius: 28px;
	box-shadow: 0 22px 55px rgba(18, 18, 18, 0.16);
}

@media (max-width: 1024px) {
	.home-hero__media,
	.hero-carousel {
		width: min(522px, 100%);
		height: auto;
		aspect-ratio: 522 / 721;
	}

	.home-hero__decoration {
		top: 7%;
		bottom: 7%;
		width: clamp(170px, 22vw, 260px);
		opacity: 0.22;
		left: -3%;
		right: auto;
	}

	[dir="rtl"] .home-hero__decoration {
		left: -3%;
		right: auto;
	}

	[dir="ltr"] .home-hero__decoration {
		right: -3%;
		left: auto;
	}
}

@media (max-width: 700px) {
	.home-hero__decoration {
		top: 8%;
		bottom: 12%;
		width: clamp(120px, 28vw, 180px);
		opacity: 0.2;
		left: -10%;
		right: auto;
	}

	[dir="rtl"] .home-hero__decoration {
		left: -10%;
		right: auto;
	}

	[dir="ltr"] .home-hero__decoration {
		right: -10%;
		left: auto;
	}

	.home-hero__decoration svg {
		transform: rotate(-12deg) scale(1.04);
	}
}

/* Atelier gallery: preserve 4 / 2 / 1 linked-image layout. */
.section--instagram .gallery-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	direction: ltr;
}

.section--instagram .atelier-gallery__item:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.section--instagram .atelier-gallery__item:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.section--instagram .atelier-gallery__item:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.section--instagram .atelier-gallery__item:nth-of-type(4) { grid-column: 4; grid-row: 1; }

@media (max-width: 1023px) {
	.section--instagram .gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section--instagram .atelier-gallery__item:nth-of-type(1) { grid-column: 1; grid-row: 1; }
	.section--instagram .atelier-gallery__item:nth-of-type(2) { grid-column: 2; grid-row: 1; }
	.section--instagram .atelier-gallery__item:nth-of-type(3) { grid-column: 1; grid-row: 2; }
	.section--instagram .atelier-gallery__item:nth-of-type(4) { grid-column: 2; grid-row: 2; }
}

@media (max-width: 599px) {
	.section--instagram .gallery-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.section--instagram .atelier-gallery__item:nth-of-type(1) { grid-column: 1; grid-row: 1; }
	.section--instagram .atelier-gallery__item:nth-of-type(2) { grid-column: 1; grid-row: 2; }
	.section--instagram .atelier-gallery__item:nth-of-type(3) { grid-column: 1; grid-row: 3; }
	.section--instagram .atelier-gallery__item:nth-of-type(4) { grid-column: 1; grid-row: 4; }
}

.hero-slide.is-active {
	opacity: 1;
}

.home-hero__content {
	position: relative;
	z-index: 1;
	padding: 1rem 0 1rem 0.5rem;
	overflow: visible;
}

.home-hero__content h1 {
	font-family: "Tajawal", "Segoe UI", "Tahoma", "Arial", sans-serif;
	font-size: clamp(3.5rem, 6vw, 6rem);
	line-height: 1.18;
	margin: 0 0 1rem;
	max-width: 100%;
	letter-spacing: -0.03em;
	font-weight: 700;
	display: block;
	padding-block: 0.08em 0.05em;
	overflow: visible;
	background: linear-gradient(to left, #062B4C 0%, #1F5B8F 45%, #B8924A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

[dir="ltr"] .home-hero__content h1 {
	font-family: "Tajawal", "Inter", "Segoe UI", Arial, sans-serif;
	background: linear-gradient(to right, #062B4C 0%, #1F5B8F 45%, #B8924A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

[dir="rtl"] .home-hero__content h1 {
	font-family: "Tajawal", "Segoe UI", "Tahoma", "Arial", sans-serif;
	background: linear-gradient(to left, #062B4C 0%, #1F5B8F 45%, #B8924A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

html[lang="en"] .home-hero__content h1 {
	font-size: clamp(2.8rem, 4.5vw, 4.8rem);
	line-height: 1.05;
	font-family: "Tajawal", "Inter", "Segoe UI", Arial, sans-serif;
	background: linear-gradient(to right, #062B4C 0%, #1F5B8F 45%, #B8924A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

@media (max-width: 768px) {
	.home-hero__content h1 {
		font-size: clamp(2.4rem, 7vw, 3.5rem);
		line-height: 1.18;
		padding-block: 0.08em 0.04em;
	}
}

@media (max-width: 430px) {
	.home-hero__content h1 {
		font-size: clamp(2rem, 8vw, 2.7rem);
		line-height: 1.2;
		padding-block: 0.08em 0.04em;
	}
}

@media (max-width: 320px) {
	.home-hero__content h1 {
		font-size: clamp(1.75rem, 9vw, 2.2rem);
		line-height: 1.2;
		padding-block: 0.08em 0.04em;
	}
}

@media (max-width: 768px) {
	html[lang="en"] .home-hero__content h1 {
		font-size: clamp(2.2rem, 5vw, 3.1rem);
		line-height: 1.08;
	}
}

@media (max-width: 430px) {
	html[lang="en"] .home-hero__content h1 {
		font-size: clamp(1.8rem, 7vw, 2.4rem);
		line-height: 1.1;
	}
}

@media (max-width: 320px) {
	html[lang="en"] .home-hero__content h1 {
		font-size: clamp(1.5rem, 8vw, 2rem);
		line-height: 1.12;
	}
}

.home-hero__content p {
	max-width: 42rem;
	font-size: 1.02rem;
	line-height: 1.78;
	color: var(--tailorfit-muted);
}

.home-hero__actions {
	display: flex;
	gap: 1rem;
	margin-top: 1.8rem;
	flex-wrap: wrap;
}

.home-hero__actions .header-cta,
.home-hero__actions .button,
.home-hero__actions .button--primary,
.home-hero__actions .button--secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-sizing: border-box;
	border-radius: 999px;
	font-family: "Inter", Arial, sans-serif;
	font-size: 15.36px;
	font-weight: 600;
	line-height: 26.112px;
	padding: 5.6px 3.2px;
	height: 37.2969px;
	cursor: pointer;
	text-align: start;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.24s ease, transform 0.24s ease;
	margin-inline-end: 8px;
	margin-inline-start: 0;
}

.home-hero__actions .button--primary,
.home-hero__actions .header-cta {
	background-color: rgb(31, 91, 143);
	background-image: none;
	color: rgb(255, 255, 255);
	box-shadow: rgba(31, 91, 143, 0.22) 0px 14px 32px 0px;
}

.home-hero__actions .button--secondary {
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--tailorfit-border);
	color: var(--tailorfit-text);
	box-shadow: none;
}

.home-hero__actions .header-cta:hover,
.home-hero__actions .button--primary:hover,
.home-hero__actions .button--secondary:hover {
	transform: translateY(-1px);
}

.hero-trust-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1.8rem;
}

.hero-trust-pill,
.experience-card,
.info-card,
.product-card,
.process-card,
.testimonial-card,
.spotlight-banner {
	background: var(--tailorfit-surface);
	border: 1px solid var(--tailorfit-border);
	border-radius: var(--tailorfit-radius);
	box-shadow: var(--tailorfit-shadow);
}

.hero-trust-pill {
	padding: 0.9rem 1rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--tailorfit-primary);
	background: rgba(255, 255, 255, 0.92);
	line-height: 1.45;
}

.hero-trust-pill > span {
	display: inline-block;
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.2;
}

.hero-trust-pill a,
.hero-trust-pill a:visited,
.hero-trust-pill a:hover,
.hero-trust-pill a:focus,
.hero-trust-pill a:active {
	color: inherit;
	font: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
}

.experience-card {
	display: none;
}

.hero-scroll-indicator {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-end: 1.2rem;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(10px);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero-scroll-indicator span::after {
	content: "↓";
	margin-inline-start: 0.25rem;
}

.home-hero {
	background-color: var(--section-bg-hero);
}

.section--service-spotlight {
	background-color: var(--section-bg-services);
}

.section--featured {
	background-color: var(--section-bg-services);
}

.section--why {
	background: transparent;
}

.section--why .section-heading {
	max-width: 1280px;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section--why .section-heading h2 {
	max-width: 780px;
	font-size: clamp(2rem, 3.8vw, 3.35rem);
	font-weight: 700;
	line-height: 1.08;
}

.why-tailorfit-page__content {
	min-height: calc(100vh - 180px);
	padding-top: clamp(6rem, 10vw, 9rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section--why .why-tailorfit-page__heading h1 {
	max-width: 880px;
	margin: 0.35rem 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	font-weight: 700;
	line-height: 1.02;
	color: var(--tailorfit-text);
}

.why-page-container {
	width: min(100%, 1240px);
	margin: 0 auto;
}

.why-page-container--narrow {
	width: min(100%, 920px);
}

.why-page-visual {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(145deg, #eef6fb, #dcecf6);
	box-shadow: 0 18px 40px rgba(6, 43, 76, 0.08);
}

.why-page-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.why-intro__lead,
.why-story__lead-layout,
.why-contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.why-intro__lead {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.why-intro__lead .why-tailorfit-page__heading,
.why-story__lead-layout .why-section-heading {
	margin-bottom: 0;
}

.why-intro__visual {
	aspect-ratio: 4 / 3;
}

.why-story__lead-layout {
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.why-story__visual {
	aspect-ratio: 4 / 3;
}

.why-contact__layout {
	grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
}

.why-contact__visual {
	align-self: stretch;
	min-height: 430px;
}

.why-contact__visual img {
	object-position: center top;
}

.why-section-heading {
	max-width: 780px;
	margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.why-section-heading h2 {
	margin: 0.35rem 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.08;
	color: var(--tailorfit-text);
}

.why-section-heading > p:not(.eyebrow),
.why-story__lead {
	margin: 1rem 0 0;
	font-size: 1.02rem;
	line-height: 1.9;
	color: var(--tailorfit-muted);
}

.why-story {
	background: #eef6fb;
}

.why-story__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.why-story__card {
	position: relative;
	padding: clamp(1.6rem, 3vw, 2.5rem);
	overflow: hidden;
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 30px rgba(6, 43, 76, 0.05);
}

.why-story__card--vision {
	background: linear-gradient(145deg, #ffffff, #f6fbfe);
}

.why-story__index {
	position: absolute;
	inset-inline-end: 24px;
	top: 14px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 5rem;
	font-weight: 700;
	line-height: 1;
	color: rgba(31, 91, 143, 0.08);
}

.why-story__card h3 {
	position: relative;
	margin: 2.8rem 0 1rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--tailorfit-primary);
}

.why-story__card p {
	position: relative;
	margin: 0 0 1rem;
	font-size: 0.98rem;
	line-height: 1.95;
	color: var(--tailorfit-muted);
}

.why-story__card p:last-child {
	margin-bottom: 0;
}

.why-story__closing {
	font-weight: 700;
	color: var(--tailorfit-text) !important;
}

.why-contact {
	background: #ffffff;
}

.why-contact__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.why-contact__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	min-height: 270px;
	padding: 28px;
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.045);
}

.why-contact__type {
	display: inline-flex;
	padding: 0.34rem 0.7rem;
	border-radius: 999px;
	background: rgba(31, 91, 143, 0.1);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--tailorfit-primary);
}

.why-contact__card h3 {
	margin: 1.25rem 0 0.7rem;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--tailorfit-text);
}

.why-contact__card p {
	margin: 0 0 1.2rem;
	font-size: 0.94rem;
	line-height: 1.8;
	color: var(--tailorfit-muted);
}

.why-contact__card strong,
.why-contact__card a {
	margin-top: auto;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--tailorfit-primary);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.why-faq {
	background: #f4f9fc;
}

.why-faq__group + .why-faq__group {
	margin-top: 2.5rem;
}

.why-faq__group > h3 {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--tailorfit-primary);
}

.why-faq__items {
	display: grid;
	gap: 0.75rem;
}

.why-faq__item {
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 7px 22px rgba(6, 43, 76, 0.035);
	overflow: hidden;
}

.why-faq__item h4 {
	margin: 0;
}

.why-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 20px 22px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.55;
	text-align: start;
	color: var(--tailorfit-text);
	cursor: pointer;
}

.why-faq__trigger:focus-visible {
	outline: 3px solid rgba(31, 91, 143, 0.28);
	outline-offset: -3px;
}

.why-faq__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(31, 91, 143, 0.1);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--tailorfit-primary);
}

.why-faq__panel {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.32s ease, opacity 0.24s ease;
}

.why-faq__panel.is-open {
	max-height: 520px;
	opacity: 1;
}

.why-faq__panel p {
	margin: 0;
	padding: 0 22px 22px;
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--tailorfit-muted);
}

@media (max-width: 768px) {
	.why-intro__lead,
	.why-story__lead-layout,
	.why-contact__layout {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.why-intro__visual,
	.why-story__visual {
		aspect-ratio: 16 / 10;
	}

	.why-story__visual,
	.why-contact__visual {
		grid-row: 1;
	}

	.why-contact__visual {
		min-height: 320px;
		max-height: 440px;
	}

	.why-story__grid {
		grid-template-columns: 1fr;
	}

	.why-contact__grid {
		grid-template-columns: 1fr;
	}

	.why-contact__card {
		min-height: 230px;
	}
}

@media (max-width: 430px) {
	.why-faq__trigger {
		padding: 17px 18px;
		font-size: 0.94rem;
	}

	.why-faq__panel p {
		padding: 0 18px 18px;
	}
}

.section--why .card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(1rem, 2vw, 1.5rem);
	max-width: 1280px;
	margin: 0 auto;
}

.section--why .info-card {
	position: relative;
	isolation: isolate;
	min-width: 0;
	min-height: 250px;
	padding: 32px;
	overflow: hidden;
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.section--why .info-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.why-card__number {
	position: absolute;
	inset-inline-end: 22px;
	top: 12px;
	z-index: -1;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(4.5rem, 7vw, 6.5rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(31, 91, 143, 0.09);
	letter-spacing: -0.04em;
}

.section--why .info-card h3 {
	position: relative;
	margin: 4.5rem 0 0.8rem;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--tailorfit-text);
}

.section--why .info-card p {
	position: relative;
	margin: 0;
	max-width: 32rem;
	font-size: 0.98rem;
	line-height: 1.85;
	color: var(--tailorfit-muted);
}

@media (max-width: 1024px) {
	.section--why .card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section--why .info-card:last-child {
		grid-column: 1 / -1;
		width: calc(50% - 0.75rem);
		justify-self: center;
	}
}

@media (max-width: 600px) {
	.section--why .card-grid {
		grid-template-columns: 1fr;
	}

	.section--why .info-card,
	.section--why .info-card:last-child {
		grid-column: auto;
		width: 100%;
		min-height: 220px;
		padding: 28px;
	}
}

.section--process {
	background-color: var(--section-bg-delivery);
}

.section--testimonials {
	background-color: var(--section-bg-testimonials);
}

.section--instagram {
	background-color: var(--section-bg-contact);
}

.site-footer {
	background-color: var(--section-bg-footer);
}

.section {
	padding: var(--tailorfit-space-xl) var(--tailorfit-space-md);
}

.section-heading {
	margin-bottom: 2rem;
}


.section-intro {
	max-width: 46rem;
	margin: 0.75rem 0 0;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--tailorfit-muted);
}

.section-heading h2,
.spotlight-banner h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 3.6vw, 3.3rem);
	margin: 0.35rem 0 0;
	line-height: 0.98;
}

.eyebrow {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--tailorfit-primary);
}

.spotlight-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.4rem 1.6rem;
	background: linear-gradient(135deg, #ffffff, #dcecf6);
}

.section--service-spotlight .spotlight-banner .button.button--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-sizing: border-box;
	min-height: 42px;
	height: auto;
	width: auto;
	min-width: 0;
	padding: 8px 22px;
	background-color: #1f5b8f;
	background-image: none;
	color: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: rgba(31, 91, 143, 0.22) 0px 14px 32px 0px;
	font-family: "Inter", Arial, sans-serif;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.24s ease, box-shadow 0.24s ease;
	margin-inline-end: 8px;
	margin-inline-start: 0;
}

.section--service-spotlight .spotlight-banner .button.button--primary:hover,
.section--service-spotlight .spotlight-banner .button.button--primary:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 17px 36px rgba(31, 91, 143, 0.3);
}

.section--service-spotlight .spotlight-banner .button.button--primary:focus-visible {
	outline: 3px solid rgba(31, 91, 143, 0.32);
	outline-offset: 4px;
}

.section--service-spotlight .spotlight-banner .button.button--primary:active {
	transform: translateY(0);
}

.card-grid,
.product-grid,
.process-grid,
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
}

.featured-carousel {
	position: relative;
	width: min(100%, 1038px);
	margin: 0 auto;
}

.featured-carousel__controls {
	position: absolute;
	inset: 0;
	margin: 0;
	pointer-events: none;
	z-index: 2;
}

.featured-carousel__button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--tailorfit-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--tailorfit-primary);
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 16px 36px rgba(6, 43, 76, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	pointer-events: auto;
}

.featured-carousel__button--prev {
	left: 0;
}

.featured-carousel__button--next {
	right: 0;
}

.featured-carousel__button:hover,
.featured-carousel__button:focus-visible {
	transform: translateY(-50%) translateY(-1px);
	box-shadow: 0 18px 42px rgba(6, 43, 76, 0.1);
}

.featured-carousel__viewport {
	width: min(100%, 926px);
	margin: 0 auto;
	overflow: hidden;
	padding-bottom: 0.35rem;
	-webkit-overflow-scrolling: touch;
}

.featured-carousel__track {
	display: flex;
	gap: 28px;
	overflow-x: hidden;
	scroll-snap-type: x proximity;
	overscroll-behavior: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	transition: transform 0.35s ease;
	will-change: transform;
}

.featured-carousel__track::-webkit-scrollbar {
	display: none;
}

.featured-product-card {
	flex: 0 0 290px;
	width: 290px;
	max-width: 290px;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--tailorfit-border);
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	scroll-snap-align: start;
	transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.featured-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
}

.featured-product-card__image-link {
	display: block;
	text-decoration: none;
}

.featured-product-card__image-link img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.featured-product-card__body {
	padding: 22px;
}

.featured-product-card__tag {
	display: inline-block;
	padding: 0.32rem 0.65rem;
	border-radius: 999px;
	background: #dcecf6;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--tailorfit-primary);
	margin-bottom: 0.7rem;
}

.featured-product-card__body h3 {
	margin: 0 0 0.55rem;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--tailorfit-text);
}

.featured-product-card__body p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--tailorfit-muted);
}

.featured-product-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-top: 1rem;
}

.featured-product-card__meta strong {
	font-size: 1.05rem;
	color: var(--tailorfit-text);
}

.featured-product-card__meta a:not(.button) {
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--tailorfit-primary);
}

.featured-product-card__meta .button.button--primary,
.featured-product-card__meta .button.button--primary:visited,
.featured-product-card__meta .button.button--primary:hover,
.featured-product-card__meta .button.button--primary:focus,
.featured-product-card__meta .button.button--primary:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: fit-content;
	min-height: 37px;
	padding: 6px 18px;
	border-radius: 999px;
	background: #1f5b8f;
	color: #ffffff;
	font-family: "Inter", Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.7;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 14px 32px rgba(31, 91, 143, 0.22);
	transition: color 0.24s ease, transform 0.24s ease;
	flex: 0 0 auto;
}

.featured-product-card__meta .button.button--primary:hover,
.featured-product-card__meta .button.button--primary:focus-visible {
	transform: translateY(-1px);
}

@media (min-width: 1400px) {
	.featured-carousel {
		width: min(100%, 1356px);
	}

	.featured-carousel__viewport {
		width: min(100%, 1244px);
	}
}

@media (max-width: 1024px) {
	.featured-carousel {
		width: min(100%, 932px);
	}

	.featured-carousel__viewport {
		width: min(100%, 836px);
	}

	.featured-product-card {
		flex-basis: 260px;
		width: 260px;
		max-width: 260px;
	}

	.featured-carousel__button {
		width: 2.5rem;
		height: 2.5rem;
	}
}

@media (max-width: 768px) {
	.featured-carousel__viewport {
		width: min(100%, 420px);
	}

	.featured-product-card {
		flex-basis: 100%;
		width: 100%;
		max-width: 100%;
	}

	.featured-carousel__button {
		width: 2.2rem;
		height: 2.2rem;
	}
}

@media (min-width: 700px) and (max-width: 768px) {
	.featured-carousel {
		width: min(100%, 644px);
	}

	.featured-carousel__viewport {
		width: min(100%, 548px);
	}

	.featured-product-card {
		flex: 0 0 260px;
		width: 260px;
		max-width: 260px;
	}
}

.info-card:hover,
.product-card:hover,
.process-card:hover,
.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
}

.info-card,
.process-card {
	padding: 1.5rem;
}

.info-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(31, 91, 143, 0.12);
	color: var(--tailorfit-primary);
	font-weight: 800;
	margin-bottom: 1rem;
}

.info-card--menswear { background: linear-gradient(180deg, #ffffff, #f8fafc); }
.info-card--womenwear { background: linear-gradient(180deg, #ffffff, #dcecf6); }
.info-card--alterations { background: linear-gradient(180deg, #ffffff, #f8fafc); }
.info-card--bespoke { background: linear-gradient(180deg, #ffffff, #dcecf6); }

.product-card img {
	display: block;
	width: 100%;
	height: 290px;
	object-fit: cover;
}

.product-card__body {
	padding: 1.25rem;
}

.product-tag {
	display: inline-block;
	padding: 0.32rem 0.65rem;
	border-radius: 999px;
	background: #dcecf6;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--tailorfit-primary);
	margin-bottom: 0.75rem;
}

.product-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}

.product-card__meta strong {
	font-size: 1.25rem;
}

.process-card span {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
	color: var(--tailorfit-primary);
}

.section--process {
	padding-block: clamp(3rem, 6vw, 5.5rem);
	background: linear-gradient(135deg, #eef8ff 0%, #e4f3fb 50%, #edf8ff 100%);
}

.process-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	max-width: 1240px;
	margin: 0 auto;
	direction: ltr;
}

.process-visual {
	margin: 0;
	min-width: 0;
	text-align: center;
}

.process-visual__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 390px;
	padding: clamp(1rem, 2.5vw, 2rem);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.42);
}

.process-visual__stage {
	direction: ltr;
}

.tailoring-visual {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	overflow: visible;
	transform: scale(1);
	opacity: 1;
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.process-visual__stage.is-transitioning .tailoring-visual {
	opacity: 0.3;
	transform: scale(0.985);
}

.mannequin-layer,
.jacket-layer,
.visual-shadow {
	opacity: 1;
	transform-box: fill-box;
	transform-origin: center;
}

.consultation-layer,
.measurement-layer,
.construction-layer,
.final-fitting-layer,
.finishing-layer,
.fabric-layer {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.is-consultation .consultation-layer,
.is-measuring .measurement-layer,
.is-construction .construction-layer,
.is-construction .fabric-layer,
.is-final-fitting .final-fitting-layer,
.is-finishing .finishing-layer {
	opacity: 1;
}

.is-consultation .mannequin-layer,
.is-consultation .jacket-layer {
	animation: processIntro 0.7s ease both, garmentBreathe 3.8s ease-in-out 0.7s infinite;
}

.is-consultation .needle-thread {
	transform-box: fill-box;
	transform-origin: center;
	animation: needleFloat 2.4s ease-in-out infinite;
}

.is-consultation .design-line {
	animation: designPulse 2.6s ease-in-out infinite;
}

.measurement-layer .tape-loop {
	transform-box: fill-box;
	transform-origin: center;
}

.is-measuring .tape-loop {
	animation: measuringTapeMove 1.8s ease-in-out infinite;
}

.measure-line,
.fitting-line {
	fill: none;
	stroke: #f2c75c;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 7 7;
}

.is-measuring .measure-line,
.is-measuring .measure-points {
	animation: measureMarks 1.8s ease-in-out infinite;
}

.is-construction .jacket-layer {
	opacity: 0.72;
}

.is-construction .fabric-piece--left {
	transform-box: fill-box;
	transform-origin: right center;
	animation: assembleLeft 0.75s ease-out both;
}

.is-construction .fabric-piece--right {
	transform-box: fill-box;
	transform-origin: left center;
	animation: assembleRight 0.75s ease-out both;
}

.sewing-path {
	stroke: #f2c75c;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 10 9;
	stroke-dashoffset: 260;
}

.is-construction .sewing-path {
	animation: drawSeams 2.2s ease-in-out infinite;
}

.is-construction .construction-needle {
	transform-box: fill-box;
	transform-origin: center;
	animation: constructionNeedle 1.1s ease-in-out infinite;
}

.fitting-points {
	fill: #f2c75c;
}

.is-final-fitting .jacket-layer,
.is-final-fitting .mannequin-layer {
	animation: fittingTurn 2.8s ease-in-out infinite;
}

.is-final-fitting .fitting-line,
.is-final-fitting .fitting-points {
	animation: fittingMarks 1.7s ease-in-out infinite;
}

.is-finishing .finish-highlight {
	animation: finishDetail 1.8s ease-in-out infinite;
}

.is-finishing .shine-sweep {
	animation: shineSweep 2.5s ease-in-out infinite;
}

@keyframes processIntro {
	from { opacity: 0; transform: scale(0.965) translateY(7px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes garmentBreathe {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-3px) scale(1.006); }
}

@keyframes needleFloat {
	0%, 100% { transform: translate(0, 0) rotate(0); }
	50% { transform: translate(5px, -4px) rotate(-4deg); }
}

@keyframes designPulse {
	0%, 100% { opacity: 0.4; stroke-dashoffset: 0; }
	50% { opacity: 1; stroke-dashoffset: -28; }
}

@keyframes measuringTapeMove {
	0%, 100% { transform: translateY(-7px) rotate(-1.5deg) scaleX(0.96); }
	50% { transform: translateY(10px) rotate(1.5deg) scaleX(1.04); }
}

@keyframes measureMarks {
	0%, 100% { opacity: 0.28; }
	50% { opacity: 1; }
}

@keyframes assembleLeft {
	from { opacity: 0; transform: translateX(-42px) rotate(-4deg); }
	to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes assembleRight {
	from { opacity: 0; transform: translateX(42px) rotate(4deg); }
	to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes drawSeams {
	0% { stroke-dashoffset: 260; opacity: 0.25; }
	60%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes constructionNeedle {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-8px, 9px); }
}

@keyframes fittingTurn {
	0%, 100% { transform: translateX(-2px) rotate(-0.8deg); }
	50% { transform: translateX(3px) rotate(0.8deg); }
}

@keyframes fittingMarks {
	0%, 100% { opacity: 0.25; }
	45%, 70% { opacity: 1; }
}

@keyframes finishDetail {
	0%, 100% { opacity: 0.45; }
	50% { opacity: 1; }
}

@keyframes shineSweep {
	0%, 4% { transform: translateX(-170px) skewX(-18deg); opacity: 0; }
	38% { opacity: 0.75; }
	75%, 100% { transform: translateX(520px) skewX(-18deg); opacity: 0; }
}

.process-visual__frame img {
	display: block;
	width: 100%;
	max-width: 480px;
	height: 390px;
	object-fit: contain;
	border-radius: 22px;
	opacity: 1;
	transition: opacity 0.28s ease;
}

.process-visual__frame img.is-changing {
	opacity: 0;
}

.process-content {
	min-width: 0;
	direction: ltr;
}

[dir="rtl"] .process-content,
[dir="rtl"] .process-visual {
	direction: rtl;
	text-align: right;
}

.process-heading {
	margin-bottom: 1.6rem;
}

.process-heading h2 {
	font-size: clamp(2rem, 3.5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.08;
}

.process-intro {
	max-width: 42rem;
	margin: 1rem 0 0;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--tailorfit-muted);
}

.section--process .process-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.section--process .process-card {
	position: relative;
	isolation: isolate;
	grid-column: span 2;
	min-height: 92px;
	padding: 18px 22px;
	overflow: hidden;
	border: 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 28px rgba(24, 54, 74, 0.07);
	transition: transform 0.24s ease, box-shadow 0.24s ease;
	font: inherit;
	text-align: inherit;
	cursor: pointer;
}

.section--process .process-card:nth-child(4) {
	grid-column: 2 / span 2;
}

.section--process .process-card::after {
	content: "";
	position: absolute;
	inset-inline-end: -10px;
	bottom: -10px;
	z-index: -1;
	width: 82px;
	height: 82px;
	opacity: 0.2;
	background-image: radial-gradient(circle, rgba(31, 91, 143, 0.32) 1.2px, transparent 1.4px);
	background-size: 8px 8px;
}

.section--process .process-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(24, 54, 74, 0.1);
}

.section--process .process-card:focus-visible {
	outline: 3px solid rgba(31, 91, 143, 0.35);
	outline-offset: 3px;
}

.section--process .process-card.is-active {
	background: #18364a;
	color: #ffffff;
}

.section--process .process-card.is-active::after {
	opacity: 0.16;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 1.2px, transparent 1.4px);
}

.section--process .process-card span,
.section--process .process-card h3,
.section--process .process-card p {
	position: relative;
	z-index: 1;
}

.section--process .process-card span {
	margin-bottom: 0.35rem;
}

.section--process .process-card.is-active span,
.section--process .process-card.is-active h3,
.section--process .process-card.is-active p {
	color: #ffffff;
}

.section--process .process-card h3 {
	margin: 0;
	font-size: 1rem;
}

.section--process .process-card p {
	margin: 0.4rem 0 0;
	font-size: 0.78rem;
	line-height: 1.55;
	color: var(--tailorfit-muted);
}

.process-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 2rem;
}

.process-pagination span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(24, 54, 74, 0.24);
}

.process-pagination span.is-active {
	width: 10px;
	height: 10px;
	background: #18364a;
}

@media (max-width: 1024px) {
	.process-layout {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: 2rem;
	}

	.process-visual__frame {
		min-height: 320px;
	}

	.process-visual__frame img {
		height: 320px;
	}

	.section--process .process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section--process .process-card,
	.section--process .process-card:nth-child(4) {
		grid-column: auto;
	}

	.section--process .process-card:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.process-layout {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.process-content {
		display: contents;
	}

	.process-heading {
		order: 1;
	}

	.process-visual {
		order: 2;
	}

	.section--process .process-grid {
		order: 3;
	}

	.process-visual__frame {
		min-height: 280px;
	}

	.process-visual__frame img {
		height: 280px;
	}
}

@media (max-width: 430px) {
	.section--process .process-grid {
		grid-template-columns: 1fr;
	}

	.section--process .process-card:last-child {
		grid-column: auto;
	}

	.process-visual__frame {
		min-height: 230px;
		padding: 0.8rem;
	}

	.process-visual__frame img {
		height: 230px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tailoring-visual,
	.process-visual__stage.is-transitioning .tailoring-visual,
	.tailoring-visual * {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	.process-visual__stage.is-transitioning .tailoring-visual {
		opacity: 1;
		transform: none;
	}

	.is-consultation .consultation-layer,
	.is-measuring .measurement-layer,
	.is-construction .construction-layer,
	.is-construction .fabric-layer,
	.is-final-fitting .final-fitting-layer,
	.is-finishing .finishing-layer {
		opacity: 1;
	}

	.is-construction .sewing-path {
		stroke-dashoffset: 0;
	}

	.is-finishing .shine-sweep {
		transform: translateX(230px) skewX(-18deg);
		opacity: 0.28;
	}
}

.testimonial-card {
	padding: 1.5rem;
	font-size: 1rem;
}

.section--testimonials {
	padding-block: clamp(3rem, 6vw, 5.5rem);
	background:
		radial-gradient(circle at 14% 28%, rgba(167, 214, 239, 0.24), transparent 30%),
		radial-gradient(circle at 88% 78%, rgba(205, 233, 247, 0.32), transparent 34%),
		linear-gradient(135deg, #f8fcff 0%, #eef8ff 46%, #e5f3fb 100%);
}

.testimonials-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	max-width: 1240px;
	margin: 0 auto;
	direction: ltr;
}

.testimonials-visual {
	margin: 0;
	min-width: 0;
}

.testimonials-visual__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 500px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(0.5rem, 1.2vw, 0.9rem);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.45);
}

.testimonials-visual__frame::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -2;
	width: min(78%, 390px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(157, 207, 234, 0.28);
	transform: translate(-50%, -50%);
}

.testimonials-visual__frame::after {
	content: "";
	position: absolute;
	inset: 8% 6%;
	z-index: -1;
	opacity: 0.24;
	background-image: radial-gradient(circle, rgba(31, 91, 143, 0.42) 1.2px, transparent 1.4px);
	background-size: 13px 13px;
	mask-image: linear-gradient(135deg, transparent 5%, #000 45%, transparent 90%);
}

.testimonials-visual__frame img {
	display: block;
	position: relative;
	z-index: 1;
	width: 108%;
	max-width: none;
	height: auto;
	max-height: 520px;
	object-fit: contain;
}

.testimonials-content {
	min-width: 0;
	direction: ltr;
}

[dir="rtl"] .testimonials-content {
	direction: rtl;
	text-align: right;
}

.testimonials-heading {
	margin-bottom: 1.6rem;
}

.testimonials-heading h2 {
	font-size: clamp(1.85rem, 3.1vw, 2.85rem);
	font-weight: 800;
	line-height: 1.08;
}

.testimonials-intro {
	margin: 0.85rem 0 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--tailorfit-muted);
}

.testimonials-rating {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: -0.45rem 0 1.1rem;
	font-size: 0.82rem;
	color: var(--tailorfit-text);
}

.testimonials-rating__stars,
.testimonial-card__stars {
	color: #d4a62a;
	letter-spacing: 0.08em;
}

.section--testimonials .testimonial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	width: 100%;
	max-width: none;
	margin: 0;
}

.section--testimonials .testimonial-card {
	position: relative;
	margin: 0;
	padding: 22px 34px 20px 24px;
	overflow: hidden;
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	transition: transform 0.24s ease, box-shadow 0.24s ease;
}

[dir="rtl"] .section--testimonials .testimonial-card {
	padding: 22px 24px 20px 34px;
}

.section--testimonials .testimonial-card:nth-child(2) {
	transform: translateX(-20px);
}

.testimonial-card__quote {
	position: absolute;
	inset-inline-end: 16px;
	top: -12px;
	font-family: Georgia, serif;
	font-size: 5.5rem;
	line-height: 1;
	color: rgba(31, 91, 143, 0.075);
	pointer-events: none;
}

.testimonial-card__stars {
	display: inline-block;
	margin-bottom: 0.45rem;
	font-size: 0.68rem;
}

.section--testimonials .testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 11px 26px rgba(6, 43, 76, 0.07);
}

.section--testimonials .testimonial-card:nth-child(2):hover {
	transform: translateX(-20px) translateY(-4px);
}

.section--testimonials .testimonial-card p {
	margin: 0 0 0.75rem;
	max-width: 92%;
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--tailorfit-text);
}

.section--testimonials .testimonial-card footer {
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
	font-size: 0.86rem;
}

.section--testimonials .testimonial-card footer strong {
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--tailorfit-primary);
}

.section--testimonials .testimonial-card footer span {
	color: var(--tailorfit-muted);
}

@media (max-width: 1024px) {
	.testimonials-layout {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: 2rem;
	}

	.testimonials-visual__frame {
		min-height: 400px;
	}

	.testimonials-visual__frame img {
		max-height: 400px;
	}
}

@media (max-width: 768px) {
	.testimonials-layout {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.testimonials-content {
		display: contents;
	}

	.testimonials-heading {
		order: 1;
	}

	.testimonials-visual {
		order: 2;
	}

	.section--testimonials .testimonial-grid {
		order: 3;
	}

	.testimonials-rating {
		order: 2;
		margin-top: -1rem;
	}

	.testimonials-visual {
		order: 3;
	}

	.section--testimonials .testimonial-grid {
		order: 4;
	}

	.section--testimonials .testimonial-card:nth-child(2),
	.section--testimonials .testimonial-card:nth-child(2):hover {
		transform: none;
	}

	.testimonials-visual__frame {
		min-height: 340px;
	}

	.testimonials-visual__frame img {
		max-height: 340px;
	}
}

@media (max-width: 430px) {
	.testimonials-visual__frame {
		min-height: 280px;
		padding: 0.8rem;
	}

	.testimonials-visual__frame img {
		max-height: 280px;
	}
}

.testimonial-card p {
	margin: 0 0 1rem;
	line-height: 1.8;
}

.testimonial-card footer {
	font-weight: 700;
	color: var(--tailorfit-primary);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.section--instagram .gallery-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 18px;
}

.atelier-gallery__item {
	display: block;
	position: relative;
	min-width: 0;
	height: 220px;
	overflow: hidden;
	border-radius: 18px;
	cursor: pointer;
}

.atelier-gallery__item::after {
	content: none;
}

.atelier-gallery__item img {
	transition: transform 0.32s ease;
}

.atelier-gallery__overlay {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	min-height: 58%;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.3rem;
	padding: 2.5rem 1rem 1rem;
	background: linear-gradient(to top, rgba(6, 43, 76, 0.90) 0%, rgba(6, 43, 76, 0.65) 55%, rgba(6, 43, 76, 0) 100%);
	color: #fff;
	transform: translateY(100%);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	pointer-events: none;
}

.atelier-gallery__title,
.atelier-gallery__description {
	display: block;
}

.atelier-gallery__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.atelier-gallery__description {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.78rem;
	line-height: 1.5;
	opacity: 0.9;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.atelier-gallery__item:hover .atelier-gallery__overlay,
.atelier-gallery__item:focus-visible .atelier-gallery__overlay {
	transform: translateY(0);
	opacity: 1;
}

.atelier-gallery__item:hover img,
.atelier-gallery__item:focus-visible img {
	transform: scale(1.03);
}

.atelier-gallery__item:focus-visible {
	outline: 3px solid rgba(31, 91, 143, 0.42);
	outline-offset: 3px;
}

@media (hover: none), (pointer: coarse) {
	.atelier-gallery__overlay {
		transform: translateY(0);
		opacity: 0.96;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atelier-gallery__overlay,
	.atelier-gallery__item img {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.section--instagram .gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.section--instagram .gallery-grid {
		grid-template-columns: 1fr;
	}
}

.site-footer {
	background: linear-gradient(180deg, #041f38, #062b4c);
	color: #ffffff;
	padding: 3rem 1.5rem 1.5rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.site-footer--simple .site-footer__grid {
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
}

.site-footer__copyright {
	max-width: 1280px;
	margin: 2rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}

.site-footer h3,
.site-footer h4 {
	margin-top: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
	color: #dcecf6;
}

.site-footer ul {
	padding: 0;
	list-style: none;
	margin: 0;
}

.site-footer li + li {
	margin-top: 0.4rem;
}

@media (max-width: 960px) {
	.site-footer--simple .site-footer__grid {
		grid-template-columns: 1fr;
	}

	.home-hero__actions .header-cta,
	.home-hero__actions .button,
	.home-hero__actions .button--primary,
	.home-hero__actions .button--secondary {
		display: flex !important;
		width: auto;
		max-width: 100%;
		flex: 0 0 auto;
		margin-inline-end: 8px;
		margin-inline-start: 0;
	}

	.home-hero,
	.hero-stats,
	.card-grid,
	.product-grid,
	.process-grid,
	.testimonial-grid,
	.gallery-grid,
	.site-footer__grid,
	.spotlight-banner {
		grid-template-columns: 1fr;
	}

	.menu-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.main-navigation {
		position: absolute;
		top: calc(100% + 0.5rem);
		inset-inline-start: 1.5rem;
		inset-inline-end: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
		padding: 1rem;
		background: rgba(17, 17, 17, 0.96);
		border-radius: 18px;
		box-shadow: var(--tailorfit-shadow-soft);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity var(--tailorfit-transition), transform var(--tailorfit-transition);
	}

	.main-navigation__menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
	}

	.main-navigation.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.main-navigation a {
		color: #fff;
	}

	.header-cta {
		display: none;
	}

	.spotlight-banner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 700px) {
	.site-header__inner {
		flex-direction: row;
		align-items: center;
	}

	.language-switcher {
		margin-left: 0;
	}

	.home-hero {
		padding-top: 6.5rem;
	}

	.home-hero__actions .header-cta,
	.home-hero__actions .button,
	.home-hero__actions .button--primary,
	.home-hero__actions .button--secondary {
		width: auto;
		max-width: 100%;
		display: flex;
		flex: 0 0 auto;
		margin-inline-end: 8px;
		margin-inline-start: 0;
	}

	.section--service-spotlight .spotlight-banner .button.button--primary {
		display: flex !important;
		width: auto;
		max-width: 100%;
		flex: 0 0 auto;
		margin-inline-end: 8px;
		margin-inline-start: 0;
	}
}

/* Final atelier override: linked images retain the original responsive grid. */
.section--instagram .gallery-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	direction: ltr;
}

@media (max-width: 1023px) {
	.section--instagram .gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.section--instagram .gallery-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Contact page */
.contact-page {
	background: linear-gradient(180deg, #f8fbfd 0%, #eef6fb 100%);
}

.contact-container {
	width: min(1280px, calc(100% - 3rem));
	margin-inline: auto;
}

.contact-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4rem, 7vw, 6.5rem);
	background: linear-gradient(135deg, #eef8ff 0%, #dceef9 52%, #edf8ff 100%);
	color: var(--tailorfit-text);
}

.contact-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: -8rem;
	top: -10rem;
	width: 27rem;
	aspect-ratio: 1;
	border: 1px solid rgba(31, 91, 143, 0.12);
	border-radius: 50%;
	box-shadow: 0 0 0 3rem rgba(31, 91, 143, 0.035), 0 0 0 7rem rgba(31, 91, 143, 0.025);
}

.contact-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	text-align: center;
}

.contact-hero h1 {
	margin: 0.4rem 0 1rem;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	line-height: 1.05;
}

.contact-hero__inner > p:last-child {
	max-width: 760px;
	margin: 0 auto;
	color: var(--tailorfit-muted);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.9;
}

.contact-section {
	padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.contact-card {
	display: flex;
	min-width: 0;
	min-height: 285px;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.7rem;
	background: #fff;
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(6, 43, 76, 0.08);
}

.contact-card__icon {
	display: grid;
	width: 52px;
	height: 52px;
	margin-bottom: 1.35rem;
	place-items: center;
	background: rgba(31, 91, 143, 0.09);
	border-radius: 16px;
	color: #1f5b8f;
}

.contact-card__icon svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.contact-card h3 {
	margin: 0 0 0.65rem;
	font-size: 1.2rem;
}

.contact-card p {
	margin: 0 0 1.35rem;
	color: var(--tailorfit-muted);
	line-height: 1.7;
}

.contact-card__link,
.contact-card__status {
	margin-top: auto;
	color: #1f5b8f;
	font-family: Inter, Arial, sans-serif;
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-card__link:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.contact-form-panel {
	margin-top: clamp(2.5rem, 5vw, 5rem);
	padding: clamp(1.5rem, 4vw, 3.5rem);
	background: #fff;
	border: 1px solid rgba(6, 43, 76, 0.08);
	border-radius: 28px;
	box-shadow: 0 18px 50px rgba(6, 43, 76, 0.07);
}

.contact-form-panel__heading {
	margin-bottom: 2rem;
}

.contact-form-panel__heading h2 {
	margin: 0.35rem 0 0;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.contact-whatsapp-panel {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.contact-whatsapp-panel .contact-form-panel__heading p:last-child {
	max-width: 590px;
	margin: 1rem auto 0;
	color: var(--tailorfit-muted);
	line-height: 1.8;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.4rem;
}

.contact-field {
	display: grid;
	min-width: 0;
	gap: 0.55rem;
}

.contact-field--full,
.contact-form__actions,
.contact-form__notice {
	grid-column: 1 / -1;
}

.contact-field label {
	font-weight: 600;
}

.contact-field input,
.contact-field textarea {
	width: 100%;
	min-width: 0;
	padding: 0.9rem 1rem;
	background: #f9fcfe;
	border: 1px solid rgba(6, 43, 76, 0.15);
	border-radius: 14px;
	color: var(--tailorfit-text);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
	resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
	border-color: #1f5b8f;
	box-shadow: 0 0 0 3px rgba(31, 91, 143, 0.12);
	outline: none;
}

.contact-form__actions {
	display: flex;
	justify-content: flex-end;
}

.rtl .contact-form__actions {
	justify-content: flex-start;
}

.contact-form__notice {
	margin: -0.5rem 0 0;
	color: var(--tailorfit-muted);
	font-size: 0.84rem;
	line-height: 1.6;
}

@media (max-width: 1023px) {
	.contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.contact-container {
		width: min(100% - 2rem, 1280px);
	}

	.contact-cards,
	.contact-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-card {
		min-height: 0;
	}

	.contact-form__actions {
		justify-content: stretch;
	}

	.contact-form__actions .button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-card {
		transition: none;
	}
}

/* Why TailorFit page spacing: clear the fixed header without forcing a viewport-height intro. */
.why-tailorfit-page {
	--why-page-header-height: 84px;
	--why-page-header-top: 1rem;
}

.why-tailorfit-page .why-tailorfit-page__content {
	min-height: 0;
	padding-top: calc(var(--why-page-header-height) + var(--why-page-header-top) + 2.5rem);
	padding-bottom: clamp(5rem, 7vw, 6rem);
}

@media (min-width: 600px) and (max-width: 960px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Contact form submit button: mirrors the Header CTA design system. */
.contact-page .contact-form__actions {
	justify-content: center;
}

.contact-page .contact-form__actions .button--primary {
	display: inline-flex;
	width: auto;
	min-width: 150px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--tailorfit-accent);
	color: #fff;
	box-shadow: 0 14px 32px rgba(31, 91, 143, 0.22);
	font-family: Inter, Arial, sans-serif;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: color 0.24s ease, transform 0.24s ease;
}

.contact-page .contact-form__actions .button--primary:hover {
	background: var(--tailorfit-primary);
	box-shadow: 0 17px 36px rgba(31, 91, 143, 0.28);
	color: #fff;
	transform: translateY(-2px);
}

.contact-page .contact-form__actions .button--primary:active {
	transform: translateY(0);
}

.contact-page .contact-form__actions .button--primary:focus-visible {
	outline: 3px solid rgba(31, 91, 143, 0.38);
	outline-offset: 4px;
}


/* Reserve the fixed header space only for the standard WordPress templates. */
#primary.site-main:not(.home-simple, .contact-page, .tailorfit-about-page, .tailorfit-services-page, .legal-policy-page, .why-tailorfit-page) {
	box-sizing: border-box;
	width: min(1280px, calc(100% - 32px));
	margin-inline: auto;
	padding-block: 128px 24px;
}
#primary.site-main:not(.home-simple, .contact-page, .tailorfit-about-page, .tailorfit-services-page, .legal-policy-page, .why-tailorfit-page) + #secondary {
	box-sizing: border-box;
	width: min(1280px, calc(100% - 32px));
	margin-inline: auto;
	padding-bottom: 24px;
}


/* Use the existing local Arabic family instead of system fallback glyphs. */
html:lang(ar) {
	--tailorfit-font-sans: Tajawal, Arial, sans-serif;
	--tailorfit-font-display: Tajawal, Arial, sans-serif;
}


/* Keep the existing contact intro below the compact fixed header. */
@media (max-width: 1024px) {
	.contact-hero {
		padding-top: max(9vw, calc(94px + 1rem + 0.5rem));
	}
}

/* Approved gallery image 4: show the complete portrait in the existing Why frame. */
.why-intro__visual { position: relative; isolation: isolate; }
.why-intro__visual::before { content: ""; position: absolute; inset: -24px; z-index: 0; background-image: var(--kasah-why-image); background-position: center; background-size: cover; filter: blur(24px); opacity: .65; pointer-events: none; }
.why-intro__visual img { position: relative; z-index: 1; object-fit: contain; }
